@vibeorm/runtime 2.0.0 → 2.0.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/README.md +2 -0
- package/dist/adapter-kit/index.d.ts +20 -0
- package/dist/adapter-kit/index.d.ts.map +1 -0
- package/dist/adapter-kit/index.js +247 -0
- package/dist/adapter-kit/index.js.map +12 -0
- package/dist/adapter-kit/savepoint-gate.d.ts +86 -0
- package/dist/adapter-kit/savepoint-gate.d.ts.map +1 -0
- package/dist/adapter-kit/savepoints.d.ts +22 -0
- package/dist/adapter-kit/savepoints.d.ts.map +1 -0
- package/dist/adapter-kit/transaction-budget.d.ts +143 -0
- package/dist/adapter-kit/transaction-budget.d.ts.map +1 -0
- package/dist/codecs.d.ts +12 -0
- package/dist/codecs.d.ts.map +1 -1
- package/dist/index.js +528 -334
- package/dist/index.js.map +8 -7
- package/dist/lateral-projection.d.ts +25 -0
- package/dist/lateral-projection.d.ts.map +1 -0
- package/dist/query-builder.d.ts +6 -27
- package/dist/query-builder.d.ts.map +1 -1
- package/dist/relation-loader.d.ts +2 -2
- package/dist/relation-loader.d.ts.map +1 -1
- package/dist/render-cache.d.ts +16 -1
- package/dist/render-cache.d.ts.map +1 -1
- package/package.json +6 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ColRef } from "@vibeorm/sql";
|
|
2
|
+
import type { RelationTreeNode } from "./relation-plan.ts";
|
|
3
|
+
/** Child table qualifier, scoped independently inside each lateral. */
|
|
4
|
+
export declare const LATERAL_CHILD_ALIAS: string;
|
|
5
|
+
/** Shared SQL/decode descriptor. Its order is the resolved physical projection, never model order. */
|
|
6
|
+
export type LateralProjection = {
|
|
7
|
+
readonly columns: readonly ColRef[];
|
|
8
|
+
readonly hiddenOrder: readonly string[];
|
|
9
|
+
};
|
|
10
|
+
/** Build once per query node; the builder and loader receive this same immutable descriptor. */
|
|
11
|
+
export declare function lateralProjection(params: {
|
|
12
|
+
node: RelationTreeNode;
|
|
13
|
+
}): LateralProjection;
|
|
14
|
+
/**
|
|
15
|
+
* PG-3 (SQL review round 2): order fields the lateral subselect must project
|
|
16
|
+
* HIDDEN — the aggregate's explicit `ORDER BY "__sub".…` (N2) can only
|
|
17
|
+
* reference projected columns, and a per-relation orderBy on a field outside
|
|
18
|
+
* the child select otherwise left the aggregate relying on "usually preserves
|
|
19
|
+
* subquery order". The loader deletes these after parsing (the stitch-key
|
|
20
|
+
* pattern). Empty when the projection is full or no orderBy was given.
|
|
21
|
+
*/
|
|
22
|
+
export declare function lateralHiddenOrderFields(params: {
|
|
23
|
+
node: RelationTreeNode;
|
|
24
|
+
}): string[];
|
|
25
|
+
//# sourceMappingURL=lateral-projection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lateral-projection.d.ts","sourceRoot":"","sources":["../src/lateral-projection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAM3D,uEAAuE;AACvE,eAAO,MAAM,mBAAmB,EAAE,MAAgB,CAAC;AAEnD,sGAAsG;AACtG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC,CAAC;AAIF,gGAAgG;AAChG,wBAAgB,iBAAiB,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,GAAG,iBAAiB,CAiBvF;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,GAAG,MAAM,EAAE,CAgBrF"}
|
package/dist/query-builder.d.ts
CHANGED
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* The query builder: `{ model, method, args }` → a SQL AST statement, purely.
|
|
3
|
-
*
|
|
4
|
-
* Nothing here touches a database, a clock-free input always produces the same
|
|
5
|
-
* statement, and every branch is reachable from the query catalog
|
|
6
|
-
* (`tests/query-catalog/`) — which pins the rendered SQL for all three dialects
|
|
7
|
-
* and exports it to the reviewable root `sql-catalog.md`.
|
|
8
|
-
*
|
|
9
|
-
* Division of labour:
|
|
10
|
-
* - shapes and SQL text live in @vibeorm/sql (this file never writes SQL),
|
|
11
|
-
* - value transport lives in codecs.ts (this file never coerces),
|
|
12
|
-
* - dialect gaps become VIBE_UNSUPPORTED_CAPABILITY here, at build time,
|
|
13
|
-
* which is the earliest knowable moment for a query-level feature,
|
|
14
|
-
* - bad input becomes VIBE_VALIDATION naming the model, field and operator.
|
|
15
|
-
*/
|
|
1
|
+
export { lateralHiddenOrderFields } from "./lateral-projection.ts";
|
|
16
2
|
import type { OrderByColumn, SqlDialect, SqlExpr, SqlStatement } from "@vibeorm/sql";
|
|
17
3
|
import type { KeysetOrderInput } from "./keyset.ts";
|
|
18
4
|
import type { ModelMeta, RuntimeMeta } from "./model-meta.ts";
|
|
19
|
-
import type { RelationSelection
|
|
5
|
+
import type { RelationSelection } from "./relation-plan.ts";
|
|
20
6
|
/** Every ORM method the query builder builds SQL for. */
|
|
21
7
|
export type QueryMethod = "findMany" | "findFirst" | "findUnique" | "create" | "createMany" | "createManyAndReturn" | "update" | "updateMany" | "updateManyAndReturn" | "upsert" | "upsertMany" | "delete" | "deleteMany" | "count" | "aggregate" | "groupBy";
|
|
22
8
|
/** Client-level options that shape SQL (subset of ClientOptions the builder needs). */
|
|
@@ -224,17 +210,10 @@ export declare function compileKeysetOrderInputs(params: {
|
|
|
224
210
|
export declare function lateralColumnAlias(params: {
|
|
225
211
|
relation: string;
|
|
226
212
|
}): string;
|
|
227
|
-
/**
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
* the child select otherwise left the aggregate relying on "usually preserves
|
|
232
|
-
* subquery order". The loader deletes these after parsing (the stitch-key
|
|
233
|
-
* pattern). Empty when the projection is full or no orderBy was given.
|
|
234
|
-
*/
|
|
235
|
-
export declare function lateralHiddenOrderFields(params: {
|
|
236
|
-
node: RelationTreeNode;
|
|
237
|
-
}): string[];
|
|
213
|
+
/** Internal count columns use the reserved result prefix; list order binds aliases to count nodes. */
|
|
214
|
+
export declare function lateralCountAlias(params: {
|
|
215
|
+
index: number;
|
|
216
|
+
}): string;
|
|
238
217
|
/**
|
|
239
218
|
* The relation selection + caller-visible field list for one call, WITHOUT
|
|
240
219
|
* building a statement — the nested-write path orchestrates its own
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-builder.d.ts","sourceRoot":"","sources":["../src/query-builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-builder.d.ts","sourceRoot":"","sources":["../src/query-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AA6BnE,OAAO,KAAK,EAQV,aAAa,EAKb,UAAU,EACV,OAAO,EACP,YAAY,EACb,MAAM,cAAc,CAAC;AAYtB,OAAO,KAAK,EAAe,gBAAgB,EAA4B,MAAM,aAAa,CAAC;AAI3F,OAAO,KAAK,EAAa,SAAS,EAAE,WAAW,EAAmB,MAAM,iBAAiB,CAAC;AAO1F,OAAO,KAAK,EAAmC,iBAAiB,EAAoB,MAAM,oBAAoB,CAAC;AAI/G,yDAAyD;AACzD,MAAM,MAAM,WAAW,GACnB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,QAAQ,GACR,YAAY,GACZ,qBAAqB,GACrB,QAAQ,GACR,YAAY,GACZ,qBAAqB,GACrB,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,YAAY,GACZ,OAAO,GACP,WAAW,GACX,SAAS,CAAC;AAEd,uFAAuF;AACvF,MAAM,MAAM,oBAAoB,GAAG;IACjC,6FAA6F;IAC7F,QAAQ,CAAC,gBAAgB,CAAC,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8E;AAC9E,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAEvE;AAED,sGAAsG;AACtG,wBAAgB,iBAAiB,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAEnE;AAwmBD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IACzC,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B,GAAG;IACF,SAAS,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IACvC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;CACpC,CAkBA;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,uBAAuB,CAAC,EAAE,gBAAgB,CAAC;IAC3C,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACtC,GAAG,SAAS,CAkwBZ"}
|
|
@@ -30,8 +30,8 @@ export declare function attachRelations(params: {
|
|
|
30
30
|
/**
|
|
31
31
|
* "join"-strategy post-processing: parse each row's `__rel_<name>` JSON
|
|
32
32
|
* column, decode the children through the child model's codecs, stitch, then
|
|
33
|
-
* recurse deeper levels through the query strategy (v1 semantics) and
|
|
34
|
-
*
|
|
33
|
+
* recurse deeper levels through the query strategy (v1 semantics) and
|
|
34
|
+
* read the counts embedded in the parent statement.
|
|
35
35
|
*/
|
|
36
36
|
export declare function attachLateralRelations(params: {
|
|
37
37
|
dialect: SqlDialect;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relation-loader.d.ts","sourceRoot":"","sources":["../src/relation-loader.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAU,eAAe,EAAE,UAAU,EAAW,YAAY,EAAE,MAAM,cAAc,CAAC;AAG/F,OAAO,KAAK,EAAa,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"relation-loader.d.ts","sourceRoot":"","sources":["../src/relation-loader.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAU,eAAe,EAAE,UAAU,EAAW,YAAY,EAAE,MAAM,cAAc,CAAC;AAG/F,OAAO,KAAK,EAAa,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAIzE,OAAO,KAAK,EAAmC,iBAAiB,EAAoB,MAAM,oBAAoB,CAAC;AAI/G,sDAAsD;AACtD,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEhD;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE;IACtC,SAAS,EAAE,eAAe,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;AA6wBzC;;;GAGG;AACH,wBAAsB,eAAe,CAAC,MAAM,EAAE;IAC5C,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,4DAA4D;IAC5D,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB,GAAG,OAAO,CAAC,IAAI,CAAC,CAShB;AAED;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAAC,MAAM,EAAE;IACnD,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,+GAA+G;IAC/G,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB,GAAG,OAAO,CAAC,IAAI,CAAC,CAyEhB"}
|
package/dist/render-cache.d.ts
CHANGED
|
@@ -28,9 +28,24 @@ type CachedText = {
|
|
|
28
28
|
};
|
|
29
29
|
/** `null` = poisoned: this shape verified unsafe once — never cache it. */
|
|
30
30
|
type CacheSlot = CachedText | null;
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* One per client (dialect-stable); shared across its transaction clients.
|
|
33
|
+
*
|
|
34
|
+
* Bounded by least-recently-used eviction. LIMIT and OFFSET are rendered as
|
|
35
|
+
* literals and are therefore part of the key, so one offset-paginated query is
|
|
36
|
+
* a NEW shape per page: a single endpoint walking a large table produces
|
|
37
|
+
* hundreds of entries on its own. Evicting the entry that has gone longest
|
|
38
|
+
* without a read keeps the hot shapes cached through that churn; the earlier
|
|
39
|
+
* "clear everything at the cap" policy threw the hot shapes away with the
|
|
40
|
+
* pages and re-rendered them until the cache had refilled.
|
|
41
|
+
*
|
|
42
|
+
* A `Map` iterates in insertion order, so recency is kept by re-inserting on
|
|
43
|
+
* every hit: the first key is always the least recently used.
|
|
44
|
+
*/
|
|
32
45
|
export declare class StatementRenderCache {
|
|
33
46
|
private readonly entries;
|
|
47
|
+
/** Number of cached shapes (poisoned ones included). */
|
|
48
|
+
get size(): number;
|
|
34
49
|
get(key: string): CacheSlot | undefined;
|
|
35
50
|
set(key: string, slot: CacheSlot): void;
|
|
36
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-cache.d.ts","sourceRoot":"","sources":["../src/render-cache.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAWH,OAAO,KAAK,EAMV,aAAa,EAEb,UAAU,EAEV,YAAY,EAGb,MAAM,cAAc,CAAC;AAItB,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;CACnD,CAAC;AAEF,2EAA2E;AAC3E,KAAK,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC;AAInC
|
|
1
|
+
{"version":3,"file":"render-cache.d.ts","sourceRoot":"","sources":["../src/render-cache.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAWH,OAAO,KAAK,EAMV,aAAa,EAEb,UAAU,EAEV,YAAY,EAGb,MAAM,cAAc,CAAC;AAItB,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;CACnD,CAAC;AAEF,2EAA2E;AAC3E,KAAK,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC;AAInC;;;;;;;;;;;;;GAaG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAqC;IAE7D,wDAAwD;IACxD,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAMtC;IAED,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAQtC;CACF;AA2fD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE;IAC5C,OAAO,EAAE,UAAU,CAAC;IACpB,SAAS,EAAE,YAAY,CAAC;IACxB,KAAK,EAAE,oBAAoB,CAAC;CAC7B,GAAG,aAAa,CAoBhB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibeorm/runtime",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Driver-agnostic query engine and client runtime for VibeORM v2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orm",
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
".": {
|
|
31
31
|
"types": "./dist/index.d.ts",
|
|
32
32
|
"default": "./dist/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./adapter-kit": {
|
|
35
|
+
"types": "./dist/adapter-kit/index.d.ts",
|
|
36
|
+
"default": "./dist/adapter-kit/index.js"
|
|
33
37
|
}
|
|
34
38
|
},
|
|
35
39
|
"files": [
|
|
@@ -42,7 +46,7 @@
|
|
|
42
46
|
},
|
|
43
47
|
"dependencies": {
|
|
44
48
|
"@vibeorm/schema": "2.0.0",
|
|
45
|
-
"@vibeorm/sql": "2.0.
|
|
49
|
+
"@vibeorm/sql": "2.0.2"
|
|
46
50
|
},
|
|
47
51
|
"devDependencies": {
|
|
48
52
|
"@electric-sql/pglite": "^0.5.4",
|