Skip to main content

Module query

Module query 

Source
Expand description

Parameterized SQL query builder.

SqlBuilder constructs SQL strings with properly indexed parameter placeholders. It supports both PostgreSQL ($1, $2, …) and SQLite (?) placeholder styles, selected automatically based on the active DatabaseClient. The builder also provides safe identifier quoting to prevent SQL injection in table and column names.

Structs§

SqlBuilder
A safe parameterized SQL builder.

Enums§

ParamStyle
Determines the SQL placeholder style.