Expand description
Safe SQL identifier handling.
Provides functions for safely escaping and quoting SQL identifiers and literals to prevent SQL injection.
Structs§
- Qualified
Identifier - Qualified identifier (schema.name).
Functions§
- escape_
ident - Escape a SQL identifier (table name, column name, etc.).
- from_qi
- Convert a qualified identifier to a safe SQL string.
- is_
keyword - Check if a string is a SQL keyword that should be quoted.
- is_
valid_ identifier - Check if a string is a valid unquoted identifier.
- quote_
literal - Quote a SQL literal string.