flatsql 3.12.0 → 3.12.2
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/docs/API-3.12.md +12 -0
- package/package.json +1 -1
- package/wasm/flatsql.wasm +0 -0
- package/wasm/integrity.json +6 -6
package/docs/API-3.12.md
CHANGED
|
@@ -42,6 +42,18 @@ There are no PS/P4 selectors, old engine aliases, or compatibility modes.
|
|
|
42
42
|
query, and never treat that condition as zero matches.
|
|
43
43
|
- Hidden metadata columns `_cid`, `_seq`, `_ts`, `_epoch`, `_producer`, `_peer`
|
|
44
44
|
and `_signature` are available alongside `_source`, `_rowid` and `_data`.
|
|
45
|
+
- `flatsql_provenance(type, cid)` is a SQL table-valued function returning every
|
|
46
|
+
persisted copy and source tag for that content record. Both arguments are
|
|
47
|
+
required; `cid` is the `_cid` text from the record relation. Join it to the
|
|
48
|
+
record relation to preserve provider, source, batch, producer, original peer,
|
|
49
|
+
timestamp and signature when copying records. Its columns are `cid`, `seq`,
|
|
50
|
+
`producer`, `peer`, `ts`, `sig`, `provider`, `source`, `source_url`, `batch`,
|
|
51
|
+
`content_key_id`, `producer_peer`, `producer_pubkey` and `at`. Untagged copies
|
|
52
|
+
have NULL tag columns. Use distinct CIDs when joining the ordinary record
|
|
53
|
+
relation: a CID can occur in several feeds, and `_source` alone does not
|
|
54
|
+
enumerate every membership. Results use the same
|
|
55
|
+
typed QRP pages and query budgets as other SQL queries.
|
|
56
|
+
The function name is reserved and cannot be registered as a schema name.
|
|
45
57
|
- Root scalar/string/byte-vector fields are exposed by BFBS reflection.
|
|
46
58
|
Complex/nested fields remain in `_data`. Unsigned integers above the SQLite
|
|
47
59
|
signed 64-bit range produce an error; retrieve `_data` to preserve them.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flatsql",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.2",
|
|
4
4
|
"description": "One SQL engine for binary FlatBuffer streams: SDS QRP queries and results, SDS GJN geometry, persistent indexed storage, and one WASI threads artifact across hosts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "wasm/index.js",
|
package/wasm/flatsql.wasm
CHANGED
|
Binary file
|
package/wasm/integrity.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha384",
|
|
3
|
-
"hash": "
|
|
4
|
-
"sri": "sha384-
|
|
5
|
-
"size":
|
|
3
|
+
"hash": "Rg2+NzBRF5EGDQbev4ZWR/3Y/uYUr8BL4YpvVWhHeR9bo6SbqrI3IsxWtZljq/RP",
|
|
4
|
+
"sri": "sha384-Rg2+NzBRF5EGDQbev4ZWR/3Y/uYUr8BL4YpvVWhHeR9bo6SbqrI3IsxWtZljq/RP",
|
|
5
|
+
"size": 3720269,
|
|
6
6
|
"files": {
|
|
7
7
|
"flatsql.wasm": {
|
|
8
|
-
"sha256": "
|
|
9
|
-
"sri": "sha384-
|
|
10
|
-
"size":
|
|
8
|
+
"sha256": "27797ae7ec9ff6d2b26aaefc63cfd3627677206a5ac1356e9f062e4b24118f01",
|
|
9
|
+
"sri": "sha384-Rg2+NzBRF5EGDQbev4ZWR/3Y/uYUr8BL4YpvVWhHeR9bo6SbqrI3IsxWtZljq/RP",
|
|
10
|
+
"size": 3720269
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|