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

    Interface FormatOptions

    Guard options for formatting very large/complex SQL safely.

    interface FormatOptions {
        maxAstNodes?: number;
        maxInputBytes?: number;
        maxSetOpChain?: number;
        maxTokens?: number;
    }
    Index

    Properties

    maxAstNodes?: number

    Maximum AST node count after parsing

    maxInputBytes?: number

    Maximum SQL input size in bytes

    maxSetOpChain?: number

    Maximum set-operation count (UNION/INTERSECT/EXCEPT) before parse

    maxTokens?: number

    Maximum token count after tokenization