Skip to main content
Go to Latest
method PreparedQuery.prototype.expandSql
import { PreparedQuery } from "https://deno.land/x/sqlite@v3.7.2/mod.ts";

Returns the SQL string used to construct this query, substituting placeholders (e.g. ?) with their values supplied in params.

Calling this function invalidates any iterators previously returned by calls to iter.

See QueryParameterSet for documentation on how values can be bound to SQL statements.

Parameters

optional
params: P

Returns

string