Sql
The Sql type represents a parameterized SQL query.
{
__brand: "Sql";
strings: string[];
args: any[];
}| Type | Description | |
|---|---|---|
__brand | "Sql" | |
strings | string[] | |
args | any[] |
This type encapsulates both the SQL query string and its parameter values, providing safe parameterized query construction that prevents SQL injection. It is used internally by database connectors (PGlite, SQLite3) to build queries dynamically.
Since
v0.0.0