zydecodb 0.9.0-beta.2 → 0.9.0-beta.3
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 +3 -4
- package/dist/collection.d.ts +1 -1
- package/dist/collection.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# ZydecoDB TypeScript / Node driver
|
|
2
2
|
|
|
3
|
-
Official TypeScript/Node client for [ZydecoDB](../../README.md)
|
|
4
|
-
|
|
5
|
-
no runtime dependencies.
|
|
3
|
+
Official TypeScript/Node client for [ZydecoDB](../../README.md). Built on Node's
|
|
4
|
+
standard library (`node:net`), no runtime dependencies.
|
|
6
5
|
|
|
7
6
|
## Install
|
|
8
7
|
|
|
@@ -50,7 +49,7 @@ try {
|
|
|
50
49
|
`ConflictError` (unique-index violation), `AuthError`, `ServerBusyError`,
|
|
51
50
|
`InvalidRequestError`, or the base `ServerError` — each carrying the wire
|
|
52
51
|
`status` byte. Transport problems throw `ConnectionError`.
|
|
53
|
-
-
|
|
52
|
+
- **`Collection` API.** `insertOne/Many`, `find`/`findOne`,
|
|
54
53
|
`updateOne/Many`, `deleteOne/Many`, `countDocuments`, `distinct`, and
|
|
55
54
|
`createIndex`, with `$`-operators, sort, projection, and skip/limit.
|
|
56
55
|
Pagination is repeatable-read across pages.
|
package/dist/collection.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface QueryOptions {
|
|
|
13
13
|
pageSize?: number;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* The product surface: a
|
|
16
|
+
* The product surface: a collection of JSON documents over the
|
|
17
17
|
* binary client. Filters and updates use the familiar $-operators; the server
|
|
18
18
|
* plans the access path and re-checks the full filter.
|
|
19
19
|
*/
|
package/dist/collection.js
CHANGED
|
@@ -3,7 +3,7 @@ import { ZydecoError } from "./errors.js";
|
|
|
3
3
|
import { Proj } from "./protocol.js";
|
|
4
4
|
const EMPTY = Buffer.alloc(0);
|
|
5
5
|
/**
|
|
6
|
-
* The product surface: a
|
|
6
|
+
* The product surface: a collection of JSON documents over the
|
|
7
7
|
* binary client. Filters and updates use the familiar $-operators; the server
|
|
8
8
|
* plans the access path and re-checks the full filter.
|
|
9
9
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zydecodb",
|
|
3
|
-
"version": "0.9.0-beta.
|
|
4
|
-
"description": "Official TypeScript/Node driver for ZydecoDB
|
|
3
|
+
"version": "0.9.0-beta.3",
|
|
4
|
+
"description": "Official TypeScript/Node driver for ZydecoDB.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Dataparade",
|
|
7
7
|
"type": "module",
|