@uniflowed/sql 0.15.0 → 0.16.0
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/adapters/better-sqlite3.js +2 -2
- package/adapters/d1.js +2 -1
- package/package.json +1 -1
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
//
|
|
8
8
|
// const db = fromBetterSqlite3(new Database("app.db"));
|
|
9
9
|
//
|
|
10
|
-
//
|
|
11
|
-
//
|
|
10
|
+
// Tested with its prebuilt native addon in `tests/sqlc/external-adapters.mjs`,
|
|
11
|
+
// including exact integers, nulls, transactions and savepoints.
|
|
12
12
|
|
|
13
13
|
import type { Queryable, SqlParam } from "../index.js";
|
|
14
14
|
import { SqlError, singleConnection } from "../index.js";
|
package/adapters/d1.js
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
//
|
|
7
7
|
// export default { fetch: (request, env) => handle(request, fromD1(env.DB)) };
|
|
8
8
|
//
|
|
9
|
-
//
|
|
9
|
+
// Tested under workerd in `tests/sqlc/external-adapters.mjs`, and narrower
|
|
10
|
+
// than the other adapters in three ways D1 decides:
|
|
10
11
|
//
|
|
11
12
|
// * **No interactive transactions.** The returned `Queryable` has no
|
|
12
13
|
// `transaction`, so `:batch*` and `:copyfrom` run their statements in order
|
package/package.json
CHANGED