Polyglot SQL API Documentation - v0.13.1
    Preparing search index...

    Interface ValidationOptions

    Options for SQL validation.

    interface ValidationOptions {
        dialectStrict?: boolean;
        semantic?: boolean;
        strictSyntax?: boolean;
    }
    Index

    Properties

    dialectStrict?: boolean

    Enable dialect-specific validation rules. When true, additional dialect-specific rules are applied.

    false
    
    semantic?: boolean

    Enable semantic validation in addition to syntax checking. Reports correctness errors E230-E232 for invalid grouping and misplaced aggregate/window functions, plus query-quality warnings W001-W004.

    false
    
    strictSyntax?: boolean

    Enable strict syntax validation for non-canonical forms that are otherwise parsed permissively for compatibility (for example, trailing commas before clause boundaries like SELECT a, FROM t).

    false