@statewalker/db-sqlite-do 0.1.2 → 0.1.4
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/README.md +4 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -93,7 +93,10 @@ the run with `celld dev was not ready within 60 s`. It stops only the celld proc
|
|
|
93
93
|
as `1`/`0`, `NULL` and ISO 8601 text, as on every SQLite driver. How DO SQLite itself binds a
|
|
94
94
|
`bigint` and reads an integer above 2^53 is not probed yet: the fake reads such an integer as a
|
|
95
95
|
`bigint` (as the other drivers do), and `test:do` skips that scenario
|
|
96
|
-
(`DO_UNPROBED_SCENARIOS` in `test-do/unsupported-scenarios.ts`).
|
|
96
|
+
(`DO_UNPROBED_SCENARIOS` in `test-do/unsupported-scenarios.ts`). The real-DO run of
|
|
97
|
+
`runDbConformance` also skips the scenarios its harness cannot carry, since each call is a
|
|
98
|
+
separate HTTP request with a JSON body (call order, close during a call, BLOB and bigint
|
|
99
|
+
round trips: `DO_REMOTE_UNSUPPORTED_DB_SCENARIOS`); they run on the fake.
|
|
97
100
|
- **`close()` releases nothing.** The storage belongs to the DO. It only makes later calls on this
|
|
98
101
|
Db reject with `db-sqlite: the database is closed`.
|
|
99
102
|
- **Use one Db per DO.** Calls are queued inside one Db; direct `ctx.storage.sql` calls made
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@statewalker/db-sqlite-do",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Durable Object SQLite (ctx.storage) driver for @statewalker/db-api, with transactions through @statewalker/db-sqlite and a node:sqlite fake for tests.",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"!src/**/*.test.ts"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@statewalker/db-api": "^0.1.
|
|
42
|
-
"@statewalker/db-sqlite": "^0.1.
|
|
41
|
+
"@statewalker/db-api": "^0.1.7",
|
|
42
|
+
"@statewalker/db-sqlite": "^0.1.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^26.6.4",
|