Member Junction
    Preparing search index...

    Interface QueryTemplateValidateOptions

    Options for QueryTemplate.Validate.

    interface QueryTemplateValidateOptions {
        ContextTokens?: readonly string[];
        DeclaredParameters?: readonly DeclaredTemplateParameter[];
        KnownParameterTypes?: readonly KnownTemplateParameterType[];
        Mode?: QueryTemplateValidationMode;
        QueryPath?: string;
        ResolveComposition?: CompositionResolver;
    }
    Index

    Properties

    ContextTokens?: readonly string[]

    The allowed Context tokens; defaults to the nine of the language.

    DeclaredParameters?: readonly DeclaredTemplateParameter[]

    The query's declared parameters, for the type and filter rules.

    KnownParameterTypes?: readonly KnownTemplateParameterType[]

    Types known for parameters the metadata does not declare. Consulted only by the unfiltered-value rule, after DeclaredParameters and the type the SQL implies; ignored by the filter-fit and for iterable rules.

    Defaults to Save.

    QueryPath?: string

    The full path of the query being validated, so a composition that leads back to it is a cycle.

    ResolveComposition?: CompositionResolver

    Resolves composed queries. Without it, composition targets are not checked and the result is incomplete.