@prisma/orm-target-postgres 8.0.0-rc.21-dev.5 → 8.0.0-rc.21-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapter-BIWKN0d7-HfXFH4vy.mjs → adapter-B84yJpi7-8wwdWq5R.mjs} +6 -6
- package/dist/{adapter-BIWKN0d7-HfXFH4vy.mjs.map → adapter-B84yJpi7-8wwdWq5R.mjs.map} +1 -1
- package/dist/{adapter-BNZo-LwN.d.mts → adapter-CGBZvb_8.d.mts} +3 -3
- package/dist/{adapter-BNZo-LwN.d.mts.map → adapter-CGBZvb_8.d.mts.map} +1 -1
- package/dist/adapter.d.mts +8 -8
- package/dist/adapter.mjs +5 -5
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/adapter__adapter.mjs +2 -2
- package/dist/adapter__control.d.mts +3 -3
- package/dist/adapter__control.mjs +4 -4
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +4 -4
- 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 +3 -3
- package/dist/{authoring-BYl9graG-BTI-XfEW.mjs → authoring-Bm8PD9ls-clXbYDiN.mjs} +209 -48
- package/dist/authoring-Bm8PD9ls-clXbYDiN.mjs.map +1 -0
- package/dist/{autoincrement-widths-D7Uub-uA-DccZpX6Q.mjs → autoincrement-widths-DkD24r-C-D4O96GJZ.mjs} +3 -3
- package/dist/{autoincrement-widths-D7Uub-uA-DccZpX6Q.mjs.map → autoincrement-widths-DkD24r-C-D4O96GJZ.mjs.map} +1 -1
- package/dist/check-expressions-BLd3bGf1-CwtBWbN3.d.mts +21 -0
- package/dist/check-expressions-BLd3bGf1-CwtBWbN3.d.mts.map +1 -0
- package/dist/check-expressions-C_lM7sSK-Dtv6p3hg.mjs +118 -0
- package/dist/check-expressions-C_lM7sSK-Dtv6p3hg.mjs.map +1 -0
- package/dist/{codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs → codec-descriptor-DBeD0UlS-BfvrE-KZ.mjs} +6 -3
- package/dist/codec-descriptor-DBeD0UlS-BfvrE-KZ.mjs.map +1 -0
- package/dist/codec-descriptor-Dp3lP7Rc.d.mts +1 -0
- package/dist/{codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts → codec-descriptor-nXA2rkO1-DyArG-p2.d.mts} +12 -4
- package/dist/codec-descriptor-nXA2rkO1-DyArG-p2.d.mts.map +1 -0
- package/dist/{codec-registry-D8Nsfksc-B5zXDblI.mjs → codec-registry-DVjibYBY-BeOUp5fk.mjs} +5 -5
- package/dist/{codec-registry-D8Nsfksc-B5zXDblI.mjs.map → codec-registry-DVjibYBY-BeOUp5fk.mjs.map} +1 -1
- package/dist/{codec-type-map-CIZ7LbPA-CeMPxEAm.d.mts → codec-type-map-DSuWVp-n-Cp4c9JWN.d.mts} +4 -4
- package/dist/{codec-type-map-CIZ7LbPA-CeMPxEAm.d.mts.map → codec-type-map-DSuWVp-n-Cp4c9JWN.d.mts.map} +1 -1
- package/dist/codec-types-BioRVnRb.d.mts +2 -0
- package/dist/{codec-types-C7E42vTO-CGX0m6Mb.d.mts → codec-types-xBRj9sIm-atN8rfl1.d.mts} +4 -4
- package/dist/{codec-types-C7E42vTO-CGX0m6Mb.d.mts.map → codec-types-xBRj9sIm-atN8rfl1.d.mts.map} +1 -1
- package/dist/{codecs-BVyoUeNy-DZw_7n3P.mjs → codecs-BqCmavY8-CC-ZbbTA.mjs} +51 -6
- package/dist/codecs-BqCmavY8-CC-ZbbTA.mjs.map +1 -0
- package/dist/{codecs-DulR4oG1.d.mts → codecs-DCtBjmAW.d.mts} +3 -3
- package/dist/{codecs-DulR4oG1.d.mts.map → codecs-DCtBjmAW.d.mts.map} +1 -1
- package/dist/{codecs-BJBFipkV-CVMp939Z.d.mts → codecs-qCAX5T6T-sg3NIKfN.d.mts} +40 -3
- package/dist/codecs-qCAX5T6T-sg3NIKfN.d.mts.map +1 -0
- package/dist/{contract-contributions-DTGGTwRZ-DUokY6NT.mjs → contract-contributions-rxCSM_1W-d9oohAzB.mjs} +16 -41
- package/dist/contract-contributions-rxCSM_1W-d9oohAzB.mjs.map +1 -0
- package/dist/{contract-free-Bjx-Ktot.mjs → contract-free-BrY8qnvY.mjs} +3 -3
- package/dist/{contract-free-Bjx-Ktot.mjs.map → contract-free-BrY8qnvY.mjs.map} +1 -1
- package/dist/{control-nSGzcTXc.d.mts → control-CCetIiFG.d.mts} +3 -3
- package/dist/{control-nSGzcTXc.d.mts.map → control-CCetIiFG.d.mts.map} +1 -1
- package/dist/{control-policy-D9yEV-XI-CCDB2v5g.mjs → control-policy-BncmQ6LO-B8SXRfP_.mjs} +9 -9
- package/dist/{control-policy-D9yEV-XI-CCDB2v5g.mjs.map → control-policy-BncmQ6LO-B8SXRfP_.mjs.map} +1 -1
- package/dist/{control-m9LWRUnY.d.mts → control-s1_5W_8t.d.mts} +179 -74
- package/dist/control-s1_5W_8t.d.mts.map +1 -0
- package/dist/{data-type-entries-DhUYJbVb-4NUH6vR_.mjs → data-type-entries-ZHPz2h_f-CNUmPGgf.mjs} +3 -3
- package/dist/{data-type-entries-DhUYJbVb-4NUH6vR_.mjs.map → data-type-entries-ZHPz2h_f-CNUmPGgf.mjs.map} +1 -1
- package/dist/{data-types-B7S_CHZd-C9JA40Ir.mjs → data-types-DklKHVmp-Bl-nwUa-.mjs} +21 -4
- package/dist/data-types-DklKHVmp-Bl-nwUa-.mjs.map +1 -0
- package/dist/{date-time-now-generators-C2aktlrc-uf9LqU6E.d.mts → date-time-now-generators-BZj5G1E3-BylrCrgW.d.mts} +4 -4
- package/dist/date-time-now-generators-BZj5G1E3-BylrCrgW.d.mts.map +1 -0
- package/dist/{date-time-now-generators-DsGxTwjo-DTb5oTHX.mjs → date-time-now-generators-Cc4PvFeB-XQWJz_4f.mjs} +21 -11
- package/dist/date-time-now-generators-Cc4PvFeB-XQWJz_4f.mjs.map +1 -0
- package/dist/{ddl-DiUFjVZe-DETlNlJh.mjs → ddl-LpR9foVX-YBmyKx74.mjs} +3 -3
- package/dist/{ddl-DiUFjVZe-DETlNlJh.mjs.map → ddl-LpR9foVX-YBmyKx74.mjs.map} +1 -1
- package/dist/{descriptor-meta-RxUflZY0-BNMenVO8.mjs → descriptor-meta-C2F_xt0P-D7gfqNS0.mjs} +17 -12
- package/dist/descriptor-meta-C2F_xt0P-D7gfqNS0.mjs.map +1 -0
- package/dist/{descriptor-meta-I7Ih-0hE-BzEpKpQF.mjs → descriptor-meta-C2YuDfV8-B_u19j25.mjs} +4 -4
- package/dist/{descriptor-meta-I7Ih-0hE-BzEpKpQF.mjs.map → descriptor-meta-C2YuDfV8-B_u19j25.mjs.map} +1 -1
- package/dist/{diff-database-schema-j18Gm75j-CNAELOTU.mjs → diff-database-schema-CcR7BN-A-BuftnIR2.mjs} +9 -9
- package/dist/{diff-database-schema-j18Gm75j-CNAELOTU.mjs.map → diff-database-schema-CcR7BN-A-BuftnIR2.mjs.map} +1 -1
- package/dist/{errors-Di_apgWJ-BLXRTfFj.mjs → errors-DG6xgXgr-Cb1XcPcb.mjs} +6 -5
- package/dist/errors-DG6xgXgr-Cb1XcPcb.mjs.map +1 -0
- package/dist/{full-text-CcHf5wkL.mjs → full-text-7szWl7EC.mjs} +3 -3
- package/dist/{full-text-CcHf5wkL.mjs.map → full-text-7szWl7EC.mjs.map} +1 -1
- package/dist/{full-text-collection-method-DHuJr46z-Bndk11cK.d.mts → full-text-collection-method-DvmPrdZL-B1FlBM0E.d.mts} +4 -4
- package/dist/full-text-collection-method-DvmPrdZL-B1FlBM0E.d.mts.map +1 -0
- package/dist/{full-text-index-definition-B0kQDs_M-8N6Slj3l.mjs → full-text-index-definition-BRNRSgZK-l_2TBarg.mjs} +3 -3
- package/dist/{full-text-index-definition-B0kQDs_M-8N6Slj3l.mjs.map → full-text-index-definition-BRNRSgZK-l_2TBarg.mjs.map} +1 -1
- package/dist/{full-text-xZIrFi7x.d.mts → full-text-k_9J-JPd.d.mts} +3 -3
- package/dist/{full-text-xZIrFi7x.d.mts.map → full-text-k_9J-JPd.d.mts.map} +1 -1
- package/dist/{full-text-parsers-hI_qtk-Q-DqTMF4n2.mjs → full-text-parsers-Dd5DOdBA-BTeOSzUj.mjs} +4 -4
- package/dist/{full-text-parsers-hI_qtk-Q-DqTMF4n2.mjs.map → full-text-parsers-Dd5DOdBA-BTeOSzUj.mjs.map} +1 -1
- package/dist/{full-text-search-document-7AKd6oOw-S-rsh3SZ.mjs → full-text-search-document-DWzECXD--BqrLGXsX.mjs} +5 -5
- package/dist/{full-text-search-document-7AKd6oOw-S-rsh3SZ.mjs.map → full-text-search-document-DWzECXD--BqrLGXsX.mjs.map} +1 -1
- package/dist/{index-types-DfnDGeQU-BWcrd_SP.mjs → index-types-5g7gXoWK-CBvkTIbr.mjs} +3 -3
- package/dist/{index-types-DfnDGeQU-BWcrd_SP.mjs.map → index-types-5g7gXoWK-CBvkTIbr.mjs.map} +1 -1
- package/dist/{infer-psl-contract-DnTNOWZT-BwBxvl_y.mjs → infer-psl-contract-CT9H9Xnw-l2pNPAyO.mjs} +76 -21
- package/dist/infer-psl-contract-CT9H9Xnw-l2pNPAyO.mjs.map +1 -0
- package/dist/migration-Be_iuIpn.mjs.map +1 -1
- package/dist/{native-type-normalizer-BpTZ6sm1.mjs → native-type-normalizer-DgHcQkwl.mjs} +2 -2
- package/dist/{native-type-normalizer-BpTZ6sm1.mjs.map → native-type-normalizer-DgHcQkwl.mjs.map} +1 -1
- package/dist/{op-factory-call-DI5rMe0F-Cvj8LzGR.mjs → op-factory-call-BRaCqnFh-avSVdAgI.mjs} +13 -10
- package/dist/op-factory-call-BRaCqnFh-avSVdAgI.mjs.map +1 -0
- package/dist/operation-types-ByVoHU_s.d.mts +1 -0
- package/dist/{operation-types-BlaAPrew-BkZiJwPy.d.mts → operation-types-DfWYI0Cn-fXs3p9mN.d.mts} +3 -3
- package/dist/{operation-types-BlaAPrew-BkZiJwPy.d.mts.map → operation-types-DfWYI0Cn-fXs3p9mN.d.mts.map} +1 -1
- package/dist/{pack-BSTwDeu2.d.mts → pack-BPopDUvg.d.mts} +187 -103
- package/dist/pack-BPopDUvg.d.mts.map +1 -0
- package/dist/{planner-Bhde2uHk-CSZF9ODS.mjs → planner-BsLpyYHC-IEpACcdS.mjs} +10 -10
- package/dist/{planner-Bhde2uHk-CSZF9ODS.mjs.map → planner-BsLpyYHC-IEpACcdS.mjs.map} +1 -1
- package/dist/{planner-ddl-builders-BHvruDX3-Sw7yWuWE.mjs → planner-ddl-builders-Dmr6ph8i-5FWxE6Wu.mjs} +3 -3
- package/dist/{planner-ddl-builders-BHvruDX3-Sw7yWuWE.mjs.map → planner-ddl-builders-Dmr6ph8i-5FWxE6Wu.mjs.map} +1 -1
- package/dist/{planner-identity-values-Cp0Cvrg7-BxMk9Qaf.mjs → planner-identity-values-BwYhwYeo-CaSwyXgC.mjs} +3 -3
- package/dist/{planner-identity-values-Cp0Cvrg7-BxMk9Qaf.mjs.map → planner-identity-values-BwYhwYeo-CaSwyXgC.mjs.map} +1 -1
- package/dist/{planner-produced-postgres-migration-CT7o4vF9-DHyGaSfZ.mjs → planner-produced-postgres-migration-CU7D_5IE-Cv-o4-Hh.mjs} +4 -4
- package/dist/{planner-produced-postgres-migration-CT7o4vF9-DHyGaSfZ.mjs.map → planner-produced-postgres-migration-CU7D_5IE-Cv-o4-Hh.mjs.map} +1 -1
- package/dist/{planner-sql-checks-Dhx-R5GJ-GyHfROia.mjs → planner-sql-checks-DOGD6v7y-BWkRMsXt.mjs} +19 -10
- package/dist/{planner-sql-checks-Dhx-R5GJ-GyHfROia.mjs.map → planner-sql-checks-DOGD6v7y-BWkRMsXt.mjs.map} +1 -1
- package/dist/{postgres-codec-traits-BfhOLlQK-BqSX5cGp.mjs → postgres-codec-traits-BhLP9ipO-D5kVsAxr.mjs} +3 -3
- package/dist/{postgres-codec-traits-BfhOLlQK-BqSX5cGp.mjs.map → postgres-codec-traits-BhLP9ipO-D5kVsAxr.mjs.map} +1 -1
- package/dist/{postgres-contract-view-d_EYkS83-Busf8EFd.mjs → postgres-contract-view-DBmVHV5m-DDZR3cBh.mjs} +8 -8
- package/dist/{postgres-contract-view-d_EYkS83-Busf8EFd.mjs.map → postgres-contract-view-DBmVHV5m-DDZR3cBh.mjs.map} +1 -1
- package/dist/{postgres-migration-CRKs0heQ-BE95T3ql.mjs → postgres-migration-DrLpuKus-DOU9Rbkb.mjs} +11 -11
- package/dist/{postgres-migration-CRKs0heQ-BE95T3ql.mjs.map → postgres-migration-DrLpuKus-DOU9Rbkb.mjs.map} +1 -1
- package/dist/{postgres-schema-CNNW8eA3-CwosQz5e.mjs → postgres-schema-CEGf780E-cyGo2Sii.mjs} +4 -4
- package/dist/{postgres-schema-CNNW8eA3-CwosQz5e.mjs.map → postgres-schema-CEGf780E-cyGo2Sii.mjs.map} +1 -1
- package/dist/{prisma7-binding-CQXZgPCd.d.mts → prisma7-binding-BNc7RE11.d.mts} +194 -103
- package/dist/prisma7-binding-BNc7RE11.d.mts.map +1 -0
- package/dist/{prisma7-binding-BwJtshLc.mjs → prisma7-binding-BvvPWMwt.mjs} +27 -9
- package/dist/prisma7-binding-BvvPWMwt.mjs.map +1 -0
- package/dist/{render-ops-CSWpAFQI-CqyjJlzM.mjs → render-ops-CbRkpwwx-C6wSWcTl.mjs} +4 -4
- package/dist/{render-ops-CSWpAFQI-CqyjJlzM.mjs.map → render-ops-CbRkpwwx-C6wSWcTl.mjs.map} +1 -1
- package/dist/{resolve-ddl-schema-p68Q5F1u-DZAQNXpi.mjs → resolve-ddl-schema-BhOYD95_-DhUQYNLi.mjs} +3 -3
- package/dist/{resolve-ddl-schema-p68Q5F1u-DZAQNXpi.mjs.map → resolve-ddl-schema-BhOYD95_-DhUQYNLi.mjs.map} +1 -1
- package/dist/{runtime-BjS3N8LM.d.mts → runtime-BbPgK4gH.d.mts} +3 -3
- package/dist/{runtime-BjS3N8LM.d.mts.map → runtime-BbPgK4gH.d.mts.map} +1 -1
- package/dist/{runtime-DtjW0GP_.d.mts → runtime-R_BCXCp_.d.mts} +2 -2
- package/dist/{runtime-DtjW0GP_.d.mts.map → runtime-R_BCXCp_.d.mts.map} +1 -1
- package/dist/{sql-renderer-BdWJPa5F-DUvahuXZ.mjs → sql-renderer-BdWJPa5F-B8cdiqmK.mjs} +3 -3
- package/dist/{sql-renderer-BdWJPa5F-DUvahuXZ.mjs.map → sql-renderer-BdWJPa5F-B8cdiqmK.mjs.map} +1 -1
- package/dist/{sql-renderer-BiBhge7D.d.mts → sql-renderer-BnO2fkSf.d.mts} +4 -4
- package/dist/{sql-renderer-BiBhge7D.d.mts.map → sql-renderer-BnO2fkSf.d.mts.map} +1 -1
- package/dist/{sql-utils-CnnGiZBc.d.mts → sql-utils-Bq4nuPvy.d.mts} +6 -2
- package/dist/{sql-utils-CnnGiZBc.d.mts.map → sql-utils-Bq4nuPvy.d.mts.map} +1 -1
- package/dist/{sql-utils-0j_6QstU-DAfnt5Mu.mjs → sql-utils-ylvfJ1RJ-03xGdSLI.mjs} +34 -4
- package/dist/sql-utils-ylvfJ1RJ-03xGdSLI.mjs.map +1 -0
- package/dist/target.d.mts +19 -19
- package/dist/target.mjs +33 -33
- package/dist/target__codec-descriptor.d.mts +2 -2
- package/dist/target__codec-descriptor.mjs +1 -1
- package/dist/target__codec-types.d.mts +3 -3
- package/dist/target__codecs.d.mts +2 -2
- package/dist/target__codecs.mjs +2 -2
- package/dist/target__contract-free.mjs +3 -3
- package/dist/target__control.d.mts +2 -2
- package/dist/target__control.mjs +168 -48
- package/dist/target__control.mjs.map +1 -1
- package/dist/target__data-types.mjs +2 -2
- package/dist/target__diff-database-schema.mjs +1 -1
- package/dist/target__errors.mjs +1 -1
- package/dist/target__full-text-index-authoring.mjs +2 -2
- package/dist/target__full-text.d.mts +3 -3
- package/dist/target__full-text.mjs +2 -2
- package/dist/target__issue-planner.mjs +1 -1
- package/dist/target__migration.mjs +2 -2
- package/dist/target__native-type-normalizer.mjs +1 -1
- package/dist/target__op-factory-call.mjs +1 -1
- package/dist/target__operation-types.d.mts +2 -2
- package/dist/target__pack.d.mts +2 -2
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-ddl-builders.mjs +1 -1
- package/dist/target__planner-identity-values.mjs +1 -1
- package/dist/target__planner-produced-postgres-migration.mjs +1 -1
- package/dist/target__planner-sql-checks.mjs +1 -1
- package/dist/target__planner.mjs +2 -2
- package/dist/target__prisma7-binding.d.mts +1 -1
- package/dist/target__prisma7-binding.mjs +1 -1
- package/dist/target__render-ops.mjs +1 -1
- package/dist/target__runtime.d.mts +3 -3
- package/dist/target__runtime.mjs +7 -7
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__schema-ir-annotations.mjs +1 -1
- package/dist/target__sql-utils.d.mts +2 -2
- package/dist/target__sql-utils.mjs +4 -4
- package/dist/target__types.d.mts +3 -3
- package/dist/target__types.mjs +2 -2
- package/dist/types-CuFeRfUn.d.mts +2 -0
- package/dist/{types-DOmgp_12.d.mts → types-D-U10Lyo.d.mts} +2 -2
- package/dist/{types-DOmgp_12.d.mts.map → types-D-U10Lyo.d.mts.map} +1 -1
- package/dist/{types-D6lgKhE5-D1J9YJnd.d.mts → types-D6lgKhE5-BrgAgVCq.d.mts} +4 -4
- package/dist/{types-D6lgKhE5-D1J9YJnd.d.mts.map → types-D6lgKhE5-BrgAgVCq.d.mts.map} +1 -1
- package/package.json +9 -9
- package/dist/authoring-BYl9graG-BTI-XfEW.mjs.map +0 -1
- package/dist/check-expressions-BPrbjEKM-CEIP4jTS.mjs +0 -48
- package/dist/check-expressions-BPrbjEKM-CEIP4jTS.mjs.map +0 -1
- package/dist/check-expressions-CtTzM58x-LloO-5Vf.d.mts +0 -55
- package/dist/check-expressions-CtTzM58x-LloO-5Vf.d.mts.map +0 -1
- package/dist/codec-descriptor-DoR-cTFZ-BlG5Gj-X.mjs.map +0 -1
- package/dist/codec-descriptor-Fb3UoQGb.d.mts +0 -1
- package/dist/codec-descriptor-d1ByNBEk-DhrtS_5y.d.mts.map +0 -1
- package/dist/codec-types-CiEHACsD.d.mts +0 -2
- package/dist/codecs-BJBFipkV-CVMp939Z.d.mts.map +0 -1
- package/dist/codecs-BVyoUeNy-DZw_7n3P.mjs.map +0 -1
- package/dist/contract-contributions-DTGGTwRZ-DUokY6NT.mjs.map +0 -1
- package/dist/control-m9LWRUnY.d.mts.map +0 -1
- package/dist/data-types-B7S_CHZd-C9JA40Ir.mjs.map +0 -1
- package/dist/date-time-now-generators-C2aktlrc-uf9LqU6E.d.mts.map +0 -1
- package/dist/date-time-now-generators-DsGxTwjo-DTb5oTHX.mjs.map +0 -1
- package/dist/descriptor-meta-RxUflZY0-BNMenVO8.mjs.map +0 -1
- package/dist/errors-Di_apgWJ-BLXRTfFj.mjs.map +0 -1
- package/dist/full-text-collection-method-DHuJr46z-Bndk11cK.d.mts.map +0 -1
- package/dist/infer-psl-contract-DnTNOWZT-BwBxvl_y.mjs.map +0 -1
- package/dist/op-factory-call-DI5rMe0F-Cvj8LzGR.mjs.map +0 -1
- package/dist/operation-types-Bz8xX2oY.d.mts +0 -1
- package/dist/pack-BSTwDeu2.d.mts.map +0 -1
- package/dist/prisma7-binding-BwJtshLc.mjs.map +0 -1
- package/dist/prisma7-binding-CQXZgPCd.d.mts.map +0 -1
- package/dist/sql-utils-0j_6QstU-DAfnt5Mu.mjs.map +0 -1
- package/dist/types-BZ2l9Q5i.d.mts +0 -2
package/dist/{codec-types-C7E42vTO-CGX0m6Mb.d.mts.map → codec-types-xBRj9sIm-atN8rfl1.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec-types-
|
|
1
|
+
{"version":3,"file":"codec-types-xBRj9sIm-atN8rfl1.d.mts","names":[],"sources":["../../../../3-targets/postgres/1-target/dist/codec-types-xBRj9sIm.d.mts"],"mappings":";;;;;KAIK,aAAa,QAAQ;KACrB,QAAQ,GAAG,cAAc,2BAA2B,gBAAgB,WAAW,QAAQ,MAAM;KAC7F,cAAc,cAAc,2BAA2B,gBAAgB;KACvE,KAAK,oBAAoB;EAC5B,cAAc;;KAEX,QAAQ,oBAAoB;EAC/B,iBAAiB;;KAEd,QAAQ,kBAAkB,4CAA4C;EACzE,oBAAoB;EACpB,gBAAgB;;KAEb,IAAI,oBAAoB;EAC3B,aAAa;;KAEV,OAAO,oBAAoB;EAC9B,gBAAgB;;KAEb,OAAO,4CAA4C;EACtD,mBAAmB;;KAEhB,gBAAgB,4CAA4C;EAC/D,4BAA4B;;KAEzB,kBAAkB,4CAA4C;EACjE,8BAA8B;;KAE3B,WAAW,4CAA4C;EAC1D,uBAAuB;;KAEpB,YAAY,cAAc;WACpB,cAAc;IACrB;KACC,eAAe,cAAc;WACvB,iBAAiB;IACxB;KACC,cAAc,cAAc;WACtB,iBAAiB;IACxB;WACO,aAAa;IACpB,QAAQ,GAAG,KAAK,QAAQ;KACvB,aAAa,YAAY,WAAW,YAAY,uCAAuC;KACvF,cAAc;WACR,gBAAgB,cAAc;WAC9B,aAAa,aAAa,YAAY,KAAK,YAAY;WACvD,cAAc,aAAa,YAAY,KAAK,YAAY;WACxD,gBAAgB,aAAa,YAAY,QAAQ,YAAY;WAC7D,iBAAiB,aAAa,YAAY,QAAQ,YAAY;WAC9D,YAAY,aAAa,YAAY,IAAI,YAAY;WACrD,eAAe,aAAa,YAAY,OAAO,YAAY;WAC3D,eAAe,OAAO,eAAe;WACrC,oBAAoB,WAAW,eAAe;WAC9C,yBAAyB,gBAAgB,eAAe;WACxD,2BAA2B,kBAAkB,eAAe;WAC5D,yBAAyB;;;;;UAK1B,8CAA8C;WAC7C,aAAa"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as PG_TIMESTAMP_TEMPORAL_CODEC_ID, C as PG_TEXT_CODEC_ID, D as PG_TIMESTAMP_DATE_CODEC_ID, E as PG_TIMESTAMPTZ_TEMPORAL_CODEC_ID, F as PG_UNBOUNDED_INT_CODEC_ID, I as PG_UUID_CODEC_ID, L as PG_VARBIT_CODEC_ID, M as PG_TIME_STRING_CODEC_ID, N as PG_TIME_TEMPORAL_CODEC_ID, O as PG_TIMESTAMP_INSTANT_CODEC_ID, P as PG_TSQUERY_CODEC_ID, R as PG_VARCHAR_CODEC_ID, S as PG_TEXT_ARRAY_CODEC_ID, T as PG_TIMESTAMPTZ_STRING_CODEC_ID, _ as PG_INTERVAL_STRING_CODEC_ID, a as PG_DATE_STRING_CODEC_ID, b as PG_JSON_CODEC_ID, c as PG_FLOAT4_CODEC_ID, d as PG_INET_CODEC_ID, f as PG_INT2_CODEC_ID, g as PG_INTERVAL_CODEC_ID, h as PG_INT8_NUMBER_CODEC_ID, i as PG_CHAR_CODEC_ID, j as PG_TIMETZ_CODEC_ID, k as PG_TIMESTAMP_STRING_CODEC_ID, l as PG_FLOAT8_CODEC_ID, m as PG_INT8_CODEC_ID, n as PG_BOOL_CODEC_ID, o as PG_DATE_TEMPORAL_CODEC_ID, p as PG_INT4_CODEC_ID, r as PG_BYTEA_CODEC_ID, s as PG_ENUM_CODEC_ID, t as PG_BIT_CODEC_ID, u as PG_FLOAT_CODEC_ID, v as PG_INT_CODEC_ID, w as PG_TIMESTAMPTZ_DATE_CODEC_ID, x as PG_NUMERIC_CODEC_ID, y as PG_JSONB_CODEC_ID } from "./codec-ids-D0wjQdEW-EypD_iZj.mjs";
|
|
2
|
-
import { a as postgresCodec, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-
|
|
3
|
-
import { a as errorTemporalUnavailableForDefault, c as errorTimestampTextWrongType, i as errorTemporalUnavailable, l as postgresError, o as errorTemporalUnrepresentable, r as errorTemporalNonIsoCalendar, s as errorTemporalWrongType, t as errorDateStyleNotIso } from "./errors-
|
|
4
|
-
import { A as pgJsonb, B as pgTimestampStoredText, C as pgInet, D as pgInterval, E as pgInt8, F as pgText, G as pgTsquery, H as pgTimestamptzStoredText, I as pgTextArray, J as pgVarchar, K as pgUuid, L as pgTime, M as pgNumeric, N as pgNumericParams, O as pgIntervalStoredText, P as pgPrecisionParams, Q as postgresYearText, S as pgFloat8, T as pgInt4, U as pgTimetz, V as pgTimestamptz, X as postgresIntervalFields, _ as pgDate, a as formatIsoDuration, b as pgEnumParams, c as microsFromFraction, d as pgBool, f as pgBytea, g as pgCharacterLengthParams, h as pgChar, j as pgJsonbEnumRefusal, k as pgJson, l as pgBit, n as ISO_DURATION, o as intervalFieldsOf, q as pgVarbit, r as MICROS_PER_SECOND, s as isoYearText, t as BYTEA_TEXT, u as pgBitLengthParams, w as pgInt2, x as pgFloat4, y as pgEnum, z as pgTimestamp } from "./data-types-
|
|
2
|
+
import { a as postgresCodec, r as definePostgresCodecs, t as PostgresCodecDescriptor } from "./codec-descriptor-DBeD0UlS-BfvrE-KZ.mjs";
|
|
3
|
+
import { a as errorTemporalUnavailableForDefault, c as errorTimestampTextWrongType, i as errorTemporalUnavailable, l as postgresError, o as errorTemporalUnrepresentable, r as errorTemporalNonIsoCalendar, s as errorTemporalWrongType, t as errorDateStyleNotIso } from "./errors-DG6xgXgr-Cb1XcPcb.mjs";
|
|
4
|
+
import { A as pgJsonb, B as pgTimestampStoredText, C as pgInet, D as pgInterval, E as pgInt8, F as pgText, G as pgTsquery, H as pgTimestamptzStoredText, I as pgTextArray, J as pgVarchar, K as pgUuid, L as pgTime, M as pgNumeric, N as pgNumericParams, O as pgIntervalStoredText, P as pgPrecisionParams, Q as postgresYearText, S as pgFloat8, T as pgInt4, U as pgTimetz, V as pgTimestamptz, X as postgresIntervalFields, _ as pgDate, a as formatIsoDuration, b as pgEnumParams, c as microsFromFraction, d as pgBool, f as pgBytea, g as pgCharacterLengthParams, h as pgChar, j as pgJsonbEnumRefusal, k as pgJson, l as pgBit, n as ISO_DURATION, o as intervalFieldsOf, q as pgVarbit, r as MICROS_PER_SECOND, s as isoYearText, t as BYTEA_TEXT, u as pgBitLengthParams, w as pgInt2, x as pgFloat4, y as pgEnum, z as pgTimestamp } from "./data-types-DklKHVmp-Bl-nwUa-.mjs";
|
|
5
5
|
import { t as PostgresNativeEnum } from "./postgres-native-enum-CdP3b_-R-DgG3pi5p.mjs";
|
|
6
6
|
import { CaseExpr, CastExpr, FunctionCallExpr, LiteralExpr, NullCheckExpr, SqlCharCodec, SqlFloatCodec, SqlIntCodec, SqlRawCodec, SqlTextCodec, SqlVarcharCodec, sqlCharDescriptor, sqlFloatDescriptor, sqlIntDescriptor, sqlRawDescriptor, sqlTextDescriptor, sqlVarcharDescriptor } from "@prisma/orm-family-sql/relational-core/ast";
|
|
7
7
|
import { CodecImpl, SAFE_INTEGER_BIGINT_RANGE, column, dateTimeStoredText, decimalTextBigintLiteral, decimalTextNumberLiteral, floatNumberLiteral, floatToJson, isNonFiniteText, numeralText, readJsonFloat, readJsonIntegerText, refuseJsonValue, renderTsLiteral, storedNumeralText } from "@prisma/orm-framework/components/codec";
|
|
@@ -11,7 +11,7 @@ import { sqlRawDataType } from "@prisma/orm-family-sql/contract/data-type";
|
|
|
11
11
|
import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
|
|
12
12
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
13
13
|
import { parse } from "postgres-array";
|
|
14
|
-
//#region ../../../3-targets/postgres/1-target/dist/codecs-
|
|
14
|
+
//#region ../../../3-targets/postgres/1-target/dist/codecs-BqCmavY8.mjs
|
|
15
15
|
/**
|
|
16
16
|
* A `numeric` value as its canonical decimal text. A number is written out without an exponent,
|
|
17
17
|
* because `numeric` text has no exponent syntax and `toDataTypeValue` refuses one.
|
|
@@ -422,6 +422,7 @@ const TIMESTAMPTZ_DATE = {
|
|
|
422
422
|
codecId: PG_TIMESTAMPTZ_DATE_CODEC_ID,
|
|
423
423
|
typeDescription: "timestamp with time zone",
|
|
424
424
|
stringType: "TimestamptzString",
|
|
425
|
+
finerTypes: "TimestamptzString and TimestamptzTemporal",
|
|
425
426
|
textCodecId: PG_TIMESTAMPTZ_STRING_CODEC_ID,
|
|
426
427
|
instantText: pgTimestamptzStoredText
|
|
427
428
|
};
|
|
@@ -429,6 +430,7 @@ const TIMESTAMP_DATE = {
|
|
|
429
430
|
codecId: PG_TIMESTAMP_DATE_CODEC_ID,
|
|
430
431
|
typeDescription: "timestamp, read as UTC",
|
|
431
432
|
stringType: "TimestampString",
|
|
433
|
+
finerTypes: "TimestampString and TimestampInstant",
|
|
432
434
|
textCodecId: PG_TIMESTAMP_STRING_CODEC_ID,
|
|
433
435
|
instantText: (text) => pgTimestamptzStoredText(`${pgTimestampStoredText(text)}Z`)
|
|
434
436
|
};
|
|
@@ -458,8 +460,13 @@ function decodeDate(identity, wire) {
|
|
|
458
460
|
if (date === void 0 || !isRepresentable(date)) throw invalidDate(identity);
|
|
459
461
|
return date;
|
|
460
462
|
}
|
|
461
|
-
/**
|
|
463
|
+
/** Whether stored text has nonzero digits below a millisecond, which a `Date` drops. */
|
|
464
|
+
function hasDigitsBelowAMillisecond(text) {
|
|
465
|
+
return /[1-9]/.test(/\.(\d+)/.exec(text)?.[1]?.slice(3) ?? "");
|
|
466
|
+
}
|
|
467
|
+
/** The `Date` a stored value names. A `Date` holds neither `infinity`, nor an instant before 4714-11-24 BC or after +275760-09-13, nor digits below a millisecond, so those are refused. */
|
|
462
468
|
function dateOfStoredText(identity, text) {
|
|
469
|
+
if (hasDigitsBelowAMillisecond(text)) return refuseJsonValue(identity.codecId, `an instant with no digits below a millisecond, which a Date drops: ${JSON.stringify(text)} has them, and ${identity.finerTypes} hold it`, text);
|
|
463
470
|
const instant = storedInstant(identity, text);
|
|
464
471
|
const date = instant === void 0 ? void 0 : new Date(instant);
|
|
465
472
|
if (date === void 0 || !isRepresentable(date)) return refuseJsonValue(identity.codecId, `an instant a Date holds, from 4714-11-24 BC to +275760-09-13 and not infinity or -infinity, which ${identity.textCodecId} holds`, text);
|
|
@@ -480,6 +487,7 @@ var PgTimestamptzDateCodec = class extends CodecImpl {
|
|
|
480
487
|
}
|
|
481
488
|
};
|
|
482
489
|
var PgTimestamptzDateDescriptor = class extends PostgresCodecDescriptor {
|
|
490
|
+
jsonType = "string";
|
|
483
491
|
jsonProjection(expression) {
|
|
484
492
|
return CastExpr.as(expression, "text");
|
|
485
493
|
}
|
|
@@ -511,6 +519,7 @@ var PgTimestampDateCodec = class extends CodecImpl {
|
|
|
511
519
|
}
|
|
512
520
|
};
|
|
513
521
|
var PgTimestampDateDescriptor = class extends PostgresCodecDescriptor {
|
|
522
|
+
jsonType = "string";
|
|
514
523
|
jsonProjection(expression) {
|
|
515
524
|
return CastExpr.as(expression, "text");
|
|
516
525
|
}
|
|
@@ -559,6 +568,7 @@ var PgIntervalStringCodec = class extends CodecImpl {
|
|
|
559
568
|
}
|
|
560
569
|
};
|
|
561
570
|
var PgIntervalStringDescriptor = class extends PostgresCodecDescriptor {
|
|
571
|
+
jsonType = "string";
|
|
562
572
|
jsonProjection(expression) {
|
|
563
573
|
return CastExpr.as(expression, "text");
|
|
564
574
|
}
|
|
@@ -604,6 +614,7 @@ var PgDateTemporalCodec = class extends CodecImpl {
|
|
|
604
614
|
}
|
|
605
615
|
};
|
|
606
616
|
var PgDateTemporalDescriptor = class extends PostgresCodecDescriptor {
|
|
617
|
+
jsonType = "string";
|
|
607
618
|
jsonProjection(expression) {
|
|
608
619
|
return CastExpr.as(expression, "text");
|
|
609
620
|
}
|
|
@@ -632,6 +643,7 @@ var PgTimestampTemporalCodec = class extends CodecImpl {
|
|
|
632
643
|
}
|
|
633
644
|
};
|
|
634
645
|
var PgTimestampTemporalDescriptor = class extends PostgresCodecDescriptor {
|
|
646
|
+
jsonType = "string";
|
|
635
647
|
jsonProjection(expression) {
|
|
636
648
|
return CastExpr.as(expression, "text");
|
|
637
649
|
}
|
|
@@ -663,6 +675,7 @@ var PgTimestampInstantCodec = class extends CodecImpl {
|
|
|
663
675
|
}
|
|
664
676
|
};
|
|
665
677
|
var PgTimestampInstantDescriptor = class extends PostgresCodecDescriptor {
|
|
678
|
+
jsonType = "string";
|
|
666
679
|
jsonProjection(expression) {
|
|
667
680
|
return CastExpr.as(expression, "text");
|
|
668
681
|
}
|
|
@@ -691,6 +704,7 @@ var PgTimestamptzTemporalCodec = class extends CodecImpl {
|
|
|
691
704
|
}
|
|
692
705
|
};
|
|
693
706
|
var PgTimestamptzTemporalDescriptor = class extends PostgresCodecDescriptor {
|
|
707
|
+
jsonType = "string";
|
|
694
708
|
jsonProjection(expression) {
|
|
695
709
|
return CastExpr.as(expression, "text");
|
|
696
710
|
}
|
|
@@ -718,6 +732,7 @@ var PgTimeTemporalCodec = class extends CodecImpl {
|
|
|
718
732
|
}
|
|
719
733
|
};
|
|
720
734
|
var PgTimeTemporalDescriptor = class extends PostgresCodecDescriptor {
|
|
735
|
+
jsonType = "string";
|
|
721
736
|
jsonProjection(expression) {
|
|
722
737
|
return CastExpr.as(expression, "text");
|
|
723
738
|
}
|
|
@@ -761,6 +776,7 @@ var PgDateStringCodec = class extends CodecImpl {
|
|
|
761
776
|
}
|
|
762
777
|
};
|
|
763
778
|
var PgDateStringDescriptor = class extends PostgresCodecDescriptor {
|
|
779
|
+
jsonType = "string";
|
|
764
780
|
jsonProjection(expression) {
|
|
765
781
|
return CastExpr.as(expression, "text");
|
|
766
782
|
}
|
|
@@ -800,6 +816,7 @@ var PgTimestampStringCodec = class extends CodecImpl {
|
|
|
800
816
|
}
|
|
801
817
|
};
|
|
802
818
|
var PgTimestampStringDescriptor = class extends PostgresCodecDescriptor {
|
|
819
|
+
jsonType = "string";
|
|
803
820
|
jsonProjection(expression) {
|
|
804
821
|
return CastExpr.as(expression, "text");
|
|
805
822
|
}
|
|
@@ -830,6 +847,7 @@ var PgTimestamptzStringCodec = class extends CodecImpl {
|
|
|
830
847
|
}
|
|
831
848
|
};
|
|
832
849
|
var PgTimestamptzStringDescriptor = class extends PostgresCodecDescriptor {
|
|
850
|
+
jsonType = "string";
|
|
833
851
|
jsonProjection(expression) {
|
|
834
852
|
return CastExpr.as(expression, "text");
|
|
835
853
|
}
|
|
@@ -860,6 +878,7 @@ var PgTimeStringCodec = class extends CodecImpl {
|
|
|
860
878
|
}
|
|
861
879
|
};
|
|
862
880
|
var PgTimeStringDescriptor = class extends PostgresCodecDescriptor {
|
|
881
|
+
jsonType = "string";
|
|
863
882
|
jsonProjection(expression) {
|
|
864
883
|
return CastExpr.as(expression, "text");
|
|
865
884
|
}
|
|
@@ -991,6 +1010,7 @@ var PgTextCodec = class extends CodecImpl {
|
|
|
991
1010
|
}
|
|
992
1011
|
};
|
|
993
1012
|
var PgTextDescriptor = class extends PostgresCodecDescriptor {
|
|
1013
|
+
jsonType = "string";
|
|
994
1014
|
jsonProjection(expression) {
|
|
995
1015
|
return expression;
|
|
996
1016
|
}
|
|
@@ -1052,6 +1072,7 @@ function isPgEnumParams(value) {
|
|
|
1052
1072
|
return typeof value === "object" && value !== null && !Array.isArray(value) && "typeName" in value && typeof value.typeName === "string";
|
|
1053
1073
|
}
|
|
1054
1074
|
var PgEnumDescriptor = class extends PostgresCodecDescriptor {
|
|
1075
|
+
jsonType = "string";
|
|
1055
1076
|
jsonProjection(expression) {
|
|
1056
1077
|
return expression;
|
|
1057
1078
|
}
|
|
@@ -1152,6 +1173,7 @@ var PgTextArrayCodec = class extends CodecImpl {
|
|
|
1152
1173
|
}
|
|
1153
1174
|
};
|
|
1154
1175
|
var PgTextArrayDescriptor = class extends PostgresCodecDescriptor {
|
|
1176
|
+
jsonType = "array";
|
|
1155
1177
|
jsonProjection(expression) {
|
|
1156
1178
|
return printedTextJsonProjection(expression);
|
|
1157
1179
|
}
|
|
@@ -1179,6 +1201,7 @@ var PgInt4Codec = class extends CodecImpl {
|
|
|
1179
1201
|
}
|
|
1180
1202
|
};
|
|
1181
1203
|
var PgInt4Descriptor = class extends PostgresCodecDescriptor {
|
|
1204
|
+
jsonType = "number";
|
|
1182
1205
|
jsonProjection(expression) {
|
|
1183
1206
|
return expression;
|
|
1184
1207
|
}
|
|
@@ -1214,6 +1237,7 @@ var PgInt2Codec = class extends CodecImpl {
|
|
|
1214
1237
|
}
|
|
1215
1238
|
};
|
|
1216
1239
|
var PgInt2Descriptor = class extends PostgresCodecDescriptor {
|
|
1240
|
+
jsonType = "number";
|
|
1217
1241
|
jsonProjection(expression) {
|
|
1218
1242
|
return expression;
|
|
1219
1243
|
}
|
|
@@ -1255,6 +1279,7 @@ var PgInt8Codec = class extends CodecImpl {
|
|
|
1255
1279
|
}
|
|
1256
1280
|
};
|
|
1257
1281
|
var PgInt8Descriptor = class extends PostgresCodecDescriptor {
|
|
1282
|
+
jsonType = "number";
|
|
1258
1283
|
jsonProjection(expression) {
|
|
1259
1284
|
return decimalTextJsonProjection(expression);
|
|
1260
1285
|
}
|
|
@@ -1298,6 +1323,7 @@ var PgInt8NumberCodec = class extends CodecImpl {
|
|
|
1298
1323
|
}
|
|
1299
1324
|
};
|
|
1300
1325
|
var PgInt8NumberDescriptor = class extends PostgresCodecDescriptor {
|
|
1326
|
+
jsonType = "number";
|
|
1301
1327
|
jsonProjection(expression) {
|
|
1302
1328
|
return decimalTextJsonProjection(expression);
|
|
1303
1329
|
}
|
|
@@ -1333,6 +1359,7 @@ var PgFloat4Codec = class extends CodecImpl {
|
|
|
1333
1359
|
}
|
|
1334
1360
|
};
|
|
1335
1361
|
var PgFloat4Descriptor = class extends PostgresCodecDescriptor {
|
|
1362
|
+
jsonType = "number";
|
|
1336
1363
|
jsonProjection(expression) {
|
|
1337
1364
|
return expression;
|
|
1338
1365
|
}
|
|
@@ -1368,6 +1395,7 @@ var PgFloat8Codec = class extends CodecImpl {
|
|
|
1368
1395
|
}
|
|
1369
1396
|
};
|
|
1370
1397
|
var PgFloat8Descriptor = class extends PostgresCodecDescriptor {
|
|
1398
|
+
jsonType = "number";
|
|
1371
1399
|
jsonProjection(expression) {
|
|
1372
1400
|
return expression;
|
|
1373
1401
|
}
|
|
@@ -1403,6 +1431,7 @@ var PgBoolCodec = class extends CodecImpl {
|
|
|
1403
1431
|
}
|
|
1404
1432
|
};
|
|
1405
1433
|
var PgBoolDescriptor = class extends PostgresCodecDescriptor {
|
|
1434
|
+
jsonType = "boolean";
|
|
1406
1435
|
jsonProjection(expression) {
|
|
1407
1436
|
return expression;
|
|
1408
1437
|
}
|
|
@@ -1434,6 +1463,7 @@ var PgNumericCodec = class extends CodecImpl {
|
|
|
1434
1463
|
}
|
|
1435
1464
|
};
|
|
1436
1465
|
var PgNumericDescriptor = class extends PostgresCodecDescriptor {
|
|
1466
|
+
jsonType = "string";
|
|
1437
1467
|
jsonProjection(expression) {
|
|
1438
1468
|
return decimalTextJsonProjection(expression);
|
|
1439
1469
|
}
|
|
@@ -1474,6 +1504,7 @@ var PgUnboundedIntCodec = class extends CodecImpl {
|
|
|
1474
1504
|
}
|
|
1475
1505
|
};
|
|
1476
1506
|
var PgUnboundedIntDescriptor = class extends PostgresCodecDescriptor {
|
|
1507
|
+
jsonType = "number";
|
|
1477
1508
|
jsonProjection(expression) {
|
|
1478
1509
|
return decimalTextJsonProjection(expression);
|
|
1479
1510
|
}
|
|
@@ -1514,6 +1545,7 @@ var PgTimetzCodec = class extends CodecImpl {
|
|
|
1514
1545
|
}
|
|
1515
1546
|
};
|
|
1516
1547
|
var PgTimetzDescriptor = class extends PostgresCodecDescriptor {
|
|
1548
|
+
jsonType = "string";
|
|
1517
1549
|
jsonProjection(expression) {
|
|
1518
1550
|
return expression;
|
|
1519
1551
|
}
|
|
@@ -1545,6 +1577,7 @@ var PgBitCodec = class extends CodecImpl {
|
|
|
1545
1577
|
}
|
|
1546
1578
|
};
|
|
1547
1579
|
var PgBitDescriptor = class extends PostgresCodecDescriptor {
|
|
1580
|
+
jsonType = "string";
|
|
1548
1581
|
jsonProjection(expression) {
|
|
1549
1582
|
return expression;
|
|
1550
1583
|
}
|
|
@@ -1576,6 +1609,7 @@ var PgVarbitCodec = class extends CodecImpl {
|
|
|
1576
1609
|
}
|
|
1577
1610
|
};
|
|
1578
1611
|
var PgVarbitDescriptor = class extends PostgresCodecDescriptor {
|
|
1612
|
+
jsonType = "string";
|
|
1579
1613
|
jsonProjection(expression) {
|
|
1580
1614
|
return expression;
|
|
1581
1615
|
}
|
|
@@ -1607,6 +1641,7 @@ var PgByteaCodec = class extends CodecImpl {
|
|
|
1607
1641
|
}
|
|
1608
1642
|
};
|
|
1609
1643
|
var PgByteaDescriptor = class extends PostgresCodecDescriptor {
|
|
1644
|
+
jsonType = "object";
|
|
1610
1645
|
jsonProjection(expression) {
|
|
1611
1646
|
return printedTextJsonProjection(expression);
|
|
1612
1647
|
}
|
|
@@ -1635,6 +1670,7 @@ var PgUuidCodec = class extends CodecImpl {
|
|
|
1635
1670
|
}
|
|
1636
1671
|
};
|
|
1637
1672
|
var PgUuidDescriptor = class extends PostgresCodecDescriptor {
|
|
1673
|
+
jsonType = "string";
|
|
1638
1674
|
jsonProjection(expression) {
|
|
1639
1675
|
return expression;
|
|
1640
1676
|
}
|
|
@@ -1666,6 +1702,7 @@ var PgInetCodec = class extends CodecImpl {
|
|
|
1666
1702
|
}
|
|
1667
1703
|
};
|
|
1668
1704
|
var PgInetDescriptor = class extends PostgresCodecDescriptor {
|
|
1705
|
+
jsonType = "string";
|
|
1669
1706
|
jsonProjection(expression) {
|
|
1670
1707
|
return expression;
|
|
1671
1708
|
}
|
|
@@ -1703,6 +1740,7 @@ var PgTsqueryCodec = class extends CodecImpl {
|
|
|
1703
1740
|
* column, and no traits, because comparing or ordering queries means nothing to an application.
|
|
1704
1741
|
*/
|
|
1705
1742
|
var PgTsqueryDescriptor = class extends PostgresCodecDescriptor {
|
|
1743
|
+
jsonType = "string";
|
|
1706
1744
|
jsonProjection(expression) {
|
|
1707
1745
|
return expression;
|
|
1708
1746
|
}
|
|
@@ -1748,6 +1786,7 @@ var PgIntervalCodec = class extends CodecImpl {
|
|
|
1748
1786
|
}
|
|
1749
1787
|
};
|
|
1750
1788
|
var PgIntervalDescriptor = class extends PostgresCodecDescriptor {
|
|
1789
|
+
jsonType = "object";
|
|
1751
1790
|
jsonProjection(expression) {
|
|
1752
1791
|
return printedTextJsonProjection(expression);
|
|
1753
1792
|
}
|
|
@@ -1777,6 +1816,7 @@ var PgJsonCodec = class extends CodecImpl {
|
|
|
1777
1816
|
}
|
|
1778
1817
|
};
|
|
1779
1818
|
var PgJsonDescriptor = class extends PostgresCodecDescriptor {
|
|
1819
|
+
jsonType = "any";
|
|
1780
1820
|
jsonProjection(expression) {
|
|
1781
1821
|
return printedTextJsonProjection(expression);
|
|
1782
1822
|
}
|
|
@@ -1806,6 +1846,7 @@ var PgJsonbCodec = class extends CodecImpl {
|
|
|
1806
1846
|
}
|
|
1807
1847
|
};
|
|
1808
1848
|
var PgJsonbDescriptor = class extends PostgresCodecDescriptor {
|
|
1849
|
+
jsonType = "any";
|
|
1809
1850
|
jsonProjection(expression) {
|
|
1810
1851
|
return printedTextJsonProjection(expression);
|
|
1811
1852
|
}
|
|
@@ -1831,6 +1872,7 @@ var PgFloatCodec = class extends SqlFloatCodec {
|
|
|
1831
1872
|
}
|
|
1832
1873
|
};
|
|
1833
1874
|
var PgCharDescriptor = class extends PostgresCodecDescriptor {
|
|
1875
|
+
jsonType = "string";
|
|
1834
1876
|
jsonProjection(expression) {
|
|
1835
1877
|
return unpaddedCharJsonProjection(expression);
|
|
1836
1878
|
}
|
|
@@ -1848,6 +1890,7 @@ var PgCharDescriptor = class extends PostgresCodecDescriptor {
|
|
|
1848
1890
|
const pgCharDescriptor = new PgCharDescriptor();
|
|
1849
1891
|
const pgCharColumn = (params = {}) => column(pgCharDescriptor.factory(params), pgCharDescriptor.codecId, params);
|
|
1850
1892
|
var PgVarcharDescriptor = class extends PostgresCodecDescriptor {
|
|
1893
|
+
jsonType = "string";
|
|
1851
1894
|
jsonProjection(expression) {
|
|
1852
1895
|
return expression;
|
|
1853
1896
|
}
|
|
@@ -1865,6 +1908,7 @@ var PgVarcharDescriptor = class extends PostgresCodecDescriptor {
|
|
|
1865
1908
|
const pgVarcharDescriptor = new PgVarcharDescriptor();
|
|
1866
1909
|
const pgVarcharColumn = (params = {}) => column(pgVarcharDescriptor.factory(params), pgVarcharDescriptor.codecId, params);
|
|
1867
1910
|
var PgIntDescriptor = class extends PostgresCodecDescriptor {
|
|
1911
|
+
jsonType = "number";
|
|
1868
1912
|
jsonProjection(expression) {
|
|
1869
1913
|
return expression;
|
|
1870
1914
|
}
|
|
@@ -1882,6 +1926,7 @@ var PgIntDescriptor = class extends PostgresCodecDescriptor {
|
|
|
1882
1926
|
const pgIntDescriptor = new PgIntDescriptor();
|
|
1883
1927
|
const pgIntColumn = () => column(pgIntDescriptor.factory(), pgIntDescriptor.codecId, void 0);
|
|
1884
1928
|
var PgFloatDescriptor = class extends PostgresCodecDescriptor {
|
|
1929
|
+
jsonType = "number";
|
|
1885
1930
|
jsonProjection(expression) {
|
|
1886
1931
|
return expression;
|
|
1887
1932
|
}
|
|
@@ -1947,4 +1992,4 @@ const codecDescriptors = definePostgresCodecs([
|
|
|
1947
1992
|
//#endregion
|
|
1948
1993
|
export { pgTextColumn as A, postgresQualifyColumnType as B, pgIntColumn as C, pgJsonColumn as D, pgIntervalStringDescriptor as E, pgTimetzColumn as F, setFallbackTemporal as H, pgUnboundedIntColumn as I, pgUuidColumn as L, pgTimestampDateDescriptor as M, pgTimestamptzDateColumn as N, pgJsonbColumn as O, pgTimestamptzDateDescriptor as P, pgVarbitColumn as R, pgInt8NumberColumn as S, pgIntervalStringColumn as T, requireTemporal as V, pgFloatColumn as _, PgTimestamptzDateCodec as a, pgInt4Column as b, decodePostgresListText as c, pgBitColumn as d, pgBoolColumn as f, pgFloat8Column as g, pgFloat4Column as h, PgTimestampDateDescriptor as i, pgTimestampDateColumn as j, pgNumericColumn as k, isPgEnumParams as l, pgEnumDescriptor as m, PgIntervalStringDescriptor as n, PgTimestamptzDateDescriptor as o, pgCharColumn as p, PgTimestampDateCodec as r, codecDescriptors as s, PgIntervalStringCodec as t, parsePostgresListText as u, pgInetColumn as v, pgIntervalColumn as w, pgInt8Column as x, pgInt2Column as y, pgVarcharColumn as z };
|
|
1949
1994
|
|
|
1950
|
-
//# sourceMappingURL=codecs-
|
|
1995
|
+
//# sourceMappingURL=codecs-BqCmavY8-CC-ZbbTA.mjs.map
|