Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method PreparedQuery.prototype.expandSql
import { PreparedQuery } from "https://deno.land/x/sqlite@v3.9.0/src/query.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