@prisma/orm-target-postgres 8.0.0-rc.2-dev.3 → 8.0.0-rc.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -6
- package/dist/adapter-5qylEP__.d.mts +403 -0
- package/dist/adapter-5qylEP__.d.mts.map +1 -0
- package/dist/{adapter-B0xsc80z-sYcF0RVF.mjs → adapter-svGTIjA2-1p-Iw8D2.mjs} +24 -30
- package/dist/adapter-svGTIjA2-1p-Iw8D2.mjs.map +1 -0
- package/dist/adapter.d.mts +11 -13
- package/dist/adapter.mjs +7 -8
- package/dist/adapter__adapter.d.mts +2 -2
- package/dist/adapter__adapter.mjs +3 -2
- package/dist/adapter__column-types.d.mts +2 -2
- package/dist/adapter__column-types.mjs +2 -2
- package/dist/adapter__control.d.mts +4 -5
- package/dist/adapter__control.mjs +11 -423
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +29 -19
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.d.mts +1 -1
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/adapter__types.d.mts +4 -3
- package/dist/aggregates-CEqqEg8k.d.mts +318 -0
- package/dist/aggregates-CEqqEg8k.d.mts.map +1 -0
- package/dist/{aggregates-Dh6HPdvC.mjs → aggregates-Dw-lAutX.mjs} +105 -40
- package/dist/aggregates-Dw-lAutX.mjs.map +1 -0
- package/dist/authoring-DWd5pnnV-BBX7P1wT.d.mts +52 -0
- package/dist/authoring-DWd5pnnV-BBX7P1wT.d.mts.map +1 -0
- package/dist/authoring-SbdvmVJh-nQ7YliD_.mjs +1342 -0
- package/dist/authoring-SbdvmVJh-nQ7YliD_.mjs.map +1 -0
- package/dist/autoincrement-widths-DonNJgfS-CCvZ4u1W.mjs +58 -0
- package/dist/autoincrement-widths-DonNJgfS-CCvZ4u1W.mjs.map +1 -0
- package/dist/{canonicalize-CQlxSR4D-MnrT5gtW.d.mts → canonicalize-B-xvDOdd-G3yUeKj4.d.mts} +7 -3
- package/dist/canonicalize-B-xvDOdd-G3yUeKj4.d.mts.map +1 -0
- package/dist/{canonicalize-CrN3u_xM-D4MrOqcB.mjs → canonicalize-RdxoUHao-FTTkizfe.mjs} +15 -3
- package/dist/canonicalize-RdxoUHao-FTTkizfe.mjs.map +1 -0
- package/dist/check-expressions-7uCCP01t-DtX2Vak9.mjs +48 -0
- package/dist/check-expressions-7uCCP01t-DtX2Vak9.mjs.map +1 -0
- package/dist/{check-expressions-DRgG8RN5-DiA-22aC.d.mts → check-expressions-CtTzM58x-LloO-5Vf.d.mts} +14 -13
- package/dist/check-expressions-CtTzM58x-LloO-5Vf.d.mts.map +1 -0
- package/dist/{codec-descriptor-LT7BpQta-BaDM8UQQ.mjs → codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs} +12 -21
- package/dist/codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs.map +1 -0
- package/dist/codec-descriptor-Fb3UoQGb.d.mts +1 -0
- package/dist/codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts +47 -0
- package/dist/codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts.map +1 -0
- package/dist/codec-ids-BMhEpFwv-B8Zh0s_Q.mjs +41 -0
- package/dist/codec-ids-BMhEpFwv-B8Zh0s_Q.mjs.map +1 -0
- package/dist/codec-ids-C6II64Wy-CPYTqDTT.d.mts +41 -0
- package/dist/codec-ids-C6II64Wy-CPYTqDTT.d.mts.map +1 -0
- package/dist/codec-ids-CcB5uBNf.d.mts +1 -0
- package/dist/codec-registry-D7XslgPe-DTZnVB8W.mjs +61 -0
- package/dist/codec-registry-D7XslgPe-DTZnVB8W.mjs.map +1 -0
- package/dist/codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts +53 -0
- package/dist/codec-type-map-Fj5xCgwT-BeCXgfuR.d.mts.map +1 -0
- package/dist/codec-types-BBACckHa.d.mts +2 -0
- package/dist/codec-types-Ct_4iTVc-3tFJcIBo.d.mts +84 -0
- package/dist/codec-types-Ct_4iTVc-3tFJcIBo.d.mts.map +1 -0
- package/dist/codecs-CADK7dCR-C8WToYQb.d.mts +724 -0
- package/dist/codecs-CADK7dCR-C8WToYQb.d.mts.map +1 -0
- package/dist/codecs-CRl9-i_r-Co-bgYl3.mjs +1743 -0
- package/dist/codecs-CRl9-i_r-Co-bgYl3.mjs.map +1 -0
- package/dist/codecs-CoEpEqjM.d.mts +31 -0
- package/dist/codecs-CoEpEqjM.d.mts.map +1 -0
- package/dist/column-types-B4zsV-u3.mjs +106 -0
- package/dist/column-types-B4zsV-u3.mjs.map +1 -0
- package/dist/column-types-Bs2V0j8T.d.mts +164 -0
- package/dist/column-types-Bs2V0j8T.d.mts.map +1 -0
- package/dist/{control-adapter-DFr4gS-r-DM3KcZdQ.mjs → contract-contributions-Xz2FpyfI-CeQZqHKf.mjs} +489 -292
- package/dist/contract-contributions-Xz2FpyfI-CeQZqHKf.mjs.map +1 -0
- package/dist/{contract-free-DzpGxLfb.d.mts → contract-free-B6-wuc6M.d.mts} +36 -6
- package/dist/contract-free-B6-wuc6M.d.mts.map +1 -0
- package/dist/{contract-free-aQ4nT-_R.mjs → contract-free-o7olebm9.mjs} +13 -9
- package/dist/contract-free-o7olebm9.mjs.map +1 -0
- package/dist/control--HupSPoV.d.mts +847 -0
- package/dist/control--HupSPoV.d.mts.map +1 -0
- package/dist/{control-BaUpALVp.d.mts → control-CQEjh4P7.d.mts} +2 -2
- package/dist/control-CQEjh4P7.d.mts.map +1 -0
- package/dist/{control-DLTOAEHj.d.mts → control-D4cTcpcJ.d.mts} +22 -48
- package/dist/control-D4cTcpcJ.d.mts.map +1 -0
- package/dist/{control-Y6FxMu3o.mjs → control-DZQwENIP.mjs} +21 -9
- package/dist/control-DZQwENIP.mjs.map +1 -0
- package/dist/{control-policy-B53lnBCT-B9K9Cj1x.mjs → control-policy-DtU5u9Dm-44r_OF94.mjs} +444 -218
- package/dist/control-policy-DtU5u9Dm-44r_OF94.mjs.map +1 -0
- package/dist/{data-transform-ChZzy2dP-CxVCat_8.mjs → data-transform-h9agBu_c-RlC5A7aY.mjs} +12 -5
- package/dist/data-transform-h9agBu_c-RlC5A7aY.mjs.map +1 -0
- package/dist/{data-transform-Ck5FbyNO-BNE7QlAo.d.mts → data-transform-nGy9rz87-CE3DGlgn.d.mts} +15 -4
- package/dist/data-transform-nGy9rz87-CE3DGlgn.d.mts.map +1 -0
- package/dist/data-transform-nqkqNIb8.d.mts +1 -0
- package/dist/data-type-entries-gQW3-KSb-BIl8vgus.mjs +128 -0
- package/dist/data-type-entries-gQW3-KSb-BIl8vgus.mjs.map +1 -0
- package/dist/data-types--7V9yY1G.d.mts +99 -0
- package/dist/data-types--7V9yY1G.d.mts.map +1 -0
- package/dist/data-types-Chx0mjTP-DczU4S9b.mjs +950 -0
- package/dist/data-types-Chx0mjTP-DczU4S9b.mjs.map +1 -0
- package/dist/date-time-now-generators-CMkXVbMG-C-GjhReE.d.mts +45 -0
- package/dist/date-time-now-generators-CMkXVbMG-C-GjhReE.d.mts.map +1 -0
- package/dist/ddl-B7Rqlz6D-B7dRDgYb.mjs +647 -0
- package/dist/ddl-B7Rqlz6D-B7dRDgYb.mjs.map +1 -0
- package/dist/ddl-B8nQZTWN.d.mts +1 -0
- package/dist/default-constraint-names-Cz9Yoeim-sUzOGvIm.mjs +18 -0
- package/dist/default-constraint-names-Cz9Yoeim-sUzOGvIm.mjs.map +1 -0
- package/dist/default-normalizer-BqK6XxdC-2OUb2ybG.mjs +311 -0
- package/dist/default-normalizer-BqK6XxdC-2OUb2ybG.mjs.map +1 -0
- package/dist/default-normalizer-DO-cH75Q.d.mts +25 -0
- package/dist/default-normalizer-DO-cH75Q.d.mts.map +1 -0
- package/dist/descriptor-meta-BkD3nXF_-CZaNqC6r.mjs +36 -0
- package/dist/descriptor-meta-BkD3nXF_-CZaNqC6r.mjs.map +1 -0
- package/dist/descriptor-meta-DaFDNnHQ-QjiiAEtC.mjs +64 -0
- package/dist/descriptor-meta-DaFDNnHQ-QjiiAEtC.mjs.map +1 -0
- package/dist/descriptor-meta-runtime-Dft1L7eE-D8vpOz_Z.mjs +15 -0
- package/dist/descriptor-meta-runtime-Dft1L7eE-D8vpOz_Z.mjs.map +1 -0
- package/dist/{diff-database-schema-DsoNznGC.d.mts → diff-database-schema-BxzhZaVN.d.mts} +12 -7
- package/dist/diff-database-schema-BxzhZaVN.d.mts.map +1 -0
- package/dist/{diff-database-schema-DKq76rCk-uehceHYz.mjs → diff-database-schema-DAEzWtzU-DoyVgKqh.mjs} +38 -18
- package/dist/diff-database-schema-DAEzWtzU-DoyVgKqh.mjs.map +1 -0
- package/dist/driver.d.mts +3 -3
- package/dist/driver.mjs +3 -2
- package/dist/driver__control.d.mts +1 -1
- package/dist/driver__control.mjs +1 -1
- package/dist/driver__runtime.d.mts +2 -2
- package/dist/driver__runtime.mjs +2 -639
- package/dist/errors-BrhQYgdL-IvZHPjwL.mjs +103 -0
- package/dist/errors-BrhQYgdL-IvZHPjwL.mjs.map +1 -0
- package/dist/{errors-CU4xIwwk.d.mts → errors-D3Mj-x0o.d.mts} +3 -3
- package/dist/errors-D3Mj-x0o.d.mts.map +1 -0
- package/dist/full-text-BYg7EVX2.mjs +39 -0
- package/dist/full-text-BYg7EVX2.mjs.map +1 -0
- package/dist/full-text-SDbfxrE_.d.mts +26 -0
- package/dist/full-text-SDbfxrE_.d.mts.map +1 -0
- package/dist/full-text-collection-method-BFd2u2cs-Ba3OiWM3.d.mts +27 -0
- package/dist/full-text-collection-method-BFd2u2cs-Ba3OiWM3.d.mts.map +1 -0
- package/dist/full-text-index-authoring-CN1L9C1k.d.mts +7 -0
- package/dist/full-text-index-authoring-CN1L9C1k.d.mts.map +1 -0
- package/dist/full-text-index-definition-BPxQQBuC-VLyQ1kEL.mjs +195 -0
- package/dist/full-text-index-definition-BPxQQBuC-VLyQ1kEL.mjs.map +1 -0
- package/dist/full-text-index-definition-D5iBWLss-BEpqiucV.d.mts +71 -0
- package/dist/full-text-index-definition-D5iBWLss-BEpqiucV.d.mts.map +1 -0
- package/dist/full-text-parsers-CFFxiOrp-CrZ7VI1m.mjs +139 -0
- package/dist/full-text-parsers-CFFxiOrp-CrZ7VI1m.mjs.map +1 -0
- package/dist/full-text-search-document-Doy5TF7c-aMWM_1KB.mjs +54 -0
- package/dist/full-text-search-document-Doy5TF7c-aMWM_1KB.mjs.map +1 -0
- package/dist/index-types-BihjrAAq-C2VnfAyF.mjs +14 -0
- package/dist/index-types-BihjrAAq-C2VnfAyF.mjs.map +1 -0
- package/dist/indexes-BYf6nXVv-BXwLw7fO.d.mts +60 -0
- package/dist/indexes-BYf6nXVv-BXwLw7fO.d.mts.map +1 -0
- package/dist/infer-psl-contract-BSSHcuRi-ChdFSviw.mjs +1143 -0
- package/dist/infer-psl-contract-BSSHcuRi-ChdFSviw.mjs.map +1 -0
- package/dist/{issue-planner-Biq9Ls7e.d.mts → issue-planner-D-On52xP.d.mts} +39 -9
- package/dist/issue-planner-D-On52xP.d.mts.map +1 -0
- package/dist/list-decoder-BcrLExnx-DlCwavhu.d.mts +7 -0
- package/dist/list-decoder-BcrLExnx-DlCwavhu.d.mts.map +1 -0
- package/dist/marker-lock-BviIbusV.d.mts +11 -0
- package/dist/marker-lock-BviIbusV.d.mts.map +1 -0
- package/dist/marker-lock-DFc1Tfv5-BkBKBRE3.mjs +11 -0
- package/dist/marker-lock-DFc1Tfv5-BkBKBRE3.mjs.map +1 -0
- package/dist/{migration-PTHAY9Cv.mjs → migration-Be_iuIpn.mjs} +5 -4
- package/dist/migration-Be_iuIpn.mjs.map +1 -0
- package/dist/migration-D4lMmLVj.d.mts +26 -0
- package/dist/migration-D4lMmLVj.d.mts.map +1 -0
- package/dist/{namespace-ids-xtp_ZY86-Cpp8PTxD.mjs → namespace-ids-xtp_ZY86-Cxc0dBbO.mjs} +2 -2
- package/dist/namespace-ids-xtp_ZY86-Cxc0dBbO.mjs.map +1 -0
- package/dist/native-type-normalizer-BaGa9eeb.d.mts +30 -0
- package/dist/native-type-normalizer-BaGa9eeb.d.mts.map +1 -0
- package/dist/native-type-normalizer-Cn-RGt_E.mjs +24 -0
- package/dist/native-type-normalizer-Cn-RGt_E.mjs.map +1 -0
- package/dist/{nodes-DAvDJLvJ-BBdvFXNa.mjs → nodes-G8VTh4PM-DNvIhHag.mjs} +78 -7
- package/dist/nodes-G8VTh4PM-DNvIhHag.mjs.map +1 -0
- package/dist/{nodes-BU-V-aZA-RqwPH68u.d.mts → nodes-s0Oe37jT-Cw3BU2gL.d.mts} +82 -29
- package/dist/nodes-s0Oe37jT-Cw3BU2gL.d.mts.map +1 -0
- package/dist/op-factory-call-CRaVUOb_.d.mts +1 -0
- package/dist/{op-factory-call-H6zeDGLe-_1pAftJk.mjs → op-factory-call-gGX-mZu--0QUG5xH4.mjs} +1014 -258
- package/dist/op-factory-call-gGX-mZu--0QUG5xH4.mjs.map +1 -0
- package/dist/{op-factory-call-BAeyLFYf-BAgG1h1C.d.mts → op-factory-call-nLHvNx0O-BTBhGbOF.d.mts} +169 -111
- package/dist/op-factory-call-nLHvNx0O-BTBhGbOF.d.mts.map +1 -0
- package/dist/operation-types--Wa_cv45-RoRnL1Dn.d.mts +192 -0
- package/dist/operation-types--Wa_cv45-RoRnL1Dn.d.mts.map +1 -0
- package/dist/operation-types-OXILTAOX.d.mts +1 -0
- package/dist/pack-2CYw2w-b.d.mts +1573 -0
- package/dist/pack-2CYw2w-b.d.mts.map +1 -0
- package/dist/{planner-CT-7zSfk.d.mts → planner-AD3Dt57t.d.mts} +23 -51
- package/dist/planner-AD3Dt57t.d.mts.map +1 -0
- package/dist/planner-VuR6URu3-CCUT2Osx.mjs +954 -0
- package/dist/planner-VuR6URu3-CCUT2Osx.mjs.map +1 -0
- package/dist/planner-ddl-builders-CPM3y7cQ.d.mts +16 -0
- package/dist/planner-ddl-builders-CPM3y7cQ.d.mts.map +1 -0
- package/dist/planner-ddl-builders-cYnH52gC-BWifb_M6.mjs +28 -0
- package/dist/planner-ddl-builders-cYnH52gC-BWifb_M6.mjs.map +1 -0
- package/dist/planner-identity-values-Dsq989Lh.d.mts +26 -0
- package/dist/planner-identity-values-Dsq989Lh.d.mts.map +1 -0
- package/dist/planner-identity-values-QstrMJ2U-CcpaRVPY.mjs +70 -0
- package/dist/planner-identity-values-QstrMJ2U-CcpaRVPY.mjs.map +1 -0
- package/dist/planner-produced-postgres-migration-BBUwtjA_.d.mts +1 -0
- package/dist/{planner-produced-postgres-migration-D5m8nK6s-CbZ4hlbv.mjs → planner-produced-postgres-migration-BZclL_xO-uflxtYuP.mjs} +5 -5
- package/dist/planner-produced-postgres-migration-BZclL_xO-uflxtYuP.mjs.map +1 -0
- package/dist/{planner-produced-postgres-migration-BaviT8KK-Yo9kw6rs.d.mts → planner-produced-postgres-migration-DyIXJ3MR-DHO5wn_X.d.mts} +4 -4
- package/dist/planner-produced-postgres-migration-DyIXJ3MR-DHO5wn_X.d.mts.map +1 -0
- package/dist/{planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs → planner-schema-lookup-BbUY9oVy.mjs} +2 -2
- package/dist/planner-schema-lookup-BbUY9oVy.mjs.map +1 -0
- package/dist/{planner-schema-lookup-C4DHAddq.d.mts → planner-schema-lookup-ceCNOGFf.d.mts} +2 -2
- package/dist/planner-schema-lookup-ceCNOGFf.d.mts.map +1 -0
- package/dist/planner-sql-checks-D-K44J19-CzvrqzNB.mjs +151 -0
- package/dist/planner-sql-checks-D-K44J19-CzvrqzNB.mjs.map +1 -0
- package/dist/planner-sql-checks-Ed-WGtge-D9ByMrW4.d.mts +37 -0
- package/dist/planner-sql-checks-Ed-WGtge-D9ByMrW4.d.mts.map +1 -0
- package/dist/planner-sql-checks-rEjFx_Jv.d.mts +1 -0
- package/dist/planner-target-details-CUEF0s90-6g-mOgTI.mjs +14 -0
- package/dist/planner-target-details-CUEF0s90-6g-mOgTI.mjs.map +1 -0
- package/dist/{planner-target-details-HkP4RrRO-_xPQVPF0.d.mts → planner-target-details-HkP4RrRO-D6VtK0jY.d.mts} +2 -2
- package/dist/planner-target-details-HkP4RrRO-D6VtK0jY.d.mts.map +1 -0
- package/dist/postgres-codec-traits-CnP5Bjxp-Dxdgv0TI.mjs +11 -0
- package/dist/postgres-codec-traits-CnP5Bjxp-Dxdgv0TI.mjs.map +1 -0
- package/dist/{postgres-contract-view-2OP5JnXl-D2fpy4-8.d.mts → postgres-contract-view-BFzIDwwN-hL3QLe_b.d.mts} +2 -2
- package/dist/postgres-contract-view-BFzIDwwN-hL3QLe_b.d.mts.map +1 -0
- package/dist/{postgres-contract-view-B8ykf2cO-T2LvWVFZ.mjs → postgres-contract-view-BO2elRMz-BqMBzJoJ.mjs} +27 -14
- package/dist/postgres-contract-view-BO2elRMz-BqMBzJoJ.mjs.map +1 -0
- package/dist/{postgres-database-schema-node-CyfpHXDr-BqyozkQE.d.mts → postgres-database-schema-node-Cv8usVNX-BmvGozi4.d.mts} +4 -4
- package/dist/postgres-database-schema-node-Cv8usVNX-BmvGozi4.d.mts.map +1 -0
- package/dist/postgres-migration-BSWmeRLo-CUfVTUf0.mjs +1312 -0
- package/dist/postgres-migration-BSWmeRLo-CUfVTUf0.mjs.map +1 -0
- package/dist/{postgres-migration-BNsrwlxh-CwI5BqAu.d.mts → postgres-migration-C5deJ3Ne-C4Jxu-e6.d.mts} +135 -15
- package/dist/postgres-migration-C5deJ3Ne-C4Jxu-e6.d.mts.map +1 -0
- package/dist/{postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs → postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs} +2 -2
- package/dist/postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs.map +1 -0
- package/dist/postgres-object-name-FPikIvOw-B8FfJI7z.mjs +23 -0
- package/dist/postgres-object-name-FPikIvOw-B8FfJI7z.mjs.map +1 -0
- package/dist/{postgres-rls-policy-CnDxf3z9-C3LIHAIG.d.mts → postgres-rls-policy-CnDxf3z9-BjpVyUnK.d.mts} +2 -2
- package/dist/postgres-rls-policy-CnDxf3z9-BjpVyUnK.d.mts.map +1 -0
- package/dist/{postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs → postgres-role-schema-node-B8Z5i5D--BzOKm4N1.mjs} +3 -3
- package/dist/postgres-role-schema-node-B8Z5i5D--BzOKm4N1.mjs.map +1 -0
- package/dist/{postgres-schema-CF0yHESb-D7n2X21R.mjs → postgres-schema-C6w1rzOF-D1fdwqRx.mjs} +14 -12
- package/dist/postgres-schema-C6w1rzOF-D1fdwqRx.mjs.map +1 -0
- package/dist/{postgres-schema-Xsjt3RKO-Buv2X8ai.d.mts → postgres-schema-Xsjt3RKO-bis-SVSB.d.mts} +4 -4
- package/dist/postgres-schema-Xsjt3RKO-bis-SVSB.d.mts.map +1 -0
- package/dist/{postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs → postgres-table-schema-node-BBkitBQh-Dll8iaZT.mjs} +2 -2
- package/dist/postgres-table-schema-node-BBkitBQh-Dll8iaZT.mjs.map +1 -0
- package/dist/prisma7-binding-BjiLA9F7.mjs +307 -0
- package/dist/prisma7-binding-BjiLA9F7.mjs.map +1 -0
- package/dist/prisma7-binding-a56klfkc.d.mts +1651 -0
- package/dist/prisma7-binding-a56klfkc.d.mts.map +1 -0
- package/dist/{render-ops-DOsRP0Po-BKn_c_Ia.mjs → render-ops-BgqtCw9Z-T8BPTX85.mjs} +17 -10
- package/dist/render-ops-BgqtCw9Z-T8BPTX85.mjs.map +1 -0
- package/dist/{render-ops-DPwhZt2W.d.mts → render-ops-Bl84i7ut.d.mts} +3 -3
- package/dist/render-ops-Bl84i7ut.d.mts.map +1 -0
- package/dist/{render-typescript-6sCFvMBh.d.mts → render-typescript-BysdXYpH.d.mts} +2 -2
- package/dist/render-typescript-BysdXYpH.d.mts.map +1 -0
- package/dist/{render-typescript-Dqp1Spgn-B128r1qw.mjs → render-typescript-Dqp1Spgn-B4mJhuVr.mjs} +2 -2
- package/dist/render-typescript-Dqp1Spgn-B4mJhuVr.mjs.map +1 -0
- package/dist/resolve-ddl-schema-D3VNPMSm-BuB6NyOI.mjs +34 -0
- package/dist/resolve-ddl-schema-D3VNPMSm-BuB6NyOI.mjs.map +1 -0
- package/dist/{runtime-lHBKgjB9.d.mts → runtime-C0VXuM0b.d.mts} +4 -3
- package/dist/runtime-C0VXuM0b.d.mts.map +1 -0
- package/dist/runtime-CXfxy5ED.mjs +660 -0
- package/dist/runtime-CXfxy5ED.mjs.map +1 -0
- package/dist/{runtime-_TfO66h5.d.mts → runtime-Ci_toEDZ.d.mts} +12 -4
- package/dist/runtime-Ci_toEDZ.d.mts.map +1 -0
- package/dist/{runtime-DOXznQe0.d.mts → runtime-DtjW0GP_.d.mts} +4 -4
- package/dist/runtime-DtjW0GP_.d.mts.map +1 -0
- package/dist/{schema-ir-annotations-DuuYh0gl.d.mts → schema-ir-annotations-BygaWBiC.d.mts} +2 -2
- package/dist/schema-ir-annotations-BygaWBiC.d.mts.map +1 -0
- package/dist/{schema-node-kinds-qlnURWJy-Bo30pwTM.d.mts → schema-node-kinds-C52Bb1ve-DmxQRPPS.d.mts} +2 -2
- package/dist/schema-node-kinds-C52Bb1ve-DmxQRPPS.d.mts.map +1 -0
- package/dist/{normalize-error-CNjgVO71-CLlZ3CuJ.mjs → server-text-types-DeNPQpv5-DqX0h8WF.mjs} +45 -3
- package/dist/server-text-types-DeNPQpv5-DqX0h8WF.mjs.map +1 -0
- package/dist/{sql-renderer-ComgusFq-BBlqM1fw.mjs → sql-renderer-BdWJPa5F-Ct0CPlXc.mjs} +113 -123
- package/dist/sql-renderer-BdWJPa5F-Ct0CPlXc.mjs.map +1 -0
- package/dist/{sql-renderer-BgC0ZgLS.d.mts → sql-renderer-BiBhge7D.d.mts} +9 -7
- package/dist/sql-renderer-BiBhge7D.d.mts.map +1 -0
- package/dist/{sql-utils-DuzN3JZg-DiXy4Vah.mjs → sql-utils-Bnw3JbWf-BN0gcjZB.mjs} +31 -8
- package/dist/sql-utils-Bnw3JbWf-BN0gcjZB.mjs.map +1 -0
- package/dist/{sql-utils-DW6fkczF.d.mts → sql-utils-CnnGiZBc.d.mts} +12 -4
- package/dist/sql-utils-CnnGiZBc.d.mts.map +1 -0
- package/dist/{table-source-ikHOZmhD-DriY1Lcr.d.mts → table-source-ikHOZmhD-vYcblBYv.d.mts} +2 -2
- package/dist/table-source-ikHOZmhD-vYcblBYv.d.mts.map +1 -0
- package/dist/target.d.mts +61 -49
- package/dist/target.mjs +45 -36
- package/dist/target__aggregates.d.mts +1 -1
- package/dist/target__aggregates.mjs +1 -1
- package/dist/target__codec-descriptor.d.mts +2 -2
- package/dist/target__codec-descriptor.mjs +1 -1
- package/dist/target__codec-ids.d.mts +3 -3
- package/dist/target__codec-ids.mjs +2 -2
- package/dist/target__codec-types.d.mts +4 -4
- package/dist/target__codecs.d.mts +4 -3
- package/dist/target__codecs.mjs +3 -3
- package/dist/target__contract-free.d.mts +3 -3
- package/dist/target__contract-free.mjs +4 -4
- package/dist/target__control.d.mts +4 -2
- package/dist/target__control.mjs +2501 -2
- package/dist/target__control.mjs.map +1 -0
- package/dist/target__data-transform.d.mts +2 -2
- package/dist/target__data-transform.mjs +1 -1
- package/dist/target__data-types.d.mts +2 -0
- package/dist/target__data-types.mjs +3 -0
- package/dist/target__ddl.d.mts +4 -4
- package/dist/target__ddl.mjs +2 -2
- package/dist/target__default-normalizer.d.mts +2 -2
- package/dist/target__default-normalizer.mjs +2 -2
- package/dist/target__diff-database-schema.d.mts +1 -1
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__errors.d.mts +1 -1
- package/dist/target__errors.mjs +1 -1
- package/dist/target__full-text-index-authoring.d.mts +3 -0
- package/dist/target__full-text-index-authoring.mjs +3 -0
- package/dist/target__full-text.d.mts +4 -0
- package/dist/target__full-text.mjs +3 -0
- package/dist/target__issue-planner.d.mts +1 -1
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__marker-lock.d.mts +2 -0
- package/dist/target__marker-lock.mjs +2 -0
- package/dist/target__migration.d.mts +4 -4
- package/dist/target__migration.mjs +5 -5
- package/dist/target__native-type-normalizer.d.mts +2 -2
- package/dist/target__native-type-normalizer.mjs +2 -2
- package/dist/target__op-factory-call.d.mts +3 -3
- package/dist/target__op-factory-call.mjs +2 -2
- package/dist/target__operation-types.d.mts +4 -0
- package/dist/target__pack.d.mts +3 -2
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-ddl-builders.d.mts +2 -2
- package/dist/target__planner-ddl-builders.mjs +2 -2
- package/dist/target__planner-identity-values.d.mts +1 -1
- package/dist/target__planner-identity-values.mjs +1 -1
- package/dist/target__planner-produced-postgres-migration.d.mts +2 -2
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-schema-lookup.d.mts +1 -1
- package/dist/target__planner-schema-lookup.mjs +1 -1
- package/dist/target__planner-sql-checks.d.mts +3 -2
- package/dist/target__planner-sql-checks.mjs +2 -2
- package/dist/target__planner-target-details.d.mts +1 -1
- package/dist/target__planner.d.mts +1 -1
- package/dist/target__planner.mjs +2 -2
- package/dist/target__prisma7-binding.d.mts +2 -0
- package/dist/target__prisma7-binding.mjs +2 -0
- package/dist/target__render-ops.d.mts +1 -1
- package/dist/target__render-ops.mjs +1 -1
- package/dist/target__render-typescript.d.mts +1 -1
- package/dist/target__render-typescript.mjs +1 -1
- package/dist/target__rls-canonicalize.d.mts +2 -2
- package/dist/target__rls-canonicalize.mjs +2 -2
- package/dist/target__runtime.d.mts +6 -3
- package/dist/target__runtime.mjs +193 -4
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.d.mts +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__sql-utils.d.mts +3 -2
- package/dist/target__sql-utils.mjs +4 -2
- package/dist/target__types.d.mts +7 -7
- package/dist/target__types.mjs +5 -5
- package/dist/types-AvjnIUna.d.mts +2 -0
- package/dist/types-D6lgKhE5-D1J9YJnd.d.mts +28 -0
- package/dist/types-D6lgKhE5-D1J9YJnd.d.mts.map +1 -0
- package/dist/{types-CjGjPLr5.d.mts → types-DOmgp_12.d.mts} +8 -8
- package/dist/types-DOmgp_12.d.mts.map +1 -0
- package/dist/{types-ue6jkJyF-BQJzjx1P.d.mts → types-ue6jkJyF-D79DmBTl.d.mts} +2 -2
- package/dist/types-ue6jkJyF-D79DmBTl.d.mts.map +1 -0
- package/package.json +22 -14
- package/dist/adapter-B0xsc80z-sYcF0RVF.mjs.map +0 -1
- package/dist/adapter-CPesdzv0.d.mts +0 -26
- package/dist/adapter-CPesdzv0.d.mts.map +0 -1
- package/dist/adapter__operation-types.d.mts +0 -2
- package/dist/aggregates-CgqNfj2O.d.mts +0 -10
- package/dist/aggregates-CgqNfj2O.d.mts.map +0 -1
- package/dist/aggregates-Dh6HPdvC.mjs.map +0 -1
- package/dist/authoring-BOpdZa2N-ClrLFiXw.mjs +0 -773
- package/dist/authoring-BOpdZa2N-ClrLFiXw.mjs.map +0 -1
- package/dist/canonicalize-CQlxSR4D-MnrT5gtW.d.mts.map +0 -1
- package/dist/canonicalize-CrN3u_xM-D4MrOqcB.mjs.map +0 -1
- package/dist/check-expressions-5vhxWaFy-CBcjFeur.mjs +0 -41
- package/dist/check-expressions-5vhxWaFy-CBcjFeur.mjs.map +0 -1
- package/dist/check-expressions-DRgG8RN5-DiA-22aC.d.mts.map +0 -1
- package/dist/codec-descriptor-Bec_zukr-BfvtUqhm.d.mts +0 -37
- package/dist/codec-descriptor-Bec_zukr-BfvtUqhm.d.mts.map +0 -1
- package/dist/codec-descriptor-Bg-_412t.d.mts +0 -1
- package/dist/codec-descriptor-LT7BpQta-BaDM8UQQ.mjs.map +0 -1
- package/dist/codec-ids-Bqu_IwO0-DKOdPizQ.d.mts +0 -35
- package/dist/codec-ids-Bqu_IwO0-DKOdPizQ.d.mts.map +0 -1
- package/dist/codec-ids-C5Rkltkw-DMf87l9s.mjs +0 -35
- package/dist/codec-ids-C5Rkltkw-DMf87l9s.mjs.map +0 -1
- package/dist/codec-ids-DJ6j6pZc.d.mts +0 -1
- package/dist/codec-types-BRU4F-7t-BaJbKF_i.d.mts +0 -84
- package/dist/codec-types-BRU4F-7t-BaJbKF_i.d.mts.map +0 -1
- package/dist/codec-types-bX63JRLf.d.mts +0 -2
- package/dist/codecs-B1HgsJZ2.mjs +0 -15
- package/dist/codecs-B1HgsJZ2.mjs.map +0 -1
- package/dist/codecs-BmPCJWqb-DveZGJvm.mjs +0 -1680
- package/dist/codecs-BmPCJWqb-DveZGJvm.mjs.map +0 -1
- package/dist/codecs-D8tLswBi-_nbo-Z8x.d.mts +0 -638
- package/dist/codecs-D8tLswBi-_nbo-Z8x.d.mts.map +0 -1
- package/dist/codecs-DmCKO7dg.d.mts +0 -15
- package/dist/codecs-DmCKO7dg.d.mts.map +0 -1
- package/dist/column-types-BH-MU6uU.d.mts +0 -108
- package/dist/column-types-BH-MU6uU.d.mts.map +0 -1
- package/dist/column-types-Bh92dNjD.mjs +0 -126
- package/dist/column-types-Bh92dNjD.mjs.map +0 -1
- package/dist/contract-free-DzpGxLfb.d.mts.map +0 -1
- package/dist/contract-free-aQ4nT-_R.mjs.map +0 -1
- package/dist/control-2F195jJk.d.mts +0 -11
- package/dist/control-2F195jJk.d.mts.map +0 -1
- package/dist/control-BaUpALVp.d.mts.map +0 -1
- package/dist/control-DLTOAEHj.d.mts.map +0 -1
- package/dist/control-V7OkAC55.mjs +0 -1459
- package/dist/control-V7OkAC55.mjs.map +0 -1
- package/dist/control-Y6FxMu3o.mjs.map +0 -1
- package/dist/control-adapter-DFr4gS-r-DM3KcZdQ.mjs.map +0 -1
- package/dist/control-policy-B53lnBCT-B9K9Cj1x.mjs.map +0 -1
- package/dist/data-transform-BSM7TQpE.d.mts +0 -1
- package/dist/data-transform-ChZzy2dP-CxVCat_8.mjs.map +0 -1
- package/dist/data-transform-Ck5FbyNO-BNE7QlAo.d.mts.map +0 -1
- package/dist/ddl-B4Rh8ntj.d.mts +0 -1
- package/dist/ddl-CNQJds-C-WfZ3y4y8.mjs +0 -395
- package/dist/ddl-CNQJds-C-WfZ3y4y8.mjs.map +0 -1
- package/dist/default-normalizer-B36TOul4.d.mts +0 -31
- package/dist/default-normalizer-B36TOul4.d.mts.map +0 -1
- package/dist/default-normalizer-Ba5ZebHM-isV86rjy.mjs +0 -253
- package/dist/default-normalizer-Ba5ZebHM-isV86rjy.mjs.map +0 -1
- package/dist/descriptor-meta-KVX21fsl-DBDoB4eg.mjs +0 -354
- package/dist/descriptor-meta-KVX21fsl-DBDoB4eg.mjs.map +0 -1
- package/dist/descriptor-meta-rilAH3ep-dAmiVLpe.mjs +0 -30
- package/dist/descriptor-meta-rilAH3ep-dAmiVLpe.mjs.map +0 -1
- package/dist/descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs +0 -13
- package/dist/descriptor-meta-runtime-UwYdV8fD-B_m_Ha8r.mjs.map +0 -1
- package/dist/diff-database-schema-DKq76rCk-uehceHYz.mjs.map +0 -1
- package/dist/diff-database-schema-DsoNznGC.d.mts.map +0 -1
- package/dist/driver__runtime.mjs.map +0 -1
- package/dist/errors-CU4xIwwk.d.mts.map +0 -1
- package/dist/errors-DKjQzNaN-DFcF1thx.mjs +0 -39
- package/dist/errors-DKjQzNaN-DFcF1thx.mjs.map +0 -1
- package/dist/issue-planner-Biq9Ls7e.d.mts.map +0 -1
- package/dist/migration-PTHAY9Cv.mjs.map +0 -1
- package/dist/migration-aFeTWTOJ.d.mts +0 -25
- package/dist/migration-aFeTWTOJ.d.mts.map +0 -1
- package/dist/namespace-ids-xtp_ZY86-Cpp8PTxD.mjs.map +0 -1
- package/dist/native-type-normalizer-DqJlOTeX.d.mts +0 -19
- package/dist/native-type-normalizer-DqJlOTeX.d.mts.map +0 -1
- package/dist/native-type-normalizer-yvd3tqv-.mjs +0 -38
- package/dist/native-type-normalizer-yvd3tqv-.mjs.map +0 -1
- package/dist/nodes-BU-V-aZA-RqwPH68u.d.mts.map +0 -1
- package/dist/nodes-DAvDJLvJ-BBdvFXNa.mjs.map +0 -1
- package/dist/normalize-error-CNjgVO71-CLlZ3CuJ.mjs.map +0 -1
- package/dist/op-factory-call-BAeyLFYf-BAgG1h1C.d.mts.map +0 -1
- package/dist/op-factory-call-BTU8I_x0.d.mts +0 -1
- package/dist/op-factory-call-H6zeDGLe-_1pAftJk.mjs.map +0 -1
- package/dist/operation-types-BfRocNI8.d.mts +0 -22
- package/dist/operation-types-BfRocNI8.d.mts.map +0 -1
- package/dist/pack-CySS3DQU.d.mts +0 -626
- package/dist/pack-CySS3DQU.d.mts.map +0 -1
- package/dist/planner-CT-7zSfk.d.mts.map +0 -1
- package/dist/planner-D0uogzvT-1WyGIC5p.mjs +0 -671
- package/dist/planner-D0uogzvT-1WyGIC5p.mjs.map +0 -1
- package/dist/planner-ddl-builders-Chxh-LEQ-DXvwOeeA.mjs +0 -102
- package/dist/planner-ddl-builders-Chxh-LEQ-DXvwOeeA.mjs.map +0 -1
- package/dist/planner-ddl-builders-ijp60-JO.d.mts +0 -19
- package/dist/planner-ddl-builders-ijp60-JO.d.mts.map +0 -1
- package/dist/planner-identity-values-BmHn5C6U-BYBbUAyR.mjs +0 -90
- package/dist/planner-identity-values-BmHn5C6U-BYBbUAyR.mjs.map +0 -1
- package/dist/planner-identity-values-TfEhnoWa.d.mts +0 -25
- package/dist/planner-identity-values-TfEhnoWa.d.mts.map +0 -1
- package/dist/planner-produced-postgres-migration-BaviT8KK-Yo9kw6rs.d.mts.map +0 -1
- package/dist/planner-produced-postgres-migration-D5m8nK6s-CbZ4hlbv.mjs.map +0 -1
- package/dist/planner-produced-postgres-migration-D6C0T2xV.d.mts +0 -1
- package/dist/planner-schema-lookup-C4DHAddq.d.mts.map +0 -1
- package/dist/planner-schema-lookup-kMIVP2y--CdO4VlnF.mjs.map +0 -1
- package/dist/planner-sql-checks-CFgbRTJw.d.mts +0 -20
- package/dist/planner-sql-checks-CFgbRTJw.d.mts.map +0 -1
- package/dist/planner-sql-checks-ftgzvIO9-BTtBg2Vz.mjs +0 -152
- package/dist/planner-sql-checks-ftgzvIO9-BTtBg2Vz.mjs.map +0 -1
- package/dist/planner-target-details-HkP4RrRO-_xPQVPF0.d.mts.map +0 -1
- package/dist/planner-type-resolution-Bt2f_q-F-C4T6YTae.mjs +0 -15
- package/dist/planner-type-resolution-Bt2f_q-F-C4T6YTae.mjs.map +0 -1
- package/dist/postgres-contract-view-2OP5JnXl-D2fpy4-8.d.mts.map +0 -1
- package/dist/postgres-contract-view-B8ykf2cO-T2LvWVFZ.mjs.map +0 -1
- package/dist/postgres-database-schema-node-CyfpHXDr-BqyozkQE.d.mts.map +0 -1
- package/dist/postgres-migration-BNsrwlxh-CwI5BqAu.d.mts.map +0 -1
- package/dist/postgres-migration-Dbq3RGfZ-aMnwfEAb.mjs +0 -205
- package/dist/postgres-migration-Dbq3RGfZ-aMnwfEAb.mjs.map +0 -1
- package/dist/postgres-native-enum-CdP3b_-R-Cgz9KEKx.mjs.map +0 -1
- package/dist/postgres-rls-policy-CnDxf3z9-C3LIHAIG.d.mts.map +0 -1
- package/dist/postgres-role-schema-node-B8Z5i5D--PObwlU2Z.mjs.map +0 -1
- package/dist/postgres-schema-CF0yHESb-D7n2X21R.mjs.map +0 -1
- package/dist/postgres-schema-Xsjt3RKO-Buv2X8ai.d.mts.map +0 -1
- package/dist/postgres-table-schema-node-BBkitBQh-DT1T5VWU.mjs.map +0 -1
- package/dist/render-ops-DOsRP0Po-BKn_c_Ia.mjs.map +0 -1
- package/dist/render-ops-DPwhZt2W.d.mts.map +0 -1
- package/dist/render-typescript-6sCFvMBh.d.mts.map +0 -1
- package/dist/render-typescript-Dqp1Spgn-B128r1qw.mjs.map +0 -1
- package/dist/resolve-ddl-schema-CoaeNP35-C-UZldpj.mjs +0 -22
- package/dist/resolve-ddl-schema-CoaeNP35-C-UZldpj.mjs.map +0 -1
- package/dist/runtime-DOXznQe0.d.mts.map +0 -1
- package/dist/runtime-_TfO66h5.d.mts.map +0 -1
- package/dist/runtime-lHBKgjB9.d.mts.map +0 -1
- package/dist/schema-ir-annotations-DuuYh0gl.d.mts.map +0 -1
- package/dist/schema-node-kinds-qlnURWJy-Bo30pwTM.d.mts.map +0 -1
- package/dist/sql-renderer-BgC0ZgLS.d.mts.map +0 -1
- package/dist/sql-renderer-ComgusFq-BBlqM1fw.mjs.map +0 -1
- package/dist/sql-utils-DW6fkczF.d.mts.map +0 -1
- package/dist/sql-utils-DuzN3JZg-DiXy4Vah.mjs.map +0 -1
- package/dist/table-source-ikHOZmhD-DriY1Lcr.d.mts.map +0 -1
- package/dist/types-B-4d5_4a.d.mts +0 -1
- package/dist/types-CjGjPLr5.d.mts.map +0 -1
- package/dist/types-CkryN1AS-BcQRGsDn.d.mts +0 -27
- package/dist/types-CkryN1AS-BcQRGsDn.d.mts.map +0 -1
- package/dist/types-ue6jkJyF-BQJzjx1P.d.mts.map +0 -1
- /package/dist/{adapter__operation-types.mjs → target__operation-types.mjs} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @prisma/orm-target-postgres
|
|
2
2
|
|
|
3
|
-
The concrete PostgreSQL target of Prisma
|
|
3
|
+
The concrete PostgreSQL target of Prisma 8: the target descriptor (DDL planning, codecs, migration rendering), the Postgres adapter, and the `pg`-based driver.
|
|
4
4
|
|
|
5
5
|
Applications receive it as an exact-pinned dependency of `@prisma/orm-postgres`; app developers install that facade. Extension authors targeting Postgres and decomposed installs (for example, replacing the adapter with a custom one while keeping the target and driver) import this package directly.
|
|
6
6
|
|
|
@@ -12,12 +12,10 @@ Applications receive it as an exact-pinned dependency of `@prisma/orm-postgres`;
|
|
|
12
12
|
| `/adapter` | Postgres adapter: column types, operation types, runtime wiring |
|
|
13
13
|
| `/driver` | `pg`-based driver: control and runtime |
|
|
14
14
|
|
|
15
|
-
A bare namespace import (e.g. `@prisma/orm-target-postgres/adapter`) aggregates that layer's full surface; deeper paths select individual modules.
|
|
15
|
+
A bare namespace import (e.g. `@prisma/orm-target-postgres/adapter`) aggregates that layer's full surface; deeper paths select individual modules. An application imports the runtime entries (`/target/runtime`, `/adapter/runtime`, `/driver/runtime`), not the bare namespaces, because each aggregate includes the control-plane entries.
|
|
16
|
+
|
|
17
|
+
`temporal-polyfill` is a required peer dependency. The `/target/control` entry loads it as a fallback `Temporal` when the runtime has none. npm, pnpm and bun install it automatically; with Yarn, add `temporal-polyfill` to your dependencies.
|
|
16
18
|
|
|
17
19
|
## Responsibilities
|
|
18
20
|
|
|
19
21
|
Everything Postgres-specific: native type normalization, DDL generation, schema diffing, RLS canonicalization, and the wire connection. Shared SQL semantics live in `@prisma/orm-family-sql`.
|
|
20
|
-
|
|
21
|
-
## Dependencies
|
|
22
|
-
|
|
23
|
-
`@prisma/orm-framework`, `@prisma/orm-family-sql`, and `@prisma/orm-toolchain` (exact lockstep pins), plus `pg`/`pg-cursor` and small third-party runtime libraries.
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { t as PostgresContract } from "./postgres-schema-Xsjt3RKO-bis-SVSB.mjs";
|
|
2
|
+
import { c as PostgresLoweredStatement, s as PostgresAdapterOptions } from "./types-D6lgKhE5-D1J9YJnd.mjs";
|
|
3
|
+
import { t as PostgresCodecRegistry } from "./codecs-CoEpEqjM.mjs";
|
|
4
|
+
import { b as PostgresDdlNode } from "./nodes-s0Oe37jT-Cw3BU2gL.mjs";
|
|
5
|
+
import "./ddl-B8nQZTWN.mjs";
|
|
6
|
+
import { Adapter, AdapterProfile, AnyQueryAst, LowererContext } from "@prisma/orm-family-sql/relational-core/ast";
|
|
7
|
+
import { DataType, DataTypeLookup } from "@prisma/orm-framework/components/codec";
|
|
8
|
+
import { RawCodecInferer } from "@prisma/orm-family-sql/relational-core/expression";
|
|
9
|
+
//#region ../../../3-targets/postgres/2-adapter/dist/adapter.d.mts
|
|
10
|
+
//#region src/core/adapter.d.ts
|
|
11
|
+
declare class PostgresAdapterImpl implements Adapter<AnyQueryAst, PostgresContract, PostgresLoweredStatement> {
|
|
12
|
+
readonly familyId: "sql";
|
|
13
|
+
readonly targetId: "postgres";
|
|
14
|
+
readonly profile: AdapterProfile<'postgres'>;
|
|
15
|
+
private readonly codecRegistry;
|
|
16
|
+
private readonly dataTypeLookup;
|
|
17
|
+
constructor(codecRegistry: PostgresCodecRegistry, dataTypeLookup: DataTypeLookup, declaredDataTypes: readonly DataType[], profileId?: string);
|
|
18
|
+
lower(ast: AnyQueryAst | PostgresDdlNode, context: LowererContext<PostgresContract>): PostgresLoweredStatement;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Codec-id lookup for bare-literal interpolations used by `fns.raw` on a postgres client. Contributed as the descriptor's static `rawCodecInferer` slot.
|
|
22
|
+
*
|
|
23
|
+
* The ids are versioned because that is how the codec registry keys them: lowering resolves an interpolated value's codec by exact id through `descriptorFor`.
|
|
24
|
+
*/
|
|
25
|
+
declare const postgresRawCodecInferer: RawCodecInferer;
|
|
26
|
+
declare function createPostgresAdapter(options?: PostgresAdapterOptions): Readonly<PostgresAdapterImpl>;
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/core/capabilities.d.ts
|
|
29
|
+
declare const postgresAdapterCapabilities: Readonly<{
|
|
30
|
+
readonly postgres: {
|
|
31
|
+
readonly orderBy: true;
|
|
32
|
+
readonly limit: true;
|
|
33
|
+
readonly lateral: true;
|
|
34
|
+
readonly jsonAgg: true;
|
|
35
|
+
readonly returning: true;
|
|
36
|
+
readonly distinctOn: true;
|
|
37
|
+
readonly forNoKeyUpdate: true;
|
|
38
|
+
readonly forKeyShare: true;
|
|
39
|
+
};
|
|
40
|
+
readonly sql: {
|
|
41
|
+
readonly enums: true;
|
|
42
|
+
readonly returning: true;
|
|
43
|
+
readonly defaultInInsert: true;
|
|
44
|
+
readonly lateral: true;
|
|
45
|
+
readonly scalarList: true;
|
|
46
|
+
readonly checkConstraint: true;
|
|
47
|
+
readonly insertOnConflictSkip: true;
|
|
48
|
+
readonly insertOnConflictWithoutTarget: true;
|
|
49
|
+
readonly forUpdate: true;
|
|
50
|
+
readonly forShare: true;
|
|
51
|
+
readonly lockOf: true;
|
|
52
|
+
readonly lockNowait: true;
|
|
53
|
+
readonly lockSkipLocked: true;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/core/contract-contributions.d.ts
|
|
58
|
+
/**
|
|
59
|
+
* What this adapter adds to every contract it runs: its capabilities and the aggregate overloads it lists. `prisma contract emit` reads them through the adapter's descriptor, and the TypeScript `defineContract` passes them to the contract build.
|
|
60
|
+
*/
|
|
61
|
+
declare const postgresAdapterContractContributions: {
|
|
62
|
+
readonly capabilities: Readonly<{
|
|
63
|
+
readonly postgres: {
|
|
64
|
+
readonly orderBy: true;
|
|
65
|
+
readonly limit: true;
|
|
66
|
+
readonly lateral: true;
|
|
67
|
+
readonly jsonAgg: true;
|
|
68
|
+
readonly returning: true;
|
|
69
|
+
readonly distinctOn: true;
|
|
70
|
+
readonly forNoKeyUpdate: true;
|
|
71
|
+
readonly forKeyShare: true;
|
|
72
|
+
};
|
|
73
|
+
readonly sql: {
|
|
74
|
+
readonly enums: true;
|
|
75
|
+
readonly returning: true;
|
|
76
|
+
readonly defaultInInsert: true;
|
|
77
|
+
readonly lateral: true;
|
|
78
|
+
readonly scalarList: true;
|
|
79
|
+
readonly checkConstraint: true;
|
|
80
|
+
readonly insertOnConflictSkip: true;
|
|
81
|
+
readonly insertOnConflictWithoutTarget: true;
|
|
82
|
+
readonly forUpdate: true;
|
|
83
|
+
readonly forShare: true;
|
|
84
|
+
readonly lockOf: true;
|
|
85
|
+
readonly lockNowait: true;
|
|
86
|
+
readonly lockSkipLocked: true;
|
|
87
|
+
};
|
|
88
|
+
}>;
|
|
89
|
+
readonly types: {
|
|
90
|
+
readonly aggregateDescriptors: readonly [{
|
|
91
|
+
readonly operation: "count";
|
|
92
|
+
readonly input: {
|
|
93
|
+
readonly kind: "any";
|
|
94
|
+
};
|
|
95
|
+
readonly output: {
|
|
96
|
+
readonly kind: "codec";
|
|
97
|
+
readonly codecId: "pg/int8number@1";
|
|
98
|
+
};
|
|
99
|
+
readonly nullable: false;
|
|
100
|
+
readonly emptyResultWire: "0";
|
|
101
|
+
}, {
|
|
102
|
+
readonly operation: "countBigInt";
|
|
103
|
+
readonly input: {
|
|
104
|
+
readonly kind: "any";
|
|
105
|
+
};
|
|
106
|
+
readonly output: {
|
|
107
|
+
readonly kind: "codec";
|
|
108
|
+
readonly codecId: "pg/int8@1";
|
|
109
|
+
};
|
|
110
|
+
readonly nullable: false;
|
|
111
|
+
readonly emptyResultWire: "0";
|
|
112
|
+
readonly lower: import("@prisma/orm-family-sql/relational-core/aggregate-descriptor-registry").SqlAggregateLowering;
|
|
113
|
+
}, ...({
|
|
114
|
+
readonly operation: "sum";
|
|
115
|
+
readonly input: {
|
|
116
|
+
readonly kind: "codec";
|
|
117
|
+
readonly codecId: "pg/int4@1" | "pg/int8@1" | "pg/int2@1" | "pg/int8number@1" | "sql/int@1" | "pg/int@1";
|
|
118
|
+
};
|
|
119
|
+
readonly output: {
|
|
120
|
+
readonly kind: "codec";
|
|
121
|
+
readonly codecId: "pg/int8number@1";
|
|
122
|
+
};
|
|
123
|
+
readonly nullable: true;
|
|
124
|
+
} | {
|
|
125
|
+
readonly lower: import("@prisma/orm-family-sql/relational-core/aggregate-descriptor-registry").SqlAggregateLowering;
|
|
126
|
+
readonly operation: "sumBigInt";
|
|
127
|
+
readonly input: {
|
|
128
|
+
readonly kind: "codec";
|
|
129
|
+
readonly codecId: "pg/int4@1" | "pg/int2@1" | "sql/int@1" | "pg/int@1";
|
|
130
|
+
};
|
|
131
|
+
readonly output: {
|
|
132
|
+
readonly kind: "codec";
|
|
133
|
+
readonly codecId: "pg/int8@1";
|
|
134
|
+
};
|
|
135
|
+
readonly nullable: true;
|
|
136
|
+
} | {
|
|
137
|
+
readonly lower: import("@prisma/orm-family-sql/relational-core/aggregate-descriptor-registry").SqlAggregateLowering;
|
|
138
|
+
readonly operation: "sumBigInt";
|
|
139
|
+
readonly input: {
|
|
140
|
+
readonly kind: "codec";
|
|
141
|
+
readonly codecId: "pg/int8@1" | "pg/int8number@1";
|
|
142
|
+
};
|
|
143
|
+
readonly output: {
|
|
144
|
+
readonly kind: "codec";
|
|
145
|
+
readonly codecId: "pg/unboundedint@1";
|
|
146
|
+
};
|
|
147
|
+
readonly nullable: true;
|
|
148
|
+
} | {
|
|
149
|
+
readonly lower: import("@prisma/orm-family-sql/relational-core/aggregate-descriptor-registry").SqlAggregateLowering;
|
|
150
|
+
readonly operation: "sumBigInt";
|
|
151
|
+
readonly input: {
|
|
152
|
+
readonly kind: "codec";
|
|
153
|
+
readonly codecId: "pg/unboundedint@1";
|
|
154
|
+
};
|
|
155
|
+
readonly output: {
|
|
156
|
+
readonly kind: "codec";
|
|
157
|
+
readonly codecId: "pg/unboundedint@1";
|
|
158
|
+
};
|
|
159
|
+
readonly nullable: true;
|
|
160
|
+
} | {
|
|
161
|
+
readonly operation: "sum";
|
|
162
|
+
readonly input: {
|
|
163
|
+
readonly kind: "codec";
|
|
164
|
+
readonly codecId: "pg/float4@1";
|
|
165
|
+
};
|
|
166
|
+
readonly output: {
|
|
167
|
+
readonly kind: "codec";
|
|
168
|
+
readonly codecId: "pg/float4@1";
|
|
169
|
+
};
|
|
170
|
+
readonly nullable: true;
|
|
171
|
+
} | {
|
|
172
|
+
readonly operation: "sum";
|
|
173
|
+
readonly input: {
|
|
174
|
+
readonly kind: "codec";
|
|
175
|
+
readonly codecId: "pg/float8@1" | "sql/float@1" | "pg/float@1";
|
|
176
|
+
};
|
|
177
|
+
readonly output: {
|
|
178
|
+
readonly kind: "codec";
|
|
179
|
+
readonly codecId: "pg/float8@1";
|
|
180
|
+
};
|
|
181
|
+
readonly nullable: true;
|
|
182
|
+
} | {
|
|
183
|
+
readonly operation: "sum";
|
|
184
|
+
readonly input: {
|
|
185
|
+
readonly kind: "codec";
|
|
186
|
+
readonly codecId: "pg/numeric@1";
|
|
187
|
+
};
|
|
188
|
+
readonly output: {
|
|
189
|
+
readonly kind: "codec";
|
|
190
|
+
readonly codecId: "pg/numeric@1";
|
|
191
|
+
};
|
|
192
|
+
readonly nullable: true;
|
|
193
|
+
} | {
|
|
194
|
+
readonly operation: "sum";
|
|
195
|
+
readonly input: {
|
|
196
|
+
readonly kind: "codec";
|
|
197
|
+
readonly codecId: "pg/unboundedint@1";
|
|
198
|
+
};
|
|
199
|
+
readonly output: {
|
|
200
|
+
readonly kind: "codec";
|
|
201
|
+
readonly codecId: "pg/unboundedint@1";
|
|
202
|
+
};
|
|
203
|
+
readonly nullable: true;
|
|
204
|
+
} | {
|
|
205
|
+
readonly operation: "sum";
|
|
206
|
+
readonly input: {
|
|
207
|
+
readonly kind: "codec";
|
|
208
|
+
readonly codecId: "pg/interval@1";
|
|
209
|
+
};
|
|
210
|
+
readonly output: {
|
|
211
|
+
readonly kind: "codec";
|
|
212
|
+
readonly codecId: "pg/interval@1";
|
|
213
|
+
};
|
|
214
|
+
readonly nullable: true;
|
|
215
|
+
} | {
|
|
216
|
+
readonly operation: "sum";
|
|
217
|
+
readonly input: {
|
|
218
|
+
readonly kind: "codec";
|
|
219
|
+
readonly codecId: "pg/time-string@1";
|
|
220
|
+
};
|
|
221
|
+
readonly output: {
|
|
222
|
+
readonly kind: "codec";
|
|
223
|
+
readonly codecId: "pg/interval@1";
|
|
224
|
+
};
|
|
225
|
+
readonly nullable: true;
|
|
226
|
+
} | {
|
|
227
|
+
readonly operation: "sum";
|
|
228
|
+
readonly input: {
|
|
229
|
+
readonly kind: "codec";
|
|
230
|
+
readonly codecId: "pg/time-temporal@1";
|
|
231
|
+
};
|
|
232
|
+
readonly output: {
|
|
233
|
+
readonly kind: "codec";
|
|
234
|
+
readonly codecId: "pg/interval@1";
|
|
235
|
+
};
|
|
236
|
+
readonly nullable: true;
|
|
237
|
+
} | {
|
|
238
|
+
readonly lower: import("@prisma/orm-family-sql/relational-core/aggregate-descriptor-registry").SqlAggregateLowering;
|
|
239
|
+
readonly operation: "avg";
|
|
240
|
+
readonly input: {
|
|
241
|
+
readonly kind: "codec";
|
|
242
|
+
readonly codecId: "pg/int4@1" | "pg/int8@1" | "pg/int2@1" | "pg/int8number@1" | "pg/unboundedint@1" | "sql/int@1" | "pg/int@1";
|
|
243
|
+
};
|
|
244
|
+
readonly output: {
|
|
245
|
+
readonly kind: "codec";
|
|
246
|
+
readonly codecId: "pg/float8@1";
|
|
247
|
+
};
|
|
248
|
+
readonly nullable: true;
|
|
249
|
+
} | {
|
|
250
|
+
readonly lower: import("@prisma/orm-family-sql/relational-core/aggregate-descriptor-registry").SqlAggregateLowering;
|
|
251
|
+
readonly operation: "avgDecimal";
|
|
252
|
+
readonly input: {
|
|
253
|
+
readonly kind: "codec";
|
|
254
|
+
readonly codecId: "pg/int4@1" | "pg/int8@1" | "pg/numeric@1" | "pg/int2@1" | "pg/int8number@1" | "pg/unboundedint@1" | "sql/int@1" | "pg/int@1";
|
|
255
|
+
};
|
|
256
|
+
readonly output: {
|
|
257
|
+
readonly kind: "codec";
|
|
258
|
+
readonly codecId: "pg/numeric@1";
|
|
259
|
+
};
|
|
260
|
+
readonly nullable: true;
|
|
261
|
+
} | {
|
|
262
|
+
readonly operation: "avg";
|
|
263
|
+
readonly input: {
|
|
264
|
+
readonly kind: "codec";
|
|
265
|
+
readonly codecId: "pg/float8@1" | "pg/float4@1" | "sql/float@1" | "pg/float@1";
|
|
266
|
+
};
|
|
267
|
+
readonly output: {
|
|
268
|
+
readonly kind: "codec";
|
|
269
|
+
readonly codecId: "pg/float8@1";
|
|
270
|
+
};
|
|
271
|
+
readonly nullable: true;
|
|
272
|
+
} | {
|
|
273
|
+
readonly operation: "avg";
|
|
274
|
+
readonly input: {
|
|
275
|
+
readonly kind: "codec";
|
|
276
|
+
readonly codecId: "pg/numeric@1";
|
|
277
|
+
};
|
|
278
|
+
readonly output: {
|
|
279
|
+
readonly kind: "codec";
|
|
280
|
+
readonly codecId: "pg/numeric@1";
|
|
281
|
+
};
|
|
282
|
+
readonly nullable: true;
|
|
283
|
+
} | {
|
|
284
|
+
readonly operation: "avg";
|
|
285
|
+
readonly input: {
|
|
286
|
+
readonly kind: "codec";
|
|
287
|
+
readonly codecId: "pg/interval@1";
|
|
288
|
+
};
|
|
289
|
+
readonly output: {
|
|
290
|
+
readonly kind: "codec";
|
|
291
|
+
readonly codecId: "pg/interval@1";
|
|
292
|
+
};
|
|
293
|
+
readonly nullable: true;
|
|
294
|
+
} | {
|
|
295
|
+
readonly operation: "avg";
|
|
296
|
+
readonly input: {
|
|
297
|
+
readonly kind: "codec";
|
|
298
|
+
readonly codecId: "pg/time-string@1";
|
|
299
|
+
};
|
|
300
|
+
readonly output: {
|
|
301
|
+
readonly kind: "codec";
|
|
302
|
+
readonly codecId: "pg/interval@1";
|
|
303
|
+
};
|
|
304
|
+
readonly nullable: true;
|
|
305
|
+
} | {
|
|
306
|
+
readonly operation: "avg";
|
|
307
|
+
readonly input: {
|
|
308
|
+
readonly kind: "codec";
|
|
309
|
+
readonly codecId: "pg/time-temporal@1";
|
|
310
|
+
};
|
|
311
|
+
readonly output: {
|
|
312
|
+
readonly kind: "codec";
|
|
313
|
+
readonly codecId: "pg/interval@1";
|
|
314
|
+
};
|
|
315
|
+
readonly nullable: true;
|
|
316
|
+
} | {
|
|
317
|
+
readonly operation: "min";
|
|
318
|
+
readonly input: {
|
|
319
|
+
readonly kind: "trait";
|
|
320
|
+
readonly trait: "numeric";
|
|
321
|
+
};
|
|
322
|
+
readonly output: {
|
|
323
|
+
readonly kind: "self";
|
|
324
|
+
};
|
|
325
|
+
readonly nullable: true;
|
|
326
|
+
} | {
|
|
327
|
+
readonly operation: "min";
|
|
328
|
+
readonly input: {
|
|
329
|
+
readonly kind: "trait";
|
|
330
|
+
readonly trait: "textual";
|
|
331
|
+
};
|
|
332
|
+
readonly output: {
|
|
333
|
+
readonly kind: "self";
|
|
334
|
+
};
|
|
335
|
+
readonly nullable: true;
|
|
336
|
+
} | {
|
|
337
|
+
readonly operation: "min";
|
|
338
|
+
readonly input: {
|
|
339
|
+
readonly kind: "codec";
|
|
340
|
+
readonly codecId: "sql/varchar@1" | "pg/varchar@1";
|
|
341
|
+
};
|
|
342
|
+
readonly output: {
|
|
343
|
+
readonly kind: "codec";
|
|
344
|
+
readonly codecId: "pg/text@1";
|
|
345
|
+
};
|
|
346
|
+
readonly nullable: true;
|
|
347
|
+
} | {
|
|
348
|
+
readonly operation: "min";
|
|
349
|
+
readonly input: {
|
|
350
|
+
readonly kind: "codec";
|
|
351
|
+
readonly codecId: "pg/timestamptz-temporal@1" | "pg/timestamp-temporal@1" | "pg/time-temporal@1" | "pg/timetz@1" | "pg/inet@1" | "pg/date-temporal@1" | "pg/date-string@1" | "pg/timestamp-string@1" | "pg/timestamptz-date@1" | "pg/timestamptz-string@1" | "pg/time-string@1" | "pg/interval@1" | "pg/enum@1" | "pg/text-array@1";
|
|
352
|
+
};
|
|
353
|
+
readonly output: {
|
|
354
|
+
readonly kind: "self";
|
|
355
|
+
};
|
|
356
|
+
readonly nullable: true;
|
|
357
|
+
} | {
|
|
358
|
+
readonly operation: "max";
|
|
359
|
+
readonly input: {
|
|
360
|
+
readonly kind: "trait";
|
|
361
|
+
readonly trait: "numeric";
|
|
362
|
+
};
|
|
363
|
+
readonly output: {
|
|
364
|
+
readonly kind: "self";
|
|
365
|
+
};
|
|
366
|
+
readonly nullable: true;
|
|
367
|
+
} | {
|
|
368
|
+
readonly operation: "max";
|
|
369
|
+
readonly input: {
|
|
370
|
+
readonly kind: "trait";
|
|
371
|
+
readonly trait: "textual";
|
|
372
|
+
};
|
|
373
|
+
readonly output: {
|
|
374
|
+
readonly kind: "self";
|
|
375
|
+
};
|
|
376
|
+
readonly nullable: true;
|
|
377
|
+
} | {
|
|
378
|
+
readonly operation: "max";
|
|
379
|
+
readonly input: {
|
|
380
|
+
readonly kind: "codec";
|
|
381
|
+
readonly codecId: "sql/varchar@1" | "pg/varchar@1";
|
|
382
|
+
};
|
|
383
|
+
readonly output: {
|
|
384
|
+
readonly kind: "codec";
|
|
385
|
+
readonly codecId: "pg/text@1";
|
|
386
|
+
};
|
|
387
|
+
readonly nullable: true;
|
|
388
|
+
} | {
|
|
389
|
+
readonly operation: "max";
|
|
390
|
+
readonly input: {
|
|
391
|
+
readonly kind: "codec";
|
|
392
|
+
readonly codecId: "pg/timestamptz-temporal@1" | "pg/timestamp-temporal@1" | "pg/time-temporal@1" | "pg/timetz@1" | "pg/inet@1" | "pg/date-temporal@1" | "pg/date-string@1" | "pg/timestamp-string@1" | "pg/timestamptz-date@1" | "pg/timestamptz-string@1" | "pg/time-string@1" | "pg/interval@1" | "pg/enum@1" | "pg/text-array@1";
|
|
393
|
+
};
|
|
394
|
+
readonly output: {
|
|
395
|
+
readonly kind: "self";
|
|
396
|
+
};
|
|
397
|
+
readonly nullable: true;
|
|
398
|
+
})[]];
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
//#endregion
|
|
402
|
+
export { postgresRawCodecInferer as i, postgresAdapterCapabilities as n, postgresAdapterContractContributions as r, createPostgresAdapter as t };
|
|
403
|
+
//# sourceMappingURL=adapter-5qylEP__.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapter-5qylEP__.d.mts","names":[],"sources":["../../../../3-targets/postgres/2-adapter/dist/adapter.d.mts"],"mappings":";;;;;;;;;;cAOc,+BAA+B,QAAQ,aAAa,kBAAkB;WACzE;WACA;WACA,SAAS;mBACD;mBACA;EACjB,YAAY,eAAe,uBAAuB,gBAAgB,gBAAgB,4BAA4B,YAAY;EAC1H,MAAM,KAAK,cAAc,iBAAiB,SAAS,eAAe,oBAAoB;;;;;;;cAO1E,yBAAyB;iBACtB,sBAAsB,UAAU,yBAAyB,SAAS;;;cAGrE,6BAA6B;WAChC;aACE;aACA;aACA;aACA;aACA;aACA;aACA;aACA;;WAEF;aACE;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;;;;;;;;cAQC;WACH,cAAc;aACZ;eACE;eACA;eACA;eACA;eACA;eACA;eACA;eACA;;aAEF;eACE;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;;;WAGJ;aACE;eACE;eACA;iBACE;;eAEF;iBACE;iBACA;;eAEF;eACA;;eAEA;eACA;iBACE;;eAEF;iBACE;iBACA;;eAEF;eACA;eACA,6EAA6E;;eAE7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,6EAA6E;eAC7E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF"}
|
|
@@ -1,38 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as createPostgresCodecRegistryWithBuiltins
|
|
1
|
+
import { Y as postgresDataTypes } from "./data-types-Chx0mjTP-DczU4S9b.mjs";
|
|
2
|
+
import { i as createPostgresCodecRegistryWithBuiltins } from "./codec-registry-D7XslgPe-DTZnVB8W.mjs";
|
|
3
|
+
import { n as renderLoweredSql, t as adapterError } from "./sql-renderer-BdWJPa5F-Ct0CPlXc.mjs";
|
|
4
|
+
import { n as postgresAdapterCapabilities, t as PostgresControlAdapter } from "./contract-contributions-Xz2FpyfI-CeQZqHKf.mjs";
|
|
3
5
|
import { isDdlNode } from "@prisma/orm-family-sql/relational-core/ast";
|
|
6
|
+
import { assembleDataTypes } from "@prisma/orm-framework/components/codec";
|
|
4
7
|
import { APP_SPACE_ID } from "@prisma/orm-framework/components/control";
|
|
5
|
-
//#region ../../../3-targets/
|
|
6
|
-
const defaultCapabilities = Object.freeze({
|
|
7
|
-
postgres: {
|
|
8
|
-
orderBy: true,
|
|
9
|
-
limit: true,
|
|
10
|
-
lateral: true,
|
|
11
|
-
jsonAgg: true,
|
|
12
|
-
returning: true,
|
|
13
|
-
distinctOn: true
|
|
14
|
-
},
|
|
15
|
-
sql: {
|
|
16
|
-
enums: true,
|
|
17
|
-
returning: true,
|
|
18
|
-
defaultInInsert: true,
|
|
19
|
-
lateral: true,
|
|
20
|
-
scalarList: true,
|
|
21
|
-
checkConstraint: true
|
|
22
|
-
}
|
|
23
|
-
});
|
|
8
|
+
//#region ../../../3-targets/postgres/2-adapter/dist/adapter-svGTIjA2.mjs
|
|
24
9
|
var PostgresAdapterImpl = class {
|
|
25
10
|
familyId = "sql";
|
|
26
11
|
targetId = "postgres";
|
|
27
12
|
profile;
|
|
28
13
|
codecRegistry;
|
|
29
|
-
|
|
14
|
+
dataTypeLookup;
|
|
15
|
+
constructor(codecRegistry, dataTypeLookup, declaredDataTypes, profileId) {
|
|
30
16
|
this.codecRegistry = codecRegistry;
|
|
31
|
-
|
|
17
|
+
this.dataTypeLookup = dataTypeLookup;
|
|
18
|
+
const controlAdapter = new PostgresControlAdapter(codecRegistry, dataTypeLookup, declaredDataTypes);
|
|
32
19
|
this.profile = Object.freeze({
|
|
33
20
|
id: profileId ?? "postgres/default@1",
|
|
34
21
|
target: "postgres",
|
|
35
|
-
capabilities:
|
|
22
|
+
capabilities: postgresAdapterCapabilities,
|
|
36
23
|
readMarker: (queryable) => controlAdapter.readMarkerDiscriminated({
|
|
37
24
|
familyId: "sql",
|
|
38
25
|
targetId: "postgres",
|
|
@@ -50,7 +37,7 @@ var PostgresAdapterImpl = class {
|
|
|
50
37
|
}
|
|
51
38
|
lower(ast, context) {
|
|
52
39
|
if (isDdlNode(ast)) throw adapterError("RUNTIME.DDL_UNSUPPORTED", "lower() does not lower DDL on the runtime adapter — DDL lowering is a control-plane concern handled by the control adapter.", { meta: { surface: "runtime-adapter" } });
|
|
53
|
-
return renderLoweredSql(ast, context.contract, this.codecRegistry);
|
|
40
|
+
return renderLoweredSql(ast, context.contract, this.codecRegistry, this.dataTypeLookup, postgresAdapterCapabilities);
|
|
54
41
|
}
|
|
55
42
|
};
|
|
56
43
|
const INT4_MIN = -2147483648;
|
|
@@ -83,13 +70,20 @@ const postgresRawCodecInferer = { inferCodec(value) {
|
|
|
83
70
|
throw adapterError("RUNTIME.RAW_SQL_UNSUPPORTED_INTERPOLATION", "unsupported JS value type for raw-SQL interpolation: wrap this value in `param(...)` with an explicit codec", { meta: { valueType: typeof value } });
|
|
84
71
|
} };
|
|
85
72
|
function createPostgresAdapter(options) {
|
|
86
|
-
const
|
|
87
|
-
|
|
73
|
+
const dataTypes = assembleDataTypes([{
|
|
74
|
+
id: "postgres",
|
|
75
|
+
dataTypes: postgresDataTypes
|
|
76
|
+
}, {
|
|
77
|
+
id: "createPostgresAdapter",
|
|
78
|
+
dataTypes: options?.dataTypes ?? []
|
|
79
|
+
}]);
|
|
80
|
+
const codecRegistry = createPostgresCodecRegistryWithBuiltins(options?.codecDescriptors, dataTypes.lookup);
|
|
81
|
+
return Object.freeze(new PostgresAdapterImpl(codecRegistry, dataTypes.lookup, dataTypes.declared.map(({ type }) => type), options?.profileId));
|
|
88
82
|
}
|
|
89
|
-
function createPostgresAdapterWithCodecRegistry(codecRegistry) {
|
|
90
|
-
return Object.freeze(new PostgresAdapterImpl(codecRegistry));
|
|
83
|
+
function createPostgresAdapterWithCodecRegistry(codecRegistry, dataTypeLookup, declaredDataTypes) {
|
|
84
|
+
return Object.freeze(new PostgresAdapterImpl(codecRegistry, dataTypeLookup, declaredDataTypes));
|
|
91
85
|
}
|
|
92
86
|
//#endregion
|
|
93
87
|
export { createPostgresAdapterWithCodecRegistry as n, postgresRawCodecInferer as r, createPostgresAdapter as t };
|
|
94
88
|
|
|
95
|
-
//# sourceMappingURL=adapter-
|
|
89
|
+
//# sourceMappingURL=adapter-svGTIjA2-1p-Iw8D2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapter-svGTIjA2-1p-Iw8D2.mjs","names":[],"sources":["../../../../3-targets/postgres/2-adapter/dist/adapter-svGTIjA2.mjs"],"sourcesContent":["import { n as adapterError, t as renderLoweredSql } from \"./sql-renderer-BdWJPa5F.mjs\";\nimport { n as PostgresControlAdapter, r as postgresAdapterCapabilities } from \"./contract-contributions-Xz2FpyfI.mjs\";\nimport { assembleDataTypes } from \"@internal/framework-components/codec\";\nimport { APP_SPACE_ID } from \"@internal/framework-components/control\";\nimport { isDdlNode } from \"@internal/sql-relational-core/ast\";\nimport { createPostgresCodecRegistryWithBuiltins } from \"@internal/target-postgres/codecs\";\nimport { postgresDataTypes } from \"@internal/target-postgres/data-types\";\n//#region src/core/adapter.ts\nvar PostgresAdapterImpl = class {\n\tfamilyId = \"sql\";\n\ttargetId = \"postgres\";\n\tprofile;\n\tcodecRegistry;\n\tdataTypeLookup;\n\tconstructor(codecRegistry, dataTypeLookup, declaredDataTypes, profileId) {\n\t\tthis.codecRegistry = codecRegistry;\n\t\tthis.dataTypeLookup = dataTypeLookup;\n\t\tconst controlAdapter = new PostgresControlAdapter(codecRegistry, dataTypeLookup, declaredDataTypes);\n\t\tthis.profile = Object.freeze({\n\t\t\tid: profileId ?? \"postgres/default@1\",\n\t\t\ttarget: \"postgres\",\n\t\t\tcapabilities: postgresAdapterCapabilities,\n\t\t\treadMarker: (queryable) => controlAdapter.readMarkerDiscriminated({\n\t\t\t\tfamilyId: \"sql\",\n\t\t\t\ttargetId: \"postgres\",\n\t\t\t\tquery: async (sql, params) => {\n\t\t\t\t\tconst rows = [];\n\t\t\t\t\tfor await (const row of queryable.query({\n\t\t\t\t\t\tsql,\n\t\t\t\t\t\t...params === void 0 ? {} : { params }\n\t\t\t\t\t})) rows.push(row);\n\t\t\t\t\treturn { rows };\n\t\t\t\t},\n\t\t\t\tclose: async () => {}\n\t\t\t}, APP_SPACE_ID)\n\t\t});\n\t}\n\tlower(ast, context) {\n\t\tif (isDdlNode(ast)) throw adapterError(\"RUNTIME.DDL_UNSUPPORTED\", \"lower() does not lower DDL on the runtime adapter — DDL lowering is a control-plane concern handled by the control adapter.\", { meta: { surface: \"runtime-adapter\" } });\n\t\treturn renderLoweredSql(ast, context.contract, this.codecRegistry, this.dataTypeLookup, postgresAdapterCapabilities);\n\t}\n};\nconst INT4_MIN = -2147483648;\nconst INT4_MAX = 2147483647;\n/**\n* The codec a bare JS number is bound through.\n*\n* An integer picks the narrowest column type that holds it: `int4` while it\n* fits the signed 32-bit range, `int8` (number-valued) up to the safe-integer\n* limit. Past that limit a JS number is no longer an exact integer, so it\n* binds as `float8` rather than pretending to a precision it does not have.\n*/\nfunction inferNumberCodecId(value) {\n\tif (!Number.isSafeInteger(value)) return \"pg/float8@1\";\n\treturn value >= INT4_MIN && value <= INT4_MAX ? \"pg/int4@1\" : \"pg/int8number@1\";\n}\n/**\n* Codec-id lookup for bare-literal interpolations used by `fns.raw` on a postgres client. Contributed as the descriptor's static `rawCodecInferer` slot.\n*\n* The ids are versioned because that is how the codec registry keys them: lowering resolves an interpolated value's codec by exact id through `descriptorFor`.\n*/\nconst postgresRawCodecInferer = { inferCodec(value) {\n\tswitch (typeof value) {\n\t\tcase \"number\": return inferNumberCodecId(value);\n\t\tcase \"bigint\": return \"pg/int8@1\";\n\t\tcase \"string\": return \"pg/text@1\";\n\t\tcase \"boolean\": return \"pg/bool@1\";\n\t\tcase \"object\": if (value instanceof Uint8Array) return \"pg/bytea@1\";\n\t}\n\tthrow adapterError(\"RUNTIME.RAW_SQL_UNSUPPORTED_INTERPOLATION\", \"unsupported JS value type for raw-SQL interpolation: wrap this value in `param(...)` with an explicit codec\", { meta: { valueType: typeof value } });\n} };\nfunction createPostgresAdapter(options) {\n\tconst dataTypes = assembleDataTypes([{\n\t\tid: \"postgres\",\n\t\tdataTypes: postgresDataTypes\n\t}, {\n\t\tid: \"createPostgresAdapter\",\n\t\tdataTypes: options?.dataTypes ?? []\n\t}]);\n\tconst codecRegistry = createPostgresCodecRegistryWithBuiltins(options?.codecDescriptors, dataTypes.lookup);\n\treturn Object.freeze(new PostgresAdapterImpl(codecRegistry, dataTypes.lookup, dataTypes.declared.map(({ type }) => type), options?.profileId));\n}\nfunction createPostgresAdapterWithCodecRegistry(codecRegistry, dataTypeLookup, declaredDataTypes) {\n\treturn Object.freeze(new PostgresAdapterImpl(codecRegistry, dataTypeLookup, declaredDataTypes));\n}\n//#endregion\nexport { createPostgresAdapterWithCodecRegistry as n, postgresRawCodecInferer as r, createPostgresAdapter as t };\n\n//# sourceMappingURL=adapter-svGTIjA2.mjs.map"],"mappings":";;;;;;;;AAQA,IAAI,sBAAsB,MAAM;CAC/B,WAAW;CACX,WAAW;CACX;CACA;CACA;CACA,YAAY,eAAe,gBAAgB,mBAAmB,WAAW;EACxE,KAAK,gBAAgB;EACrB,KAAK,iBAAiB;EACtB,MAAM,iBAAiB,IAAI,uBAAuB,eAAe,gBAAgB,iBAAiB;EAClG,KAAK,UAAU,OAAO,OAAO;GAC5B,IAAI,aAAa;GACjB,QAAQ;GACR,cAAc;GACd,aAAa,cAAc,eAAe,wBAAwB;IACjE,UAAU;IACV,UAAU;IACV,OAAO,OAAO,KAAK,WAAW;KAC7B,MAAM,OAAO,CAAC;KACd,WAAW,MAAM,OAAO,UAAU,MAAM;MACvC;MACA,GAAG,WAAW,KAAK,IAAI,CAAC,IAAI,EAAE,OAAO;KACtC,CAAC,GAAG,KAAK,KAAK,GAAG;KACjB,OAAO,EAAE,KAAK;IACf;IACA,OAAO,YAAY,CAAC;GACrB,GAAG,YAAY;EAChB,CAAC;CACF;CACA,MAAM,KAAK,SAAS;EACnB,IAAI,UAAU,GAAG,GAAG,MAAM,aAAa,2BAA2B,+HAA+H,EAAE,MAAM,EAAE,SAAS,kBAAkB,EAAE,CAAC;EACzO,OAAO,iBAAiB,KAAK,QAAQ,UAAU,KAAK,eAAe,KAAK,gBAAgB,2BAA2B;CACpH;AACD;AACA,MAAM,WAAW;AACjB,MAAM,WAAW;;;;;;;;;AASjB,SAAS,mBAAmB,OAAO;CAClC,IAAI,CAAC,OAAO,cAAc,KAAK,GAAG,OAAO;CACzC,OAAO,SAAS,YAAY,SAAS,WAAW,cAAc;AAC/D;;;;;;AAMA,MAAM,0BAA0B,EAAE,WAAW,OAAO;CACnD,QAAQ,OAAO,OAAf;EACC,KAAK,UAAU,OAAO,mBAAmB,KAAK;EAC9C,KAAK,UAAU,OAAO;EACtB,KAAK,UAAU,OAAO;EACtB,KAAK,WAAW,OAAO;EACvB,KAAK,UAAU,IAAI,iBAAiB,YAAY,OAAO;CACxD;CACA,MAAM,aAAa,6CAA6C,+GAA+G,EAAE,MAAM,EAAE,WAAW,OAAO,MAAM,EAAE,CAAC;AACrN,EAAE;AACF,SAAS,sBAAsB,SAAS;CACvC,MAAM,YAAY,kBAAkB,CAAC;EACpC,IAAI;EACJ,WAAW;CACZ,GAAG;EACF,IAAI;EACJ,WAAW,SAAS,aAAa,CAAC;CACnC,CAAC,CAAC;CACF,MAAM,gBAAgB,wCAAwC,SAAS,kBAAkB,UAAU,MAAM;CACzG,OAAO,OAAO,OAAO,IAAI,oBAAoB,eAAe,UAAU,QAAQ,UAAU,SAAS,KAAK,EAAE,WAAW,IAAI,GAAG,SAAS,SAAS,CAAC;AAC9I;AACA,SAAS,uCAAuC,eAAe,gBAAgB,mBAAmB;CACjG,OAAO,OAAO,OAAO,IAAI,oBAAoB,eAAe,gBAAgB,iBAAiB,CAAC;AAC/F"}
|
package/dist/adapter.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { t as PostgresContract } from "./postgres-schema-Xsjt3RKO-
|
|
2
|
-
import { a as OrderClause, c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import "./types-B-4d5_4a.mjs";
|
|
13
|
-
export { type BinaryExpr, type ColumnRef, type Direction, type Expr, type OrderClause, type ParamRef, type PostgresAdapterOptions, type PostgresCodecRegistry, type PostgresContract, PostgresControlAdapter, type PostgresLoweredStatement, type QueryOperationTypes, type SelectAst, SqlRuntimeAdapter, type StorageColumn, type StorageTable, bitColumn, boolColumn, byteaColumn, charColumn, createPostgresAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, escapeLiteral, float4Column, float8Column, int2Column, int4Column, int8Column, intervalColumn, jsonColumn, jsonbColumn, normalizeSchemaNativeType, numericColumn, parsePostgresDefault, postgresRawCodecInferer, qualifyName, quoteIdentifier, renderLoweredSql, textColumn, timeColumn, timestampColumn, timestamptzColumn, timetzColumn, varbitColumn, varcharColumn };
|
|
1
|
+
import { t as PostgresContract } from "./postgres-schema-Xsjt3RKO-bis-SVSB.mjs";
|
|
2
|
+
import { a as OrderClause, c as PostgresLoweredStatement, d as StorageTable, i as Expr, l as SelectAst, n as ColumnRef, o as ParamRef, r as Direction, s as PostgresAdapterOptions, t as BinaryExpr, u as StorageColumn } from "./types-D6lgKhE5-D1J9YJnd.mjs";
|
|
3
|
+
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup, t as PostgresCodecRegistry } from "./codecs-CoEpEqjM.mjs";
|
|
4
|
+
import { i as postgresRawCodecInferer, n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as createPostgresAdapter } from "./adapter-5qylEP__.mjs";
|
|
5
|
+
import { C as timestamptzStringColumn, D as varcharColumn, E as varbitColumn, S as timestamptzJsDateColumn, T as timetzColumn, _ as textColumn, a as dateStringColumn, b as timestampStringColumn, c as float8Column, d as int8Column, f as intervalColumn, g as rawColumn, h as numericColumn, i as charColumn, l as int2Column, m as jsonbColumn, n as boolColumn, o as dateTemporalColumn, p as jsonColumn, r as byteaColumn, s as float4Column, t as bitColumn, u as int4Column, v as timeStringColumn, w as timestamptzTemporalColumn, x as timestampTemporalColumn, y as timeTemporalColumn } from "./column-types-Bs2V0j8T.mjs";
|
|
6
|
+
import { n as qualifyName, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-CnnGiZBc.mjs";
|
|
7
|
+
import { t as PostgresControlAdapter } from "./control-D4cTcpcJ.mjs";
|
|
8
|
+
import { t as SqlRuntimeAdapter } from "./runtime-DtjW0GP_.mjs";
|
|
9
|
+
import { t as renderLoweredSql } from "./sql-renderer-BiBhge7D.mjs";
|
|
10
|
+
import "./types-AvjnIUna.mjs";
|
|
11
|
+
export { type BinaryExpr, type ColumnRef, type Direction, type Expr, type OrderClause, type ParamRef, type PostgresAdapterOptions, type PostgresCodecRegistry, type PostgresContract, PostgresControlAdapter, type PostgresLoweredStatement, type SelectAst, SqlRuntimeAdapter, type StorageColumn, type StorageTable, bitColumn, boolColumn, byteaColumn, charColumn, createPostgresAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, dateStringColumn, dateTemporalColumn, escapeLiteral, float4Column, float8Column, int2Column, int4Column, int8Column, intervalColumn, jsonColumn, jsonbColumn, numericColumn, postgresAdapterCapabilities, postgresAdapterContractContributions, postgresRawCodecInferer, qualifyName, quoteIdentifier, rawColumn, renderLoweredSql, textColumn, timeStringColumn, timeTemporalColumn, timestampStringColumn, timestampTemporalColumn, timestamptzJsDateColumn, timestamptzStringColumn, timestamptzTemporalColumn, timetzColumn, varbitColumn, varcharColumn };
|
package/dist/adapter.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import { r as
|
|
7
|
-
|
|
8
|
-
export { PostgresControlAdapter, bitColumn, boolColumn, byteaColumn, charColumn, createPostgresAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, escapeLiteral, float4Column, float8Column, int2Column, int4Column, int8Column, intervalColumn, jsonColumn, jsonbColumn, normalizeSchemaNativeType, numericColumn, parsePostgresDefault, postgresRawCodecInferer, qualifyName, quoteIdentifier, renderLoweredSql, textColumn, timeColumn, timestampColumn, timestamptzColumn, timetzColumn, varbitColumn, varcharColumn };
|
|
1
|
+
import { i as quoteIdentifier, n as escapeLiteral, r as qualifyName } from "./sql-utils-Bnw3JbWf-BN0gcjZB.mjs";
|
|
2
|
+
import { i as createPostgresCodecRegistryWithBuiltins, r as createPostgresBuiltinCodecLookup } from "./codec-registry-D7XslgPe-DTZnVB8W.mjs";
|
|
3
|
+
import { n as renderLoweredSql } from "./sql-renderer-BdWJPa5F-Ct0CPlXc.mjs";
|
|
4
|
+
import { n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as PostgresControlAdapter } from "./contract-contributions-Xz2FpyfI-CeQZqHKf.mjs";
|
|
5
|
+
import { r as postgresRawCodecInferer, t as createPostgresAdapter } from "./adapter-svGTIjA2-1p-Iw8D2.mjs";
|
|
6
|
+
import { C as timestamptzStringColumn, D as varcharColumn, E as varbitColumn, S as timestamptzJsDateColumn, T as timetzColumn, _ as textColumn, a as dateStringColumn, b as timestampStringColumn, c as float8Column, d as int8Column, f as intervalColumn, g as rawColumn, h as numericColumn, i as charColumn, l as int2Column, m as jsonbColumn, n as boolColumn, o as dateTemporalColumn, p as jsonColumn, r as byteaColumn, s as float4Column, t as bitColumn, u as int4Column, v as timeStringColumn, w as timestamptzTemporalColumn, x as timestampTemporalColumn, y as timeTemporalColumn } from "./column-types-B4zsV-u3.mjs";
|
|
7
|
+
export { PostgresControlAdapter, bitColumn, boolColumn, byteaColumn, charColumn, createPostgresAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, dateStringColumn, dateTemporalColumn, escapeLiteral, float4Column, float8Column, int2Column, int4Column, int8Column, intervalColumn, jsonColumn, jsonbColumn, numericColumn, postgresAdapterCapabilities, postgresAdapterContractContributions, postgresRawCodecInferer, qualifyName, quoteIdentifier, rawColumn, renderLoweredSql, textColumn, timeStringColumn, timeTemporalColumn, timestampStringColumn, timestampTemporalColumn, timestamptzJsDateColumn, timestamptzStringColumn, timestamptzTemporalColumn, timetzColumn, varbitColumn, varcharColumn };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { createPostgresAdapter, postgresRawCodecInferer };
|
|
1
|
+
import { i as postgresRawCodecInferer, n as postgresAdapterCapabilities, r as postgresAdapterContractContributions, t as createPostgresAdapter } from "./adapter-5qylEP__.mjs";
|
|
2
|
+
export { createPostgresAdapter, postgresAdapterCapabilities, postgresAdapterContractContributions, postgresRawCodecInferer };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as postgresAdapterCapabilities, r as postgresAdapterContractContributions } from "./contract-contributions-Xz2FpyfI-CeQZqHKf.mjs";
|
|
2
|
+
import { r as postgresRawCodecInferer, t as createPostgresAdapter } from "./adapter-svGTIjA2-1p-Iw8D2.mjs";
|
|
3
|
+
export { createPostgresAdapter, postgresAdapterCapabilities, postgresAdapterContractContributions, postgresRawCodecInferer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
export { bitColumn, boolColumn, byteaColumn, charColumn, float4Column, float8Column, int2Column, int4Column, int8Column, intervalColumn, jsonColumn, jsonbColumn, numericColumn, textColumn,
|
|
1
|
+
import { C as timestamptzStringColumn, D as varcharColumn, E as varbitColumn, S as timestamptzJsDateColumn, T as timetzColumn, _ as textColumn, a as dateStringColumn, b as timestampStringColumn, c as float8Column, d as int8Column, f as intervalColumn, g as rawColumn, h as numericColumn, i as charColumn, l as int2Column, m as jsonbColumn, n as boolColumn, o as dateTemporalColumn, p as jsonColumn, r as byteaColumn, s as float4Column, t as bitColumn, u as int4Column, v as timeStringColumn, w as timestamptzTemporalColumn, x as timestampTemporalColumn, y as timeTemporalColumn } from "./column-types-Bs2V0j8T.mjs";
|
|
2
|
+
export { bitColumn, boolColumn, byteaColumn, charColumn, dateStringColumn, dateTemporalColumn, float4Column, float8Column, int2Column, int4Column, int8Column, intervalColumn, jsonColumn, jsonbColumn, numericColumn, rawColumn, textColumn, timeStringColumn, timeTemporalColumn, timestampStringColumn, timestampTemporalColumn, timestamptzJsDateColumn, timestamptzStringColumn, timestamptzTemporalColumn, timetzColumn, varbitColumn, varcharColumn };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
export { bitColumn, boolColumn, byteaColumn, charColumn, float4Column, float8Column, int2Column, int4Column, int8Column, intervalColumn, jsonColumn, jsonbColumn, numericColumn, textColumn,
|
|
1
|
+
import { C as timestamptzStringColumn, D as varcharColumn, E as varbitColumn, S as timestamptzJsDateColumn, T as timetzColumn, _ as textColumn, a as dateStringColumn, b as timestampStringColumn, c as float8Column, d as int8Column, f as intervalColumn, g as rawColumn, h as numericColumn, i as charColumn, l as int2Column, m as jsonbColumn, n as boolColumn, o as dateTemporalColumn, p as jsonColumn, r as byteaColumn, s as float4Column, t as bitColumn, u as int4Column, v as timeStringColumn, w as timestamptzTemporalColumn, x as timestampTemporalColumn, y as timeTemporalColumn } from "./column-types-B4zsV-u3.mjs";
|
|
2
|
+
export { bitColumn, boolColumn, byteaColumn, charColumn, dateStringColumn, dateTemporalColumn, float4Column, float8Column, int2Column, int4Column, int8Column, intervalColumn, jsonColumn, jsonbColumn, numericColumn, rawColumn, textColumn, timeStringColumn, timeTemporalColumn, timestampStringColumn, timestampTemporalColumn, timestamptzJsDateColumn, timestamptzStringColumn, timestamptzTemporalColumn, timetzColumn, varbitColumn, varcharColumn };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import { n as
|
|
4
|
-
|
|
5
|
-
export { PostgresControlAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, postgresAdapterDescriptor as default, escapeLiteral, normalizeSchemaNativeType, parsePostgresDefault, qualifyName, quoteIdentifier };
|
|
1
|
+
import { a as createPostgresCodecRegistryWithBuiltins, i as createPostgresBuiltinCodecLookup } from "./codecs-CoEpEqjM.mjs";
|
|
2
|
+
import { n as qualifyName, r as quoteIdentifier, t as escapeLiteral } from "./sql-utils-CnnGiZBc.mjs";
|
|
3
|
+
import { n as postgresAdapterDescriptor, t as PostgresControlAdapter } from "./control-D4cTcpcJ.mjs";
|
|
4
|
+
export { PostgresControlAdapter, createPostgresBuiltinCodecLookup, createPostgresCodecRegistryWithBuiltins, postgresAdapterDescriptor as default, escapeLiteral, qualifyName, quoteIdentifier };
|