@prisma/orm-family-sql 8.0.0-rc.11-dev.9 → 8.0.0-rc.11-dev.11
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/dist/{aggregate-descriptor-registry-C7hel5O7.mjs → aggregate-descriptor-registry-YRK_hT8V.mjs} +2 -2
- package/dist/{aggregate-descriptor-registry-C7hel5O7.mjs.map → aggregate-descriptor-registry-YRK_hT8V.mjs.map} +1 -1
- package/dist/{ast-DuLukI6f.d.mts → ast-BAsreJBG.d.mts} +3 -3
- package/dist/{ast-DuLukI6f.d.mts.map → ast-BAsreJBG.d.mts.map} +1 -1
- package/dist/{ast-5tg0fGPQ.mjs → ast-CS0lZ0OC.mjs} +2 -2
- package/dist/{ast-5tg0fGPQ.mjs.map → ast-CS0lZ0OC.mjs.map} +1 -1
- package/dist/builder.d.mts +2 -2
- package/dist/builder__runtime.d.mts +8 -10
- package/dist/builder__runtime.d.mts.map +1 -1
- package/dist/builder__runtime.mjs +15 -20
- package/dist/builder__runtime.mjs.map +1 -1
- package/dist/builder__types.d.mts +2 -2
- package/dist/{control-b-6t8eI_.d.mts → control-CYQ2U777.d.mts} +6 -6
- package/dist/{control-b-6t8eI_.d.mts.map → control-CYQ2U777.d.mts.map} +1 -1
- package/dist/control-adapter-BPttH3He.d.mts +1 -0
- package/dist/{control-adapter-C99J7aEF-GODO43Ai.d.mts → control-adapter-C99J7aEF-CUDc48SO.d.mts} +4 -4
- package/dist/{control-adapter-C99J7aEF-GODO43Ai.d.mts.map → control-adapter-C99J7aEF-CUDc48SO.d.mts.map} +1 -1
- package/dist/{db-BhQdL6Za-DubRGJvv.d.mts → db-BhQdL6Za-817R9elv.d.mts} +6 -6
- package/dist/{db-BhQdL6Za-DubRGJvv.d.mts.map → db-BhQdL6Za-817R9elv.d.mts.map} +1 -1
- package/dist/{ddl-types-CXx4vPz6-Dko-GTTj.d.mts → ddl-types-CA-aj1rO-B_BdxyXC.d.mts} +3 -3
- package/dist/{ddl-types-CXx4vPz6-Dko-GTTj.d.mts.map → ddl-types-CA-aj1rO-B_BdxyXC.d.mts.map} +1 -1
- package/dist/{diff-CN1ou7vM.d.mts → diff-CFhK3Q3k.d.mts} +3 -3
- package/dist/{diff-CN1ou7vM.d.mts.map → diff-CFhK3Q3k.d.mts.map} +1 -1
- package/dist/{expression-mku9I7Ue.d.mts → expression-BtebKpK2.d.mts} +8 -8
- package/dist/expression-BtebKpK2.d.mts.map +1 -0
- package/dist/{expression-B2Ox7zKM.mjs → expression-CiiHMYqY.mjs} +11 -15
- package/dist/expression-CiiHMYqY.mjs.map +1 -0
- package/dist/family.d.mts +7 -7
- package/dist/family__control-adapter.d.mts +2 -2
- package/dist/family__control.d.mts +2 -2
- package/dist/family__diff.d.mts +2 -2
- package/dist/family__migration.d.mts +1 -1
- package/dist/family__runtime.d.mts +1 -1
- package/dist/{index-DzBzeTAy.d.mts → index-Bkg5fqsf.d.mts} +9 -9
- package/dist/{index-DzBzeTAy.d.mts.map → index-Bkg5fqsf.d.mts.map} +1 -1
- package/dist/{middleware-AhTz1BOW-CtQWS4mb.d.mts → middleware-CAQqWuBd-pOZt5VBK.d.mts} +3 -3
- package/dist/{middleware-AhTz1BOW-CtQWS4mb.d.mts.map → middleware-CAQqWuBd-pOZt5VBK.d.mts.map} +1 -1
- package/dist/middleware-ERea8Bpj.d.mts +1 -0
- package/dist/{migration-Bhce5i_m.d.mts → migration-CkjRhB8h.d.mts} +2 -2
- package/dist/{migration-Bhce5i_m.d.mts.map → migration-CkjRhB8h.d.mts.map} +1 -1
- package/dist/orm-client.d.mts +62 -24
- package/dist/orm-client.d.mts.map +1 -1
- package/dist/orm-client.mjs +259 -50
- package/dist/orm-client.mjs.map +1 -1
- package/dist/plan-DT6ur9_C.d.mts +2 -0
- package/dist/{plan-CDxduYaN-B2kMLIQQ.d.mts → plan-oIjoMLQN-Cgljp0gc.d.mts} +10 -6
- package/dist/plan-oIjoMLQN-Cgljp0gc.d.mts.map +1 -0
- package/dist/{prepared-statement-9QpkE6JG-B9xqBu5T.d.mts → prepared-statement-9QpkE6JG-3LY-d6pU.d.mts} +13 -13
- package/dist/{prepared-statement-9QpkE6JG-B9xqBu5T.d.mts.map → prepared-statement-9QpkE6JG-3LY-d6pU.d.mts.map} +1 -1
- package/dist/query-lane-context-Dra2wgIo.d.mts +1 -0
- package/dist/{query-lane-context-Qa-eddrE-BQV6J9nV.d.mts → query-lane-context-cqWxvUWZ-DU48PEoC.d.mts} +3 -3
- package/dist/{query-lane-context-Qa-eddrE-BQV6J9nV.d.mts.map → query-lane-context-cqWxvUWZ-DU48PEoC.d.mts.map} +1 -1
- package/dist/relational-core.d.mts +12 -12
- package/dist/relational-core.mjs +4 -4
- package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
- package/dist/relational-core__aggregate-descriptor-registry.mjs +1 -1
- package/dist/relational-core__ast.d.mts +3 -3
- package/dist/relational-core__ast.mjs +2 -2
- package/dist/relational-core__codec-descriptor-registry.d.mts +2 -2
- package/dist/relational-core__contract-free.d.mts +2 -2
- package/dist/relational-core__contract-free.mjs +1 -1
- package/dist/relational-core__contract-free.mjs.map +1 -1
- package/dist/relational-core__expression.d.mts +2 -2
- package/dist/relational-core__expression.mjs +2 -2
- package/dist/relational-core__middleware.d.mts +2 -2
- package/dist/relational-core__plan.d.mts +4 -4
- package/dist/relational-core__query-lane-context.d.mts +2 -2
- package/dist/relational-core__types.d.mts +2 -2
- package/dist/{runtime-CzCx0TKe.d.mts → runtime-BhA8jUsk.d.mts} +3 -3
- package/dist/{runtime-CzCx0TKe.d.mts.map → runtime-BhA8jUsk.d.mts.map} +1 -1
- package/dist/runtime.d.mts +4 -4
- package/dist/runtime.mjs +6 -6
- package/dist/runtime.mjs.map +1 -1
- package/dist/runtime__internal__prepared-query.d.mts +1 -1
- package/dist/{sql-execution-plan--jKyLpe5-Bcz9QM2s.d.mts → sql-execution-plan-2C68q5Jo-5sJRnbj0.d.mts} +3 -3
- package/dist/sql-execution-plan-2C68q5Jo-5sJRnbj0.d.mts.map +1 -0
- package/dist/{types-Dt4e_jC--COeP8xzN.mjs → types-CWwta5EN-BS4OsQAL.mjs} +7 -5
- package/dist/types-CWwta5EN-BS4OsQAL.mjs.map +1 -0
- package/dist/types-DL0mGtxm.d.mts +1 -0
- package/dist/{types-v3qxLLxo-Clw_yBAh.d.mts → types-DhYcyD0K-Brj7SwFA.d.mts} +6 -5
- package/dist/types-DhYcyD0K-Brj7SwFA.d.mts.map +1 -0
- package/dist/{types-IqZMLrFC-BIRftuU7.d.mts → types-IqZMLrFC-BQmtKloA.d.mts} +2 -2
- package/dist/{types-IqZMLrFC-BIRftuU7.d.mts.map → types-IqZMLrFC-BQmtKloA.d.mts.map} +1 -1
- package/dist/{types-CyxGtOOh-BJnoWm0f.d.mts → types-thCvr3t--BKg5flQM.d.mts} +6 -6
- package/dist/{types-CyxGtOOh-BJnoWm0f.d.mts.map → types-thCvr3t--BKg5flQM.d.mts.map} +1 -1
- package/package.json +17 -17
- package/dist/control-adapter-DzTFiMaG.d.mts +0 -1
- package/dist/expression-B2Ox7zKM.mjs.map +0 -1
- package/dist/expression-mku9I7Ue.d.mts.map +0 -1
- package/dist/middleware-Cev-ZFyS.d.mts +0 -1
- package/dist/plan-C7VP7jOh.d.mts +0 -2
- package/dist/plan-CDxduYaN-B2kMLIQQ.d.mts.map +0 -1
- package/dist/query-lane-context-CGdMIEuv.d.mts +0 -1
- package/dist/sql-execution-plan--jKyLpe5-Bcz9QM2s.d.mts.map +0 -1
- package/dist/types-Dt4e_jC--COeP8xzN.mjs.map +0 -1
- package/dist/types-DvsoMNLs.d.mts +0 -1
- package/dist/types-v3qxLLxo-Clw_yBAh.d.mts.map +0 -1
package/dist/runtime.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createSqlOperationRegistry } from "./dist-C_q1_QR9.mjs";
|
|
2
|
-
import { A as PreparedParamRef, H as isQueryAst } from "./types-
|
|
2
|
+
import { A as PreparedParamRef, H as isQueryAst } from "./types-CWwta5EN-BS4OsQAL.mjs";
|
|
3
3
|
import { t as collectOrderedParamRefs } from "./util-DQQgv2j1-D6INZaRG.mjs";
|
|
4
4
|
import { t as createSqlParamRefMutator } from "./middleware-CMr4CHNz-DHIUdxlm.mjs";
|
|
5
|
-
import { t as buildSqlAggregateDescriptorRegistry } from "./aggregate-descriptor-registry-
|
|
5
|
+
import { t as buildSqlAggregateDescriptorRegistry } from "./aggregate-descriptor-registry-YRK_hT8V.mjs";
|
|
6
6
|
import { t as buildCodecDescriptorRegistry } from "./codec-descriptor-registry-ECZ4ohtG.mjs";
|
|
7
7
|
import { i as runPreparedQuery, n as preparedStatementQuery, r as runPreparedExecute, t as preparedStatementExecute } from "./prepared-query-BJr50wPm-ChoqfJbX.mjs";
|
|
8
8
|
import { isStructuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
@@ -17,7 +17,7 @@ import { materializeCodec, resolveCodecDescriptorOrThrow } from "@prisma/orm-fra
|
|
|
17
17
|
import { canonicalizeJson } from "@prisma/orm-framework/components/utils";
|
|
18
18
|
import { createExecutionStack } from "@prisma/orm-framework/components/execution";
|
|
19
19
|
import { hashContent } from "@prisma/orm-framework/utils/hash-content";
|
|
20
|
-
//#region ../../../2-sql/5-runtime/dist/exports-
|
|
20
|
+
//#region ../../../2-sql/5-runtime/dist/exports-BpIxtGGH.mjs
|
|
21
21
|
/**
|
|
22
22
|
* Build an {@link AstCodecResolver} bound to a descriptor registry and a per-call instance-context factory.
|
|
23
23
|
*
|
|
@@ -1176,12 +1176,12 @@ function buildBindSiteParams(declaration) {
|
|
|
1176
1176
|
const params = {};
|
|
1177
1177
|
for (const [name, spec] of Object.entries(declaration)) {
|
|
1178
1178
|
const { codec, nullable } = normalizeSpec(spec);
|
|
1179
|
-
params[name] = new BindSiteExpression(PreparedParamRef.of(name, codec), {
|
|
1179
|
+
params[name] = new BindSiteExpression(PreparedParamRef.of(name, codec, nullable), {
|
|
1180
1180
|
codecId: codec.codecId,
|
|
1181
1181
|
nullable
|
|
1182
1182
|
});
|
|
1183
1183
|
}
|
|
1184
|
-
return Object.freeze(params);
|
|
1184
|
+
return blindCast(Object.freeze(params));
|
|
1185
1185
|
}
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Resolve a PreparedStatement's slot order to the unencoded values it
|
|
@@ -1390,7 +1390,7 @@ var SqlRuntimeBase = class extends RuntimeCore {
|
|
|
1390
1390
|
checkAborted(codecCtx, "stream");
|
|
1391
1391
|
const next = await iterator.next();
|
|
1392
1392
|
if (next.done) break;
|
|
1393
|
-
yield await decodeRow(next.value, decodeContext, codecCtx);
|
|
1393
|
+
yield blindCast(await decodeRow(next.value, decodeContext, codecCtx));
|
|
1394
1394
|
}
|
|
1395
1395
|
} finally {
|
|
1396
1396
|
await iterator.return?.();
|