SqlFragment interface
A statement and the values bound into it.
Signature:
export interface SqlFragment
Remarks
The placeholders are numbered from one across the whole statement, which is what composition has to preserve: a fragment written on its own binds $1, and the same fragment spliced third into another binds whatever comes next.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
The statement, with | ||
|
unknown[] |
The values, in placeholder order. |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.