Skip to main content

Module guard

Module guard 

Source
Expand description

Shared complexity guards for recursion-heavy SQL operations.

Structs§

ComplexityGuardOptions
Guard options for parse/transpile/generate complexity.

Functions§

enforce_ast
Enforce AST size/depth limits and report parse-oriented errors.
enforce_generate_ast
Enforce AST size/depth limits and report generation-oriented errors.
enforce_input
Enforce raw SQL input limits before tokenization.
enforce_tokens
Enforce token and pre-parse nesting limits.