Skip to content

Function: rewriteNamedParams() ​

ts
function rewriteNamedParams(sql): RewrittenSql;

Defined in: packages/core/src/api/named-params.ts:56

Rewrite @name markers to ?, collecting the names in positional order. A repeated name yields one ? (and one entry in names) per occurrence — Firebird has no parameter reuse, so the value is bound once per slot.

Parameters ​

ParameterType
sqlstring

Returns ​

RewrittenSql

MIT Licensed. Contains data derived from the Firebird project under IDPL/IPL.