Member Junction
    Preparing search index...

    Interface SQLValidationOptions

    Options for SQL expression validation

    interface SQLValidationOptions {
        additionalAllowed?: string[];
        additionalBlocked?: string[];
        allowSubqueries?: boolean;
        context: SQLValidationContext;
        entityFields?: string[];
        requireAggregate?: boolean;
    }
    Index

    Properties

    additionalAllowed?: string[]

    Custom allowed keywords/functions to add

    additionalBlocked?: string[]

    Custom blocked keywords to add

    allowSubqueries?: boolean

    Whether to allow SELECT keyword (normally blocked for subquery prevention)

    Validation context affects what's allowed

    entityFields?: string[]

    Entity field names for validation (optional - enables field checking)

    requireAggregate?: boolean

    Whether to require at least one aggregate function (for 'aggregate' context). Default: true for aggregate context