Member Junction
    Preparing search index...

    MetadataExporter class Exports validated queries to MJ metadata JSON format

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Export queries to metadata JSON files

      Transforms validated queries into MemberJunction metadata format and writes them to timestamped JSON files:

      • .query-categories-{timestamp}.json for the categories
      • .queries-{timestamp}.json for the queries
      • SQL/{query-name}.sql files if externalizeSQLToFiles is enabled

      Parameters

      Returns Promise<ExportResult>

      Export result with file path and query count