[ Package conformance ]
Storage & Data · >=18.0.0
@op-engineering/op-sqlite
native-seam: op-sqlite's JS (enhanceDB transaction queue, open/openAsync, Storage, path constants) runs unchanged from the bundle; only NativeModules.OPSQLite is ours. its install() puts a proxy on global.__OPSQLiteProxy whose DB host objects mirror upstream's C++ (plain sqlite build) over the shared bedrock-sqlite WASM backend, persisted to the tenant-scoped memfs IDB. result shapes follow create_js_rows: rows as an array of objects, rowsAffected from changes(), insertId only when a write set one.90%
API coverage
No visual conformance cases have been published for this package yet. The registry summary below describes what the compat layer implements.
Working (13)
openopenAsyncexecute / executeSync / executeRaw / executeRawSync / executeWithHostObjects / executeBatchtransaction (upstream queue over real BEGIN/COMMIT/ROLLBACK)prepareStatement (bind / bindSync / execute)attachdetachclosedelete (memfs unlink; missing file throws)getDbPathStoragegetConstants pathsisSQLCipher / isLibsql / isTurso false
Missing (5)
updateHook / commitHook / rollbackHook and reactiveExecute never fire (bedrock has no sqlite3_update_hook binding)loadFile and loadExtension absent (no app filesystem or dylibs)openRemote / openSync throw as on a non-libsql buildmoveAssetsDatabase rejects (no bundled assets)a sync call before the WASM engine loads throws when the package is only reached through the engine rather than a pre-scanned bundle