Module identifier

Module identifier 

Source
Expand description

Safe SQL identifier handling.

Provides functions for safely escaping and quoting SQL identifiers and literals to prevent SQL injection.

Structs§

QualifiedIdentifier
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.