]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Experimentally add sqlite3.oo1.DB/Stmt.wrapHandle(), which allow DB/Stmt instances...
authorstephan <stephan@noemail.net>
Sun, 6 Jul 2025 15:01:44 +0000 (15:01 +0000)
committerstephan <stephan@noemail.net>
Sun, 6 Jul 2025 15:01:44 +0000 (15:01 +0000)
commit4d453cc2eda12164bb14ab9e773101919f85aac7
tree1cc2036091e280d578600c250bdc699cb8214e64
parent27408ab9c941219b563d74dc1c5218ee9a6bb382
Experimentally add sqlite3.oo1.DB/Stmt.wrapHandle(), which allow DB/Stmt instances to wrap a (sqlite3*)/(sqlite3_stmt*) optionally with or without taking ownership of it. The intent is to enable mix-and-match use of the C API, the oo1 API, and any other hypothetical API which exposes those pointers. oo1.Stmt.parameterCount is now a property access interceptor like Stmt.columnCount is, but that doesn't change how it's used.

FossilOrigin-Name: 1227543b87c3320d6b80e0f61b88ea53b68779966a0295c4d6a1db6369c48207
ext/wasm/api/sqlite3-api-oo1.c-pp.js
ext/wasm/tester1.c-pp.js
manifest
manifest.uuid