Member Junction
    Preparing search index...

    Minimal interface for the query metadata needed by processQueryTemplate. Both QueryInfo (saved queries) and plain objects (transient specs) satisfy this shape. This decouples template processing from requiring a full database-backed QueryInfo.

    interface QueryTemplateInput {
        Parameters: MJQueryParameterEntity[];
        SQL: string;
        UsesTemplate: boolean;
    }
    Index

    Properties

    Parameter definitions for validation and type conversion

    SQL: string

    The SQL query text (used as fallback if no sqlOverride is provided)

    UsesTemplate: boolean

    Whether this query uses Nunjucks template syntax