@prisma/orm-family-sql 8.0.0-rc.14-dev.1 → 8.0.0-rc.14-dev.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.
Files changed (129) hide show
  1. package/dist/{ast-DQU1yUQ5.d.mts → ast-B53rACdv.d.mts} +3 -3
  2. package/dist/{ast-DQU1yUQ5.d.mts.map → ast-B53rACdv.d.mts.map} +1 -1
  3. package/dist/{authoring-entity-types-CZ-vdwYS-GsYvzoFF.d.mts → authoring-entity-types-CZ-vdwYS-D6R9QovE.d.mts} +2 -2
  4. package/dist/{authoring-entity-types-CZ-vdwYS-GsYvzoFF.d.mts.map → authoring-entity-types-CZ-vdwYS-D6R9QovE.d.mts.map} +1 -1
  5. package/dist/{authoring-type-constructors-DQZEX4Sb-BYGQWq43.mjs → authoring-type-constructors-DQZEX4Sb-D6uFhwhG.mjs} +2 -2
  6. package/dist/{authoring-type-constructors-DQZEX4Sb-BYGQWq43.mjs.map → authoring-type-constructors-DQZEX4Sb-D6uFhwhG.mjs.map} +1 -1
  7. package/dist/builder.d.mts +2 -2
  8. package/dist/builder__runtime.d.mts +6 -6
  9. package/dist/builder__types.d.mts +2 -2
  10. package/dist/{config-types-B86lMw4s.mjs → config-types-CEXpi8FV.mjs} +2 -2
  11. package/dist/{config-types-B86lMw4s.mjs.map → config-types-CEXpi8FV.mjs.map} +1 -1
  12. package/dist/{contract-builder-j05FWfIe.d.mts → contract-builder-6ujqQuj-.d.mts} +2 -2
  13. package/dist/{contract-builder-j05FWfIe.d.mts.map → contract-builder-6ujqQuj-.d.mts.map} +1 -1
  14. package/dist/{contract-builder-Fw-SFRvK.mjs → contract-builder-vmb0E3SP.mjs} +2 -2
  15. package/dist/{contract-builder-Fw-SFRvK.mjs.map → contract-builder-vmb0E3SP.mjs.map} +1 -1
  16. package/dist/contract-emitter.mjs +1 -1
  17. package/dist/contract-prisma7__provider.mjs +7 -5
  18. package/dist/contract-prisma7__provider.mjs.map +1 -1
  19. package/dist/contract-psl.d.mts +4 -4
  20. package/dist/contract-psl.d.mts.map +1 -1
  21. package/dist/contract-psl.mjs +1 -1
  22. package/dist/contract-psl__provider.mjs +2 -2
  23. package/dist/contract-psl__provider.mjs.map +1 -1
  24. package/dist/contract-ts.d.mts +1 -1
  25. package/dist/contract-ts.mjs +3 -3
  26. package/dist/contract-ts__config-types.mjs +1 -1
  27. package/dist/contract-ts__contract-builder.d.mts +1 -1
  28. package/dist/contract-ts__contract-builder.mjs +2 -2
  29. package/dist/contract.d.mts +2 -1
  30. package/dist/contract.mjs +2 -1
  31. package/dist/contract__sql-expression.d.mts +2 -0
  32. package/dist/contract__sql-expression.mjs +2 -0
  33. package/dist/{control-DOGYQMFH.mjs → control-2-eFP31F.mjs} +9 -47
  34. package/dist/control-2-eFP31F.mjs.map +1 -0
  35. package/dist/{control-kbS8DWF0.d.mts → control-DmVQjyZd.d.mts} +15 -20
  36. package/dist/control-DmVQjyZd.d.mts.map +1 -0
  37. package/dist/{control-adapter-C99J7aEF-B571Jffd.d.mts → control-adapter-C99J7aEF-B3_IhgH6.d.mts} +4 -4
  38. package/dist/{control-adapter-C99J7aEF-B571Jffd.d.mts.map → control-adapter-C99J7aEF-B3_IhgH6.d.mts.map} +1 -1
  39. package/dist/control-adapter-kl-cOML5.d.mts +1 -0
  40. package/dist/{db-DLjWu9-f-CVAu8jgd.d.mts → db-DLjWu9-f-COdzEg7b.d.mts} +6 -6
  41. package/dist/{db-DLjWu9-f-CVAu8jgd.d.mts.map → db-DLjWu9-f-COdzEg7b.d.mts.map} +1 -1
  42. package/dist/{ddl-types-DD-i-Uj9-D99heD5Z.d.mts → ddl-types-DD-i-Uj9-BRqLNUDm.d.mts} +2 -2
  43. package/dist/{ddl-types-DD-i-Uj9-D99heD5Z.d.mts.map → ddl-types-DD-i-Uj9-BRqLNUDm.d.mts.map} +1 -1
  44. package/dist/{derived-checks-C6psACIj-DfqUVmZz.mjs → derived-checks-C6psACIj-BSBDa2_9.mjs} +3 -3
  45. package/dist/{derived-checks-C6psACIj-DfqUVmZz.mjs.map → derived-checks-C6psACIj-BSBDa2_9.mjs.map} +1 -1
  46. package/dist/{diff-BxwNI8yE.d.mts → diff-DFOiwUHg.d.mts} +3 -3
  47. package/dist/{diff-BxwNI8yE.d.mts.map → diff-DFOiwUHg.d.mts.map} +1 -1
  48. package/dist/{dist-U61NPKN3.mjs → dist-ChyuAdtP.mjs} +2 -2
  49. package/dist/{dist-U61NPKN3.mjs.map → dist-ChyuAdtP.mjs.map} +1 -1
  50. package/dist/{expression-BPoA5eEl.d.mts → expression-Dl5WvxCA.d.mts} +3 -3
  51. package/dist/{expression-BPoA5eEl.d.mts.map → expression-Dl5WvxCA.d.mts.map} +1 -1
  52. package/dist/family.d.mts +11 -11
  53. package/dist/family.mjs +3 -3
  54. package/dist/family__control-adapter.d.mts +2 -2
  55. package/dist/family__control.d.mts +3 -3
  56. package/dist/family__control.mjs +2 -2
  57. package/dist/family__diff.d.mts +2 -2
  58. package/dist/family__migration.d.mts +1 -1
  59. package/dist/family__pack.d.mts +1 -1
  60. package/dist/family__pack.mjs +1 -1
  61. package/dist/family__psl-build.d.mts +2 -2
  62. package/dist/family__psl-build.mjs +1 -1
  63. package/dist/family__psl-infer.d.mts +1 -1
  64. package/dist/{index-yNeNt2GO.d.mts → index-BNL2_qQY.d.mts} +9 -9
  65. package/dist/{index-yNeNt2GO.d.mts.map → index-BNL2_qQY.d.mts.map} +1 -1
  66. package/dist/{interpreter-IKKTyZNv-D12J5Dcx.mjs → interpreter-Bcc3MIC5-C4dZrobt.mjs} +53 -71
  67. package/dist/interpreter-Bcc3MIC5-C4dZrobt.mjs.map +1 -0
  68. package/dist/{middleware-CuGBptK0-C88HCnh5.d.mts → middleware-CuGBptK0-UwVChCr2.d.mts} +2 -2
  69. package/dist/{middleware-CuGBptK0-C88HCnh5.d.mts.map → middleware-CuGBptK0-UwVChCr2.d.mts.map} +1 -1
  70. package/dist/middleware-RUh4qBBg.d.mts +1 -0
  71. package/dist/{migration-BJCmLNwu.d.mts → migration-Csmr6bd8.d.mts} +2 -2
  72. package/dist/{migration-BJCmLNwu.d.mts.map → migration-Csmr6bd8.d.mts.map} +1 -1
  73. package/dist/orm-client.d.mts +11 -11
  74. package/dist/{pack-CUGnCaEh.d.mts → pack-BUv79Jrr.d.mts} +2 -2
  75. package/dist/{pack-CUGnCaEh.d.mts.map → pack-BUv79Jrr.d.mts.map} +1 -1
  76. package/dist/{plan-B7g2kDfQ-Bw0784x6.d.mts → plan-B7g2kDfQ-ZD3BfWYx.d.mts} +2 -2
  77. package/dist/{plan-B7g2kDfQ-Bw0784x6.d.mts.map → plan-B7g2kDfQ-ZD3BfWYx.d.mts.map} +1 -1
  78. package/dist/plan-CVje8E5I.d.mts +2 -0
  79. package/dist/{prepared-statement-BHSj2pDk-BL0wOCnq.d.mts → prepared-statement-BHSj2pDk-D9a_Vwr-.d.mts} +14 -14
  80. package/dist/{prepared-statement-BHSj2pDk-BL0wOCnq.d.mts.map → prepared-statement-BHSj2pDk-D9a_Vwr-.d.mts.map} +1 -1
  81. package/dist/{psl-build-yBrQQN3r.d.mts → psl-build-BnM1ZTyK.d.mts} +2 -2
  82. package/dist/psl-build-BnM1ZTyK.d.mts.map +1 -0
  83. package/dist/{psl-build-SOpIFu24.mjs → psl-build-ph4eUJSB.mjs} +6 -21
  84. package/dist/psl-build-ph4eUJSB.mjs.map +1 -0
  85. package/dist/{psl-infer-C8hg8mIS.d.mts → psl-infer-DT5_Lx5r.d.mts} +2 -2
  86. package/dist/{psl-infer-C8hg8mIS.d.mts.map → psl-infer-DT5_Lx5r.d.mts.map} +1 -1
  87. package/dist/query-lane-context-D54z0tof.d.mts +1 -0
  88. package/dist/{query-lane-context-D6o9YrEV-bouFPM6u.d.mts → query-lane-context-D6o9YrEV-BxW3-5e8.d.mts} +3 -3
  89. package/dist/{query-lane-context-D6o9YrEV-bouFPM6u.d.mts.map → query-lane-context-D6o9YrEV-BxW3-5e8.d.mts.map} +1 -1
  90. package/dist/relational-core.d.mts +11 -11
  91. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  92. package/dist/relational-core__ast.d.mts +3 -3
  93. package/dist/relational-core__codec-descriptor-registry.d.mts +2 -2
  94. package/dist/relational-core__contract-free.d.mts +2 -2
  95. package/dist/relational-core__expression.d.mts +1 -1
  96. package/dist/relational-core__middleware.d.mts +2 -2
  97. package/dist/relational-core__plan.d.mts +3 -3
  98. package/dist/relational-core__query-lane-context.d.mts +2 -2
  99. package/dist/relational-core__types.d.mts +2 -2
  100. package/dist/runtime.d.mts +4 -4
  101. package/dist/runtime.mjs +33 -33
  102. package/dist/runtime.mjs.map +1 -1
  103. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  104. package/dist/{sql-execution-plan-Db0j752I-CI5WbdLi.d.mts → sql-execution-plan-Db0j752I-faODNLY9.d.mts} +2 -2
  105. package/dist/{sql-execution-plan-Db0j752I-CI5WbdLi.d.mts.map → sql-execution-plan-Db0j752I-faODNLY9.d.mts.map} +1 -1
  106. package/dist/sql-expression-BXx0Ilj-.mjs +51 -0
  107. package/dist/sql-expression-BXx0Ilj-.mjs.map +1 -0
  108. package/dist/sql-expression-D_hbJOgM.d.mts +27 -0
  109. package/dist/sql-expression-D_hbJOgM.d.mts.map +1 -0
  110. package/dist/{type-map-BwBI56i3-DDERtzxf.d.mts → type-map-DpfnXzun-DZaSuJXh.d.mts} +5 -5
  111. package/dist/{type-map-BwBI56i3-DDERtzxf.d.mts.map → type-map-DpfnXzun-DZaSuJXh.d.mts.map} +1 -1
  112. package/dist/{types-BFPRCYGW-BLH0sK1Y.d.mts → types-BFPRCYGW-CZrZyp1E.d.mts} +2 -2
  113. package/dist/{types-BFPRCYGW-BLH0sK1Y.d.mts.map → types-BFPRCYGW-CZrZyp1E.d.mts.map} +1 -1
  114. package/dist/{types-DFJNPLXY-vp6AGe5e.d.mts → types-DFJNPLXY-DyYKIhXA.d.mts} +5 -5
  115. package/dist/{types-DFJNPLXY-vp6AGe5e.d.mts.map → types-DFJNPLXY-DyYKIhXA.d.mts.map} +1 -1
  116. package/dist/types-Dul4Za_W.d.mts +1 -0
  117. package/dist/{types-Yui2yFf6-TP-oRDTX.d.mts → types-Yui2yFf6-Dnc7RNUD.d.mts} +2 -2
  118. package/dist/{types-Yui2yFf6-TP-oRDTX.d.mts.map → types-Yui2yFf6-Dnc7RNUD.d.mts.map} +1 -1
  119. package/package.json +19 -18
  120. package/dist/control-DOGYQMFH.mjs.map +0 -1
  121. package/dist/control-adapter-jmL_K-jB.d.mts +0 -1
  122. package/dist/control-kbS8DWF0.d.mts.map +0 -1
  123. package/dist/interpreter-IKKTyZNv-D12J5Dcx.mjs.map +0 -1
  124. package/dist/middleware-aoqicpDI.d.mts +0 -1
  125. package/dist/plan-DiT00Rg8.d.mts +0 -2
  126. package/dist/psl-build-SOpIFu24.mjs.map +0 -1
  127. package/dist/psl-build-yBrQQN3r.d.mts.map +0 -1
  128. package/dist/query-lane-context-BcXiJasG.d.mts +0 -1
  129. package/dist/types-BvTYXSiS.d.mts +0 -1
@@ -2,17 +2,17 @@ import { t as StorageColumn } from "./storage-table-DSeWszOL-CI-cItEK.mjs";
2
2
  import { c as SqlStorage } from "./sql-storage-8LqxeLAY-DH4DdUXx.mjs";
3
3
  import { f as ExtractFieldOutputTypes, l as ExtractAggregateTypes, p as ExtractQueryOperationTypes, u as ExtractCodecTypes } from "./types-BDUG29Df-LE85dIXP.mjs";
4
4
  import "./types-C36_3E6_.mjs";
5
- import { E as CodecRef$1, Rt as WhereArg, _ as BinaryExpr, _t as OrderByItem, a as AndExpr, c as AnyExpression, gt as OrExpr, mt as NullCheckExpr, r as AggregateFn, st as LimitOffsetValue, vt as OrderByNulls } from "./types-Yui2yFf6-TP-oRDTX.mjs";
6
- import "./ast-DQU1yUQ5.mjs";
7
- import { n as SqlQueryPlan, t as Preparable } from "./plan-B7g2kDfQ-Bw0784x6.mjs";
8
- import { S as TraitExpression, i as CodecTypesBase, o as Expression } from "./expression-BPoA5eEl.mjs";
9
- import "./plan-DiT00Rg8.mjs";
10
- import { n as ExecutionContext } from "./query-lane-context-D6o9YrEV-bouFPM6u.mjs";
11
- import "./query-lane-context-BcXiJasG.mjs";
12
- import { h as RuntimeScope, o as ComputeColumnJsType } from "./types-DFJNPLXY-vp6AGe5e.mjs";
13
- import "./types-BvTYXSiS.mjs";
14
- import { C as RuntimeQueryable$1, c as ParamsFromDeclaration, f as PreparedFor, p as PreparedStatement, r as Declaration, t as BindSiteParams, v as Runtime } from "./prepared-statement-BHSj2pDk-BL0wOCnq.mjs";
15
- import "./index-yNeNt2GO.mjs";
5
+ import { E as CodecRef$1, Rt as WhereArg, _ as BinaryExpr, _t as OrderByItem, a as AndExpr, c as AnyExpression, gt as OrExpr, mt as NullCheckExpr, r as AggregateFn, st as LimitOffsetValue, vt as OrderByNulls } from "./types-Yui2yFf6-Dnc7RNUD.mjs";
6
+ import "./ast-B53rACdv.mjs";
7
+ import { n as SqlQueryPlan, t as Preparable } from "./plan-B7g2kDfQ-ZD3BfWYx.mjs";
8
+ import { S as TraitExpression, i as CodecTypesBase, o as Expression } from "./expression-Dl5WvxCA.mjs";
9
+ import "./plan-CVje8E5I.mjs";
10
+ import { n as ExecutionContext } from "./query-lane-context-D6o9YrEV-BxW3-5e8.mjs";
11
+ import "./query-lane-context-D54z0tof.mjs";
12
+ import { h as RuntimeScope, o as ComputeColumnJsType } from "./types-DFJNPLXY-DyYKIhXA.mjs";
13
+ import "./types-Dul4Za_W.mjs";
14
+ import { C as RuntimeQueryable$1, c as ParamsFromDeclaration, f as PreparedFor, p as PreparedStatement, r as Declaration, t as BindSiteParams, v as Runtime } from "./prepared-statement-BHSj2pDk-D9a_Vwr-.mjs";
15
+ import "./index-BNL2_qQY.mjs";
16
16
  import { Contract } from "@prisma/orm-framework/contract/types";
17
17
  import { AnnotationValue, AsyncIterableResult, MetaBuilder, OperationKind, ResultType, RuntimeExecuteOptions } from "@prisma/orm-framework/components/runtime";
18
18
  import { SimplifyDeep } from "@prisma/orm-framework/utils/simplify-deep";
@@ -1,4 +1,4 @@
1
- import { t as sqlFamilyEnumSpec } from "./authoring-entity-types-CZ-vdwYS-GsYvzoFF.mjs";
1
+ import { t as sqlFamilyEnumSpec } from "./authoring-entity-types-CZ-vdwYS-D6R9QovE.mjs";
2
2
  //#region ../../../2-sql/9-family/dist/pack.d.mts
3
3
  //#region src/exports/pack.d.ts
4
4
  declare const sqlFamilyPack: {
@@ -320,4 +320,4 @@ declare const sqlFamilyPack: {
320
320
  };
321
321
  //#endregion
322
322
  export { sqlFamilyPack as t };
323
- //# sourceMappingURL=pack-CUGnCaEh.d.mts.map
323
+ //# sourceMappingURL=pack-BUv79Jrr.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pack-CUGnCaEh.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/pack.d.mts"],"mappings":";;;cAEc;WACH;WACA;WACA;WACA;WACA;aACE;eACE;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;;;;;eAKR;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;6BACA;;;;;qBAKR;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;;;aAKR;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;;;;;;;aAOZ,gEAAgE;aAChE;eACE;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;UACE,2CAA2C;YACzC;4CACgC;;;;aAI/B;eACE;iBACE,0CAA0C;UACjD;0CACgC;iBACzB,yCAAyC;UAChD;mBACS;0CACuB;iBACzB,6CAA6C;UACpD;mBACS;0CACuB;iBACzB,4CAA4C;UACnD;mBACS;mBACA;mBACA;mBACA;mBACA;mBACA;mBACA,UAAU;0CACa;iBACzB,4CAA4C;mBAC1C;mBACA;mBACA;0CACuB;iBACzB,8CAA8C;UACrD;0CACgC;iBACzB,oDAAoD;UAC3D;0CACgC;iBACzB,2CAA2C;UAClD,qCAAqC,uDAAuD;UAC5F;0CACgC;;eAE3B;iBACE,0CAA0C;UACjD;0CACgC;iBACzB,yCAAyC;mBACvC;0CACuB;iBACzB,6CAA6C;mBAC3C;0CACuB;iBACzB,8CAA8C;UACrD;UACA;0CACgC;iBACzB,+CAA+C;UACtD;mBACS;mBACA;mBACA;mBACA;mBACA;mBACA;0CACuB;iBACzB,UAAU,oCAAoC,6DAA6D;UAClH,sCAAsC,mEAAmE,4CAA4C,0EAA0E,4CAA4C;0CAC3O"}
1
+ {"version":3,"file":"pack-BUv79Jrr.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/pack.d.mts"],"mappings":";;;cAEc;WACH;WACA;WACA;WACA;WACA;aACE;eACE;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;uBACA;;;;iBAIN;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;;;;;eAKR;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;;;;eAIN;iBACE;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;6BACA;;;;;qBAKR;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;;;aAKR;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;;;;;;;aAOZ,gEAAgE;aAChE;eACE;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;UACE,2CAA2C;YACzC;4CACgC;;;;aAI/B;eACE;iBACE,0CAA0C;UACjD;0CACgC;iBACzB,yCAAyC;UAChD;mBACS;0CACuB;iBACzB,6CAA6C;UACpD;mBACS;0CACuB;iBACzB,4CAA4C;UACnD;mBACS;mBACA;mBACA;mBACA;mBACA;mBACA;mBACA,UAAU;0CACa;iBACzB,4CAA4C;mBAC1C;mBACA;mBACA;0CACuB;iBACzB,8CAA8C;UACrD;0CACgC;iBACzB,oDAAoD;UAC3D;0CACgC;iBACzB,2CAA2C;UAClD,qCAAqC,uDAAuD;UAC5F;0CACgC;;eAE3B;iBACE,0CAA0C;UACjD;0CACgC;iBACzB,yCAAyC;mBACvC;0CACuB;iBACzB,6CAA6C;mBAC3C;0CACuB;iBACzB,8CAA8C;UACrD;UACA;0CACgC;iBACzB,+CAA+C;UACtD;mBACS;mBACA;mBACA;mBACA;mBACA;mBACA;0CACuB;iBACzB,UAAU,oCAAoC,6DAA6D;UAClH,sCAAsC,mEAAmE,4CAA4C,0EAA0E,4CAA4C;0CAC3O"}
@@ -1,6 +1,6 @@
1
1
  import { c as SqlStorage } from "./sql-storage-8LqxeLAY-DH4DdUXx.mjs";
2
2
  import "./types-C36_3E6_.mjs";
3
- import { h as AnyQueryAst } from "./types-Yui2yFf6-TP-oRDTX.mjs";
3
+ import { h as AnyQueryAst } from "./types-Yui2yFf6-Dnc7RNUD.mjs";
4
4
  import { Contract } from "@prisma/orm-framework/contract/types";
5
5
  import { AsyncIterableResult, QueryPlan } from "@prisma/orm-framework/components/runtime";
6
6
  //#region ../../../2-sql/4-lanes/relational-core/dist/plan-B7g2kDfQ.d.mts
@@ -47,4 +47,4 @@ interface Preparable<DbRow, Result> {
47
47
  declare function planFromAst<Row = unknown>(ast: AnyQueryAst, contract: Contract<SqlStorage>, laneId?: string): SqlQueryPlan<Row>;
48
48
  //#endregion
49
49
  export { SqlQueryPlan as n, planFromAst as r, Preparable as t };
50
- //# sourceMappingURL=plan-B7g2kDfQ-Bw0784x6.d.mts.map
50
+ //# sourceMappingURL=plan-B7g2kDfQ-ZD3BfWYx.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plan-B7g2kDfQ-Bw0784x6.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/plan-B7g2kDfQ.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;UAkBU,aAAa,uBAAuB,UAAU;WAC7C,KAAK;WACL;;UAED,WAAW,OAAO;WACjB,MAAM,aAAa;EAC5B,QAAQ,MAAM,oBAAoB,SAAS;;;;;;;;;;;;;;;;;;;;iBAoB5B,YAAY,eAAe,KAAK,aAAa,UAAU,SAAS,aAAa,kBAAkB,aAAa"}
1
+ {"version":3,"file":"plan-B7g2kDfQ-ZD3BfWYx.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/plan-B7g2kDfQ.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;UAkBU,aAAa,uBAAuB,UAAU;WAC7C,KAAK;WACL;;UAED,WAAW,OAAO;WACjB,MAAM,aAAa;EAC5B,QAAQ,MAAM,oBAAoB,SAAS;;;;;;;;;;;;;;;;;;;;iBAoB5B,YAAY,eAAe,KAAK,aAAa,UAAU,SAAS,aAAa,kBAAkB,aAAa"}
@@ -0,0 +1,2 @@
1
+ import "./plan-B7g2kDfQ-ZD3BfWYx.mjs";
2
+ import "./sql-execution-plan-Db0j752I-faODNLY9.mjs";
@@ -1,22 +1,22 @@
1
1
  import { c as SqlStorage } from "./sql-storage-8LqxeLAY-DH4DdUXx.mjs";
2
2
  import "./types-C36_3E6_.mjs";
3
3
  import { r as SqlOperationDescriptors } from "./index-Cef8iy1o.mjs";
4
- import { At as SqlCodecCallContext, E as CodecRef$1, S as Codec$1, dt as LoweredStatement, h as AnyQueryAst, k as ContractCodecRegistry, ut as LoweredParam } from "./types-Yui2yFf6-TP-oRDTX.mjs";
4
+ import { At as SqlCodecCallContext, E as CodecRef$1, S as Codec$1, dt as LoweredStatement, h as AnyQueryAst, k as ContractCodecRegistry, ut as LoweredParam } from "./types-Yui2yFf6-Dnc7RNUD.mjs";
5
5
  import { c as SqlQueryable, i as SqlDriver, l as SqlStatementStats, r as SqlConnection } from "./driver-types-BQtRkOJ0-Bv2RPSfr.mjs";
6
- import { l as MarkerReadResult, t as Adapter } from "./ast-DQU1yUQ5.mjs";
7
- import { n as SqlQueryPlan } from "./plan-B7g2kDfQ-Bw0784x6.mjs";
8
- import { a as CodecValue, i as CodecTypesBase, l as RawCodecInferer, o as Expression, t as AffectedCount } from "./expression-BPoA5eEl.mjs";
9
- import { t as SqlExecutionPlan } from "./sql-execution-plan-Db0j752I-CI5WbdLi.mjs";
10
- import "./plan-DiT00Rg8.mjs";
11
- import { n as ExecutionContext } from "./query-lane-context-D6o9YrEV-bouFPM6u.mjs";
12
- import "./query-lane-context-BcXiJasG.mjs";
13
- import { h as RuntimeScope } from "./types-DFJNPLXY-vp6AGe5e.mjs";
14
- import "./types-BvTYXSiS.mjs";
15
- import { i as SqlParamRefMutator } from "./middleware-CuGBptK0-C88HCnh5.mjs";
16
- import "./middleware-aoqicpDI.mjs";
6
+ import { l as MarkerReadResult, t as Adapter } from "./ast-B53rACdv.mjs";
7
+ import { n as SqlQueryPlan } from "./plan-B7g2kDfQ-ZD3BfWYx.mjs";
8
+ import { a as CodecValue, i as CodecTypesBase, l as RawCodecInferer, o as Expression, t as AffectedCount } from "./expression-Dl5WvxCA.mjs";
9
+ import { t as SqlExecutionPlan } from "./sql-execution-plan-Db0j752I-faODNLY9.mjs";
10
+ import "./plan-CVje8E5I.mjs";
11
+ import { n as ExecutionContext } from "./query-lane-context-D6o9YrEV-BxW3-5e8.mjs";
12
+ import "./query-lane-context-D54z0tof.mjs";
13
+ import { h as RuntimeScope } from "./types-DFJNPLXY-DyYKIhXA.mjs";
14
+ import "./types-Dul4Za_W.mjs";
15
+ import { i as SqlParamRefMutator } from "./middleware-CuGBptK0-UwVChCr2.mjs";
16
+ import "./middleware-RUh4qBBg.mjs";
17
17
  import { Contract, JsonValue, PlanMeta } from "@prisma/orm-framework/contract/types";
18
- import { AfterExecuteResult, AfterQueryResult, AsyncIterableResult, ExecuteInterceptResult, ExecutionPlan, MutationDefaultGeneratorContributor, QueryInterceptResult, RuntimeCore, RuntimeExecuteOptions, RuntimeLog, RuntimeMiddleware, RuntimeMiddlewareContext } from "@prisma/orm-framework/components/runtime";
19
18
  import { AnyCodecDescriptor, CodecDescriptor } from "@prisma/orm-framework/components/codec";
19
+ import { AfterExecuteResult, AfterQueryResult, AsyncIterableResult, ExecuteInterceptResult, ExecutionPlan, MutationDefaultGeneratorContributor, QueryInterceptResult, RuntimeCore, RuntimeExecuteOptions, RuntimeLog, RuntimeMiddleware, RuntimeMiddlewareContext } from "@prisma/orm-framework/components/runtime";
20
20
  import { ExecutionStack, RuntimeAdapterDescriptor, RuntimeAdapterInstance, RuntimeDriverDescriptor, RuntimeDriverInstance, RuntimeExtensionDescriptor, RuntimeExtensionInstance, RuntimeTargetDescriptor, RuntimeTargetInstance } from "@prisma/orm-framework/components/execution";
21
21
  //#region ../../../2-sql/5-runtime/dist/prepared-statement-BHSj2pDk.d.mts
22
22
  //#region src/codecs/encoding.d.ts
@@ -513,4 +513,4 @@ declare class PreparedExecutionImpl<Params> implements PreparedExecution<Params>
513
513
  }
514
514
  //#endregion
515
515
  export { SqlRuntimeAdapterDescriptor as A, VerifyMarkerOption as B, RuntimeQueryable as C, SqlExecutionStackWithDriver as D, SqlExecutionStack as E, SqlRuntimeExtensionInstance as F, preparedStatementExecute as G, createSqlExecutionStack as H, SqlRuntimeTargetDescriptor as I, preparedStatementQuery as K, SqlStaticContributions as L, SqlRuntimeBase as M, SqlRuntimeDriverInstance as N, SqlMiddleware as O, SqlRuntimeExtensionDescriptor as P, TelemetryOutcome as R, RuntimeParameterizedCodecDescriptor as S, RuntimeTransaction as T, deriveParamMetadata as U, createExecutionContext as V, encodeParamsWithMetadata as W, PreparedStatementQueryTarget as _, DeclaredNullable as a, RuntimeFamilyAdapter as b, ParamsFromDeclaration as c, PreparedExecutionImpl as d, PreparedFor as f, PreparedStatementInternals as g, PreparedStatementImpl as h, DeclaredCodecId as i, SqlRuntimeAdapterInstance as j, SqlMiddlewareContext as k, PrepareCallback as l, PreparedStatementExecuteTarget as m, ConnectionProvider as n, MarkerReader as o, PreparedStatement as p, withTransaction as q, Declaration as r, ParamSpec as s, BindSiteParams as t, PreparedExecution as u, Runtime as v, RuntimeTelemetryEvent as w, RuntimeOptions as x, RuntimeConnection as y, TransactionContext as z };
516
- //# sourceMappingURL=prepared-statement-BHSj2pDk-BL0wOCnq.d.mts.map
516
+ //# sourceMappingURL=prepared-statement-BHSj2pDk-D9a_Vwr-.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prepared-statement-BHSj2pDk-BL0wOCnq.d.mts","names":[],"sources":["../../../../2-sql/5-runtime/dist/prepared-statement-BHSj2pDk.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;UAaU;WACC,OAAO;WACP;;iBAEM,oBAAoB,KAAK,uBAAuB;iBAChD,yBAAyB,4BAA4B,mBAAmB,iBAAiB,KAAK,qBAAqB,iBAAiB,wBAAwB;;;UAGnK,6BAA6B;WAC5B,UAAU,SAAS;;;;;;UAMpB;WACC,KAAK;WACL,MAAM;;UAEP,cAAc,kBAAkB,0BAA0B,iCAAiC,kBAAkB,kBAAkB,mBAAmB;WACjJ;;;;;;;;;;;;;;;;;;;EAmBT,eAAe,OAAO,WAAW,KAAK,uBAAuB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BrE,aAAa,MAAM,kBAAkB,KAAK,sBAAsB,SAAS,mBAAmB,oBAAoB;EAChH,gBAAgB,MAAM,kBAAkB,KAAK,uBAAuB,QAAQ;EAC5E,OAAO,KAAK,yBAAyB,MAAM,kBAAkB,KAAK,uBAAuB;EACzF,YAAY,MAAM,kBAAkB,QAAQ,kBAAkB,KAAK,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;EA0B1F,eAAe,MAAM,kBAAkB,KAAK,sBAAs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js";
2
2
  //#region ../../../2-sql/9-family/dist/psl-build.d.mts
3
3
  //#region src/core/psl-build/psl-names.d.ts
4
4
  /**
@@ -10,4 +10,4 @@ import "./type-map-BwBI56i3-DDERtzxf.mjs";
10
10
  declare function toEnumMemberName(value: string): string;
11
11
  //#endregion
12
12
  export { toEnumMemberName as t };
13
- //# sourceMappingURL=psl-build-yBrQQN3r.d.mts.map
13
+ //# sourceMappingURL=psl-build-BnM1ZTyK.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"psl-build-BnM1ZTyK.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/psl-build.d.mts"],"mappings":";;;;;;;;;iBAQiB,iBAAiB"}
@@ -1,6 +1,7 @@
1
+ import { i as printSqlExpressionLiteral } from "./sql-expression-BXx0Ilj-.mjs";
1
2
  import { m as defaultInCanonicalForm } from "./types-yyhkYQNT-Dmoq-giA.mjs";
2
3
  import { S as escapePslString, T as numeralText } from "./ast-CJd4157-.mjs";
3
- import { isDataTypeLoweringEntry } from "@prisma/orm-framework/components/authoring";
4
+ import { printTaggedLiteral } from "@prisma/orm-framework/components/authoring";
4
5
  import { dataTypeId } from "@prisma/orm-framework/components/codec";
5
6
  //#region ../../../2-sql/9-family/dist/psl-build.mjs
6
7
  const DEFAULT_FUNCTION_ATTRIBUTES = {
@@ -9,7 +10,7 @@ const DEFAULT_FUNCTION_ATTRIBUTES = {
9
10
  };
10
11
  /**
11
12
  * The attribute a stored default prints as: a named function, a literal the column takes, or any
12
- * other expression as a raw SQL tagged literal. `undefined` when a literal has no written form.
13
+ * other expression as a `sql` literal. `undefined` when a literal has no written form.
13
14
  */
14
15
  function mapDefault(columnDefault, options) {
15
16
  switch (columnDefault.kind) {
@@ -17,17 +18,9 @@ function mapDefault(columnDefault, options) {
17
18
  const text = writeDefaultLiteral(columnDefault.value, options);
18
19
  return text === void 0 ? void 0 : { attribute: `@default(${text})` };
19
20
  }
20
- case "function": return { attribute: options?.functionAttributes?.[columnDefault.expression] ?? DEFAULT_FUNCTION_ATTRIBUTES[columnDefault.expression] ?? `@default(${sqlLiteralText(columnDefault.expression)})` };
21
+ case "function": return { attribute: options?.functionAttributes?.[columnDefault.expression] ?? DEFAULT_FUNCTION_ATTRIBUTES[columnDefault.expression] ?? `@default(${printSqlExpressionLiteral(columnDefault.expression)})` };
21
22
  }
22
23
  }
23
- /**
24
- * A raw SQL default as a `sql` tagged literal. The backtick fence resolves only `` \` `` and `\\`,
25
- * so a body holding a backtick is written inside the double-quote fence with PSL string escaping.
26
- */
27
- function sqlLiteralText(expression) {
28
- if (expression.includes("`")) return `sql"${escapePslString(expression)}"`;
29
- return `sql\`${expression.replace(/\\/g, "\\\\")}\``;
30
- }
31
24
  function writingSurface(entries) {
32
25
  const entryOf = /* @__PURE__ */ new Map();
33
26
  let classify;
@@ -35,7 +28,6 @@ function writingSurface(entries) {
35
28
  let plainBooleanType;
36
29
  const tagTypes = [];
37
30
  for (const [key, entry] of Object.entries(entries)) {
38
- if (isDataTypeLoweringEntry(entry)) continue;
39
31
  const written = entry.written;
40
32
  if (written.kind === "tag") {
41
33
  entryOf.set(key, entry);
@@ -119,16 +111,9 @@ function readBack(entry, type, body) {
119
111
  return;
120
112
  }
121
113
  }
122
- /**
123
- * The literal as PSL source. A tag body sits inside a backtick fence, which resolves `` \` `` and
124
- * `\\` and nothing else, so a `\n` in the body survives as the two characters the entry wrote.
125
- */
126
114
  function literalText(entry, body) {
127
115
  const written = entry.written;
128
- if (written.kind === "tag") {
129
- const fenced = body.replace(/\\/g, "\\\\").replace(/`/g, "\\`");
130
- return `${written.tag}\`${fenced}\``;
131
- }
116
+ if (written.kind === "tag") return printTaggedLiteral(written.tag, body);
132
117
  return written.syntax === "string" ? `"${escapePslString(body)}"` : body;
133
118
  }
134
119
  /**
@@ -224,4 +209,4 @@ function sameForm(left, right) {
224
209
  //#endregion
225
210
  export { mapDefault as t };
226
211
 
227
- //# sourceMappingURL=psl-build-SOpIFu24.mjs.map
212
+ //# sourceMappingURL=psl-build-ph4eUJSB.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"psl-build-ph4eUJSB.mjs","names":[],"sources":["../../../../2-sql/9-family/dist/psl-build.mjs"],"sourcesContent":["import { s as toEnumMemberName } from \"./psl-names-C3cwe0rg.mjs\";\nimport { printSqlExpressionLiteral } from \"@internal/sql-contract/sql-expression\";\nimport { printTaggedLiteral } from \"@internal/framework-components/authoring\";\nimport { defaultInCanonicalForm } from \"@internal/sql-schema-ir/types\";\nimport { dataTypeId } from \"@internal/framework-components/codec\";\nimport { escapePslString, numeralText } from \"@internal/sql-relational-core/ast\";\n//#region src/core/psl-build/default-mapping.ts\nconst DEFAULT_FUNCTION_ATTRIBUTES = {\n\t\"autoincrement()\": \"@default(autoincrement())\",\n\t\"now()\": \"@default(now())\"\n};\n/**\n* The attribute a stored default prints as: a named function, a literal the column takes, or any\n* other expression as a `sql` literal. `undefined` when a literal has no written form.\n*/\nfunction mapDefault(columnDefault, options) {\n\tswitch (columnDefault.kind) {\n\t\tcase \"literal\": {\n\t\t\tconst text = writeDefaultLiteral(columnDefault.value, options);\n\t\t\treturn text === void 0 ? void 0 : { attribute: `@default(${text})` };\n\t\t}\n\t\tcase \"function\": return { attribute: options?.functionAttributes?.[columnDefault.expression] ?? DEFAULT_FUNCTION_ATTRIBUTES[columnDefault.expression] ?? `@default(${printSqlExpressionLiteral(columnDefault.expression)})` };\n\t}\n}\nfunction writingSurface(entries) {\n\tconst entryOf = /* @__PURE__ */ new Map();\n\tlet classify;\n\tlet plainStringType;\n\tlet plainBooleanType;\n\tconst tagTypes = [];\n\tfor (const [key, entry] of Object.entries(entries)) {\n\t\tconst written = entry.written;\n\t\tif (written.kind === \"tag\") {\n\t\t\tentryOf.set(key, entry);\n\t\t\ttagTypes.push(dataTypeId(key));\n\t\t\tcontinue;\n\t\t}\n\t\tif (written.syntax === \"number\") {\n\t\t\tclassify = written.classify;\n\t\t\tfor (const type of written.types) entryOf.set(type, entry);\n\t\t\tcontinue;\n\t\t}\n\t\tentryOf.set(key, entry);\n\t\tif (written.syntax === \"string\") plainStringType = dataTypeId(key);\n\t\telse plainBooleanType = dataTypeId(key);\n\t}\n\treturn {\n\t\tentryOf,\n\t\tclassify,\n\t\tplainStringType,\n\t\tplainBooleanType,\n\t\ttagTypes\n\t};\n}\n/**\n* Every type the stored form could be a value of, in the order a written value would be read: a\n* number or numeral text through the classifier first, then the plain syntax that matches the\n* shape, then each tag, whose canonical form is a whole document.\n*/\nfunction classifications(value, surface) {\n\tconst found = [];\n\tif (typeof value === \"number\") {\n\t\tconst classified = surface.classify?.(numeralText(value));\n\t\treturn classified === void 0 ? [] : [classified];\n\t}\n\tif (typeof value === \"boolean\") return surface.plainBooleanType === void 0 ? [] : [{\n\t\ttype: surface.plainBooleanType,\n\t\tvalue\n\t}];\n\tif (typeof value === \"string\") {\n\t\tconst classified = surface.classify?.(value);\n\t\tif (classified !== void 0) found.push(classified);\n\t\tif (surface.plainStringType !== void 0) found.push({\n\t\t\ttype: surface.plainStringType,\n\t\t\tvalue\n\t\t});\n\t}\n\tfor (const type of surface.tagTypes) found.push({\n\t\ttype,\n\t\tvalue\n\t});\n\treturn found;\n}\n/** The stored form the column takes this value as, or `undefined` when its type takes no such value. */\nfunction admitted(candidate, columnDataType, dataTypes) {\n\tif (candidate.type === columnDataType) return candidate.value;\n\tconst cast = dataTypes.get(columnDataType)?.casts[candidate.type];\n\tif (cast === void 0) return void 0;\n\ttry {\n\t\treturn cast(candidate.value);\n\t} catch {\n\t\treturn;\n\t}\n}\n/** The body of the literal: what the entry prints, before the syntax that fences it. */\nfunction printedBody(entry, value) {\n\ttry {\n\t\treturn entry.print(value);\n\t} catch {\n\t\treturn;\n\t}\n}\n/** What the entry reads the printed body back as, which for a number is the classifier's answer. */\nfunction readBack(entry, type, body) {\n\tconst written = entry.written;\n\ttry {\n\t\treturn written.kind === \"plain\" && written.syntax === \"number\" ? written.classify(body) : {\n\t\t\ttype,\n\t\t\tvalue: written.parse(body)\n\t\t};\n\t} catch {\n\t\treturn;\n\t}\n}\nfunction literalText(entry, body) {\n\tconst written = entry.written;\n\tif (written.kind === \"tag\") return printTaggedLiteral(written.tag, body);\n\treturn written.syntax === \"string\" ? `\"${escapePslString(body)}\"` : body;\n}\n/**\n* The value written as the literal of one of its types, proven by reading the text straight back:\n* the same entry, the same cast, and the stored form again.\n*/\nfunction writeScalar(value, columnDataType, dataTypes, surface) {\n\tfor (const candidate of classifications(value, surface)) {\n\t\tconst entry = surface.entryOf.get(candidate.type);\n\t\tif (entry === void 0) continue;\n\t\tconst stored = admitted(candidate, columnDataType, dataTypes);\n\t\tif (stored === void 0 || !sameForm(stored, value)) continue;\n\t\tconst body = printedBody(entry, candidate.value);\n\t\tif (body === void 0) continue;\n\t\tconst reread = readBack(entry, candidate.type, body);\n\t\tif (reread === void 0) continue;\n\t\tconst restored = admitted(reread, columnDataType, dataTypes);\n\t\tif (restored === void 0 || !sameForm(restored, value)) continue;\n\t\treturn literalText(entry, body);\n\t}\n}\n/** One written element of a list, printed as a value of any type, with no column type to admit it. */\nfunction writeElement(value, of, surface) {\n\tfor (const candidate of classifications(value, surface)) {\n\t\tif (!of.includes(candidate.type)) continue;\n\t\tconst entry = surface.entryOf.get(candidate.type);\n\t\tif (entry === void 0) continue;\n\t\tconst body = printedBody(entry, candidate.value);\n\t\tif (body === void 0) continue;\n\t\tconst reread = readBack(entry, candidate.type, body);\n\t\tif (reread === void 0 || !of.includes(reread.type)) continue;\n\t\treturn {\n\t\t\ttext: literalText(entry, body),\n\t\t\tvalue: reread.value\n\t\t};\n\t}\n}\n/**\n* A written list on a scalar column, which the column type's list cast turns into its one value.\n* Each element is classified on its own and must be of a type the cast takes.\n*/\nfunction writeListCast(value, columnDataType, dataTypes, surface) {\n\tconst listCast = dataTypes.get(columnDataType)?.listCast;\n\tif (listCast === void 0) return void 0;\n\tconst parts = [];\n\tconst elements = [];\n\tfor (const element of value) {\n\t\tconst written = writeElement(element, listCast.of, surface);\n\t\tif (written === void 0) return void 0;\n\t\tparts.push(written.text);\n\t\telements.push(written.value);\n\t}\n\ttry {\n\t\tif (!sameForm(listCast.cast(elements), value)) return void 0;\n\t} catch {\n\t\treturn;\n\t}\n\treturn `[${parts.join(\", \")}]`;\n}\nfunction writeDefaultLiteral(stored, options) {\n\tif (stored instanceof Date) return void 0;\n\tconst { dataTypeEntries, dataTypes, columnDataType } = options ?? {};\n\tif (dataTypeEntries === void 0 || dataTypes === void 0 || columnDataType === void 0) return;\n\tconst { value } = defaultInCanonicalForm(stored, dataTypes.get(columnDataType)?.toCanonicalForm, options?.list === true);\n\tif (value instanceof Date) return void 0;\n\tconst surface = writingSurface(dataTypeEntries);\n\tif (options?.list === true) {\n\t\tif (!Array.isArray(value)) return void 0;\n\t\tconst parts = [];\n\t\tfor (const element of value) {\n\t\t\tconst written = writeScalar(element, columnDataType, dataTypes, surface);\n\t\t\tif (written === void 0) return void 0;\n\t\t\tparts.push(written);\n\t\t}\n\t\treturn `[${parts.join(\", \")}]`;\n\t}\n\tconst written = writeScalar(value, columnDataType, dataTypes, surface);\n\tif (written !== void 0) return written;\n\treturn Array.isArray(value) ? writeListCast(value, columnDataType, dataTypes, surface) : void 0;\n}\n/** Whether two canonical forms are the same JSON value, member by member and element by element. */\nfunction sameForm(left, right) {\n\tif (left === right) return true;\n\tif (Array.isArray(left) !== Array.isArray(right)) return false;\n\tif (typeof left !== \"object\" || typeof right !== \"object\" || left === null || right === null) return false;\n\tconst members = Object.entries(left);\n\tconst others = new Map(Object.entries(right));\n\treturn members.length === others.size && members.every(([key, member]) => {\n\t\tconst other = others.get(key);\n\t\treturn other !== void 0 && sameForm(member, other);\n\t});\n}\n//#endregion\nexport { mapDefault, toEnumMemberName };\n\n//# sourceMappingURL=psl-build.mjs.map"],"mappings":";;;;;;AAOA,MAAM,8BAA8B;CACnC,mBAAmB;CACnB,SAAS;AACV;;;;;AAKA,SAAS,WAAW,eAAe,SAAS;CAC3C,QAAQ,cAAc,MAAtB;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AAU,OAAO,QAAQ,IAAI;CACnC,MAAM,SAAS,IAAI,IAAI,OAAO,QAAQ,KAAK,CAAC;CAC5C,OAAO,QAAQ,WAAW,OAAO,QAAQ,QAAQ,OAAO,CAAC,KAAK,YAAY;EACzE,MAAM,QAAQ,OAAO,IAAI,GAAG;EAC5B,OAAO,UAAU,KAAK,KAAK,SAAS,QAAQ,KAAK;CAClD,CAAC;AACF"}
@@ -1,6 +1,6 @@
1
1
  import { b as SqlTableIR, f as SqlForeignKeyIR } from "./types-DinsvYdY-Dv_n3Tac.mjs";
2
2
  import "./types-BBT7jidC.mjs";
3
- import { r as PslTypeMap, t as DefaultMappingOptions } from "./type-map-BwBI56i3-DDERtzxf.mjs";
3
+ import { r as PslTypeMap, t as DefaultMappingOptions } from "./type-map-DpfnXzun-DZaSuJXh.mjs";
4
4
  import { ColumnDefault } from "@prisma/orm-framework/contract/types";
5
5
  //#region ../../../2-sql/9-family/dist/psl-infer.d.mts
6
6
  //#region src/core/psl-contract-infer/name-transforms.d.ts
@@ -80,4 +80,4 @@ declare function inferRelations(tables: Record<string, SqlTableIR>, modelNameMap
80
80
  declare function buildChildRelationField(fieldName: string, parentModelName: string, fk: SqlForeignKeyIR, optional: boolean, relationName?: string, hostTable?: SqlTableIR): RelationField;
81
81
  //#endregion
82
82
  export { buildChildRelationField as a, inferRelations as c, toFieldName as d, toModelName as f, RelationField as i, pluralize as l, InferredRelations as n, deriveBackRelationFieldName as o, PslPrinterOptions as r, deriveRelationFieldName as s, EnumInfo as t, toEnumName as u };
83
- //# sourceMappingURL=psl-infer-C8hg8mIS.d.mts.map
83
+ //# sourceMappingURL=psl-infer-DT5_Lx5r.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"psl-infer-C8hg8mIS.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/psl-infer.d.mts"],"mappings":";;;;;;KAIK;WACM;WACA;;iBAEM,YAAY,oBAAoB;iBAChC,YAAY,qBAAqB;iBACjC,WAAW,qBAAqB;iBAChC,UAAU;iBACV,wBAAwB,8BAA8B;iBACtD,4BAA4B,wBAAwB;;;UAG3D;WACC,WAAW;WACX,aAAa;;UAEd;WACC,SAAS;WACT,iBAAiB;WACjB,WAAW;WACX,mBAAmB,oBAAoB,wBAAwB;;KAErE;WACM;WACA;;;;;;WAMA;;;;;;WAMA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;;;KAIN;WACM,kBAAkB,6BAA6B;;iBAEzC,eAAe,QAAQ,eAAe,aAAa,cAAc,8BAA8B;;;;;;;;;;;;;;;;;;;iBAmB/F,wBAAwB,mBAAmB,yBAAyB,IAAI,iBAAiB,mBAAmB,uBAAuB,YAAY,aAAa"}
1
+ {"version":3,"file":"psl-infer-DT5_Lx5r.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/psl-infer.d.mts"],"mappings":";;;;;;KAIK;WACM;WACA;;iBAEM,YAAY,oBAAoB;iBAChC,YAAY,qBAAqB;iBACjC,WAAW,qBAAqB;iBAChC,UAAU;iBACV,wBAAwB,8BAA8B;iBACtD,4BAA4B,wBAAwB;;;UAG3D;WACC,WAAW;WACX,aAAa;;UAEd;WACC,SAAS;WACT,iBAAiB;WACjB,WAAW;WACX,mBAAmB,oBAAoB,wBAAwB;;KAErE;WACM;WACA;;;;;;WAMA;;;;;;WAMA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;;;KAIN;WACM,kBAAkB,6BAA6B;;iBAEzC,eAAe,QAAQ,eAAe,aAAa,cAAc,8BAA8B;;;;;;;;;;;;;;;;;;;iBAmB/F,wBAAwB,mBAAmB,yBAAyB,IAAI,iBAAiB,mBAAmB,uBAAuB,YAAY,aAAa"}
@@ -0,0 +1 @@
1
+ import "./query-lane-context-D6o9YrEV-BxW3-5e8.mjs";
@@ -1,11 +1,11 @@
1
1
  import { c as SqlStorage } from "./sql-storage-8LqxeLAY-DH4DdUXx.mjs";
2
2
  import "./types-C36_3E6_.mjs";
3
3
  import { a as SqlOperationRegistry } from "./index-Cef8iy1o.mjs";
4
- import { c as AnyExpression, k as ContractCodecRegistry } from "./types-Yui2yFf6-TP-oRDTX.mjs";
4
+ import { c as AnyExpression, k as ContractCodecRegistry } from "./types-Yui2yFf6-Dnc7RNUD.mjs";
5
5
  import { Contract } from "@prisma/orm-framework/contract/types";
6
- import { MutationDefaults } from "@prisma/orm-framework/components/runtime";
7
6
  import { CodecDescriptor, CodecRef } from "@prisma/orm-framework/components/codec";
8
7
  import { AggregateDescriptor, AggregateResultNullability } from "@prisma/orm-framework/components/components";
8
+ import { MutationDefaults } from "@prisma/orm-framework/components/runtime";
9
9
  //#region ../../../2-sql/4-lanes/relational-core/dist/query-lane-context-D6o9YrEV.d.mts
10
10
  //#region src/aggregate-descriptor.d.ts
11
11
  /**
@@ -122,4 +122,4 @@ interface ExecutionContext<TContract extends Contract<SqlStorage> = Contract<Sql
122
122
  }
123
123
  //#endregion
124
124
  export { SqlAggregateDescriptorRegistry as a, TypeHelperRegistry as c, SqlAggregateDescriptor as i, isSqlAggregateDescriptor as l, ExecutionContext as n, SqlAggregateLowering as o, ResolvedSqlAggregate as r, SqlAggregateLoweringContext as s, CodecDescriptorRegistry as t };
125
- //# sourceMappingURL=query-lane-context-D6o9YrEV-bouFPM6u.d.mts.map
125
+ //# sourceMappingURL=query-lane-context-D6o9YrEV-BxW3-5e8.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-lane-context-D6o9YrEV-bouFPM6u.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/query-lane-context-D6o9YrEV.d.mts"],"mappings":";;;;;;;;;;;;;UAWU;WACC,MAAM;WACN,YAAY;;;;;;;KAOlB,wBAAwB,SAAS,gCAAgC;;;;;;;;KAQjE,yBAAyB;WACnB,QAAQ;;;iBAGF,yBAAyB,iBAAiB,SAAS;;;;;;UAM1D;;;;EAIR,cAAc,kBAAkB;;;;;;;;;;;;;;EAchC,kBAAkB,qBAAqB,eAAe,iBAAiB;;;;EAIvE,UAAU,iBAAiB;;;;EAI3B,aAAa,8BAA8B;;;;;;;KAOxC,uBAAuB;WACjB;WACA,QAAQ;WACR,OAAO;;;;;;;UAOR;;;;;;EAMR,QAAQ,mBAAmB,QAAQ,WAAW;;EAE9C,UAAU,iBAAiB;;;;;KAKxB,qBAAqB;;;;;;UAMhB,iBAAiB,kBAAkB,SAAS,cAAc,SAAS,qBAAqB;WACvF,UAAU;;;;WAIV,gBAAgB;;;;WAIhB,kBAAkB;;;;WAIlB,sBAAsB;WACtB,iBAAiB;;;;WAIjB,OAAO"}
1
+ {"version":3,"file":"query-lane-context-D6o9YrEV-BxW3-5e8.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/query-lane-context-D6o9YrEV.d.mts"],"mappings":";;;;;;;;;;;;;UAWU;WACC,MAAM;WACN,YAAY;;;;;;;KAOlB,wBAAwB,SAAS,gCAAgC;;;;;;;;KAQjE,yBAAyB;WACnB,QAAQ;;;iBAGF,yBAAyB,iBAAiB,SAAS;;;;;;UAM1D;;;;EAIR,cAAc,kBAAkB;;;;;;;;;;;;;;EAchC,kBAAkB,qBAAqB,eAAe,iBAAiB;;;;EAIvE,UAAU,iBAAiB;;;;EAI3B,aAAa,8BAA8B;;;;;;;KAOxC,uBAAuB;WACjB;WACA,QAAQ;WACR,OAAO;;;;;;;UAOR;;;;;;EAMR,QAAQ,mBAAmB,QAAQ,WAAW;;EAE9C,UAAU,iBAAiB;;;;;KAKxB,qBAAqB;;;;;;UAMhB,iBAAiB,kBAAkB,SAAS,cAAc,SAAS,qBAAqB;WACvF,UAAU;;;;WAIV,gBAAgB;;;;WAIhB,kBAAkB;;;;WAIlB,sBAAsB;WACtB,iBAAiB;;;;WAIjB,OAAO"}
@@ -1,13 +1,13 @@
1
- import { $ as InsertValue, A as DefaultValueExpr, At as SqlCodecCallContext, B as EqColJoinOn, Bt as WindowFuncExpr, C as CodecCallContext$1, Ct as RawExpr, D as CodecTrait$1, Dt as RawSqlLiteral, E as CodecRef$1, Et as RawQueryResult, F as DescriptorCodecJson, Ft as TableSource, G as ExpressionSource, Gt as isOrderByNulls, H as ExprVisitor, Ht as frozenCodecRef, I as DescriptorCodecTraits, It as ToWhereExpr, J as FunctionSource, Jt as queryAstKinds, K as ExtractCodecTypes, Kt as isQueryAst, L as Direction, Lt as UpdateAst, M as DerivedTableSource, Mt as SqlColumnRef, N as DescriptorCodecId, Nt as SubqueryExpr, O as ColumnRef, Ot as SelectAst, P as DescriptorCodecInput, Pt as TableRef, Q as InsertOnConflict, R as DoNothingConflictAction, Rt as WhereArg, S as Codec$1, St as ProjectionItem, T as CodecJsonValueProjection, Tt as RawQueryColumn, U as ExpressionFolder, Ut as isAggregateFn, V as ExistsExpr, Vt as aggregateFnNames, W as ExpressionRewriter, Wt as isOrderByDirection, X as IdentifierRef, Y as FunctionSourceAlias, Yt as whereExprKinds, Z as InsertAst, _ as BinaryExpr, _t as OrderByItem, a as AndExpr, at as JsonObjectExpr, b as CaseExpr, bt as PreparedParamRef, c as AnyExpression, ct as ListExpression, d as AnyInsertValue, dt as LoweredStatement, et as JoinAst, f as AnyJsonValueProjection, ft as NativeJsonValueProjection, g as AstRewriter, gt as OrExpr, h as AnyQueryAst, ht as OperationExpr, i as AggregateOpFn, it as JsonObjectEntry, j as DeleteAst, jt as SqlCodecInstanceContext, k as ContractCodecRegistry, kt as SelectAstOptions, l as AnyFromSource, lt as LiteralExpr, m as AnyParamRef, mt as NullCheckExpr, n as AggregateExpr, nt as JsonArrayAggExpr, o as AnyCodecDescriptor, ot as JsonValueProjectionVisitor, p as AnyOperationArg, pt as NotExpr, q as FunctionCallExpr, qt as isWhereExpr, r as AggregateFn, rt as JsonDocumentProjection, s as AnyCodecDescriptorTemplate, st as LimitOffsetValue, t as AggregateCountFn, tt as JoinOnExpr, u as AnyInsertOnConflictAction, ut as LoweredParam, v as BinaryOp, vt as OrderByNulls, w as CodecDescriptor$1, wt as RawQueryAst, x as CastExpr, xt as ProjectionExpr, y as CaseBranch, yt as ParamRef, z as DoUpdateSetConflictAction, zt as WindowFn } from "./types-Yui2yFf6-TP-oRDTX.mjs";
1
+ import { $ as InsertValue, A as DefaultValueExpr, At as SqlCodecCallContext, B as EqColJoinOn, Bt as WindowFuncExpr, C as CodecCallContext$1, Ct as RawExpr, D as CodecTrait$1, Dt as RawSqlLiteral, E as CodecRef$1, Et as RawQueryResult, F as DescriptorCodecJson, Ft as TableSource, G as ExpressionSource, Gt as isOrderByNulls, H as ExprVisitor, Ht as frozenCodecRef, I as DescriptorCodecTraits, It as ToWhereExpr, J as FunctionSource, Jt as queryAstKinds, K as ExtractCodecTypes, Kt as isQueryAst, L as Direction, Lt as UpdateAst, M as DerivedTableSource, Mt as SqlColumnRef, N as DescriptorCodecId, Nt as SubqueryExpr, O as ColumnRef, Ot as SelectAst, P as DescriptorCodecInput, Pt as TableRef, Q as InsertOnConflict, R as DoNothingConflictAction, Rt as WhereArg, S as Codec$1, St as ProjectionItem, T as CodecJsonValueProjection, Tt as RawQueryColumn, U as ExpressionFolder, Ut as isAggregateFn, V as ExistsExpr, Vt as aggregateFnNames, W as ExpressionRewriter, Wt as isOrderByDirection, X as IdentifierRef, Y as FunctionSourceAlias, Yt as whereExprKinds, Z as InsertAst, _ as BinaryExpr, _t as OrderByItem, a as AndExpr, at as JsonObjectExpr, b as CaseExpr, bt as PreparedParamRef, c as AnyExpression, ct as ListExpression, d as AnyInsertValue, dt as LoweredStatement, et as JoinAst, f as AnyJsonValueProjection, ft as NativeJsonValueProjection, g as AstRewriter, gt as OrExpr, h as AnyQueryAst, ht as OperationExpr, i as AggregateOpFn, it as JsonObjectEntry, j as DeleteAst, jt as SqlCodecInstanceContext, k as ContractCodecRegistry, kt as SelectAstOptions, l as AnyFromSource, lt as LiteralExpr, m as AnyParamRef, mt as NullCheckExpr, n as AggregateExpr, nt as JsonArrayAggExpr, o as AnyCodecDescriptor, ot as JsonValueProjectionVisitor, p as AnyOperationArg, pt as NotExpr, q as FunctionCallExpr, qt as isWhereExpr, r as AggregateFn, rt as JsonDocumentProjection, s as AnyCodecDescriptorTemplate, st as LimitOffsetValue, t as AggregateCountFn, tt as JoinOnExpr, u as AnyInsertOnConflictAction, ut as LoweredParam, v as BinaryOp, vt as OrderByNulls, w as CodecDescriptor$1, wt as RawQueryAst, x as CastExpr, xt as ProjectionExpr, y as CaseBranch, yt as ParamRef, z as DoUpdateSetConflictAction, zt as WindowFn } from "./types-Yui2yFf6-Dnc7RNUD.mjs";
2
2
  import { a as SqlDriverState, c as SqlQueryable, i as SqlDriver, l as SqlStatementStats, n as PreparedStatementHandle, o as SqlExecuteRequest, r as SqlConnection, s as SqlExplainResult, t as PreparedExecuteRequest, u as SqlTransaction } from "./driver-types-BQtRkOJ0-Bv2RPSfr.mjs";
3
- import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-DD-i-Uj9-D99heD5Z.mjs";
4
- import { $ as sqlIntEncode, A as compact, B as sqlCharDecode, C as SqlTextCodec, D as canonicalDateTime, E as SqlVarcharDescriptor, F as numeralText, G as sqlFloatDecode, H as sqlCharEncode, I as parseJsonBody, J as sqlFloatEncode, K as sqlFloatDecodeJson, L as printJsonBody, M as escapePslString, N as isNonFiniteText, O as canonicalNumeralText, P as isNumeralText, Q as sqlIntDescriptor, R as signedRange, S as SqlIntDescriptor, T as SqlVarcharCodec, U as sqlCharRenderOutputType, V as sqlCharDescriptor, W as sqlFloatColumn, X as sqlIntColumn, Y as sqlFloatEncodeJson, Z as sqlIntDecode, _ as SqlCharCodec, a as DateTimeShape, at as sqlVarcharDecode, b as SqlFloatDescriptor, c as LowererContext, ct as sqlVarcharRenderOutputType, d as NumberClassifierSpec, et as sqlTextColumn, f as SQL_CHAR_CODEC_ID, g as SQL_VARCHAR_CODEC_ID, h as SQL_TEXT_CODEC_ID, i as CanonicalDateTimeOptions, it as sqlVarcharColumn, j as createNumberClassifier, k as collectOrderedParamRefs, l as MarkerReadResult, m as SQL_INT_CODEC_ID, n as AdapterProfile, nt as sqlTextDescriptor, o as IntegerStep, ot as sqlVarcharDescriptor, p as SQL_FLOAT_CODEC_ID, q as sqlFloatDescriptor, r as AdapterTarget, rt as sqlTextEncode, s as Lowerer, st as sqlVarcharEncode, t as Adapter, tt as sqlTextDecode, u as NumberClassification, v as SqlCharDescriptor, w as SqlTextDescriptor, x as SqlIntCodec, y as SqlFloatCodec, z as sqlCharColumn } from "./ast-DQU1yUQ5.mjs";
5
- import { n as SqlQueryPlan, r as planFromAst, t as Preparable } from "./plan-B7g2kDfQ-Bw0784x6.mjs";
6
- import { C as buildOperation, D as param, E as isExpression, O as toExpr, S as TraitExpression, T as createRawSql, _ as RawSqlStatementBuilder, a as CodecValue, b as ScalarListExpression, c as RawAffectedCountQuery, d as RawRow, f as RawRowQuery, g as RawSqlInterpolation, h as RawSqlBuilder, i as CodecTypesBase, l as RawCodecInferer, m as RawRowSpecEntry, n as BuildOperationSpec, o as Expression, p as RawRowSpec, r as CodecExpression, s as NoReservedRowColumn, t as AffectedCount, u as RawPlanContext, v as RawSqlStatementTag, w as codecOf, x as ScopeField, y as RawSqlTag } from "./expression-BPoA5eEl.mjs";
7
- import { t as SqlExecutionPlan } from "./sql-execution-plan-Db0j752I-CI5WbdLi.mjs";
8
- import "./plan-DiT00Rg8.mjs";
9
- import { a as SqlAggregateDescriptorRegistry, c as TypeHelperRegistry, n as ExecutionContext, r as ResolvedSqlAggregate, t as CodecDescriptorRegistry } from "./query-lane-context-D6o9YrEV-bouFPM6u.mjs";
10
- import "./query-lane-context-BcXiJasG.mjs";
11
- import { S as TablesOf, _ as SqlOrmPlan, a as ColumnsOf, b as TableKey, c as META, d as ModelMetadata, f as OperationTypeSignature, g as SqlBuilderOptions, h as RuntimeScope, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as SqlPlan, x as TableMetadata, y as TableDef } from "./types-DFJNPLXY-vp6AGe5e.mjs";
12
- import { a as SqlParamRefMutatorInternal, i as SqlParamRefMutator, n as ParamRefEntryUnion, o as createSqlParamRefMutator, r as ParamRefHandle, t as ParamRefEntry } from "./middleware-CuGBptK0-C88HCnh5.mjs";
3
+ import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-DD-i-Uj9-BRqLNUDm.mjs";
4
+ import { $ as sqlIntEncode, A as compact, B as sqlCharDecode, C as SqlTextCodec, D as canonicalDateTime, E as SqlVarcharDescriptor, F as numeralText, G as sqlFloatDecode, H as sqlCharEncode, I as parseJsonBody, J as sqlFloatEncode, K as sqlFloatDecodeJson, L as printJsonBody, M as escapePslString, N as isNonFiniteText, O as canonicalNumeralText, P as isNumeralText, Q as sqlIntDescriptor, R as signedRange, S as SqlIntDescriptor, T as SqlVarcharCodec, U as sqlCharRenderOutputType, V as sqlCharDescriptor, W as sqlFloatColumn, X as sqlIntColumn, Y as sqlFloatEncodeJson, Z as sqlIntDecode, _ as SqlCharCodec, a as DateTimeShape, at as sqlVarcharDecode, b as SqlFloatDescriptor, c as LowererContext, ct as sqlVarcharRenderOutputType, d as NumberClassifierSpec, et as sqlTextColumn, f as SQL_CHAR_CODEC_ID, g as SQL_VARCHAR_CODEC_ID, h as SQL_TEXT_CODEC_ID, i as CanonicalDateTimeOptions, it as sqlVarcharColumn, j as createNumberClassifier, k as collectOrderedParamRefs, l as MarkerReadResult, m as SQL_INT_CODEC_ID, n as AdapterProfile, nt as sqlTextDescriptor, o as IntegerStep, ot as sqlVarcharDescriptor, p as SQL_FLOAT_CODEC_ID, q as sqlFloatDescriptor, r as AdapterTarget, rt as sqlTextEncode, s as Lowerer, st as sqlVarcharEncode, t as Adapter, tt as sqlTextDecode, u as NumberClassification, v as SqlCharDescriptor, w as SqlTextDescriptor, x as SqlIntCodec, y as SqlFloatCodec, z as sqlCharColumn } from "./ast-B53rACdv.mjs";
5
+ import { n as SqlQueryPlan, r as planFromAst, t as Preparable } from "./plan-B7g2kDfQ-ZD3BfWYx.mjs";
6
+ import { C as buildOperation, D as param, E as isExpression, O as toExpr, S as TraitExpression, T as createRawSql, _ as RawSqlStatementBuilder, a as CodecValue, b as ScalarListExpression, c as RawAffectedCountQuery, d as RawRow, f as RawRowQuery, g as RawSqlInterpolation, h as RawSqlBuilder, i as CodecTypesBase, l as RawCodecInferer, m as RawRowSpecEntry, n as BuildOperationSpec, o as Expression, p as RawRowSpec, r as CodecExpression, s as NoReservedRowColumn, t as AffectedCount, u as RawPlanContext, v as RawSqlStatementTag, w as codecOf, x as ScopeField, y as RawSqlTag } from "./expression-Dl5WvxCA.mjs";
7
+ import { t as SqlExecutionPlan } from "./sql-execution-plan-Db0j752I-faODNLY9.mjs";
8
+ import "./plan-CVje8E5I.mjs";
9
+ import { a as SqlAggregateDescriptorRegistry, c as TypeHelperRegistry, n as ExecutionContext, r as ResolvedSqlAggregate, t as CodecDescriptorRegistry } from "./query-lane-context-D6o9YrEV-BxW3-5e8.mjs";
10
+ import "./query-lane-context-D54z0tof.mjs";
11
+ import { S as TablesOf, _ as SqlOrmPlan, a as ColumnsOf, b as TableKey, c as META, d as ModelMetadata, f as OperationTypeSignature, g as SqlBuilderOptions, h as RuntimeScope, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as SqlPlan, x as TableMetadata, y as TableDef } from "./types-DFJNPLXY-DyYKIhXA.mjs";
12
+ import { a as SqlParamRefMutatorInternal, i as SqlParamRefMutator, n as ParamRefEntryUnion, o as createSqlParamRefMutator, r as ParamRefHandle, t as ParamRefEntry } from "./middleware-CuGBptK0-UwVChCr2.mjs";
13
13
  export { Adapter, AdapterProfile, AdapterTarget, AffectedCount, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyCodecDescriptorTemplate, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AstRewriter, BinaryExpr, BinaryOp, BuildOperationSpec, BuildOptions, BuildParamsMap, CanonicalDateTimeOptions, CaseBranch, CaseExpr, CastExpr, CheckExpressionConstraint, Codec$1 as Codec, type CodecCallContext$1 as CodecCallContext, type CodecDescriptor$1 as CodecDescriptor, CodecDescriptorRegistry, CodecExpression, CodecJsonValueProjection, type CodecRef$1 as CodecRef, type CodecTrait$1 as CodecTrait, CodecTypes, CodecTypesBase, CodecValue, ColumnRef, ColumnResolutionContract, ColumnsOf, ComputeColumnJsType, ContractCodecRegistry, DateTimeShape, DdlColumn, DdlColumnDefault, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExecutionContext, ExistsExpr, Expr, ExprVisitor, Expression, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, IntegerStep, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, META, MarkerReadResult, Meta, ModelDef, ModelMetadata, NativeJsonValueProjection, NoReservedRowColumn, NotExpr, NullCheckExpr, NumberClassification, NumberClassifierSpec, OperationExpr, OperationTypeSignature, OperationTypes, OperationsForTypeId, OrExpr, OrderByItem, OrderByNulls, ParamRef, type ParamRefEntry, type ParamRefEntryUnion, type ParamRefHandle, Preparable, PreparedExecuteRequest, PreparedParamRef, PreparedStatementHandle, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawAffectedCountQuery, RawCodecInferer, RawExpr, RawPlanContext, RawQueryAst, RawQueryColumn, RawQueryResult, RawRow, RawRowQuery, RawRowSpec, RawRowSpecEntry, RawSqlBuilder, RawSqlInterpolation, RawSqlLiteral, RawSqlStatementBuilder, RawSqlStatementTag, RawSqlTag, ResolvedSqlAggregate, type RuntimeScope, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, ScalarListExpression, ScopeField, SelectAst, SelectAstOptions, SqlAggregateDescriptorRegistry, SqlBuilderOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, type SqlExecutionPlan, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, type SqlOrmPlan, type SqlParamRefMutator, type SqlParamRefMutatorInternal, SqlPlan, SqlQueryPlan, SqlQueryable, SqlStatementStats, SqlTextCodec, SqlTextDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableDef, TableKey, TableMetadata, TableRef, TableSource, TablesOf, ToWhereExpr, TraitExpression, TypeHelperRegistry, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, aggregateFnNames, buildOperation, canonicalDateTime, canonicalNumeralText, codecOf, collectOrderedParamRefs, compact, createNumberClassifier, createRawSql, createSqlParamRefMutator, escapePslString, frozenCodecRef, isAggregateFn, isDdlNode, isExpression, isNonFiniteText, isNumeralText, isOrderByDirection, isOrderByNulls, isQueryAst, isWhereExpr, numeralText, param, parseJsonBody, planFromAst, printJsonBody, queryAstKinds, signedRange, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
@@ -1,4 +1,4 @@
1
- import { a as SqlAggregateDescriptorRegistry, i as SqlAggregateDescriptor, l as isSqlAggregateDescriptor, o as SqlAggregateLowering, s as SqlAggregateLoweringContext, t as CodecDescriptorRegistry } from "./query-lane-context-D6o9YrEV-bouFPM6u.mjs";
1
+ import { a as SqlAggregateDescriptorRegistry, i as SqlAggregateDescriptor, l as isSqlAggregateDescriptor, o as SqlAggregateLowering, s as SqlAggregateLoweringContext, t as CodecDescriptorRegistry } from "./query-lane-context-D6o9YrEV-BxW3-5e8.mjs";
2
2
  //#region ../../../2-sql/4-lanes/relational-core/dist/exports/aggregate-descriptor-registry.d.mts
3
3
  //#region src/aggregate-descriptor-registry.d.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { $ as InsertValue, A as DefaultValueExpr, At as SqlCodecCallContext, B as EqColJoinOn, Bt as WindowFuncExpr, C as CodecCallContext$1, Ct as RawExpr, D as CodecTrait$1, Dt as RawSqlLiteral, E as CodecRef$1, Et as RawQueryResult, F as DescriptorCodecJson, Ft as TableSource, G as ExpressionSource, Gt as isOrderByNulls, H as ExprVisitor, Ht as frozenCodecRef, I as DescriptorCodecTraits, It as ToWhereExpr, J as FunctionSource, Jt as queryAstKinds, K as ExtractCodecTypes, Kt as isQueryAst, L as Direction, Lt as UpdateAst, M as DerivedTableSource, Mt as SqlColumnRef, N as DescriptorCodecId, Nt as SubqueryExpr, O as ColumnRef, Ot as SelectAst, P as DescriptorCodecInput, Pt as TableRef, Q as InsertOnConflict, R as DoNothingConflictAction, Rt as WhereArg, S as Codec$1, St as ProjectionItem, T as CodecJsonValueProjection, Tt as RawQueryColumn, U as ExpressionFolder, Ut as isAggregateFn, V as ExistsExpr, Vt as aggregateFnNames, W as ExpressionRewriter, Wt as isOrderByDirection, X as IdentifierRef, Y as FunctionSourceAlias, Yt as whereExprKinds, Z as InsertAst, _ as BinaryExpr, _t as OrderByItem, a as AndExpr, at as JsonObjectExpr, b as CaseExpr, bt as PreparedParamRef, c as AnyExpression, ct as ListExpression, d as AnyInsertValue, dt as LoweredStatement, et as JoinAst, f as AnyJsonValueProjection, ft as NativeJsonValueProjection, g as AstRewriter, gt as OrExpr, h as AnyQueryAst, ht as OperationExpr, i as AggregateOpFn, it as JsonObjectEntry, j as DeleteAst, jt as SqlCodecInstanceContext, k as ContractCodecRegistry, kt as SelectAstOptions, l as AnyFromSource, lt as LiteralExpr, m as AnyParamRef, mt as NullCheckExpr, n as AggregateExpr, nt as JsonArrayAggExpr, o as AnyCodecDescriptor, ot as JsonValueProjectionVisitor, p as AnyOperationArg, pt as NotExpr, q as FunctionCallExpr, qt as isWhereExpr, r as AggregateFn, rt as JsonDocumentProjection, s as AnyCodecDescriptorTemplate, st as LimitOffsetValue, t as AggregateCountFn, tt as JoinOnExpr, u as AnyInsertOnConflictAction, ut as LoweredParam, v as BinaryOp, vt as OrderByNulls, w as CodecDescriptor$1, wt as RawQueryAst, x as CastExpr, xt as ProjectionExpr, y as CaseBranch, yt as ParamRef, z as DoUpdateSetConflictAction, zt as WindowFn } from "./types-Yui2yFf6-TP-oRDTX.mjs";
1
+ import { $ as InsertValue, A as DefaultValueExpr, At as SqlCodecCallContext, B as EqColJoinOn, Bt as WindowFuncExpr, C as CodecCallContext$1, Ct as RawExpr, D as CodecTrait$1, Dt as RawSqlLiteral, E as CodecRef$1, Et as RawQueryResult, F as DescriptorCodecJson, Ft as TableSource, G as ExpressionSource, Gt as isOrderByNulls, H as ExprVisitor, Ht as frozenCodecRef, I as DescriptorCodecTraits, It as ToWhereExpr, J as FunctionSource, Jt as queryAstKinds, K as ExtractCodecTypes, Kt as isQueryAst, L as Direction, Lt as UpdateAst, M as DerivedTableSource, Mt as SqlColumnRef, N as DescriptorCodecId, Nt as SubqueryExpr, O as ColumnRef, Ot as SelectAst, P as DescriptorCodecInput, Pt as TableRef, Q as InsertOnConflict, R as DoNothingConflictAction, Rt as WhereArg, S as Codec$1, St as ProjectionItem, T as CodecJsonValueProjection, Tt as RawQueryColumn, U as ExpressionFolder, Ut as isAggregateFn, V as ExistsExpr, Vt as aggregateFnNames, W as ExpressionRewriter, Wt as isOrderByDirection, X as IdentifierRef, Y as FunctionSourceAlias, Yt as whereExprKinds, Z as InsertAst, _ as BinaryExpr, _t as OrderByItem, a as AndExpr, at as JsonObjectExpr, b as CaseExpr, bt as PreparedParamRef, c as AnyExpression, ct as ListExpression, d as AnyInsertValue, dt as LoweredStatement, et as JoinAst, f as AnyJsonValueProjection, ft as NativeJsonValueProjection, g as AstRewriter, gt as OrExpr, h as AnyQueryAst, ht as OperationExpr, i as AggregateOpFn, it as JsonObjectEntry, j as DeleteAst, jt as SqlCodecInstanceContext, k as ContractCodecRegistry, kt as SelectAstOptions, l as AnyFromSource, lt as LiteralExpr, m as AnyParamRef, mt as NullCheckExpr, n as AggregateExpr, nt as JsonArrayAggExpr, o as AnyCodecDescriptor, ot as JsonValueProjectionVisitor, p as AnyOperationArg, pt as NotExpr, q as FunctionCallExpr, qt as isWhereExpr, r as AggregateFn, rt as JsonDocumentProjection, s as AnyCodecDescriptorTemplate, st as LimitOffsetValue, t as AggregateCountFn, tt as JoinOnExpr, u as AnyInsertOnConflictAction, ut as LoweredParam, v as BinaryOp, vt as OrderByNulls, w as CodecDescriptor$1, wt as RawQueryAst, x as CastExpr, xt as ProjectionExpr, y as CaseBranch, yt as ParamRef, z as DoUpdateSetConflictAction, zt as WindowFn } from "./types-Yui2yFf6-Dnc7RNUD.mjs";
2
2
  import { a as SqlDriverState, c as SqlQueryable, i as SqlDriver, l as SqlStatementStats, n as PreparedStatementHandle, o as SqlExecuteRequest, r as SqlConnection, s as SqlExplainResult, t as PreparedExecuteRequest, u as SqlTransaction } from "./driver-types-BQtRkOJ0-Bv2RPSfr.mjs";
3
- import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-DD-i-Uj9-D99heD5Z.mjs";
4
- import { $ as sqlIntEncode, A as compact, B as sqlCharDecode, C as SqlTextCodec, D as canonicalDateTime, E as SqlVarcharDescriptor, F as numeralText, G as sqlFloatDecode, H as sqlCharEncode, I as parseJsonBody, J as sqlFloatEncode, K as sqlFloatDecodeJson, L as printJsonBody, M as escapePslString, N as isNonFiniteText, O as canonicalNumeralText, P as isNumeralText, Q as sqlIntDescriptor, R as signedRange, S as SqlIntDescriptor, T as SqlVarcharCodec, U as sqlCharRenderOutputType, V as sqlCharDescriptor, W as sqlFloatColumn, X as sqlIntColumn, Y as sqlFloatEncodeJson, Z as sqlIntDecode, _ as SqlCharCodec, a as DateTimeShape, at as sqlVarcharDecode, b as SqlFloatDescriptor, c as LowererContext, ct as sqlVarcharRenderOutputType, d as NumberClassifierSpec, et as sqlTextColumn, f as SQL_CHAR_CODEC_ID, g as SQL_VARCHAR_CODEC_ID, h as SQL_TEXT_CODEC_ID, i as CanonicalDateTimeOptions, it as sqlVarcharColumn, j as createNumberClassifier, k as collectOrderedParamRefs, l as MarkerReadResult, m as SQL_INT_CODEC_ID, n as AdapterProfile, nt as sqlTextDescriptor, o as IntegerStep, ot as sqlVarcharDescriptor, p as SQL_FLOAT_CODEC_ID, q as sqlFloatDescriptor, r as AdapterTarget, rt as sqlTextEncode, s as Lowerer, st as sqlVarcharEncode, t as Adapter, tt as sqlTextDecode, u as NumberClassification, v as SqlCharDescriptor, w as SqlTextDescriptor, x as SqlIntCodec, y as SqlFloatCodec, z as sqlCharColumn } from "./ast-DQU1yUQ5.mjs";
3
+ import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-DD-i-Uj9-BRqLNUDm.mjs";
4
+ import { $ as sqlIntEncode, A as compact, B as sqlCharDecode, C as SqlTextCodec, D as canonicalDateTime, E as SqlVarcharDescriptor, F as numeralText, G as sqlFloatDecode, H as sqlCharEncode, I as parseJsonBody, J as sqlFloatEncode, K as sqlFloatDecodeJson, L as printJsonBody, M as escapePslString, N as isNonFiniteText, O as canonicalNumeralText, P as isNumeralText, Q as sqlIntDescriptor, R as signedRange, S as SqlIntDescriptor, T as SqlVarcharCodec, U as sqlCharRenderOutputType, V as sqlCharDescriptor, W as sqlFloatColumn, X as sqlIntColumn, Y as sqlFloatEncodeJson, Z as sqlIntDecode, _ as SqlCharCodec, a as DateTimeShape, at as sqlVarcharDecode, b as SqlFloatDescriptor, c as LowererContext, ct as sqlVarcharRenderOutputType, d as NumberClassifierSpec, et as sqlTextColumn, f as SQL_CHAR_CODEC_ID, g as SQL_VARCHAR_CODEC_ID, h as SQL_TEXT_CODEC_ID, i as CanonicalDateTimeOptions, it as sqlVarcharColumn, j as createNumberClassifier, k as collectOrderedParamRefs, l as MarkerReadResult, m as SQL_INT_CODEC_ID, n as AdapterProfile, nt as sqlTextDescriptor, o as IntegerStep, ot as sqlVarcharDescriptor, p as SQL_FLOAT_CODEC_ID, q as sqlFloatDescriptor, r as AdapterTarget, rt as sqlTextEncode, s as Lowerer, st as sqlVarcharEncode, t as Adapter, tt as sqlTextDecode, u as NumberClassification, v as SqlCharDescriptor, w as SqlTextDescriptor, x as SqlIntCodec, y as SqlFloatCodec, z as sqlCharColumn } from "./ast-B53rACdv.mjs";
5
5
  export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyCodecDescriptorTemplate, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AstRewriter, BinaryExpr, BinaryOp, CanonicalDateTimeOptions, CaseBranch, CaseExpr, CastExpr, CheckExpressionConstraint, Codec$1 as Codec, type CodecCallContext$1 as CodecCallContext, type CodecDescriptor$1 as CodecDescriptor, CodecJsonValueProjection, type CodecRef$1 as CodecRef, type CodecTrait$1 as CodecTrait, ColumnRef, ContractCodecRegistry, DateTimeShape, DdlColumn, DdlColumnDefault, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ExprVisitor, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, IntegerStep, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, MarkerReadResult, NativeJsonValueProjection, NotExpr, NullCheckExpr, NumberClassification, NumberClassifierSpec, OperationExpr, OrExpr, OrderByItem, OrderByNulls, ParamRef, PreparedExecuteRequest, PreparedParamRef, PreparedStatementHandle, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawExpr, RawQueryAst, RawQueryColumn, RawQueryResult, RawSqlLiteral, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SelectAstOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlQueryable, SqlStatementStats, SqlTextCodec, SqlTextDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableRef, TableSource, ToWhereExpr, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, aggregateFnNames, canonicalDateTime, canonicalNumeralText, collectOrderedParamRefs, compact, createNumberClassifier, escapePslString, frozenCodecRef, isAggregateFn, isDdlNode, isNonFiniteText, isNumeralText, isOrderByDirection, isOrderByNulls, isQueryAst, isWhereExpr, numeralText, parseJsonBody, printJsonBody, queryAstKinds, signedRange, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, whereExprKinds };
@@ -1,7 +1,7 @@
1
1
  import { c as SqlStorage } from "./sql-storage-8LqxeLAY-DH4DdUXx.mjs";
2
2
  import "./types-C36_3E6_.mjs";
3
- import { o as AnyCodecDescriptor$1 } from "./types-Yui2yFf6-TP-oRDTX.mjs";
4
- import { t as CodecDescriptorRegistry } from "./query-lane-context-D6o9YrEV-bouFPM6u.mjs";
3
+ import { o as AnyCodecDescriptor$1 } from "./types-Yui2yFf6-Dnc7RNUD.mjs";
4
+ import { t as CodecDescriptorRegistry } from "./query-lane-context-D6o9YrEV-BxW3-5e8.mjs";
5
5
  import { CodecRef } from "@prisma/orm-framework/components/codec";
6
6
  //#region ../../../2-sql/4-lanes/relational-core/dist/exports/codec-descriptor-registry.d.mts
7
7
  //#region src/codec-descriptor-registry.d.ts
@@ -1,7 +1,7 @@
1
1
  import { a as ReferentialAction } from "./foreign-key-C-iTPuRT-C9ip8zFx.mjs";
2
2
  import "./types-C36_3E6_.mjs";
3
- import { E as CodecRef$1, Ft as TableSource, Lt as UpdateAst, O as ColumnRef, Ot as SelectAst, St as ProjectionItem, Z as InsertAst, _t as OrderByItem, c as AnyExpression, et as JoinAst, l as AnyFromSource } from "./types-Yui2yFf6-TP-oRDTX.mjs";
4
- import { d as LiteralColumnDefault, f as PrimaryKeyConstraint, l as ForeignKeyConstraint, n as CheckExpressionConstraint, p as UniqueConstraint, r as DdlColumn, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-DD-i-Uj9-D99heD5Z.mjs";
3
+ import { E as CodecRef$1, Ft as TableSource, Lt as UpdateAst, O as ColumnRef, Ot as SelectAst, St as ProjectionItem, Z as InsertAst, _t as OrderByItem, c as AnyExpression, et as JoinAst, l as AnyFromSource } from "./types-Yui2yFf6-Dnc7RNUD.mjs";
4
+ import { d as LiteralColumnDefault, f as PrimaryKeyConstraint, l as ForeignKeyConstraint, n as CheckExpressionConstraint, p as UniqueConstraint, r as DdlColumn, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-DD-i-Uj9-BRqLNUDm.mjs";
5
5
  import { ColumnDefaultLiteralInputValue } from "@prisma/orm-framework/contract/types";
6
6
  import { ParamSpec } from "@prisma/orm-framework/operations";
7
7
  //#region ../../../2-sql/4-lanes/relational-core/dist/exports/contract-free.d.mts
@@ -1,2 +1,2 @@
1
- import { C as buildOperation, D as param, E as isExpression, O as toExpr, S as TraitExpression, T as createRawSql, _ as RawSqlStatementBuilder, a as CodecValue, b as ScalarListExpression, c as RawAffectedCountQuery, d as RawRow, f as RawRowQuery, g as RawSqlInterpolation, h as RawSqlBuilder, i as CodecTypesBase, l as RawCodecInferer, m as RawRowSpecEntry, n as BuildOperationSpec, o as Expression, p as RawRowSpec, r as CodecExpression, s as NoReservedRowColumn, t as AffectedCount, u as RawPlanContext, v as RawSqlStatementTag, w as codecOf, x as ScopeField, y as RawSqlTag } from "./expression-BPoA5eEl.mjs";
1
+ import { C as buildOperation, D as param, E as isExpression, O as toExpr, S as TraitExpression, T as createRawSql, _ as RawSqlStatementBuilder, a as CodecValue, b as ScalarListExpression, c as RawAffectedCountQuery, d as RawRow, f as RawRowQuery, g as RawSqlInterpolation, h as RawSqlBuilder, i as CodecTypesBase, l as RawCodecInferer, m as RawRowSpecEntry, n as BuildOperationSpec, o as Expression, p as RawRowSpec, r as CodecExpression, s as NoReservedRowColumn, t as AffectedCount, u as RawPlanContext, v as RawSqlStatementTag, w as codecOf, x as ScopeField, y as RawSqlTag } from "./expression-Dl5WvxCA.mjs";
2
2
  export { AffectedCount, BuildOperationSpec, CodecExpression, CodecTypesBase, CodecValue, Expression, NoReservedRowColumn, RawAffectedCountQuery, RawCodecInferer, RawPlanContext, RawRow, RawRowQuery, RawRowSpec, RawRowSpecEntry, RawSqlBuilder, RawSqlInterpolation, RawSqlStatementBuilder, RawSqlStatementTag, RawSqlTag, ScalarListExpression, ScopeField, TraitExpression, buildOperation, codecOf, createRawSql, isExpression, param, toExpr };
@@ -1,3 +1,3 @@
1
- import { a as SqlParamRefMutatorInternal, i as SqlParamRefMutator, n as ParamRefEntryUnion, o as createSqlParamRefMutator, r as ParamRefHandle, t as ParamRefEntry } from "./middleware-CuGBptK0-C88HCnh5.mjs";
2
- import "./middleware-aoqicpDI.mjs";
1
+ import { a as SqlParamRefMutatorInternal, i as SqlParamRefMutator, n as ParamRefEntryUnion, o as createSqlParamRefMutator, r as ParamRefHandle, t as ParamRefEntry } from "./middleware-CuGBptK0-UwVChCr2.mjs";
2
+ import "./middleware-RUh4qBBg.mjs";
3
3
  export { type ParamRefEntry, type ParamRefEntryUnion, type ParamRefHandle, type SqlParamRefMutator, type SqlParamRefMutatorInternal, createSqlParamRefMutator };
@@ -1,4 +1,4 @@
1
- import { n as SqlQueryPlan, r as planFromAst, t as Preparable } from "./plan-B7g2kDfQ-Bw0784x6.mjs";
2
- import { t as SqlExecutionPlan } from "./sql-execution-plan-Db0j752I-CI5WbdLi.mjs";
3
- import "./plan-DiT00Rg8.mjs";
1
+ import { n as SqlQueryPlan, r as planFromAst, t as Preparable } from "./plan-B7g2kDfQ-ZD3BfWYx.mjs";
2
+ import { t as SqlExecutionPlan } from "./sql-execution-plan-Db0j752I-faODNLY9.mjs";
3
+ import "./plan-CVje8E5I.mjs";
4
4
  export { Preparable, type SqlExecutionPlan, SqlQueryPlan, planFromAst };
@@ -1,3 +1,3 @@
1
- import { a as SqlAggregateDescriptorRegistry, c as TypeHelperRegistry, n as ExecutionContext, r as ResolvedSqlAggregate, t as CodecDescriptorRegistry } from "./query-lane-context-D6o9YrEV-bouFPM6u.mjs";
2
- import "./query-lane-context-BcXiJasG.mjs";
1
+ import { a as SqlAggregateDescriptorRegistry, c as TypeHelperRegistry, n as ExecutionContext, r as ResolvedSqlAggregate, t as CodecDescriptorRegistry } from "./query-lane-context-D6o9YrEV-BxW3-5e8.mjs";
2
+ import "./query-lane-context-D54z0tof.mjs";
3
3
  export { CodecDescriptorRegistry, ExecutionContext, ResolvedSqlAggregate, SqlAggregateDescriptorRegistry, TypeHelperRegistry };
@@ -1,3 +1,3 @@
1
- import { S as TablesOf, _ as SqlOrmPlan, a as ColumnsOf, b as TableKey, c as META, d as ModelMetadata, f as OperationTypeSignature, g as SqlBuilderOptions, h as RuntimeScope, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as SqlPlan, x as TableMetadata, y as TableDef } from "./types-DFJNPLXY-vp6AGe5e.mjs";
2
- import "./types-BvTYXSiS.mjs";
1
+ import { S as TablesOf, _ as SqlOrmPlan, a as ColumnsOf, b as TableKey, c as META, d as ModelMetadata, f as OperationTypeSignature, g as SqlBuilderOptions, h as RuntimeScope, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as SqlPlan, x as TableMetadata, y as TableDef } from "./types-DFJNPLXY-DyYKIhXA.mjs";
2
+ import "./types-Dul4Za_W.mjs";
3
3
  export { BuildOptions, BuildParamsMap, CodecTypes, ColumnResolutionContract, ColumnsOf, ComputeColumnJsType, Expr, META, Meta, ModelDef, ModelMetadata, OperationTypeSignature, OperationTypes, OperationsForTypeId, type RuntimeScope, SqlBuilderOptions, type SqlOrmPlan, SqlPlan, TableDef, TableKey, TableMetadata, TablesOf };
@@ -1,5 +1,5 @@
1
- import { l as MarkerReadResult } from "./ast-DQU1yUQ5.mjs";
2
- import { c as TypeHelperRegistry, n as ExecutionContext } from "./query-lane-context-D6o9YrEV-bouFPM6u.mjs";
3
- import { A as SqlRuntimeAdapterDescriptor, B as VerifyMarkerOption, C as RuntimeQueryable, D as SqlExecutionStackWithDriver, E as SqlExecutionStack, F as SqlRuntimeExtensionInstance, H as createSqlExecutionStack, I as SqlRuntimeTargetDescriptor, L as SqlStaticContributions, M as SqlRuntimeBase, N as SqlRuntimeDriverInstance, O as SqlMiddleware, P as SqlRuntimeExtensionDescriptor, R as TelemetryOutcome, S as RuntimeParameterizedCodecDescriptor, T as RuntimeTransaction, U as deriveParamMetadata, V as createExecutionContext, W as encodeParamsWithMetadata, a as DeclaredNullable, b as RuntimeFamilyAdapter, c as ParamsFromDeclaration, d as PreparedExecutionImpl, f as PreparedFor, g as PreparedStatementInternals, h as PreparedStatementImpl, i as DeclaredCodecId, j as SqlRuntimeAdapterInstance, k as SqlMiddlewareContext, l as PrepareCallback, n as ConnectionProvider, o as MarkerReader, p as PreparedStatement, q as withTransaction, r as Declaration, s as ParamSpec, t as BindSiteParams, u as PreparedExecution, v as Runtime, w as RuntimeTelemetryEvent, x as RuntimeOptions, y as RuntimeConnection, z as TransactionContext } from "./prepared-statement-BHSj2pDk-BL0wOCnq.mjs";
4
- import { a as LintsOptions, c as budgets, d as lints, f as lowerSqlPlan, i as ExecuteInterceptResult, l as createAstCodecRegistry, m as validateContractCodecMappings, n as AfterQueryResult, o as Log, p as validateCodecRegistryCompleteness, r as BudgetsOptions, s as QueryInterceptResult, t as AfterExecuteResult, u as extractCodecIds } from "./index-yNeNt2GO.mjs";
1
+ import { l as MarkerReadResult } from "./ast-B53rACdv.mjs";
2
+ import { c as TypeHelperRegistry, n as ExecutionContext } from "./query-lane-context-D6o9YrEV-BxW3-5e8.mjs";
3
+ import { A as SqlRuntimeAdapterDescriptor, B as VerifyMarkerOption, C as RuntimeQueryable, D as SqlExecutionStackWithDriver, E as SqlExecutionStack, F as SqlRuntimeExtensionInstance, H as createSqlExecutionStack, I as SqlRuntimeTargetDescriptor, L as SqlStaticContributions, M as SqlRuntimeBase, N as SqlRuntimeDriverInstance, O as SqlMiddleware, P as SqlRuntimeExtensionDescriptor, R as TelemetryOutcome, S as RuntimeParameterizedCodecDescriptor, T as RuntimeTransaction, U as deriveParamMetadata, V as createExecutionContext, W as encodeParamsWithMetadata, a as DeclaredNullable, b as RuntimeFamilyAdapter, c as ParamsFromDeclaration, d as PreparedExecutionImpl, f as PreparedFor, g as PreparedStatementInternals, h as PreparedStatementImpl, i as DeclaredCodecId, j as SqlRuntimeAdapterInstance, k as SqlMiddlewareContext, l as PrepareCallback, n as ConnectionProvider, o as MarkerReader, p as PreparedStatement, q as withTransaction, r as Declaration, s as ParamSpec, t as BindSiteParams, u as PreparedExecution, v as Runtime, w as RuntimeTelemetryEvent, x as RuntimeOptions, y as RuntimeConnection, z as TransactionContext } from "./prepared-statement-BHSj2pDk-D9a_Vwr-.mjs";
4
+ import { a as LintsOptions, c as budgets, d as lints, f as lowerSqlPlan, i as ExecuteInterceptResult, l as createAstCodecRegistry, m as validateContractCodecMappings, n as AfterQueryResult, o as Log, p as validateCodecRegistryCompleteness, r as BudgetsOptions, s as QueryInterceptResult, t as AfterExecuteResult, u as extractCodecIds } from "./index-BNL2_qQY.mjs";
5
5
  export { type AfterExecuteResult, type AfterQueryResult, type BindSiteParams, type BudgetsOptions, type ConnectionProvider, type Declaration, type DeclaredCodecId, type DeclaredNullable, type ExecuteInterceptResult, type ExecutionContext, type LintsOptions, type Log, type MarkerReadResult, type MarkerReader, type ParamSpec, type ParamsFromDeclaration, type PrepareCallback, type PreparedExecution, PreparedExecutionImpl, type PreparedFor, type PreparedStatement, PreparedStatementImpl, type PreparedStatementInternals, type QueryInterceptResult, type Runtime, type RuntimeConnection, type RuntimeFamilyAdapter, type RuntimeOptions, type RuntimeParameterizedCodecDescriptor, type RuntimeQueryable, type RuntimeTelemetryEvent, type RuntimeTransaction, type SqlExecutionStack, type SqlExecutionStackWithDriver, type SqlMiddleware, type SqlMiddlewareContext, type SqlRuntimeAdapterDescriptor, type SqlRuntimeAdapterInstance, SqlRuntimeBase, type SqlRuntimeDriverInstance, type SqlRuntimeExtensionDescriptor, type SqlRuntimeExtensionInstance, type SqlRuntimeTargetDescriptor, type SqlStaticContributions, type TelemetryOutcome, type TransactionContext, type TypeHelperRegistry, type VerifyMarkerOption, budgets, createAstCodecRegistry, createExecutionContext, createSqlExecutionStack, deriveParamMetadata, encodeParamsWithMetadata, extractCodecIds, lints, lowerSqlPlan, validateCodecRegistryCompleteness, validateContractCodecMappings, withTransaction };