quiverdb 0.11.0 → 0.12.1

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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quiverdb",
3
- "version": "0.11.0",
3
+ "version": "0.12.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
package/src/lua-api.ts CHANGED
@@ -223,8 +223,8 @@ Rules worth knowing:
223
223
  its BEGIN/COMMIT are absorbed. The flip side: a nested \`db:rollback\` does **not** partially
224
224
  undo — everything is undone when the dry run ends, whatever the nested calls asked for.
225
225
  - \`db:in_transaction()\` still reports \`true\` during a dry run: a real transaction is open.
226
- - \`db:import_csv\` cannot run inside a dry run (it toggles a pragma that is a no-op mid-transaction)
227
- and throws \`Cannot import_csv: transaction already active\`.
226
+ - \`db:import_csv\` cannot run inside a dry run (it manages its own transaction, and a dry run is a
227
+ real one) and throws \`Cannot import_csv: transaction already active\`.
228
228
  - **Dry runs do not nest.** The host may have already opened one around your whole script, in which
229
229
  case both \`db:begin_dry_run()\` and \`db:dry_run(fn)\` (which calls it internally) error with
230
230
  \`Cannot begin_dry_run: dry run already active\` — check \`db:in_dry_run()\` first and skip the
@@ -610,9 +610,9 @@ The optional \`options\` table has two keys:
610
610
  }
611
611
  \`\`\`
612
612
 
613
- **Precondition:** \`db:import_csv\` cannot run inside an open transaction (it toggles
614
- \`PRAGMA foreign_keys\`, a no-op mid-transaction) — it throws \`Cannot import_csv: transaction already
615
- active\`. Call it outside any \`db:transaction\` / \`db:begin_transaction\` block.
613
+ **Precondition:** \`db:import_csv\` cannot run inside an open transaction (it opens and commits its
614
+ own) — it throws \`Cannot import_csv: transaction already active\`. Call it outside any
615
+ \`db:transaction\` / \`db:begin_transaction\` block.
616
616
 
617
617
  ---
618
618