@pgsql/utils 17.8.18 → 18.0.0
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/asts.d.ts +6 -3
- package/asts.js +66 -16
- package/esm/asts.js +66 -16
- package/esm/runtime-schema.js +275 -28
- package/esm/wrapped.js +76 -20
- package/index.d.ts +20 -8
- package/package.json +4 -4
- package/runtime-schema.js +275 -28
- package/wrapped.d.ts +16 -7
- package/wrapped.js +76 -20
package/esm/wrapped.js
CHANGED
|
@@ -158,6 +158,7 @@ export default {
|
|
|
158
158
|
_o.set(_j, "varcollid", _p?.varcollid);
|
|
159
159
|
_o.set(_j, "varnullingrels", _p?.varnullingrels);
|
|
160
160
|
_o.set(_j, "varlevelsup", _p?.varlevelsup);
|
|
161
|
+
_o.set(_j, "varreturningtype", _p?.varreturningtype);
|
|
161
162
|
_o.set(_j, "location", _p?.location);
|
|
162
163
|
return {
|
|
163
164
|
Var: _j
|
|
@@ -526,6 +527,8 @@ export default {
|
|
|
526
527
|
_o.set(_j, "element_typeid", _p?.element_typeid);
|
|
527
528
|
_o.set(_j, "elements", _p?.elements);
|
|
528
529
|
_o.set(_j, "multidims", _p?.multidims);
|
|
530
|
+
_o.set(_j, "list_start", _p?.list_start);
|
|
531
|
+
_o.set(_j, "list_end", _p?.list_end);
|
|
529
532
|
_o.set(_j, "location", _p?.location);
|
|
530
533
|
return {
|
|
531
534
|
ArrayExpr: _j
|
|
@@ -546,7 +549,7 @@ export default {
|
|
|
546
549
|
rowCompareExpr(_p) {
|
|
547
550
|
const _j = {};
|
|
548
551
|
_o.set(_j, "xpr", _p?.xpr);
|
|
549
|
-
_o.set(_j, "
|
|
552
|
+
_o.set(_j, "cmptype", _p?.cmptype);
|
|
550
553
|
_o.set(_j, "opnos", _p?.opnos);
|
|
551
554
|
_o.set(_j, "opfamilies", _p?.opfamilies);
|
|
552
555
|
_o.set(_j, "inputcollids", _p?.inputcollids);
|
|
@@ -819,6 +822,16 @@ export default {
|
|
|
819
822
|
InferenceElem: _j
|
|
820
823
|
};
|
|
821
824
|
},
|
|
825
|
+
returningExpr(_p) {
|
|
826
|
+
const _j = {};
|
|
827
|
+
_o.set(_j, "xpr", _p?.xpr);
|
|
828
|
+
_o.set(_j, "retlevelsup", _p?.retlevelsup);
|
|
829
|
+
_o.set(_j, "retold", _p?.retold);
|
|
830
|
+
_o.set(_j, "retexpr", _p?.retexpr);
|
|
831
|
+
return {
|
|
832
|
+
ReturningExpr: _j
|
|
833
|
+
};
|
|
834
|
+
},
|
|
822
835
|
targetEntry(_p) {
|
|
823
836
|
const _j = {};
|
|
824
837
|
_o.set(_j, "xpr", _p?.xpr);
|
|
@@ -893,6 +906,7 @@ export default {
|
|
|
893
906
|
_o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE);
|
|
894
907
|
_o.set(_j, "hasForUpdate", _p?.hasForUpdate);
|
|
895
908
|
_o.set(_j, "hasRowSecurity", _p?.hasRowSecurity);
|
|
909
|
+
_o.set(_j, "hasGroupRTE", _p?.hasGroupRTE);
|
|
896
910
|
_o.set(_j, "isReturn", _p?.isReturn);
|
|
897
911
|
_o.set(_j, "cteList", _p?.cteList);
|
|
898
912
|
_o.set(_j, "rtable", _p?.rtable);
|
|
@@ -904,6 +918,8 @@ export default {
|
|
|
904
918
|
_o.set(_j, "targetList", _p?.targetList);
|
|
905
919
|
_o.set(_j, "override", _p?.override);
|
|
906
920
|
_o.set(_j, "onConflict", _p?.onConflict);
|
|
921
|
+
_o.set(_j, "returningOldAlias", _p?.returningOldAlias);
|
|
922
|
+
_o.set(_j, "returningNewAlias", _p?.returningNewAlias);
|
|
907
923
|
_o.set(_j, "returningList", _p?.returningList);
|
|
908
924
|
_o.set(_j, "groupClause", _p?.groupClause);
|
|
909
925
|
_o.set(_j, "groupDistinct", _p?.groupDistinct);
|
|
@@ -961,6 +977,8 @@ export default {
|
|
|
961
977
|
_o.set(_j, "name", _p?.name);
|
|
962
978
|
_o.set(_j, "lexpr", _p?.lexpr);
|
|
963
979
|
_o.set(_j, "rexpr", _p?.rexpr);
|
|
980
|
+
_o.set(_j, "rexpr_list_start", _p?.rexpr_list_start);
|
|
981
|
+
_o.set(_j, "rexpr_list_end", _p?.rexpr_list_end);
|
|
964
982
|
_o.set(_j, "location", _p?.location);
|
|
965
983
|
return {
|
|
966
984
|
A_Expr: _j
|
|
@@ -1036,6 +1054,8 @@ export default {
|
|
|
1036
1054
|
aArrayExpr(_p) {
|
|
1037
1055
|
const _j = {};
|
|
1038
1056
|
_o.set(_j, "elements", _p?.elements);
|
|
1057
|
+
_o.set(_j, "list_start", _p?.list_start);
|
|
1058
|
+
_o.set(_j, "list_end", _p?.list_end);
|
|
1039
1059
|
_o.set(_j, "location", _p?.location);
|
|
1040
1060
|
return {
|
|
1041
1061
|
A_ArrayExpr: _j
|
|
@@ -1265,12 +1285,6 @@ export default {
|
|
|
1265
1285
|
PartitionRangeDatum: _j
|
|
1266
1286
|
};
|
|
1267
1287
|
},
|
|
1268
|
-
singlePartitionSpec(_p) {
|
|
1269
|
-
const _j = {};
|
|
1270
|
-
return {
|
|
1271
|
-
SinglePartitionSpec: _j
|
|
1272
|
-
};
|
|
1273
|
-
},
|
|
1274
1288
|
partitionCmd(_p) {
|
|
1275
1289
|
const _j = {};
|
|
1276
1290
|
_o.set(_j, "name", _p?.name);
|
|
@@ -1311,6 +1325,7 @@ export default {
|
|
|
1311
1325
|
_o.set(_j, "colcollations", _p?.colcollations);
|
|
1312
1326
|
_o.set(_j, "enrname", _p?.enrname);
|
|
1313
1327
|
_o.set(_j, "enrtuples", _p?.enrtuples);
|
|
1328
|
+
_o.set(_j, "groupexprs", _p?.groupexprs);
|
|
1314
1329
|
_o.set(_j, "lateral", _p?.lateral);
|
|
1315
1330
|
_o.set(_j, "inFromCl", _p?.inFromCl);
|
|
1316
1331
|
_o.set(_j, "securityQuals", _p?.securityQuals);
|
|
@@ -1369,6 +1384,7 @@ export default {
|
|
|
1369
1384
|
_o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef);
|
|
1370
1385
|
_o.set(_j, "eqop", _p?.eqop);
|
|
1371
1386
|
_o.set(_j, "sortop", _p?.sortop);
|
|
1387
|
+
_o.set(_j, "reverse_sort", _p?.reverse_sort);
|
|
1372
1388
|
_o.set(_j, "nulls_first", _p?.nulls_first);
|
|
1373
1389
|
_o.set(_j, "hashable", _p?.hashable);
|
|
1374
1390
|
return {
|
|
@@ -1501,6 +1517,23 @@ export default {
|
|
|
1501
1517
|
MergeWhenClause: _j
|
|
1502
1518
|
};
|
|
1503
1519
|
},
|
|
1520
|
+
returningOption(_p) {
|
|
1521
|
+
const _j = {};
|
|
1522
|
+
_o.set(_j, "option", _p?.option);
|
|
1523
|
+
_o.set(_j, "value", _p?.value);
|
|
1524
|
+
_o.set(_j, "location", _p?.location);
|
|
1525
|
+
return {
|
|
1526
|
+
ReturningOption: _j
|
|
1527
|
+
};
|
|
1528
|
+
},
|
|
1529
|
+
returningClause(_p) {
|
|
1530
|
+
const _j = {};
|
|
1531
|
+
_o.set(_j, "options", _p?.options);
|
|
1532
|
+
_o.set(_j, "exprs", _p?.exprs);
|
|
1533
|
+
return {
|
|
1534
|
+
ReturningClause: _j
|
|
1535
|
+
};
|
|
1536
|
+
},
|
|
1504
1537
|
triggerTransition(_p) {
|
|
1505
1538
|
const _j = {};
|
|
1506
1539
|
_o.set(_j, "name", _p?.name);
|
|
@@ -1697,7 +1730,7 @@ export default {
|
|
|
1697
1730
|
_o.set(_j, "cols", _p?.cols);
|
|
1698
1731
|
_o.set(_j, "selectStmt", _p?.selectStmt);
|
|
1699
1732
|
_o.set(_j, "onConflictClause", _p?.onConflictClause);
|
|
1700
|
-
_o.set(_j, "
|
|
1733
|
+
_o.set(_j, "returningClause", _p?.returningClause);
|
|
1701
1734
|
_o.set(_j, "withClause", _p?.withClause);
|
|
1702
1735
|
_o.set(_j, "override", _p?.override);
|
|
1703
1736
|
return {
|
|
@@ -1709,7 +1742,7 @@ export default {
|
|
|
1709
1742
|
_o.set(_j, "relation", _p?.relation);
|
|
1710
1743
|
_o.set(_j, "usingClause", _p?.usingClause);
|
|
1711
1744
|
_o.set(_j, "whereClause", _p?.whereClause);
|
|
1712
|
-
_o.set(_j, "
|
|
1745
|
+
_o.set(_j, "returningClause", _p?.returningClause);
|
|
1713
1746
|
_o.set(_j, "withClause", _p?.withClause);
|
|
1714
1747
|
return {
|
|
1715
1748
|
DeleteStmt: _j
|
|
@@ -1721,7 +1754,7 @@ export default {
|
|
|
1721
1754
|
_o.set(_j, "targetList", _p?.targetList);
|
|
1722
1755
|
_o.set(_j, "whereClause", _p?.whereClause);
|
|
1723
1756
|
_o.set(_j, "fromClause", _p?.fromClause);
|
|
1724
|
-
_o.set(_j, "
|
|
1757
|
+
_o.set(_j, "returningClause", _p?.returningClause);
|
|
1725
1758
|
_o.set(_j, "withClause", _p?.withClause);
|
|
1726
1759
|
return {
|
|
1727
1760
|
UpdateStmt: _j
|
|
@@ -1733,7 +1766,7 @@ export default {
|
|
|
1733
1766
|
_o.set(_j, "sourceRelation", _p?.sourceRelation);
|
|
1734
1767
|
_o.set(_j, "joinCondition", _p?.joinCondition);
|
|
1735
1768
|
_o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses);
|
|
1736
|
-
_o.set(_j, "
|
|
1769
|
+
_o.set(_j, "returningClause", _p?.returningClause);
|
|
1737
1770
|
_o.set(_j, "withClause", _p?.withClause);
|
|
1738
1771
|
return {
|
|
1739
1772
|
MergeStmt: _j
|
|
@@ -1817,14 +1850,6 @@ export default {
|
|
|
1817
1850
|
AlterTableStmt: _j
|
|
1818
1851
|
};
|
|
1819
1852
|
},
|
|
1820
|
-
replicaIdentityStmt(_p) {
|
|
1821
|
-
const _j = {};
|
|
1822
|
-
_o.set(_j, "identity_type", _p?.identity_type);
|
|
1823
|
-
_o.set(_j, "name", _p?.name);
|
|
1824
|
-
return {
|
|
1825
|
-
ReplicaIdentityStmt: _j
|
|
1826
|
-
};
|
|
1827
|
-
},
|
|
1828
1853
|
alterTableCmd(_p) {
|
|
1829
1854
|
const _j = {};
|
|
1830
1855
|
_o.set(_j, "subtype", _p?.subtype);
|
|
@@ -1839,6 +1864,28 @@ export default {
|
|
|
1839
1864
|
AlterTableCmd: _j
|
|
1840
1865
|
};
|
|
1841
1866
|
},
|
|
1867
|
+
atAlterConstraint(_p) {
|
|
1868
|
+
const _j = {};
|
|
1869
|
+
_o.set(_j, "conname", _p?.conname);
|
|
1870
|
+
_o.set(_j, "alterEnforceability", _p?.alterEnforceability);
|
|
1871
|
+
_o.set(_j, "is_enforced", _p?.is_enforced);
|
|
1872
|
+
_o.set(_j, "alterDeferrability", _p?.alterDeferrability);
|
|
1873
|
+
_o.set(_j, "deferrable", _p?.deferrable);
|
|
1874
|
+
_o.set(_j, "initdeferred", _p?.initdeferred);
|
|
1875
|
+
_o.set(_j, "alterInheritability", _p?.alterInheritability);
|
|
1876
|
+
_o.set(_j, "noinherit", _p?.noinherit);
|
|
1877
|
+
return {
|
|
1878
|
+
ATAlterConstraint: _j
|
|
1879
|
+
};
|
|
1880
|
+
},
|
|
1881
|
+
replicaIdentityStmt(_p) {
|
|
1882
|
+
const _j = {};
|
|
1883
|
+
_o.set(_j, "identity_type", _p?.identity_type);
|
|
1884
|
+
_o.set(_j, "name", _p?.name);
|
|
1885
|
+
return {
|
|
1886
|
+
ReplicaIdentityStmt: _j
|
|
1887
|
+
};
|
|
1888
|
+
},
|
|
1842
1889
|
alterCollationStmt(_p) {
|
|
1843
1890
|
const _j = {};
|
|
1844
1891
|
_o.set(_j, "collname", _p?.collname);
|
|
@@ -1930,7 +1977,9 @@ export default {
|
|
|
1930
1977
|
_o.set(_j, "kind", _p?.kind);
|
|
1931
1978
|
_o.set(_j, "name", _p?.name);
|
|
1932
1979
|
_o.set(_j, "args", _p?.args);
|
|
1980
|
+
_o.set(_j, "jumble_args", _p?.jumble_args);
|
|
1933
1981
|
_o.set(_j, "is_local", _p?.is_local);
|
|
1982
|
+
_o.set(_j, "location", _p?.location);
|
|
1934
1983
|
return {
|
|
1935
1984
|
VariableSetStmt: _j
|
|
1936
1985
|
};
|
|
@@ -1951,6 +2000,7 @@ export default {
|
|
|
1951
2000
|
_o.set(_j, "partspec", _p?.partspec);
|
|
1952
2001
|
_o.set(_j, "ofTypename", _p?.ofTypename);
|
|
1953
2002
|
_o.set(_j, "constraints", _p?.constraints);
|
|
2003
|
+
_o.set(_j, "nnconstraints", _p?.nnconstraints);
|
|
1954
2004
|
_o.set(_j, "options", _p?.options);
|
|
1955
2005
|
_o.set(_j, "oncommit", _p?.oncommit);
|
|
1956
2006
|
_o.set(_j, "tablespacename", _p?.tablespacename);
|
|
@@ -1966,15 +2016,17 @@ export default {
|
|
|
1966
2016
|
_o.set(_j, "conname", _p?.conname);
|
|
1967
2017
|
_o.set(_j, "deferrable", _p?.deferrable);
|
|
1968
2018
|
_o.set(_j, "initdeferred", _p?.initdeferred);
|
|
2019
|
+
_o.set(_j, "is_enforced", _p?.is_enforced);
|
|
1969
2020
|
_o.set(_j, "skip_validation", _p?.skip_validation);
|
|
1970
2021
|
_o.set(_j, "initially_valid", _p?.initially_valid);
|
|
1971
2022
|
_o.set(_j, "is_no_inherit", _p?.is_no_inherit);
|
|
1972
2023
|
_o.set(_j, "raw_expr", _p?.raw_expr);
|
|
1973
2024
|
_o.set(_j, "cooked_expr", _p?.cooked_expr);
|
|
1974
2025
|
_o.set(_j, "generated_when", _p?.generated_when);
|
|
1975
|
-
_o.set(_j, "
|
|
2026
|
+
_o.set(_j, "generated_kind", _p?.generated_kind);
|
|
1976
2027
|
_o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct);
|
|
1977
2028
|
_o.set(_j, "keys", _p?.keys);
|
|
2029
|
+
_o.set(_j, "without_overlaps", _p?.without_overlaps);
|
|
1978
2030
|
_o.set(_j, "including", _p?.including);
|
|
1979
2031
|
_o.set(_j, "exclusions", _p?.exclusions);
|
|
1980
2032
|
_o.set(_j, "options", _p?.options);
|
|
@@ -1986,6 +2038,8 @@ export default {
|
|
|
1986
2038
|
_o.set(_j, "pktable", _p?.pktable);
|
|
1987
2039
|
_o.set(_j, "fk_attrs", _p?.fk_attrs);
|
|
1988
2040
|
_o.set(_j, "pk_attrs", _p?.pk_attrs);
|
|
2041
|
+
_o.set(_j, "fk_with_period", _p?.fk_with_period);
|
|
2042
|
+
_o.set(_j, "pk_with_period", _p?.pk_with_period);
|
|
1989
2043
|
_o.set(_j, "fk_matchtype", _p?.fk_matchtype);
|
|
1990
2044
|
_o.set(_j, "fk_upd_action", _p?.fk_upd_action);
|
|
1991
2045
|
_o.set(_j, "fk_del_action", _p?.fk_del_action);
|
|
@@ -2441,6 +2495,7 @@ export default {
|
|
|
2441
2495
|
_o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct);
|
|
2442
2496
|
_o.set(_j, "primary", _p?.primary);
|
|
2443
2497
|
_o.set(_j, "isconstraint", _p?.isconstraint);
|
|
2498
|
+
_o.set(_j, "iswithoutoverlaps", _p?.iswithoutoverlaps);
|
|
2444
2499
|
_o.set(_j, "deferrable", _p?.deferrable);
|
|
2445
2500
|
_o.set(_j, "initdeferred", _p?.initdeferred);
|
|
2446
2501
|
_o.set(_j, "transformed", _p?.transformed);
|
|
@@ -2500,6 +2555,7 @@ export default {
|
|
|
2500
2555
|
_o.set(_j, "argType", _p?.argType);
|
|
2501
2556
|
_o.set(_j, "mode", _p?.mode);
|
|
2502
2557
|
_o.set(_j, "defexpr", _p?.defexpr);
|
|
2558
|
+
_o.set(_j, "location", _p?.location);
|
|
2503
2559
|
return {
|
|
2504
2560
|
FunctionParameter: _j
|
|
2505
2561
|
};
|
package/index.d.ts
CHANGED
|
@@ -211,6 +211,9 @@ declare const _default: {
|
|
|
211
211
|
inferenceElem(_p?: import("@pgsql/types").InferenceElem): {
|
|
212
212
|
InferenceElem: import("@pgsql/types").InferenceElem;
|
|
213
213
|
};
|
|
214
|
+
returningExpr(_p?: import("@pgsql/types").ReturningExpr): {
|
|
215
|
+
ReturningExpr: import("@pgsql/types").ReturningExpr;
|
|
216
|
+
};
|
|
214
217
|
targetEntry(_p?: import("@pgsql/types").TargetEntry): {
|
|
215
218
|
TargetEntry: import("@pgsql/types").TargetEntry;
|
|
216
219
|
};
|
|
@@ -322,9 +325,6 @@ declare const _default: {
|
|
|
322
325
|
partitionRangeDatum(_p?: import("@pgsql/types").PartitionRangeDatum): {
|
|
323
326
|
PartitionRangeDatum: import("@pgsql/types").PartitionRangeDatum;
|
|
324
327
|
};
|
|
325
|
-
singlePartitionSpec(_p?: import("@pgsql/types").SinglePartitionSpec): {
|
|
326
|
-
SinglePartitionSpec: import("@pgsql/types").SinglePartitionSpec;
|
|
327
|
-
};
|
|
328
328
|
partitionCmd(_p?: import("@pgsql/types").PartitionCmd): {
|
|
329
329
|
PartitionCmd: import("@pgsql/types").PartitionCmd;
|
|
330
330
|
};
|
|
@@ -376,6 +376,12 @@ declare const _default: {
|
|
|
376
376
|
mergeWhenClause(_p?: import("@pgsql/types").MergeWhenClause): {
|
|
377
377
|
MergeWhenClause: import("@pgsql/types").MergeWhenClause;
|
|
378
378
|
};
|
|
379
|
+
returningOption(_p?: import("@pgsql/types").ReturningOption): {
|
|
380
|
+
ReturningOption: import("@pgsql/types").ReturningOption;
|
|
381
|
+
};
|
|
382
|
+
returningClause(_p?: import("@pgsql/types").ReturningClause): {
|
|
383
|
+
ReturningClause: import("@pgsql/types").ReturningClause;
|
|
384
|
+
};
|
|
379
385
|
triggerTransition(_p?: import("@pgsql/types").TriggerTransition): {
|
|
380
386
|
TriggerTransition: import("@pgsql/types").TriggerTransition;
|
|
381
387
|
};
|
|
@@ -460,12 +466,15 @@ declare const _default: {
|
|
|
460
466
|
alterTableStmt(_p?: import("@pgsql/types").AlterTableStmt): {
|
|
461
467
|
AlterTableStmt: import("@pgsql/types").AlterTableStmt;
|
|
462
468
|
};
|
|
463
|
-
replicaIdentityStmt(_p?: import("@pgsql/types").ReplicaIdentityStmt): {
|
|
464
|
-
ReplicaIdentityStmt: import("@pgsql/types").ReplicaIdentityStmt;
|
|
465
|
-
};
|
|
466
469
|
alterTableCmd(_p?: import("@pgsql/types").AlterTableCmd): {
|
|
467
470
|
AlterTableCmd: import("@pgsql/types").AlterTableCmd;
|
|
468
471
|
};
|
|
472
|
+
atAlterConstraint(_p?: import("@pgsql/types").ATAlterConstraint): {
|
|
473
|
+
ATAlterConstraint: import("@pgsql/types").ATAlterConstraint;
|
|
474
|
+
};
|
|
475
|
+
replicaIdentityStmt(_p?: import("@pgsql/types").ReplicaIdentityStmt): {
|
|
476
|
+
ReplicaIdentityStmt: import("@pgsql/types").ReplicaIdentityStmt;
|
|
477
|
+
};
|
|
469
478
|
alterCollationStmt(_p?: import("@pgsql/types").AlterCollationStmt): {
|
|
470
479
|
AlterCollationStmt: import("@pgsql/types").AlterCollationStmt;
|
|
471
480
|
};
|
|
@@ -888,6 +897,7 @@ declare const _default: {
|
|
|
888
897
|
currentOfExpr(_p?: import("@pgsql/types").CurrentOfExpr): import("@pgsql/types").CurrentOfExpr;
|
|
889
898
|
nextValueExpr(_p?: import("@pgsql/types").NextValueExpr): import("@pgsql/types").NextValueExpr;
|
|
890
899
|
inferenceElem(_p?: import("@pgsql/types").InferenceElem): import("@pgsql/types").InferenceElem;
|
|
900
|
+
returningExpr(_p?: import("@pgsql/types").ReturningExpr): import("@pgsql/types").ReturningExpr;
|
|
891
901
|
targetEntry(_p?: import("@pgsql/types").TargetEntry): import("@pgsql/types").TargetEntry;
|
|
892
902
|
rangeTblRef(_p?: import("@pgsql/types").RangeTblRef): import("@pgsql/types").RangeTblRef;
|
|
893
903
|
joinExpr(_p?: import("@pgsql/types").JoinExpr): import("@pgsql/types").JoinExpr;
|
|
@@ -925,7 +935,6 @@ declare const _default: {
|
|
|
925
935
|
partitionSpec(_p?: import("@pgsql/types").PartitionSpec): import("@pgsql/types").PartitionSpec;
|
|
926
936
|
partitionBoundSpec(_p?: import("@pgsql/types").PartitionBoundSpec): import("@pgsql/types").PartitionBoundSpec;
|
|
927
937
|
partitionRangeDatum(_p?: import("@pgsql/types").PartitionRangeDatum): import("@pgsql/types").PartitionRangeDatum;
|
|
928
|
-
singlePartitionSpec(_p?: import("@pgsql/types").SinglePartitionSpec): import("@pgsql/types").SinglePartitionSpec;
|
|
929
938
|
partitionCmd(_p?: import("@pgsql/types").PartitionCmd): import("@pgsql/types").PartitionCmd;
|
|
930
939
|
rangeTblEntry(_p?: import("@pgsql/types").RangeTblEntry): import("@pgsql/types").RangeTblEntry;
|
|
931
940
|
rtePermissionInfo(_p?: import("@pgsql/types").RTEPermissionInfo): import("@pgsql/types").RTEPermissionInfo;
|
|
@@ -943,6 +952,8 @@ declare const _default: {
|
|
|
943
952
|
cteCycleClause(_p?: import("@pgsql/types").CTECycleClause): import("@pgsql/types").CTECycleClause;
|
|
944
953
|
commonTableExpr(_p?: import("@pgsql/types").CommonTableExpr): import("@pgsql/types").CommonTableExpr;
|
|
945
954
|
mergeWhenClause(_p?: import("@pgsql/types").MergeWhenClause): import("@pgsql/types").MergeWhenClause;
|
|
955
|
+
returningOption(_p?: import("@pgsql/types").ReturningOption): import("@pgsql/types").ReturningOption;
|
|
956
|
+
returningClause(_p?: import("@pgsql/types").ReturningClause): import("@pgsql/types").ReturningClause;
|
|
946
957
|
triggerTransition(_p?: import("@pgsql/types").TriggerTransition): import("@pgsql/types").TriggerTransition;
|
|
947
958
|
jsonOutput(_p?: import("@pgsql/types").JsonOutput): import("@pgsql/types").JsonOutput;
|
|
948
959
|
jsonArgument(_p?: import("@pgsql/types").JsonArgument): import("@pgsql/types").JsonArgument;
|
|
@@ -971,8 +982,9 @@ declare const _default: {
|
|
|
971
982
|
plAssignStmt(_p?: import("@pgsql/types").PLAssignStmt): import("@pgsql/types").PLAssignStmt;
|
|
972
983
|
createSchemaStmt(_p?: import("@pgsql/types").CreateSchemaStmt): import("@pgsql/types").CreateSchemaStmt;
|
|
973
984
|
alterTableStmt(_p?: import("@pgsql/types").AlterTableStmt): import("@pgsql/types").AlterTableStmt;
|
|
974
|
-
replicaIdentityStmt(_p?: import("@pgsql/types").ReplicaIdentityStmt): import("@pgsql/types").ReplicaIdentityStmt;
|
|
975
985
|
alterTableCmd(_p?: import("@pgsql/types").AlterTableCmd): import("@pgsql/types").AlterTableCmd;
|
|
986
|
+
atAlterConstraint(_p?: import("@pgsql/types").ATAlterConstraint): import("@pgsql/types").ATAlterConstraint;
|
|
987
|
+
replicaIdentityStmt(_p?: import("@pgsql/types").ReplicaIdentityStmt): import("@pgsql/types").ReplicaIdentityStmt;
|
|
976
988
|
alterCollationStmt(_p?: import("@pgsql/types").AlterCollationStmt): import("@pgsql/types").AlterCollationStmt;
|
|
977
989
|
alterDomainStmt(_p?: import("@pgsql/types").AlterDomainStmt): import("@pgsql/types").AlterDomainStmt;
|
|
978
990
|
grantStmt(_p?: import("@pgsql/types").GrantStmt): import("@pgsql/types").GrantStmt;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgsql/utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PostgreSQL AST utils for pgsql-parser",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"makage": "^0.1.8",
|
|
35
35
|
"pg-proto-parser": "1.30.6",
|
|
36
|
-
"pgsql-deparser": "
|
|
36
|
+
"pgsql-deparser": "18.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@pgsql/types": "^
|
|
39
|
+
"@pgsql/types": "^18.0.0",
|
|
40
40
|
"nested-obj": "0.2.2"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "f700ee16d18aeacd2788eeb4410d73928cd11a5f"
|
|
44
44
|
}
|