API reference › @evolu/sqlite-wasm › c-api › sqlite3_expanded_sql
function sqlite3_expanded_sql(
deps: SqliteWasmDep,
): (pStmt: SqliteStmtPtr) => 0 | SqliteOwnedCStringPtr;
Defined in: packages/sqlite-wasm/src/CApi.ts:1923
Returns the statement's SQL with bound parameters expanded as literals, in memory the caller frees with sqlite3_free, or NULL when out of memory, above SQLITE_LIMIT_LENGTH, or when built with SQLITE_OMIT_TRACE.
Wasm type i(i). Signature ["sqlite3_expanded_sql", "string", "sqlite3_stmt*"] from SQLite's table.