@nowledge/hawdb-ffi-linux-arm64-gnu 0.40.0 → 0.42.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @nowledge/hawdb-ffi-linux-arm64-gnu
2
2
 
3
- The HawDB 0.40.0 C ABI shared library (`libhawdb_ffi.so`) and its
3
+ The HawDB 0.42.0 C ABI shared library (`libhawdb_ffi.so`) and its
4
4
  header for `aarch64-unknown-linux-gnu`. Install `@nowledge/hawdb-bun` instead of
5
5
  depending on this package directly; it selects the matching platform package.
6
6
 
package/hawdb_ffi.h CHANGED
@@ -361,8 +361,21 @@ void hawdb_close(struct HawdbDatabase *db);
361
361
  * tagged forms `{"$binary": "<base64>"}` and `{"$uuid": "<text>"}`).
362
362
  *
363
363
  * On success returns true and `result_out` receives the result envelope
364
- * `{"columns": [...], "rows": [[...], ...]}`; on failure returns false
365
- * and `err_out` receives `{"kind", "message"}`.
364
+ * `{"columns": [...], "rows": [[...], ...], "counters": {...}}`; on
365
+ * failure returns false and `err_out` receives `{"kind", "message"}`.
366
+ *
367
+ * `"counters"` holds the write operations the statement executed, as
368
+ * non-negative integers under every key: `nodes_created`, `nodes_deleted`,
369
+ * `relationships_created`, `relationships_deleted`, `properties_set`,
370
+ * `labels_added`, `labels_removed`, `indexes_added`, `indexes_removed`,
371
+ * `constraints_added` and `constraints_removed`. They count writes
372
+ * executed, not data changed (`SET n.p = v` counts 1 even when `n.p`
373
+ * already equals `v`). A read, a pattern that matches nothing, every SQL
374
+ * statement and a transaction commit report all zeros, but
375
+ * `properties_set == 0` does not imply that nothing matched.
376
+ * `labels_removed`, `indexes_removed` and `constraints_removed` stay 0
377
+ * until the Cypher dialect parses `REMOVE` and `DROP`. Hosts must ignore
378
+ * envelope keys they do not know.
366
379
  *
367
380
  * # Safety
368
381
  * `db` must be a live [`hawdb_open`] handle; `cypher` and `params_json`
@@ -867,7 +880,8 @@ bool hawdb_transaction_query_sql(struct HawdbDatabase *db,
867
880
  * Commit the open transaction as one durable commit.
868
881
  *
869
882
  * On success returns true and `result_out` receives the commit's result
870
- * envelope (`{"columns": [...], "rows": [...]}`), and every statement is
883
+ * envelope (`{"columns": [...], "rows": [...], "counters": {...}}`, with
884
+ * all-zero counters; each statement reported its own), and every statement is
871
885
  * committed, durable under the handle's `durability` option. The
872
886
  * transaction is closed after this call whether or not it succeeds. The
873
887
  * commit is all or nothing, never partial: a commit refused before
package/libhawdb_ffi.so CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/libhawdb_ffi.so
3
- size: 35232216 bytes
4
- sha256: db4a3ba905ee3ec8cf37dbb022a36578a652f60286e1d7e4bbf58437564724d0
3
+ size: 36326064 bytes
4
+ sha256: 349977bec3780dc59e552cd769e79993e4b144a5d8db734bdf03542081af4720
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nowledge/hawdb-ffi-linux-arm64-gnu",
3
- "version": "0.40.0",
3
+ "version": "0.42.0",
4
4
  "description": "Prebuilt HawDB C ABI shared library for aarch64-unknown-linux-gnu",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {