Expand description
SQL validation for Code Mode.
Parses SQL statements with sqlparser, classifies the statement type
(SELECT/INSERT/UPDATE/DELETE/DDL), and extracts the tables, columns,
and structural metadata that the Cedar policy evaluator needs.
Gated behind the sql-code-mode feature.
Structs§
- SqlStatement
Info - Structural information extracted from a parsed SQL statement.
- SqlValidator
- SQL validator that parses and analyzes SQL statements.
Enums§
- SqlStatement
Type - High-level category of a SQL statement.