Expand description
SQL statement analysis utilities: table extraction, column extraction, parameter counting, and SQL normalization.
Functions§
- count_
params - Count the number of positional parameter placeholders in a SQL string.
- extract_
columns - Extract column names referenced in a statement.
- extract_
tables - Extract table names referenced in a statement using the SQL text.
- is_
read_ only - Returns
trueif the statement is read-only (does not modify data or schema). - normalize
- Normalize a SQL string for use as a cache key.