@livestore/wa-sqlite 1.0.1-dev.22 → 1.0.1-dev.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sqlite-api.js +0 -13
package/package.json
CHANGED
package/src/sqlite-api.js
CHANGED
|
@@ -273,19 +273,6 @@ export function Factory(Module) {
|
|
|
273
273
|
};
|
|
274
274
|
})();
|
|
275
275
|
|
|
276
|
-
// sqlite3.serialize = (function() {
|
|
277
|
-
// const fname = 'sqlite3_serialize';
|
|
278
|
-
// const f = Module.cwrap(fname, ...decl('nsnn:n'));
|
|
279
|
-
// return function(db, schema, flags) {
|
|
280
|
-
// verifyDatabase(db);
|
|
281
|
-
// const piSize = tmpPtr[0];
|
|
282
|
-
// const address = f(db, schema, piSize, flags);
|
|
283
|
-
// const size = Module.getValue(piSize, '*');
|
|
284
|
-
// const result = Module.HEAPU8.subarray(address, address + size);
|
|
285
|
-
// return result;
|
|
286
|
-
// };
|
|
287
|
-
// })();
|
|
288
|
-
|
|
289
276
|
sqlite3.backup = (function() {
|
|
290
277
|
const fInit = Module.cwrap('sqlite3_backup_init', ...decl('nsns:n'));
|
|
291
278
|
const fStep = Module.cwrap('sqlite3_backup_step', ...decl('nn:n'));
|