@prisma/orm-family-sql 8.0.0-rc.11-dev.10 → 8.0.0-rc.11-dev.12

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.
Files changed (97) hide show
  1. package/dist/{aggregate-descriptor-registry-C7hel5O7.mjs → aggregate-descriptor-registry-YRK_hT8V.mjs} +2 -2
  2. package/dist/{aggregate-descriptor-registry-C7hel5O7.mjs.map → aggregate-descriptor-registry-YRK_hT8V.mjs.map} +1 -1
  3. package/dist/{ast-DuLukI6f.d.mts → ast-BAsreJBG.d.mts} +3 -3
  4. package/dist/{ast-DuLukI6f.d.mts.map → ast-BAsreJBG.d.mts.map} +1 -1
  5. package/dist/{ast-5tg0fGPQ.mjs → ast-CS0lZ0OC.mjs} +2 -2
  6. package/dist/{ast-5tg0fGPQ.mjs.map → ast-CS0lZ0OC.mjs.map} +1 -1
  7. package/dist/builder.d.mts +2 -2
  8. package/dist/builder__runtime.d.mts +8 -10
  9. package/dist/builder__runtime.d.mts.map +1 -1
  10. package/dist/builder__runtime.mjs +15 -20
  11. package/dist/builder__runtime.mjs.map +1 -1
  12. package/dist/builder__types.d.mts +2 -2
  13. package/dist/{control-b-6t8eI_.d.mts → control-CYQ2U777.d.mts} +6 -6
  14. package/dist/{control-b-6t8eI_.d.mts.map → control-CYQ2U777.d.mts.map} +1 -1
  15. package/dist/control-adapter-BPttH3He.d.mts +1 -0
  16. package/dist/{control-adapter-C99J7aEF-GODO43Ai.d.mts → control-adapter-C99J7aEF-CUDc48SO.d.mts} +4 -4
  17. package/dist/{control-adapter-C99J7aEF-GODO43Ai.d.mts.map → control-adapter-C99J7aEF-CUDc48SO.d.mts.map} +1 -1
  18. package/dist/{db-BhQdL6Za-DubRGJvv.d.mts → db-BhQdL6Za-817R9elv.d.mts} +6 -6
  19. package/dist/{db-BhQdL6Za-DubRGJvv.d.mts.map → db-BhQdL6Za-817R9elv.d.mts.map} +1 -1
  20. package/dist/{ddl-types-CXx4vPz6-Dko-GTTj.d.mts → ddl-types-CA-aj1rO-B_BdxyXC.d.mts} +3 -3
  21. package/dist/{ddl-types-CXx4vPz6-Dko-GTTj.d.mts.map → ddl-types-CA-aj1rO-B_BdxyXC.d.mts.map} +1 -1
  22. package/dist/{diff-CN1ou7vM.d.mts → diff-CFhK3Q3k.d.mts} +3 -3
  23. package/dist/{diff-CN1ou7vM.d.mts.map → diff-CFhK3Q3k.d.mts.map} +1 -1
  24. package/dist/{expression-mku9I7Ue.d.mts → expression-BtebKpK2.d.mts} +8 -8
  25. package/dist/expression-BtebKpK2.d.mts.map +1 -0
  26. package/dist/{expression-B2Ox7zKM.mjs → expression-CiiHMYqY.mjs} +11 -15
  27. package/dist/expression-CiiHMYqY.mjs.map +1 -0
  28. package/dist/family.d.mts +7 -7
  29. package/dist/family__control-adapter.d.mts +2 -2
  30. package/dist/family__control.d.mts +2 -2
  31. package/dist/family__diff.d.mts +2 -2
  32. package/dist/family__migration.d.mts +1 -1
  33. package/dist/family__runtime.d.mts +1 -1
  34. package/dist/{index-DzBzeTAy.d.mts → index-Bkg5fqsf.d.mts} +9 -9
  35. package/dist/{index-DzBzeTAy.d.mts.map → index-Bkg5fqsf.d.mts.map} +1 -1
  36. package/dist/{middleware-AhTz1BOW-CtQWS4mb.d.mts → middleware-CAQqWuBd-pOZt5VBK.d.mts} +3 -3
  37. package/dist/{middleware-AhTz1BOW-CtQWS4mb.d.mts.map → middleware-CAQqWuBd-pOZt5VBK.d.mts.map} +1 -1
  38. package/dist/middleware-ERea8Bpj.d.mts +1 -0
  39. package/dist/{migration-Bhce5i_m.d.mts → migration-CkjRhB8h.d.mts} +2 -2
  40. package/dist/{migration-Bhce5i_m.d.mts.map → migration-CkjRhB8h.d.mts.map} +1 -1
  41. package/dist/orm-client.d.mts +62 -24
  42. package/dist/orm-client.d.mts.map +1 -1
  43. package/dist/orm-client.mjs +259 -50
  44. package/dist/orm-client.mjs.map +1 -1
  45. package/dist/plan-DT6ur9_C.d.mts +2 -0
  46. package/dist/{plan-CDxduYaN-B2kMLIQQ.d.mts → plan-oIjoMLQN-Cgljp0gc.d.mts} +10 -6
  47. package/dist/plan-oIjoMLQN-Cgljp0gc.d.mts.map +1 -0
  48. package/dist/{prepared-statement-9QpkE6JG-B9xqBu5T.d.mts → prepared-statement-9QpkE6JG-3LY-d6pU.d.mts} +13 -13
  49. package/dist/{prepared-statement-9QpkE6JG-B9xqBu5T.d.mts.map → prepared-statement-9QpkE6JG-3LY-d6pU.d.mts.map} +1 -1
  50. package/dist/query-lane-context-Dra2wgIo.d.mts +1 -0
  51. package/dist/{query-lane-context-Qa-eddrE-BQV6J9nV.d.mts → query-lane-context-cqWxvUWZ-DU48PEoC.d.mts} +3 -3
  52. package/dist/{query-lane-context-Qa-eddrE-BQV6J9nV.d.mts.map → query-lane-context-cqWxvUWZ-DU48PEoC.d.mts.map} +1 -1
  53. package/dist/relational-core.d.mts +12 -12
  54. package/dist/relational-core.mjs +4 -4
  55. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  56. package/dist/relational-core__aggregate-descriptor-registry.mjs +1 -1
  57. package/dist/relational-core__ast.d.mts +3 -3
  58. package/dist/relational-core__ast.mjs +2 -2
  59. package/dist/relational-core__codec-descriptor-registry.d.mts +2 -2
  60. package/dist/relational-core__contract-free.d.mts +2 -2
  61. package/dist/relational-core__contract-free.mjs +1 -1
  62. package/dist/relational-core__contract-free.mjs.map +1 -1
  63. package/dist/relational-core__expression.d.mts +2 -2
  64. package/dist/relational-core__expression.mjs +2 -2
  65. package/dist/relational-core__middleware.d.mts +2 -2
  66. package/dist/relational-core__plan.d.mts +4 -4
  67. package/dist/relational-core__query-lane-context.d.mts +2 -2
  68. package/dist/relational-core__types.d.mts +2 -2
  69. package/dist/{runtime-CzCx0TKe.d.mts → runtime-BhA8jUsk.d.mts} +3 -3
  70. package/dist/{runtime-CzCx0TKe.d.mts.map → runtime-BhA8jUsk.d.mts.map} +1 -1
  71. package/dist/runtime.d.mts +4 -4
  72. package/dist/runtime.mjs +6 -6
  73. package/dist/runtime.mjs.map +1 -1
  74. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  75. package/dist/{sql-execution-plan--jKyLpe5-Bcz9QM2s.d.mts → sql-execution-plan-2C68q5Jo-5sJRnbj0.d.mts} +3 -3
  76. package/dist/sql-execution-plan-2C68q5Jo-5sJRnbj0.d.mts.map +1 -0
  77. package/dist/{types-Dt4e_jC--COeP8xzN.mjs → types-CWwta5EN-BS4OsQAL.mjs} +7 -5
  78. package/dist/types-CWwta5EN-BS4OsQAL.mjs.map +1 -0
  79. package/dist/types-DL0mGtxm.d.mts +1 -0
  80. package/dist/{types-v3qxLLxo-Clw_yBAh.d.mts → types-DhYcyD0K-Brj7SwFA.d.mts} +6 -5
  81. package/dist/types-DhYcyD0K-Brj7SwFA.d.mts.map +1 -0
  82. package/dist/{types-IqZMLrFC-BIRftuU7.d.mts → types-IqZMLrFC-BQmtKloA.d.mts} +2 -2
  83. package/dist/{types-IqZMLrFC-BIRftuU7.d.mts.map → types-IqZMLrFC-BQmtKloA.d.mts.map} +1 -1
  84. package/dist/{types-CyxGtOOh-BJnoWm0f.d.mts → types-thCvr3t--BKg5flQM.d.mts} +6 -6
  85. package/dist/{types-CyxGtOOh-BJnoWm0f.d.mts.map → types-thCvr3t--BKg5flQM.d.mts.map} +1 -1
  86. package/package.json +17 -17
  87. package/dist/control-adapter-DzTFiMaG.d.mts +0 -1
  88. package/dist/expression-B2Ox7zKM.mjs.map +0 -1
  89. package/dist/expression-mku9I7Ue.d.mts.map +0 -1
  90. package/dist/middleware-Cev-ZFyS.d.mts +0 -1
  91. package/dist/plan-C7VP7jOh.d.mts +0 -2
  92. package/dist/plan-CDxduYaN-B2kMLIQQ.d.mts.map +0 -1
  93. package/dist/query-lane-context-CGdMIEuv.d.mts +0 -1
  94. package/dist/sql-execution-plan--jKyLpe5-Bcz9QM2s.d.mts.map +0 -1
  95. package/dist/types-Dt4e_jC--COeP8xzN.mjs.map +0 -1
  96. package/dist/types-DvsoMNLs.d.mts +0 -1
  97. 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-Dt4e_jC--COeP8xzN.mjs";
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-C7hel5O7.mjs";
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-BDzGy_bM.mjs
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?.();