Skip to main content

Module validation

Module validation 

Source
Expand description

AST-based SQL validation for read-only mode enforcement.

Parses SQL using sqlparser’s MySQL dialect and validates statement type, single-statement enforcement, and dangerous function blocking.

Functions§

validate_read_only_with_dialect
Validates that a SQL query is read-only.