@pgsql/utils 13.7.0 → 13.8.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/main/asts.js CHANGED
@@ -1,2556 +1,2569 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ /**
7
+ * This file was automatically generated by pg-proto-parser@1.20.0.
8
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
9
+ * and run the pg-proto-parser generate command to regenerate this file.
10
+ */
11
+ const nested_obj_1 = __importDefault(require("nested-obj"));
3
12
  exports.default = {
4
13
  parseResult(_p) {
5
- return {
6
- ParseResult: {
7
- version: _p?.version,
8
- stmts: _p?.stmts
9
- }
14
+ const _j = {
15
+ ParseResult: {}
10
16
  };
17
+ nested_obj_1.default.set(_j, "ParseResult.version", _p?.version);
18
+ nested_obj_1.default.set(_j, "ParseResult.stmts", _p?.stmts);
19
+ return _j;
11
20
  },
12
21
  scanResult(_p) {
13
- return {
14
- ScanResult: {
15
- version: _p?.version,
16
- tokens: _p?.tokens
17
- }
22
+ const _j = {
23
+ ScanResult: {}
18
24
  };
25
+ nested_obj_1.default.set(_j, "ScanResult.version", _p?.version);
26
+ nested_obj_1.default.set(_j, "ScanResult.tokens", _p?.tokens);
27
+ return _j;
19
28
  },
20
29
  integer(_p) {
21
- return {
22
- Integer: {
23
- ival: _p?.ival
24
- }
30
+ const _j = {
31
+ Integer: {}
25
32
  };
33
+ nested_obj_1.default.set(_j, "Integer.ival", _p?.ival);
34
+ return _j;
26
35
  },
27
36
  float(_p) {
28
- return {
29
- Float: {
30
- str: _p?.str
31
- }
37
+ const _j = {
38
+ Float: {}
32
39
  };
40
+ nested_obj_1.default.set(_j, "Float.str", _p?.str);
41
+ return _j;
33
42
  },
34
43
  string(_p) {
35
- return {
36
- String: {
37
- str: _p?.str
38
- }
44
+ const _j = {
45
+ String: {}
39
46
  };
47
+ nested_obj_1.default.set(_j, "String.str", _p?.str);
48
+ return _j;
40
49
  },
41
50
  bitString(_p) {
42
- return {
43
- BitString: {
44
- str: _p?.str
45
- }
51
+ const _j = {
52
+ BitString: {}
46
53
  };
54
+ nested_obj_1.default.set(_j, "BitString.str", _p?.str);
55
+ return _j;
47
56
  },
48
57
  null(_p) {
49
- return {
58
+ const _j = {
50
59
  Null: {}
51
60
  };
61
+ return _j;
52
62
  },
53
63
  list(_p) {
54
- return {
55
- List: {
56
- items: _p?.items
57
- }
64
+ const _j = {
65
+ List: {}
58
66
  };
67
+ nested_obj_1.default.set(_j, "List.items", _p?.items);
68
+ return _j;
59
69
  },
60
70
  oidList(_p) {
61
- return {
62
- OidList: {
63
- items: _p?.items
64
- }
71
+ const _j = {
72
+ OidList: {}
65
73
  };
74
+ nested_obj_1.default.set(_j, "OidList.items", _p?.items);
75
+ return _j;
66
76
  },
67
77
  intList(_p) {
68
- return {
69
- IntList: {
70
- items: _p?.items
71
- }
78
+ const _j = {
79
+ IntList: {}
72
80
  };
81
+ nested_obj_1.default.set(_j, "IntList.items", _p?.items);
82
+ return _j;
73
83
  },
74
84
  alias(_p) {
75
- return {
76
- Alias: {
77
- aliasname: _p?.aliasname,
78
- colnames: _p?.colnames
79
- }
85
+ const _j = {
86
+ Alias: {}
80
87
  };
88
+ nested_obj_1.default.set(_j, "Alias.aliasname", _p?.aliasname);
89
+ nested_obj_1.default.set(_j, "Alias.colnames", _p?.colnames);
90
+ return _j;
81
91
  },
82
92
  rangeVar(_p) {
83
- return {
84
- RangeVar: {
85
- catalogname: _p?.catalogname,
86
- schemaname: _p?.schemaname,
87
- relname: _p?.relname,
88
- inh: _p?.inh,
89
- relpersistence: _p?.relpersistence,
90
- alias: _p?.alias,
91
- location: _p?.location
92
- }
93
- };
93
+ const _j = {
94
+ RangeVar: {}
95
+ };
96
+ nested_obj_1.default.set(_j, "RangeVar.catalogname", _p?.catalogname);
97
+ nested_obj_1.default.set(_j, "RangeVar.schemaname", _p?.schemaname);
98
+ nested_obj_1.default.set(_j, "RangeVar.relname", _p?.relname);
99
+ nested_obj_1.default.set(_j, "RangeVar.inh", _p?.inh);
100
+ nested_obj_1.default.set(_j, "RangeVar.relpersistence", _p?.relpersistence);
101
+ nested_obj_1.default.set(_j, "RangeVar.alias", _p?.alias);
102
+ nested_obj_1.default.set(_j, "RangeVar.location", _p?.location);
103
+ return _j;
94
104
  },
95
105
  tableFunc(_p) {
96
- return {
97
- TableFunc: {
98
- ns_uris: _p?.ns_uris,
99
- ns_names: _p?.ns_names,
100
- docexpr: _p?.docexpr,
101
- rowexpr: _p?.rowexpr,
102
- colnames: _p?.colnames,
103
- coltypes: _p?.coltypes,
104
- coltypmods: _p?.coltypmods,
105
- colcollations: _p?.colcollations,
106
- colexprs: _p?.colexprs,
107
- coldefexprs: _p?.coldefexprs,
108
- notnulls: _p?.notnulls,
109
- ordinalitycol: _p?.ordinalitycol,
110
- location: _p?.location
111
- }
112
- };
106
+ const _j = {
107
+ TableFunc: {}
108
+ };
109
+ nested_obj_1.default.set(_j, "TableFunc.ns_uris", _p?.ns_uris);
110
+ nested_obj_1.default.set(_j, "TableFunc.ns_names", _p?.ns_names);
111
+ nested_obj_1.default.set(_j, "TableFunc.docexpr", _p?.docexpr);
112
+ nested_obj_1.default.set(_j, "TableFunc.rowexpr", _p?.rowexpr);
113
+ nested_obj_1.default.set(_j, "TableFunc.colnames", _p?.colnames);
114
+ nested_obj_1.default.set(_j, "TableFunc.coltypes", _p?.coltypes);
115
+ nested_obj_1.default.set(_j, "TableFunc.coltypmods", _p?.coltypmods);
116
+ nested_obj_1.default.set(_j, "TableFunc.colcollations", _p?.colcollations);
117
+ nested_obj_1.default.set(_j, "TableFunc.colexprs", _p?.colexprs);
118
+ nested_obj_1.default.set(_j, "TableFunc.coldefexprs", _p?.coldefexprs);
119
+ nested_obj_1.default.set(_j, "TableFunc.notnulls", _p?.notnulls);
120
+ nested_obj_1.default.set(_j, "TableFunc.ordinalitycol", _p?.ordinalitycol);
121
+ nested_obj_1.default.set(_j, "TableFunc.location", _p?.location);
122
+ return _j;
113
123
  },
114
124
  expr(_p) {
115
- return {
125
+ const _j = {
116
126
  Expr: {}
117
127
  };
128
+ return _j;
118
129
  },
119
130
  var(_p) {
120
- return {
121
- Var: {
122
- xpr: _p?.xpr,
123
- varno: _p?.varno,
124
- varattno: _p?.varattno,
125
- vartype: _p?.vartype,
126
- vartypmod: _p?.vartypmod,
127
- varcollid: _p?.varcollid,
128
- varlevelsup: _p?.varlevelsup,
129
- varnosyn: _p?.varnosyn,
130
- varattnosyn: _p?.varattnosyn,
131
- location: _p?.location
132
- }
133
- };
131
+ const _j = {
132
+ Var: {}
133
+ };
134
+ nested_obj_1.default.set(_j, "Var.xpr", _p?.xpr);
135
+ nested_obj_1.default.set(_j, "Var.varno", _p?.varno);
136
+ nested_obj_1.default.set(_j, "Var.varattno", _p?.varattno);
137
+ nested_obj_1.default.set(_j, "Var.vartype", _p?.vartype);
138
+ nested_obj_1.default.set(_j, "Var.vartypmod", _p?.vartypmod);
139
+ nested_obj_1.default.set(_j, "Var.varcollid", _p?.varcollid);
140
+ nested_obj_1.default.set(_j, "Var.varlevelsup", _p?.varlevelsup);
141
+ nested_obj_1.default.set(_j, "Var.varnosyn", _p?.varnosyn);
142
+ nested_obj_1.default.set(_j, "Var.varattnosyn", _p?.varattnosyn);
143
+ nested_obj_1.default.set(_j, "Var.location", _p?.location);
144
+ return _j;
134
145
  },
135
146
  param(_p) {
136
- return {
137
- Param: {
138
- xpr: _p?.xpr,
139
- paramkind: _p?.paramkind,
140
- paramid: _p?.paramid,
141
- paramtype: _p?.paramtype,
142
- paramtypmod: _p?.paramtypmod,
143
- paramcollid: _p?.paramcollid,
144
- location: _p?.location
145
- }
146
- };
147
+ const _j = {
148
+ Param: {}
149
+ };
150
+ nested_obj_1.default.set(_j, "Param.xpr", _p?.xpr);
151
+ nested_obj_1.default.set(_j, "Param.paramkind", _p?.paramkind);
152
+ nested_obj_1.default.set(_j, "Param.paramid", _p?.paramid);
153
+ nested_obj_1.default.set(_j, "Param.paramtype", _p?.paramtype);
154
+ nested_obj_1.default.set(_j, "Param.paramtypmod", _p?.paramtypmod);
155
+ nested_obj_1.default.set(_j, "Param.paramcollid", _p?.paramcollid);
156
+ nested_obj_1.default.set(_j, "Param.location", _p?.location);
157
+ return _j;
147
158
  },
148
159
  aggref(_p) {
149
- return {
150
- Aggref: {
151
- xpr: _p?.xpr,
152
- aggfnoid: _p?.aggfnoid,
153
- aggtype: _p?.aggtype,
154
- aggcollid: _p?.aggcollid,
155
- inputcollid: _p?.inputcollid,
156
- aggtranstype: _p?.aggtranstype,
157
- aggargtypes: _p?.aggargtypes,
158
- aggdirectargs: _p?.aggdirectargs,
159
- args: _p?.args,
160
- aggorder: _p?.aggorder,
161
- aggdistinct: _p?.aggdistinct,
162
- aggfilter: _p?.aggfilter,
163
- aggstar: _p?.aggstar,
164
- aggvariadic: _p?.aggvariadic,
165
- aggkind: _p?.aggkind,
166
- agglevelsup: _p?.agglevelsup,
167
- aggsplit: _p?.aggsplit,
168
- location: _p?.location
169
- }
170
- };
160
+ const _j = {
161
+ Aggref: {}
162
+ };
163
+ nested_obj_1.default.set(_j, "Aggref.xpr", _p?.xpr);
164
+ nested_obj_1.default.set(_j, "Aggref.aggfnoid", _p?.aggfnoid);
165
+ nested_obj_1.default.set(_j, "Aggref.aggtype", _p?.aggtype);
166
+ nested_obj_1.default.set(_j, "Aggref.aggcollid", _p?.aggcollid);
167
+ nested_obj_1.default.set(_j, "Aggref.inputcollid", _p?.inputcollid);
168
+ nested_obj_1.default.set(_j, "Aggref.aggtranstype", _p?.aggtranstype);
169
+ nested_obj_1.default.set(_j, "Aggref.aggargtypes", _p?.aggargtypes);
170
+ nested_obj_1.default.set(_j, "Aggref.aggdirectargs", _p?.aggdirectargs);
171
+ nested_obj_1.default.set(_j, "Aggref.args", _p?.args);
172
+ nested_obj_1.default.set(_j, "Aggref.aggorder", _p?.aggorder);
173
+ nested_obj_1.default.set(_j, "Aggref.aggdistinct", _p?.aggdistinct);
174
+ nested_obj_1.default.set(_j, "Aggref.aggfilter", _p?.aggfilter);
175
+ nested_obj_1.default.set(_j, "Aggref.aggstar", _p?.aggstar);
176
+ nested_obj_1.default.set(_j, "Aggref.aggvariadic", _p?.aggvariadic);
177
+ nested_obj_1.default.set(_j, "Aggref.aggkind", _p?.aggkind);
178
+ nested_obj_1.default.set(_j, "Aggref.agglevelsup", _p?.agglevelsup);
179
+ nested_obj_1.default.set(_j, "Aggref.aggsplit", _p?.aggsplit);
180
+ nested_obj_1.default.set(_j, "Aggref.location", _p?.location);
181
+ return _j;
171
182
  },
172
183
  groupingFunc(_p) {
173
- return {
174
- GroupingFunc: {
175
- xpr: _p?.xpr,
176
- args: _p?.args,
177
- refs: _p?.refs,
178
- cols: _p?.cols,
179
- agglevelsup: _p?.agglevelsup,
180
- location: _p?.location
181
- }
184
+ const _j = {
185
+ GroupingFunc: {}
182
186
  };
187
+ nested_obj_1.default.set(_j, "GroupingFunc.xpr", _p?.xpr);
188
+ nested_obj_1.default.set(_j, "GroupingFunc.args", _p?.args);
189
+ nested_obj_1.default.set(_j, "GroupingFunc.refs", _p?.refs);
190
+ nested_obj_1.default.set(_j, "GroupingFunc.cols", _p?.cols);
191
+ nested_obj_1.default.set(_j, "GroupingFunc.agglevelsup", _p?.agglevelsup);
192
+ nested_obj_1.default.set(_j, "GroupingFunc.location", _p?.location);
193
+ return _j;
183
194
  },
184
195
  windowFunc(_p) {
185
- return {
186
- WindowFunc: {
187
- xpr: _p?.xpr,
188
- winfnoid: _p?.winfnoid,
189
- wintype: _p?.wintype,
190
- wincollid: _p?.wincollid,
191
- inputcollid: _p?.inputcollid,
192
- args: _p?.args,
193
- aggfilter: _p?.aggfilter,
194
- winref: _p?.winref,
195
- winstar: _p?.winstar,
196
- winagg: _p?.winagg,
197
- location: _p?.location
198
- }
199
- };
196
+ const _j = {
197
+ WindowFunc: {}
198
+ };
199
+ nested_obj_1.default.set(_j, "WindowFunc.xpr", _p?.xpr);
200
+ nested_obj_1.default.set(_j, "WindowFunc.winfnoid", _p?.winfnoid);
201
+ nested_obj_1.default.set(_j, "WindowFunc.wintype", _p?.wintype);
202
+ nested_obj_1.default.set(_j, "WindowFunc.wincollid", _p?.wincollid);
203
+ nested_obj_1.default.set(_j, "WindowFunc.inputcollid", _p?.inputcollid);
204
+ nested_obj_1.default.set(_j, "WindowFunc.args", _p?.args);
205
+ nested_obj_1.default.set(_j, "WindowFunc.aggfilter", _p?.aggfilter);
206
+ nested_obj_1.default.set(_j, "WindowFunc.winref", _p?.winref);
207
+ nested_obj_1.default.set(_j, "WindowFunc.winstar", _p?.winstar);
208
+ nested_obj_1.default.set(_j, "WindowFunc.winagg", _p?.winagg);
209
+ nested_obj_1.default.set(_j, "WindowFunc.location", _p?.location);
210
+ return _j;
200
211
  },
201
212
  subscriptingRef(_p) {
202
- return {
203
- SubscriptingRef: {
204
- xpr: _p?.xpr,
205
- refcontainertype: _p?.refcontainertype,
206
- refelemtype: _p?.refelemtype,
207
- reftypmod: _p?.reftypmod,
208
- refcollid: _p?.refcollid,
209
- refupperindexpr: _p?.refupperindexpr,
210
- reflowerindexpr: _p?.reflowerindexpr,
211
- refexpr: _p?.refexpr,
212
- refassgnexpr: _p?.refassgnexpr
213
- }
214
- };
213
+ const _j = {
214
+ SubscriptingRef: {}
215
+ };
216
+ nested_obj_1.default.set(_j, "SubscriptingRef.xpr", _p?.xpr);
217
+ nested_obj_1.default.set(_j, "SubscriptingRef.refcontainertype", _p?.refcontainertype);
218
+ nested_obj_1.default.set(_j, "SubscriptingRef.refelemtype", _p?.refelemtype);
219
+ nested_obj_1.default.set(_j, "SubscriptingRef.reftypmod", _p?.reftypmod);
220
+ nested_obj_1.default.set(_j, "SubscriptingRef.refcollid", _p?.refcollid);
221
+ nested_obj_1.default.set(_j, "SubscriptingRef.refupperindexpr", _p?.refupperindexpr);
222
+ nested_obj_1.default.set(_j, "SubscriptingRef.reflowerindexpr", _p?.reflowerindexpr);
223
+ nested_obj_1.default.set(_j, "SubscriptingRef.refexpr", _p?.refexpr);
224
+ nested_obj_1.default.set(_j, "SubscriptingRef.refassgnexpr", _p?.refassgnexpr);
225
+ return _j;
215
226
  },
216
227
  funcExpr(_p) {
217
- return {
218
- FuncExpr: {
219
- xpr: _p?.xpr,
220
- funcid: _p?.funcid,
221
- funcresulttype: _p?.funcresulttype,
222
- funcretset: _p?.funcretset,
223
- funcvariadic: _p?.funcvariadic,
224
- funcformat: _p?.funcformat,
225
- funccollid: _p?.funccollid,
226
- inputcollid: _p?.inputcollid,
227
- args: _p?.args,
228
- location: _p?.location
229
- }
230
- };
228
+ const _j = {
229
+ FuncExpr: {}
230
+ };
231
+ nested_obj_1.default.set(_j, "FuncExpr.xpr", _p?.xpr);
232
+ nested_obj_1.default.set(_j, "FuncExpr.funcid", _p?.funcid);
233
+ nested_obj_1.default.set(_j, "FuncExpr.funcresulttype", _p?.funcresulttype);
234
+ nested_obj_1.default.set(_j, "FuncExpr.funcretset", _p?.funcretset);
235
+ nested_obj_1.default.set(_j, "FuncExpr.funcvariadic", _p?.funcvariadic);
236
+ nested_obj_1.default.set(_j, "FuncExpr.funcformat", _p?.funcformat);
237
+ nested_obj_1.default.set(_j, "FuncExpr.funccollid", _p?.funccollid);
238
+ nested_obj_1.default.set(_j, "FuncExpr.inputcollid", _p?.inputcollid);
239
+ nested_obj_1.default.set(_j, "FuncExpr.args", _p?.args);
240
+ nested_obj_1.default.set(_j, "FuncExpr.location", _p?.location);
241
+ return _j;
231
242
  },
232
243
  namedArgExpr(_p) {
233
- return {
234
- NamedArgExpr: {
235
- xpr: _p?.xpr,
236
- arg: _p?.arg,
237
- name: _p?.name,
238
- argnumber: _p?.argnumber,
239
- location: _p?.location
240
- }
244
+ const _j = {
245
+ NamedArgExpr: {}
241
246
  };
247
+ nested_obj_1.default.set(_j, "NamedArgExpr.xpr", _p?.xpr);
248
+ nested_obj_1.default.set(_j, "NamedArgExpr.arg", _p?.arg);
249
+ nested_obj_1.default.set(_j, "NamedArgExpr.name", _p?.name);
250
+ nested_obj_1.default.set(_j, "NamedArgExpr.argnumber", _p?.argnumber);
251
+ nested_obj_1.default.set(_j, "NamedArgExpr.location", _p?.location);
252
+ return _j;
242
253
  },
243
254
  opExpr(_p) {
244
- return {
245
- OpExpr: {
246
- xpr: _p?.xpr,
247
- opno: _p?.opno,
248
- opfuncid: _p?.opfuncid,
249
- opresulttype: _p?.opresulttype,
250
- opretset: _p?.opretset,
251
- opcollid: _p?.opcollid,
252
- inputcollid: _p?.inputcollid,
253
- args: _p?.args,
254
- location: _p?.location
255
- }
256
- };
255
+ const _j = {
256
+ OpExpr: {}
257
+ };
258
+ nested_obj_1.default.set(_j, "OpExpr.xpr", _p?.xpr);
259
+ nested_obj_1.default.set(_j, "OpExpr.opno", _p?.opno);
260
+ nested_obj_1.default.set(_j, "OpExpr.opfuncid", _p?.opfuncid);
261
+ nested_obj_1.default.set(_j, "OpExpr.opresulttype", _p?.opresulttype);
262
+ nested_obj_1.default.set(_j, "OpExpr.opretset", _p?.opretset);
263
+ nested_obj_1.default.set(_j, "OpExpr.opcollid", _p?.opcollid);
264
+ nested_obj_1.default.set(_j, "OpExpr.inputcollid", _p?.inputcollid);
265
+ nested_obj_1.default.set(_j, "OpExpr.args", _p?.args);
266
+ nested_obj_1.default.set(_j, "OpExpr.location", _p?.location);
267
+ return _j;
257
268
  },
258
269
  distinctExpr(_p) {
259
- return {
260
- DistinctExpr: {
261
- xpr: _p?.xpr,
262
- opno: _p?.opno,
263
- opfuncid: _p?.opfuncid,
264
- opresulttype: _p?.opresulttype,
265
- opretset: _p?.opretset,
266
- opcollid: _p?.opcollid,
267
- inputcollid: _p?.inputcollid,
268
- args: _p?.args,
269
- location: _p?.location
270
- }
271
- };
270
+ const _j = {
271
+ DistinctExpr: {}
272
+ };
273
+ nested_obj_1.default.set(_j, "DistinctExpr.xpr", _p?.xpr);
274
+ nested_obj_1.default.set(_j, "DistinctExpr.opno", _p?.opno);
275
+ nested_obj_1.default.set(_j, "DistinctExpr.opfuncid", _p?.opfuncid);
276
+ nested_obj_1.default.set(_j, "DistinctExpr.opresulttype", _p?.opresulttype);
277
+ nested_obj_1.default.set(_j, "DistinctExpr.opretset", _p?.opretset);
278
+ nested_obj_1.default.set(_j, "DistinctExpr.opcollid", _p?.opcollid);
279
+ nested_obj_1.default.set(_j, "DistinctExpr.inputcollid", _p?.inputcollid);
280
+ nested_obj_1.default.set(_j, "DistinctExpr.args", _p?.args);
281
+ nested_obj_1.default.set(_j, "DistinctExpr.location", _p?.location);
282
+ return _j;
272
283
  },
273
284
  nullIfExpr(_p) {
274
- return {
275
- NullIfExpr: {
276
- xpr: _p?.xpr,
277
- opno: _p?.opno,
278
- opfuncid: _p?.opfuncid,
279
- opresulttype: _p?.opresulttype,
280
- opretset: _p?.opretset,
281
- opcollid: _p?.opcollid,
282
- inputcollid: _p?.inputcollid,
283
- args: _p?.args,
284
- location: _p?.location
285
- }
286
- };
285
+ const _j = {
286
+ NullIfExpr: {}
287
+ };
288
+ nested_obj_1.default.set(_j, "NullIfExpr.xpr", _p?.xpr);
289
+ nested_obj_1.default.set(_j, "NullIfExpr.opno", _p?.opno);
290
+ nested_obj_1.default.set(_j, "NullIfExpr.opfuncid", _p?.opfuncid);
291
+ nested_obj_1.default.set(_j, "NullIfExpr.opresulttype", _p?.opresulttype);
292
+ nested_obj_1.default.set(_j, "NullIfExpr.opretset", _p?.opretset);
293
+ nested_obj_1.default.set(_j, "NullIfExpr.opcollid", _p?.opcollid);
294
+ nested_obj_1.default.set(_j, "NullIfExpr.inputcollid", _p?.inputcollid);
295
+ nested_obj_1.default.set(_j, "NullIfExpr.args", _p?.args);
296
+ nested_obj_1.default.set(_j, "NullIfExpr.location", _p?.location);
297
+ return _j;
287
298
  },
288
299
  scalarArrayOpExpr(_p) {
289
- return {
290
- ScalarArrayOpExpr: {
291
- xpr: _p?.xpr,
292
- opno: _p?.opno,
293
- opfuncid: _p?.opfuncid,
294
- useOr: _p?.useOr,
295
- inputcollid: _p?.inputcollid,
296
- args: _p?.args,
297
- location: _p?.location
298
- }
299
- };
300
+ const _j = {
301
+ ScalarArrayOpExpr: {}
302
+ };
303
+ nested_obj_1.default.set(_j, "ScalarArrayOpExpr.xpr", _p?.xpr);
304
+ nested_obj_1.default.set(_j, "ScalarArrayOpExpr.opno", _p?.opno);
305
+ nested_obj_1.default.set(_j, "ScalarArrayOpExpr.opfuncid", _p?.opfuncid);
306
+ nested_obj_1.default.set(_j, "ScalarArrayOpExpr.useOr", _p?.useOr);
307
+ nested_obj_1.default.set(_j, "ScalarArrayOpExpr.inputcollid", _p?.inputcollid);
308
+ nested_obj_1.default.set(_j, "ScalarArrayOpExpr.args", _p?.args);
309
+ nested_obj_1.default.set(_j, "ScalarArrayOpExpr.location", _p?.location);
310
+ return _j;
300
311
  },
301
312
  boolExpr(_p) {
302
- return {
303
- BoolExpr: {
304
- xpr: _p?.xpr,
305
- boolop: _p?.boolop,
306
- args: _p?.args,
307
- location: _p?.location
308
- }
313
+ const _j = {
314
+ BoolExpr: {}
309
315
  };
316
+ nested_obj_1.default.set(_j, "BoolExpr.xpr", _p?.xpr);
317
+ nested_obj_1.default.set(_j, "BoolExpr.boolop", _p?.boolop);
318
+ nested_obj_1.default.set(_j, "BoolExpr.args", _p?.args);
319
+ nested_obj_1.default.set(_j, "BoolExpr.location", _p?.location);
320
+ return _j;
310
321
  },
311
322
  subLink(_p) {
312
- return {
313
- SubLink: {
314
- xpr: _p?.xpr,
315
- subLinkType: _p?.subLinkType,
316
- subLinkId: _p?.subLinkId,
317
- testexpr: _p?.testexpr,
318
- operName: _p?.operName,
319
- subselect: _p?.subselect,
320
- location: _p?.location
321
- }
322
- };
323
+ const _j = {
324
+ SubLink: {}
325
+ };
326
+ nested_obj_1.default.set(_j, "SubLink.xpr", _p?.xpr);
327
+ nested_obj_1.default.set(_j, "SubLink.subLinkType", _p?.subLinkType);
328
+ nested_obj_1.default.set(_j, "SubLink.subLinkId", _p?.subLinkId);
329
+ nested_obj_1.default.set(_j, "SubLink.testexpr", _p?.testexpr);
330
+ nested_obj_1.default.set(_j, "SubLink.operName", _p?.operName);
331
+ nested_obj_1.default.set(_j, "SubLink.subselect", _p?.subselect);
332
+ nested_obj_1.default.set(_j, "SubLink.location", _p?.location);
333
+ return _j;
323
334
  },
324
335
  subPlan(_p) {
325
- return {
326
- SubPlan: {
327
- xpr: _p?.xpr,
328
- subLinkType: _p?.subLinkType,
329
- testexpr: _p?.testexpr,
330
- paramIds: _p?.paramIds,
331
- plan_id: _p?.plan_id,
332
- plan_name: _p?.plan_name,
333
- firstColType: _p?.firstColType,
334
- firstColTypmod: _p?.firstColTypmod,
335
- firstColCollation: _p?.firstColCollation,
336
- useHashTable: _p?.useHashTable,
337
- unknownEqFalse: _p?.unknownEqFalse,
338
- parallel_safe: _p?.parallel_safe,
339
- setParam: _p?.setParam,
340
- parParam: _p?.parParam,
341
- args: _p?.args,
342
- startup_cost: _p?.startup_cost,
343
- per_call_cost: _p?.per_call_cost
344
- }
345
- };
336
+ const _j = {
337
+ SubPlan: {}
338
+ };
339
+ nested_obj_1.default.set(_j, "SubPlan.xpr", _p?.xpr);
340
+ nested_obj_1.default.set(_j, "SubPlan.subLinkType", _p?.subLinkType);
341
+ nested_obj_1.default.set(_j, "SubPlan.testexpr", _p?.testexpr);
342
+ nested_obj_1.default.set(_j, "SubPlan.paramIds", _p?.paramIds);
343
+ nested_obj_1.default.set(_j, "SubPlan.plan_id", _p?.plan_id);
344
+ nested_obj_1.default.set(_j, "SubPlan.plan_name", _p?.plan_name);
345
+ nested_obj_1.default.set(_j, "SubPlan.firstColType", _p?.firstColType);
346
+ nested_obj_1.default.set(_j, "SubPlan.firstColTypmod", _p?.firstColTypmod);
347
+ nested_obj_1.default.set(_j, "SubPlan.firstColCollation", _p?.firstColCollation);
348
+ nested_obj_1.default.set(_j, "SubPlan.useHashTable", _p?.useHashTable);
349
+ nested_obj_1.default.set(_j, "SubPlan.unknownEqFalse", _p?.unknownEqFalse);
350
+ nested_obj_1.default.set(_j, "SubPlan.parallel_safe", _p?.parallel_safe);
351
+ nested_obj_1.default.set(_j, "SubPlan.setParam", _p?.setParam);
352
+ nested_obj_1.default.set(_j, "SubPlan.parParam", _p?.parParam);
353
+ nested_obj_1.default.set(_j, "SubPlan.args", _p?.args);
354
+ nested_obj_1.default.set(_j, "SubPlan.startup_cost", _p?.startup_cost);
355
+ nested_obj_1.default.set(_j, "SubPlan.per_call_cost", _p?.per_call_cost);
356
+ return _j;
346
357
  },
347
358
  alternativeSubPlan(_p) {
348
- return {
349
- AlternativeSubPlan: {
350
- xpr: _p?.xpr,
351
- subplans: _p?.subplans
352
- }
359
+ const _j = {
360
+ AlternativeSubPlan: {}
353
361
  };
362
+ nested_obj_1.default.set(_j, "AlternativeSubPlan.xpr", _p?.xpr);
363
+ nested_obj_1.default.set(_j, "AlternativeSubPlan.subplans", _p?.subplans);
364
+ return _j;
354
365
  },
355
366
  fieldSelect(_p) {
356
- return {
357
- FieldSelect: {
358
- xpr: _p?.xpr,
359
- arg: _p?.arg,
360
- fieldnum: _p?.fieldnum,
361
- resulttype: _p?.resulttype,
362
- resulttypmod: _p?.resulttypmod,
363
- resultcollid: _p?.resultcollid
364
- }
367
+ const _j = {
368
+ FieldSelect: {}
365
369
  };
370
+ nested_obj_1.default.set(_j, "FieldSelect.xpr", _p?.xpr);
371
+ nested_obj_1.default.set(_j, "FieldSelect.arg", _p?.arg);
372
+ nested_obj_1.default.set(_j, "FieldSelect.fieldnum", _p?.fieldnum);
373
+ nested_obj_1.default.set(_j, "FieldSelect.resulttype", _p?.resulttype);
374
+ nested_obj_1.default.set(_j, "FieldSelect.resulttypmod", _p?.resulttypmod);
375
+ nested_obj_1.default.set(_j, "FieldSelect.resultcollid", _p?.resultcollid);
376
+ return _j;
366
377
  },
367
378
  fieldStore(_p) {
368
- return {
369
- FieldStore: {
370
- xpr: _p?.xpr,
371
- arg: _p?.arg,
372
- newvals: _p?.newvals,
373
- fieldnums: _p?.fieldnums,
374
- resulttype: _p?.resulttype
375
- }
379
+ const _j = {
380
+ FieldStore: {}
376
381
  };
382
+ nested_obj_1.default.set(_j, "FieldStore.xpr", _p?.xpr);
383
+ nested_obj_1.default.set(_j, "FieldStore.arg", _p?.arg);
384
+ nested_obj_1.default.set(_j, "FieldStore.newvals", _p?.newvals);
385
+ nested_obj_1.default.set(_j, "FieldStore.fieldnums", _p?.fieldnums);
386
+ nested_obj_1.default.set(_j, "FieldStore.resulttype", _p?.resulttype);
387
+ return _j;
377
388
  },
378
389
  relabelType(_p) {
379
- return {
380
- RelabelType: {
381
- xpr: _p?.xpr,
382
- arg: _p?.arg,
383
- resulttype: _p?.resulttype,
384
- resulttypmod: _p?.resulttypmod,
385
- resultcollid: _p?.resultcollid,
386
- relabelformat: _p?.relabelformat,
387
- location: _p?.location
388
- }
389
- };
390
+ const _j = {
391
+ RelabelType: {}
392
+ };
393
+ nested_obj_1.default.set(_j, "RelabelType.xpr", _p?.xpr);
394
+ nested_obj_1.default.set(_j, "RelabelType.arg", _p?.arg);
395
+ nested_obj_1.default.set(_j, "RelabelType.resulttype", _p?.resulttype);
396
+ nested_obj_1.default.set(_j, "RelabelType.resulttypmod", _p?.resulttypmod);
397
+ nested_obj_1.default.set(_j, "RelabelType.resultcollid", _p?.resultcollid);
398
+ nested_obj_1.default.set(_j, "RelabelType.relabelformat", _p?.relabelformat);
399
+ nested_obj_1.default.set(_j, "RelabelType.location", _p?.location);
400
+ return _j;
390
401
  },
391
402
  coerceViaio(_p) {
392
- return {
393
- CoerceViaIO: {
394
- xpr: _p?.xpr,
395
- arg: _p?.arg,
396
- resulttype: _p?.resulttype,
397
- resultcollid: _p?.resultcollid,
398
- coerceformat: _p?.coerceformat,
399
- location: _p?.location
400
- }
403
+ const _j = {
404
+ CoerceViaIO: {}
401
405
  };
406
+ nested_obj_1.default.set(_j, "CoerceViaIO.xpr", _p?.xpr);
407
+ nested_obj_1.default.set(_j, "CoerceViaIO.arg", _p?.arg);
408
+ nested_obj_1.default.set(_j, "CoerceViaIO.resulttype", _p?.resulttype);
409
+ nested_obj_1.default.set(_j, "CoerceViaIO.resultcollid", _p?.resultcollid);
410
+ nested_obj_1.default.set(_j, "CoerceViaIO.coerceformat", _p?.coerceformat);
411
+ nested_obj_1.default.set(_j, "CoerceViaIO.location", _p?.location);
412
+ return _j;
402
413
  },
403
414
  arrayCoerceExpr(_p) {
404
- return {
405
- ArrayCoerceExpr: {
406
- xpr: _p?.xpr,
407
- arg: _p?.arg,
408
- elemexpr: _p?.elemexpr,
409
- resulttype: _p?.resulttype,
410
- resulttypmod: _p?.resulttypmod,
411
- resultcollid: _p?.resultcollid,
412
- coerceformat: _p?.coerceformat,
413
- location: _p?.location
414
- }
415
- };
415
+ const _j = {
416
+ ArrayCoerceExpr: {}
417
+ };
418
+ nested_obj_1.default.set(_j, "ArrayCoerceExpr.xpr", _p?.xpr);
419
+ nested_obj_1.default.set(_j, "ArrayCoerceExpr.arg", _p?.arg);
420
+ nested_obj_1.default.set(_j, "ArrayCoerceExpr.elemexpr", _p?.elemexpr);
421
+ nested_obj_1.default.set(_j, "ArrayCoerceExpr.resulttype", _p?.resulttype);
422
+ nested_obj_1.default.set(_j, "ArrayCoerceExpr.resulttypmod", _p?.resulttypmod);
423
+ nested_obj_1.default.set(_j, "ArrayCoerceExpr.resultcollid", _p?.resultcollid);
424
+ nested_obj_1.default.set(_j, "ArrayCoerceExpr.coerceformat", _p?.coerceformat);
425
+ nested_obj_1.default.set(_j, "ArrayCoerceExpr.location", _p?.location);
426
+ return _j;
416
427
  },
417
428
  convertRowtypeExpr(_p) {
418
- return {
419
- ConvertRowtypeExpr: {
420
- xpr: _p?.xpr,
421
- arg: _p?.arg,
422
- resulttype: _p?.resulttype,
423
- convertformat: _p?.convertformat,
424
- location: _p?.location
425
- }
429
+ const _j = {
430
+ ConvertRowtypeExpr: {}
426
431
  };
432
+ nested_obj_1.default.set(_j, "ConvertRowtypeExpr.xpr", _p?.xpr);
433
+ nested_obj_1.default.set(_j, "ConvertRowtypeExpr.arg", _p?.arg);
434
+ nested_obj_1.default.set(_j, "ConvertRowtypeExpr.resulttype", _p?.resulttype);
435
+ nested_obj_1.default.set(_j, "ConvertRowtypeExpr.convertformat", _p?.convertformat);
436
+ nested_obj_1.default.set(_j, "ConvertRowtypeExpr.location", _p?.location);
437
+ return _j;
427
438
  },
428
439
  collateExpr(_p) {
429
- return {
430
- CollateExpr: {
431
- xpr: _p?.xpr,
432
- arg: _p?.arg,
433
- collOid: _p?.collOid,
434
- location: _p?.location
435
- }
440
+ const _j = {
441
+ CollateExpr: {}
436
442
  };
443
+ nested_obj_1.default.set(_j, "CollateExpr.xpr", _p?.xpr);
444
+ nested_obj_1.default.set(_j, "CollateExpr.arg", _p?.arg);
445
+ nested_obj_1.default.set(_j, "CollateExpr.collOid", _p?.collOid);
446
+ nested_obj_1.default.set(_j, "CollateExpr.location", _p?.location);
447
+ return _j;
437
448
  },
438
449
  caseExpr(_p) {
439
- return {
440
- CaseExpr: {
441
- xpr: _p?.xpr,
442
- casetype: _p?.casetype,
443
- casecollid: _p?.casecollid,
444
- arg: _p?.arg,
445
- args: _p?.args,
446
- defresult: _p?.defresult,
447
- location: _p?.location
448
- }
449
- };
450
+ const _j = {
451
+ CaseExpr: {}
452
+ };
453
+ nested_obj_1.default.set(_j, "CaseExpr.xpr", _p?.xpr);
454
+ nested_obj_1.default.set(_j, "CaseExpr.casetype", _p?.casetype);
455
+ nested_obj_1.default.set(_j, "CaseExpr.casecollid", _p?.casecollid);
456
+ nested_obj_1.default.set(_j, "CaseExpr.arg", _p?.arg);
457
+ nested_obj_1.default.set(_j, "CaseExpr.args", _p?.args);
458
+ nested_obj_1.default.set(_j, "CaseExpr.defresult", _p?.defresult);
459
+ nested_obj_1.default.set(_j, "CaseExpr.location", _p?.location);
460
+ return _j;
450
461
  },
451
462
  caseWhen(_p) {
452
- return {
453
- CaseWhen: {
454
- xpr: _p?.xpr,
455
- expr: _p?.expr,
456
- result: _p?.result,
457
- location: _p?.location
458
- }
463
+ const _j = {
464
+ CaseWhen: {}
459
465
  };
466
+ nested_obj_1.default.set(_j, "CaseWhen.xpr", _p?.xpr);
467
+ nested_obj_1.default.set(_j, "CaseWhen.expr", _p?.expr);
468
+ nested_obj_1.default.set(_j, "CaseWhen.result", _p?.result);
469
+ nested_obj_1.default.set(_j, "CaseWhen.location", _p?.location);
470
+ return _j;
460
471
  },
461
472
  caseTestExpr(_p) {
462
- return {
463
- CaseTestExpr: {
464
- xpr: _p?.xpr,
465
- typeId: _p?.typeId,
466
- typeMod: _p?.typeMod,
467
- collation: _p?.collation
468
- }
473
+ const _j = {
474
+ CaseTestExpr: {}
469
475
  };
476
+ nested_obj_1.default.set(_j, "CaseTestExpr.xpr", _p?.xpr);
477
+ nested_obj_1.default.set(_j, "CaseTestExpr.typeId", _p?.typeId);
478
+ nested_obj_1.default.set(_j, "CaseTestExpr.typeMod", _p?.typeMod);
479
+ nested_obj_1.default.set(_j, "CaseTestExpr.collation", _p?.collation);
480
+ return _j;
470
481
  },
471
482
  arrayExpr(_p) {
472
- return {
473
- ArrayExpr: {
474
- xpr: _p?.xpr,
475
- array_typeid: _p?.array_typeid,
476
- array_collid: _p?.array_collid,
477
- element_typeid: _p?.element_typeid,
478
- elements: _p?.elements,
479
- multidims: _p?.multidims,
480
- location: _p?.location
481
- }
482
- };
483
+ const _j = {
484
+ ArrayExpr: {}
485
+ };
486
+ nested_obj_1.default.set(_j, "ArrayExpr.xpr", _p?.xpr);
487
+ nested_obj_1.default.set(_j, "ArrayExpr.array_typeid", _p?.array_typeid);
488
+ nested_obj_1.default.set(_j, "ArrayExpr.array_collid", _p?.array_collid);
489
+ nested_obj_1.default.set(_j, "ArrayExpr.element_typeid", _p?.element_typeid);
490
+ nested_obj_1.default.set(_j, "ArrayExpr.elements", _p?.elements);
491
+ nested_obj_1.default.set(_j, "ArrayExpr.multidims", _p?.multidims);
492
+ nested_obj_1.default.set(_j, "ArrayExpr.location", _p?.location);
493
+ return _j;
483
494
  },
484
495
  rowExpr(_p) {
485
- return {
486
- RowExpr: {
487
- xpr: _p?.xpr,
488
- args: _p?.args,
489
- row_typeid: _p?.row_typeid,
490
- row_format: _p?.row_format,
491
- colnames: _p?.colnames,
492
- location: _p?.location
493
- }
496
+ const _j = {
497
+ RowExpr: {}
494
498
  };
499
+ nested_obj_1.default.set(_j, "RowExpr.xpr", _p?.xpr);
500
+ nested_obj_1.default.set(_j, "RowExpr.args", _p?.args);
501
+ nested_obj_1.default.set(_j, "RowExpr.row_typeid", _p?.row_typeid);
502
+ nested_obj_1.default.set(_j, "RowExpr.row_format", _p?.row_format);
503
+ nested_obj_1.default.set(_j, "RowExpr.colnames", _p?.colnames);
504
+ nested_obj_1.default.set(_j, "RowExpr.location", _p?.location);
505
+ return _j;
495
506
  },
496
507
  rowCompareExpr(_p) {
497
- return {
498
- RowCompareExpr: {
499
- xpr: _p?.xpr,
500
- rctype: _p?.rctype,
501
- opnos: _p?.opnos,
502
- opfamilies: _p?.opfamilies,
503
- inputcollids: _p?.inputcollids,
504
- largs: _p?.largs,
505
- rargs: _p?.rargs
506
- }
507
- };
508
+ const _j = {
509
+ RowCompareExpr: {}
510
+ };
511
+ nested_obj_1.default.set(_j, "RowCompareExpr.xpr", _p?.xpr);
512
+ nested_obj_1.default.set(_j, "RowCompareExpr.rctype", _p?.rctype);
513
+ nested_obj_1.default.set(_j, "RowCompareExpr.opnos", _p?.opnos);
514
+ nested_obj_1.default.set(_j, "RowCompareExpr.opfamilies", _p?.opfamilies);
515
+ nested_obj_1.default.set(_j, "RowCompareExpr.inputcollids", _p?.inputcollids);
516
+ nested_obj_1.default.set(_j, "RowCompareExpr.largs", _p?.largs);
517
+ nested_obj_1.default.set(_j, "RowCompareExpr.rargs", _p?.rargs);
518
+ return _j;
508
519
  },
509
520
  coalesceExpr(_p) {
510
- return {
511
- CoalesceExpr: {
512
- xpr: _p?.xpr,
513
- coalescetype: _p?.coalescetype,
514
- coalescecollid: _p?.coalescecollid,
515
- args: _p?.args,
516
- location: _p?.location
517
- }
521
+ const _j = {
522
+ CoalesceExpr: {}
518
523
  };
524
+ nested_obj_1.default.set(_j, "CoalesceExpr.xpr", _p?.xpr);
525
+ nested_obj_1.default.set(_j, "CoalesceExpr.coalescetype", _p?.coalescetype);
526
+ nested_obj_1.default.set(_j, "CoalesceExpr.coalescecollid", _p?.coalescecollid);
527
+ nested_obj_1.default.set(_j, "CoalesceExpr.args", _p?.args);
528
+ nested_obj_1.default.set(_j, "CoalesceExpr.location", _p?.location);
529
+ return _j;
519
530
  },
520
531
  minMaxExpr(_p) {
521
- return {
522
- MinMaxExpr: {
523
- xpr: _p?.xpr,
524
- minmaxtype: _p?.minmaxtype,
525
- minmaxcollid: _p?.minmaxcollid,
526
- inputcollid: _p?.inputcollid,
527
- op: _p?.op,
528
- args: _p?.args,
529
- location: _p?.location
530
- }
531
- };
532
+ const _j = {
533
+ MinMaxExpr: {}
534
+ };
535
+ nested_obj_1.default.set(_j, "MinMaxExpr.xpr", _p?.xpr);
536
+ nested_obj_1.default.set(_j, "MinMaxExpr.minmaxtype", _p?.minmaxtype);
537
+ nested_obj_1.default.set(_j, "MinMaxExpr.minmaxcollid", _p?.minmaxcollid);
538
+ nested_obj_1.default.set(_j, "MinMaxExpr.inputcollid", _p?.inputcollid);
539
+ nested_obj_1.default.set(_j, "MinMaxExpr.op", _p?.op);
540
+ nested_obj_1.default.set(_j, "MinMaxExpr.args", _p?.args);
541
+ nested_obj_1.default.set(_j, "MinMaxExpr.location", _p?.location);
542
+ return _j;
532
543
  },
533
544
  sqlValueFunction(_p) {
534
- return {
535
- SQLValueFunction: {
536
- xpr: _p?.xpr,
537
- op: _p?.op,
538
- type: _p?.type,
539
- typmod: _p?.typmod,
540
- location: _p?.location
541
- }
545
+ const _j = {
546
+ SQLValueFunction: {}
542
547
  };
548
+ nested_obj_1.default.set(_j, "SQLValueFunction.xpr", _p?.xpr);
549
+ nested_obj_1.default.set(_j, "SQLValueFunction.op", _p?.op);
550
+ nested_obj_1.default.set(_j, "SQLValueFunction.type", _p?.type);
551
+ nested_obj_1.default.set(_j, "SQLValueFunction.typmod", _p?.typmod);
552
+ nested_obj_1.default.set(_j, "SQLValueFunction.location", _p?.location);
553
+ return _j;
543
554
  },
544
555
  xmlExpr(_p) {
545
- return {
546
- XmlExpr: {
547
- xpr: _p?.xpr,
548
- op: _p?.op,
549
- name: _p?.name,
550
- named_args: _p?.named_args,
551
- arg_names: _p?.arg_names,
552
- args: _p?.args,
553
- xmloption: _p?.xmloption,
554
- type: _p?.type,
555
- typmod: _p?.typmod,
556
- location: _p?.location
557
- }
558
- };
556
+ const _j = {
557
+ XmlExpr: {}
558
+ };
559
+ nested_obj_1.default.set(_j, "XmlExpr.xpr", _p?.xpr);
560
+ nested_obj_1.default.set(_j, "XmlExpr.op", _p?.op);
561
+ nested_obj_1.default.set(_j, "XmlExpr.name", _p?.name);
562
+ nested_obj_1.default.set(_j, "XmlExpr.named_args", _p?.named_args);
563
+ nested_obj_1.default.set(_j, "XmlExpr.arg_names", _p?.arg_names);
564
+ nested_obj_1.default.set(_j, "XmlExpr.args", _p?.args);
565
+ nested_obj_1.default.set(_j, "XmlExpr.xmloption", _p?.xmloption);
566
+ nested_obj_1.default.set(_j, "XmlExpr.type", _p?.type);
567
+ nested_obj_1.default.set(_j, "XmlExpr.typmod", _p?.typmod);
568
+ nested_obj_1.default.set(_j, "XmlExpr.location", _p?.location);
569
+ return _j;
559
570
  },
560
571
  nullTest(_p) {
561
- return {
562
- NullTest: {
563
- xpr: _p?.xpr,
564
- arg: _p?.arg,
565
- nulltesttype: _p?.nulltesttype,
566
- argisrow: _p?.argisrow,
567
- location: _p?.location
568
- }
572
+ const _j = {
573
+ NullTest: {}
569
574
  };
575
+ nested_obj_1.default.set(_j, "NullTest.xpr", _p?.xpr);
576
+ nested_obj_1.default.set(_j, "NullTest.arg", _p?.arg);
577
+ nested_obj_1.default.set(_j, "NullTest.nulltesttype", _p?.nulltesttype);
578
+ nested_obj_1.default.set(_j, "NullTest.argisrow", _p?.argisrow);
579
+ nested_obj_1.default.set(_j, "NullTest.location", _p?.location);
580
+ return _j;
570
581
  },
571
582
  booleanTest(_p) {
572
- return {
573
- BooleanTest: {
574
- xpr: _p?.xpr,
575
- arg: _p?.arg,
576
- booltesttype: _p?.booltesttype,
577
- location: _p?.location
578
- }
583
+ const _j = {
584
+ BooleanTest: {}
579
585
  };
586
+ nested_obj_1.default.set(_j, "BooleanTest.xpr", _p?.xpr);
587
+ nested_obj_1.default.set(_j, "BooleanTest.arg", _p?.arg);
588
+ nested_obj_1.default.set(_j, "BooleanTest.booltesttype", _p?.booltesttype);
589
+ nested_obj_1.default.set(_j, "BooleanTest.location", _p?.location);
590
+ return _j;
580
591
  },
581
592
  coerceToDomain(_p) {
582
- return {
583
- CoerceToDomain: {
584
- xpr: _p?.xpr,
585
- arg: _p?.arg,
586
- resulttype: _p?.resulttype,
587
- resulttypmod: _p?.resulttypmod,
588
- resultcollid: _p?.resultcollid,
589
- coercionformat: _p?.coercionformat,
590
- location: _p?.location
591
- }
592
- };
593
+ const _j = {
594
+ CoerceToDomain: {}
595
+ };
596
+ nested_obj_1.default.set(_j, "CoerceToDomain.xpr", _p?.xpr);
597
+ nested_obj_1.default.set(_j, "CoerceToDomain.arg", _p?.arg);
598
+ nested_obj_1.default.set(_j, "CoerceToDomain.resulttype", _p?.resulttype);
599
+ nested_obj_1.default.set(_j, "CoerceToDomain.resulttypmod", _p?.resulttypmod);
600
+ nested_obj_1.default.set(_j, "CoerceToDomain.resultcollid", _p?.resultcollid);
601
+ nested_obj_1.default.set(_j, "CoerceToDomain.coercionformat", _p?.coercionformat);
602
+ nested_obj_1.default.set(_j, "CoerceToDomain.location", _p?.location);
603
+ return _j;
593
604
  },
594
605
  coerceToDomainValue(_p) {
595
- return {
596
- CoerceToDomainValue: {
597
- xpr: _p?.xpr,
598
- typeId: _p?.typeId,
599
- typeMod: _p?.typeMod,
600
- collation: _p?.collation,
601
- location: _p?.location
602
- }
606
+ const _j = {
607
+ CoerceToDomainValue: {}
603
608
  };
609
+ nested_obj_1.default.set(_j, "CoerceToDomainValue.xpr", _p?.xpr);
610
+ nested_obj_1.default.set(_j, "CoerceToDomainValue.typeId", _p?.typeId);
611
+ nested_obj_1.default.set(_j, "CoerceToDomainValue.typeMod", _p?.typeMod);
612
+ nested_obj_1.default.set(_j, "CoerceToDomainValue.collation", _p?.collation);
613
+ nested_obj_1.default.set(_j, "CoerceToDomainValue.location", _p?.location);
614
+ return _j;
604
615
  },
605
616
  setToDefault(_p) {
606
- return {
607
- SetToDefault: {
608
- xpr: _p?.xpr,
609
- typeId: _p?.typeId,
610
- typeMod: _p?.typeMod,
611
- collation: _p?.collation,
612
- location: _p?.location
613
- }
617
+ const _j = {
618
+ SetToDefault: {}
614
619
  };
620
+ nested_obj_1.default.set(_j, "SetToDefault.xpr", _p?.xpr);
621
+ nested_obj_1.default.set(_j, "SetToDefault.typeId", _p?.typeId);
622
+ nested_obj_1.default.set(_j, "SetToDefault.typeMod", _p?.typeMod);
623
+ nested_obj_1.default.set(_j, "SetToDefault.collation", _p?.collation);
624
+ nested_obj_1.default.set(_j, "SetToDefault.location", _p?.location);
625
+ return _j;
615
626
  },
616
627
  currentOfExpr(_p) {
617
- return {
618
- CurrentOfExpr: {
619
- xpr: _p?.xpr,
620
- cvarno: _p?.cvarno,
621
- cursor_name: _p?.cursor_name,
622
- cursor_param: _p?.cursor_param
623
- }
628
+ const _j = {
629
+ CurrentOfExpr: {}
624
630
  };
631
+ nested_obj_1.default.set(_j, "CurrentOfExpr.xpr", _p?.xpr);
632
+ nested_obj_1.default.set(_j, "CurrentOfExpr.cvarno", _p?.cvarno);
633
+ nested_obj_1.default.set(_j, "CurrentOfExpr.cursor_name", _p?.cursor_name);
634
+ nested_obj_1.default.set(_j, "CurrentOfExpr.cursor_param", _p?.cursor_param);
635
+ return _j;
625
636
  },
626
637
  nextValueExpr(_p) {
627
- return {
628
- NextValueExpr: {
629
- xpr: _p?.xpr,
630
- seqid: _p?.seqid,
631
- typeId: _p?.typeId
632
- }
638
+ const _j = {
639
+ NextValueExpr: {}
633
640
  };
641
+ nested_obj_1.default.set(_j, "NextValueExpr.xpr", _p?.xpr);
642
+ nested_obj_1.default.set(_j, "NextValueExpr.seqid", _p?.seqid);
643
+ nested_obj_1.default.set(_j, "NextValueExpr.typeId", _p?.typeId);
644
+ return _j;
634
645
  },
635
646
  inferenceElem(_p) {
636
- return {
637
- InferenceElem: {
638
- xpr: _p?.xpr,
639
- expr: _p?.expr,
640
- infercollid: _p?.infercollid,
641
- inferopclass: _p?.inferopclass
642
- }
647
+ const _j = {
648
+ InferenceElem: {}
643
649
  };
650
+ nested_obj_1.default.set(_j, "InferenceElem.xpr", _p?.xpr);
651
+ nested_obj_1.default.set(_j, "InferenceElem.expr", _p?.expr);
652
+ nested_obj_1.default.set(_j, "InferenceElem.infercollid", _p?.infercollid);
653
+ nested_obj_1.default.set(_j, "InferenceElem.inferopclass", _p?.inferopclass);
654
+ return _j;
644
655
  },
645
656
  targetEntry(_p) {
646
- return {
647
- TargetEntry: {
648
- xpr: _p?.xpr,
649
- expr: _p?.expr,
650
- resno: _p?.resno,
651
- resname: _p?.resname,
652
- ressortgroupref: _p?.ressortgroupref,
653
- resorigtbl: _p?.resorigtbl,
654
- resorigcol: _p?.resorigcol,
655
- resjunk: _p?.resjunk
656
- }
657
- };
657
+ const _j = {
658
+ TargetEntry: {}
659
+ };
660
+ nested_obj_1.default.set(_j, "TargetEntry.xpr", _p?.xpr);
661
+ nested_obj_1.default.set(_j, "TargetEntry.expr", _p?.expr);
662
+ nested_obj_1.default.set(_j, "TargetEntry.resno", _p?.resno);
663
+ nested_obj_1.default.set(_j, "TargetEntry.resname", _p?.resname);
664
+ nested_obj_1.default.set(_j, "TargetEntry.ressortgroupref", _p?.ressortgroupref);
665
+ nested_obj_1.default.set(_j, "TargetEntry.resorigtbl", _p?.resorigtbl);
666
+ nested_obj_1.default.set(_j, "TargetEntry.resorigcol", _p?.resorigcol);
667
+ nested_obj_1.default.set(_j, "TargetEntry.resjunk", _p?.resjunk);
668
+ return _j;
658
669
  },
659
670
  rangeTblRef(_p) {
660
- return {
661
- RangeTblRef: {
662
- rtindex: _p?.rtindex
663
- }
671
+ const _j = {
672
+ RangeTblRef: {}
664
673
  };
674
+ nested_obj_1.default.set(_j, "RangeTblRef.rtindex", _p?.rtindex);
675
+ return _j;
665
676
  },
666
677
  joinExpr(_p) {
667
- return {
668
- JoinExpr: {
669
- jointype: _p?.jointype,
670
- isNatural: _p?.isNatural,
671
- larg: _p?.larg,
672
- rarg: _p?.rarg,
673
- usingClause: _p?.usingClause,
674
- quals: _p?.quals,
675
- alias: _p?.alias,
676
- rtindex: _p?.rtindex
677
- }
678
- };
678
+ const _j = {
679
+ JoinExpr: {}
680
+ };
681
+ nested_obj_1.default.set(_j, "JoinExpr.jointype", _p?.jointype);
682
+ nested_obj_1.default.set(_j, "JoinExpr.isNatural", _p?.isNatural);
683
+ nested_obj_1.default.set(_j, "JoinExpr.larg", _p?.larg);
684
+ nested_obj_1.default.set(_j, "JoinExpr.rarg", _p?.rarg);
685
+ nested_obj_1.default.set(_j, "JoinExpr.usingClause", _p?.usingClause);
686
+ nested_obj_1.default.set(_j, "JoinExpr.quals", _p?.quals);
687
+ nested_obj_1.default.set(_j, "JoinExpr.alias", _p?.alias);
688
+ nested_obj_1.default.set(_j, "JoinExpr.rtindex", _p?.rtindex);
689
+ return _j;
679
690
  },
680
691
  fromExpr(_p) {
681
- return {
682
- FromExpr: {
683
- fromlist: _p?.fromlist,
684
- quals: _p?.quals
685
- }
692
+ const _j = {
693
+ FromExpr: {}
686
694
  };
695
+ nested_obj_1.default.set(_j, "FromExpr.fromlist", _p?.fromlist);
696
+ nested_obj_1.default.set(_j, "FromExpr.quals", _p?.quals);
697
+ return _j;
687
698
  },
688
699
  onConflictExpr(_p) {
689
- return {
690
- OnConflictExpr: {
691
- action: _p?.action,
692
- arbiterElems: _p?.arbiterElems,
693
- arbiterWhere: _p?.arbiterWhere,
694
- constraint: _p?.constraint,
695
- onConflictSet: _p?.onConflictSet,
696
- onConflictWhere: _p?.onConflictWhere,
697
- exclRelIndex: _p?.exclRelIndex,
698
- exclRelTlist: _p?.exclRelTlist
699
- }
700
- };
700
+ const _j = {
701
+ OnConflictExpr: {}
702
+ };
703
+ nested_obj_1.default.set(_j, "OnConflictExpr.action", _p?.action);
704
+ nested_obj_1.default.set(_j, "OnConflictExpr.arbiterElems", _p?.arbiterElems);
705
+ nested_obj_1.default.set(_j, "OnConflictExpr.arbiterWhere", _p?.arbiterWhere);
706
+ nested_obj_1.default.set(_j, "OnConflictExpr.constraint", _p?.constraint);
707
+ nested_obj_1.default.set(_j, "OnConflictExpr.onConflictSet", _p?.onConflictSet);
708
+ nested_obj_1.default.set(_j, "OnConflictExpr.onConflictWhere", _p?.onConflictWhere);
709
+ nested_obj_1.default.set(_j, "OnConflictExpr.exclRelIndex", _p?.exclRelIndex);
710
+ nested_obj_1.default.set(_j, "OnConflictExpr.exclRelTlist", _p?.exclRelTlist);
711
+ return _j;
701
712
  },
702
713
  intoClause(_p) {
703
- return {
704
- IntoClause: {
705
- rel: _p?.rel,
706
- colNames: _p?.colNames,
707
- accessMethod: _p?.accessMethod,
708
- options: _p?.options,
709
- onCommit: _p?.onCommit,
710
- tableSpaceName: _p?.tableSpaceName,
711
- viewQuery: _p?.viewQuery,
712
- skipData: _p?.skipData
713
- }
714
- };
714
+ const _j = {
715
+ IntoClause: {}
716
+ };
717
+ nested_obj_1.default.set(_j, "IntoClause.rel", _p?.rel);
718
+ nested_obj_1.default.set(_j, "IntoClause.colNames", _p?.colNames);
719
+ nested_obj_1.default.set(_j, "IntoClause.accessMethod", _p?.accessMethod);
720
+ nested_obj_1.default.set(_j, "IntoClause.options", _p?.options);
721
+ nested_obj_1.default.set(_j, "IntoClause.onCommit", _p?.onCommit);
722
+ nested_obj_1.default.set(_j, "IntoClause.tableSpaceName", _p?.tableSpaceName);
723
+ nested_obj_1.default.set(_j, "IntoClause.viewQuery", _p?.viewQuery);
724
+ nested_obj_1.default.set(_j, "IntoClause.skipData", _p?.skipData);
725
+ return _j;
715
726
  },
716
727
  rawStmt(_p) {
717
- return {
718
- RawStmt: {
719
- stmt: _p?.stmt,
720
- stmt_location: _p?.stmt_location,
721
- stmt_len: _p?.stmt_len
722
- }
728
+ const _j = {
729
+ RawStmt: {}
723
730
  };
731
+ nested_obj_1.default.set(_j, "RawStmt.stmt", _p?.stmt);
732
+ nested_obj_1.default.set(_j, "RawStmt.stmt_location", _p?.stmt_location);
733
+ nested_obj_1.default.set(_j, "RawStmt.stmt_len", _p?.stmt_len);
734
+ return _j;
724
735
  },
725
736
  query(_p) {
726
- return {
727
- Query: {
728
- commandType: _p?.commandType,
729
- querySource: _p?.querySource,
730
- canSetTag: _p?.canSetTag,
731
- utilityStmt: _p?.utilityStmt,
732
- resultRelation: _p?.resultRelation,
733
- hasAggs: _p?.hasAggs,
734
- hasWindowFuncs: _p?.hasWindowFuncs,
735
- hasTargetSRFs: _p?.hasTargetSRFs,
736
- hasSubLinks: _p?.hasSubLinks,
737
- hasDistinctOn: _p?.hasDistinctOn,
738
- hasRecursive: _p?.hasRecursive,
739
- hasModifyingCTE: _p?.hasModifyingCTE,
740
- hasForUpdate: _p?.hasForUpdate,
741
- hasRowSecurity: _p?.hasRowSecurity,
742
- cteList: _p?.cteList,
743
- rtable: _p?.rtable,
744
- jointree: _p?.jointree,
745
- targetList: _p?.targetList,
746
- override: _p?.override,
747
- onConflict: _p?.onConflict,
748
- returningList: _p?.returningList,
749
- groupClause: _p?.groupClause,
750
- groupingSets: _p?.groupingSets,
751
- havingQual: _p?.havingQual,
752
- windowClause: _p?.windowClause,
753
- distinctClause: _p?.distinctClause,
754
- sortClause: _p?.sortClause,
755
- limitOffset: _p?.limitOffset,
756
- limitCount: _p?.limitCount,
757
- limitOption: _p?.limitOption,
758
- rowMarks: _p?.rowMarks,
759
- setOperations: _p?.setOperations,
760
- constraintDeps: _p?.constraintDeps,
761
- withCheckOptions: _p?.withCheckOptions,
762
- stmt_location: _p?.stmt_location,
763
- stmt_len: _p?.stmt_len
764
- }
765
- };
737
+ const _j = {
738
+ Query: {}
739
+ };
740
+ nested_obj_1.default.set(_j, "Query.commandType", _p?.commandType);
741
+ nested_obj_1.default.set(_j, "Query.querySource", _p?.querySource);
742
+ nested_obj_1.default.set(_j, "Query.canSetTag", _p?.canSetTag);
743
+ nested_obj_1.default.set(_j, "Query.utilityStmt", _p?.utilityStmt);
744
+ nested_obj_1.default.set(_j, "Query.resultRelation", _p?.resultRelation);
745
+ nested_obj_1.default.set(_j, "Query.hasAggs", _p?.hasAggs);
746
+ nested_obj_1.default.set(_j, "Query.hasWindowFuncs", _p?.hasWindowFuncs);
747
+ nested_obj_1.default.set(_j, "Query.hasTargetSRFs", _p?.hasTargetSRFs);
748
+ nested_obj_1.default.set(_j, "Query.hasSubLinks", _p?.hasSubLinks);
749
+ nested_obj_1.default.set(_j, "Query.hasDistinctOn", _p?.hasDistinctOn);
750
+ nested_obj_1.default.set(_j, "Query.hasRecursive", _p?.hasRecursive);
751
+ nested_obj_1.default.set(_j, "Query.hasModifyingCTE", _p?.hasModifyingCTE);
752
+ nested_obj_1.default.set(_j, "Query.hasForUpdate", _p?.hasForUpdate);
753
+ nested_obj_1.default.set(_j, "Query.hasRowSecurity", _p?.hasRowSecurity);
754
+ nested_obj_1.default.set(_j, "Query.cteList", _p?.cteList);
755
+ nested_obj_1.default.set(_j, "Query.rtable", _p?.rtable);
756
+ nested_obj_1.default.set(_j, "Query.jointree", _p?.jointree);
757
+ nested_obj_1.default.set(_j, "Query.targetList", _p?.targetList);
758
+ nested_obj_1.default.set(_j, "Query.override", _p?.override);
759
+ nested_obj_1.default.set(_j, "Query.onConflict", _p?.onConflict);
760
+ nested_obj_1.default.set(_j, "Query.returningList", _p?.returningList);
761
+ nested_obj_1.default.set(_j, "Query.groupClause", _p?.groupClause);
762
+ nested_obj_1.default.set(_j, "Query.groupingSets", _p?.groupingSets);
763
+ nested_obj_1.default.set(_j, "Query.havingQual", _p?.havingQual);
764
+ nested_obj_1.default.set(_j, "Query.windowClause", _p?.windowClause);
765
+ nested_obj_1.default.set(_j, "Query.distinctClause", _p?.distinctClause);
766
+ nested_obj_1.default.set(_j, "Query.sortClause", _p?.sortClause);
767
+ nested_obj_1.default.set(_j, "Query.limitOffset", _p?.limitOffset);
768
+ nested_obj_1.default.set(_j, "Query.limitCount", _p?.limitCount);
769
+ nested_obj_1.default.set(_j, "Query.limitOption", _p?.limitOption);
770
+ nested_obj_1.default.set(_j, "Query.rowMarks", _p?.rowMarks);
771
+ nested_obj_1.default.set(_j, "Query.setOperations", _p?.setOperations);
772
+ nested_obj_1.default.set(_j, "Query.constraintDeps", _p?.constraintDeps);
773
+ nested_obj_1.default.set(_j, "Query.withCheckOptions", _p?.withCheckOptions);
774
+ nested_obj_1.default.set(_j, "Query.stmt_location", _p?.stmt_location);
775
+ nested_obj_1.default.set(_j, "Query.stmt_len", _p?.stmt_len);
776
+ return _j;
766
777
  },
767
778
  insertStmt(_p) {
768
- return {
769
- InsertStmt: {
770
- relation: _p?.relation,
771
- cols: _p?.cols,
772
- selectStmt: _p?.selectStmt,
773
- onConflictClause: _p?.onConflictClause,
774
- returningList: _p?.returningList,
775
- withClause: _p?.withClause,
776
- override: _p?.override
777
- }
778
- };
779
+ const _j = {
780
+ InsertStmt: {}
781
+ };
782
+ nested_obj_1.default.set(_j, "InsertStmt.relation", _p?.relation);
783
+ nested_obj_1.default.set(_j, "InsertStmt.cols", _p?.cols);
784
+ nested_obj_1.default.set(_j, "InsertStmt.selectStmt", _p?.selectStmt);
785
+ nested_obj_1.default.set(_j, "InsertStmt.onConflictClause", _p?.onConflictClause);
786
+ nested_obj_1.default.set(_j, "InsertStmt.returningList", _p?.returningList);
787
+ nested_obj_1.default.set(_j, "InsertStmt.withClause", _p?.withClause);
788
+ nested_obj_1.default.set(_j, "InsertStmt.override", _p?.override);
789
+ return _j;
779
790
  },
780
791
  deleteStmt(_p) {
781
- return {
782
- DeleteStmt: {
783
- relation: _p?.relation,
784
- usingClause: _p?.usingClause,
785
- whereClause: _p?.whereClause,
786
- returningList: _p?.returningList,
787
- withClause: _p?.withClause
788
- }
792
+ const _j = {
793
+ DeleteStmt: {}
789
794
  };
795
+ nested_obj_1.default.set(_j, "DeleteStmt.relation", _p?.relation);
796
+ nested_obj_1.default.set(_j, "DeleteStmt.usingClause", _p?.usingClause);
797
+ nested_obj_1.default.set(_j, "DeleteStmt.whereClause", _p?.whereClause);
798
+ nested_obj_1.default.set(_j, "DeleteStmt.returningList", _p?.returningList);
799
+ nested_obj_1.default.set(_j, "DeleteStmt.withClause", _p?.withClause);
800
+ return _j;
790
801
  },
791
802
  updateStmt(_p) {
792
- return {
793
- UpdateStmt: {
794
- relation: _p?.relation,
795
- targetList: _p?.targetList,
796
- whereClause: _p?.whereClause,
797
- fromClause: _p?.fromClause,
798
- returningList: _p?.returningList,
799
- withClause: _p?.withClause
800
- }
803
+ const _j = {
804
+ UpdateStmt: {}
801
805
  };
806
+ nested_obj_1.default.set(_j, "UpdateStmt.relation", _p?.relation);
807
+ nested_obj_1.default.set(_j, "UpdateStmt.targetList", _p?.targetList);
808
+ nested_obj_1.default.set(_j, "UpdateStmt.whereClause", _p?.whereClause);
809
+ nested_obj_1.default.set(_j, "UpdateStmt.fromClause", _p?.fromClause);
810
+ nested_obj_1.default.set(_j, "UpdateStmt.returningList", _p?.returningList);
811
+ nested_obj_1.default.set(_j, "UpdateStmt.withClause", _p?.withClause);
812
+ return _j;
802
813
  },
803
814
  selectStmt(_p) {
804
- return {
805
- SelectStmt: {
806
- distinctClause: _p?.distinctClause,
807
- intoClause: _p?.intoClause,
808
- targetList: _p?.targetList,
809
- fromClause: _p?.fromClause,
810
- whereClause: _p?.whereClause,
811
- groupClause: _p?.groupClause,
812
- havingClause: _p?.havingClause,
813
- windowClause: _p?.windowClause,
814
- valuesLists: _p?.valuesLists,
815
- sortClause: _p?.sortClause,
816
- limitOffset: _p?.limitOffset,
817
- limitCount: _p?.limitCount,
818
- limitOption: _p?.limitOption,
819
- lockingClause: _p?.lockingClause,
820
- withClause: _p?.withClause,
821
- op: _p?.op,
822
- all: _p?.all,
823
- larg: _p?.larg,
824
- rarg: _p?.rarg
825
- }
826
- };
815
+ const _j = {
816
+ SelectStmt: {}
817
+ };
818
+ nested_obj_1.default.set(_j, "SelectStmt.distinctClause", _p?.distinctClause);
819
+ nested_obj_1.default.set(_j, "SelectStmt.intoClause", _p?.intoClause);
820
+ nested_obj_1.default.set(_j, "SelectStmt.targetList", _p?.targetList);
821
+ nested_obj_1.default.set(_j, "SelectStmt.fromClause", _p?.fromClause);
822
+ nested_obj_1.default.set(_j, "SelectStmt.whereClause", _p?.whereClause);
823
+ nested_obj_1.default.set(_j, "SelectStmt.groupClause", _p?.groupClause);
824
+ nested_obj_1.default.set(_j, "SelectStmt.havingClause", _p?.havingClause);
825
+ nested_obj_1.default.set(_j, "SelectStmt.windowClause", _p?.windowClause);
826
+ nested_obj_1.default.set(_j, "SelectStmt.valuesLists", _p?.valuesLists);
827
+ nested_obj_1.default.set(_j, "SelectStmt.sortClause", _p?.sortClause);
828
+ nested_obj_1.default.set(_j, "SelectStmt.limitOffset", _p?.limitOffset);
829
+ nested_obj_1.default.set(_j, "SelectStmt.limitCount", _p?.limitCount);
830
+ nested_obj_1.default.set(_j, "SelectStmt.limitOption", _p?.limitOption);
831
+ nested_obj_1.default.set(_j, "SelectStmt.lockingClause", _p?.lockingClause);
832
+ nested_obj_1.default.set(_j, "SelectStmt.withClause", _p?.withClause);
833
+ nested_obj_1.default.set(_j, "SelectStmt.op", _p?.op);
834
+ nested_obj_1.default.set(_j, "SelectStmt.all", _p?.all);
835
+ nested_obj_1.default.set(_j, "SelectStmt.larg", _p?.larg);
836
+ nested_obj_1.default.set(_j, "SelectStmt.rarg", _p?.rarg);
837
+ return _j;
827
838
  },
828
839
  alterTableStmt(_p) {
829
- return {
830
- AlterTableStmt: {
831
- relation: _p?.relation,
832
- cmds: _p?.cmds,
833
- relkind: _p?.relkind,
834
- missing_ok: _p?.missing_ok
835
- }
840
+ const _j = {
841
+ AlterTableStmt: {}
836
842
  };
843
+ nested_obj_1.default.set(_j, "AlterTableStmt.relation", _p?.relation);
844
+ nested_obj_1.default.set(_j, "AlterTableStmt.cmds", _p?.cmds);
845
+ nested_obj_1.default.set(_j, "AlterTableStmt.relkind", _p?.relkind);
846
+ nested_obj_1.default.set(_j, "AlterTableStmt.missing_ok", _p?.missing_ok);
847
+ return _j;
837
848
  },
838
849
  alterTableCmd(_p) {
839
- return {
840
- AlterTableCmd: {
841
- subtype: _p?.subtype,
842
- name: _p?.name,
843
- num: _p?.num,
844
- newowner: _p?.newowner,
845
- def: _p?.def,
846
- behavior: _p?.behavior,
847
- missing_ok: _p?.missing_ok,
848
- recurse: _p?.recurse
849
- }
850
- };
850
+ const _j = {
851
+ AlterTableCmd: {}
852
+ };
853
+ nested_obj_1.default.set(_j, "AlterTableCmd.subtype", _p?.subtype);
854
+ nested_obj_1.default.set(_j, "AlterTableCmd.name", _p?.name);
855
+ nested_obj_1.default.set(_j, "AlterTableCmd.num", _p?.num);
856
+ nested_obj_1.default.set(_j, "AlterTableCmd.newowner", _p?.newowner);
857
+ nested_obj_1.default.set(_j, "AlterTableCmd.def", _p?.def);
858
+ nested_obj_1.default.set(_j, "AlterTableCmd.behavior", _p?.behavior);
859
+ nested_obj_1.default.set(_j, "AlterTableCmd.missing_ok", _p?.missing_ok);
860
+ nested_obj_1.default.set(_j, "AlterTableCmd.recurse", _p?.recurse);
861
+ return _j;
851
862
  },
852
863
  alterDomainStmt(_p) {
853
- return {
854
- AlterDomainStmt: {
855
- subtype: _p?.subtype,
856
- typeName: _p?.typeName,
857
- name: _p?.name,
858
- def: _p?.def,
859
- behavior: _p?.behavior,
860
- missing_ok: _p?.missing_ok
861
- }
864
+ const _j = {
865
+ AlterDomainStmt: {}
862
866
  };
867
+ nested_obj_1.default.set(_j, "AlterDomainStmt.subtype", _p?.subtype);
868
+ nested_obj_1.default.set(_j, "AlterDomainStmt.typeName", _p?.typeName);
869
+ nested_obj_1.default.set(_j, "AlterDomainStmt.name", _p?.name);
870
+ nested_obj_1.default.set(_j, "AlterDomainStmt.def", _p?.def);
871
+ nested_obj_1.default.set(_j, "AlterDomainStmt.behavior", _p?.behavior);
872
+ nested_obj_1.default.set(_j, "AlterDomainStmt.missing_ok", _p?.missing_ok);
873
+ return _j;
863
874
  },
864
875
  setOperationStmt(_p) {
865
- return {
866
- SetOperationStmt: {
867
- op: _p?.op,
868
- all: _p?.all,
869
- larg: _p?.larg,
870
- rarg: _p?.rarg,
871
- colTypes: _p?.colTypes,
872
- colTypmods: _p?.colTypmods,
873
- colCollations: _p?.colCollations,
874
- groupClauses: _p?.groupClauses
875
- }
876
- };
876
+ const _j = {
877
+ SetOperationStmt: {}
878
+ };
879
+ nested_obj_1.default.set(_j, "SetOperationStmt.op", _p?.op);
880
+ nested_obj_1.default.set(_j, "SetOperationStmt.all", _p?.all);
881
+ nested_obj_1.default.set(_j, "SetOperationStmt.larg", _p?.larg);
882
+ nested_obj_1.default.set(_j, "SetOperationStmt.rarg", _p?.rarg);
883
+ nested_obj_1.default.set(_j, "SetOperationStmt.colTypes", _p?.colTypes);
884
+ nested_obj_1.default.set(_j, "SetOperationStmt.colTypmods", _p?.colTypmods);
885
+ nested_obj_1.default.set(_j, "SetOperationStmt.colCollations", _p?.colCollations);
886
+ nested_obj_1.default.set(_j, "SetOperationStmt.groupClauses", _p?.groupClauses);
887
+ return _j;
877
888
  },
878
889
  grantStmt(_p) {
879
- return {
880
- GrantStmt: {
881
- is_grant: _p?.is_grant,
882
- targtype: _p?.targtype,
883
- objtype: _p?.objtype,
884
- objects: _p?.objects,
885
- privileges: _p?.privileges,
886
- grantees: _p?.grantees,
887
- grant_option: _p?.grant_option,
888
- behavior: _p?.behavior
889
- }
890
- };
890
+ const _j = {
891
+ GrantStmt: {}
892
+ };
893
+ nested_obj_1.default.set(_j, "GrantStmt.is_grant", _p?.is_grant);
894
+ nested_obj_1.default.set(_j, "GrantStmt.targtype", _p?.targtype);
895
+ nested_obj_1.default.set(_j, "GrantStmt.objtype", _p?.objtype);
896
+ nested_obj_1.default.set(_j, "GrantStmt.objects", _p?.objects);
897
+ nested_obj_1.default.set(_j, "GrantStmt.privileges", _p?.privileges);
898
+ nested_obj_1.default.set(_j, "GrantStmt.grantees", _p?.grantees);
899
+ nested_obj_1.default.set(_j, "GrantStmt.grant_option", _p?.grant_option);
900
+ nested_obj_1.default.set(_j, "GrantStmt.behavior", _p?.behavior);
901
+ return _j;
891
902
  },
892
903
  grantRoleStmt(_p) {
893
- return {
894
- GrantRoleStmt: {
895
- granted_roles: _p?.granted_roles,
896
- grantee_roles: _p?.grantee_roles,
897
- is_grant: _p?.is_grant,
898
- admin_opt: _p?.admin_opt,
899
- grantor: _p?.grantor,
900
- behavior: _p?.behavior
901
- }
904
+ const _j = {
905
+ GrantRoleStmt: {}
902
906
  };
907
+ nested_obj_1.default.set(_j, "GrantRoleStmt.granted_roles", _p?.granted_roles);
908
+ nested_obj_1.default.set(_j, "GrantRoleStmt.grantee_roles", _p?.grantee_roles);
909
+ nested_obj_1.default.set(_j, "GrantRoleStmt.is_grant", _p?.is_grant);
910
+ nested_obj_1.default.set(_j, "GrantRoleStmt.admin_opt", _p?.admin_opt);
911
+ nested_obj_1.default.set(_j, "GrantRoleStmt.grantor", _p?.grantor);
912
+ nested_obj_1.default.set(_j, "GrantRoleStmt.behavior", _p?.behavior);
913
+ return _j;
903
914
  },
904
915
  alterDefaultPrivilegesStmt(_p) {
905
- return {
906
- AlterDefaultPrivilegesStmt: {
907
- options: _p?.options,
908
- action: _p?.action
909
- }
916
+ const _j = {
917
+ AlterDefaultPrivilegesStmt: {}
910
918
  };
919
+ nested_obj_1.default.set(_j, "AlterDefaultPrivilegesStmt.options", _p?.options);
920
+ nested_obj_1.default.set(_j, "AlterDefaultPrivilegesStmt.action", _p?.action);
921
+ return _j;
911
922
  },
912
923
  closePortalStmt(_p) {
913
- return {
914
- ClosePortalStmt: {
915
- portalname: _p?.portalname
916
- }
924
+ const _j = {
925
+ ClosePortalStmt: {}
917
926
  };
927
+ nested_obj_1.default.set(_j, "ClosePortalStmt.portalname", _p?.portalname);
928
+ return _j;
918
929
  },
919
930
  clusterStmt(_p) {
920
- return {
921
- ClusterStmt: {
922
- relation: _p?.relation,
923
- indexname: _p?.indexname,
924
- options: _p?.options
925
- }
931
+ const _j = {
932
+ ClusterStmt: {}
926
933
  };
934
+ nested_obj_1.default.set(_j, "ClusterStmt.relation", _p?.relation);
935
+ nested_obj_1.default.set(_j, "ClusterStmt.indexname", _p?.indexname);
936
+ nested_obj_1.default.set(_j, "ClusterStmt.options", _p?.options);
937
+ return _j;
927
938
  },
928
939
  copyStmt(_p) {
929
- return {
930
- CopyStmt: {
931
- relation: _p?.relation,
932
- query: _p?.query,
933
- attlist: _p?.attlist,
934
- is_from: _p?.is_from,
935
- is_program: _p?.is_program,
936
- filename: _p?.filename,
937
- options: _p?.options,
938
- whereClause: _p?.whereClause
939
- }
940
- };
940
+ const _j = {
941
+ CopyStmt: {}
942
+ };
943
+ nested_obj_1.default.set(_j, "CopyStmt.relation", _p?.relation);
944
+ nested_obj_1.default.set(_j, "CopyStmt.query", _p?.query);
945
+ nested_obj_1.default.set(_j, "CopyStmt.attlist", _p?.attlist);
946
+ nested_obj_1.default.set(_j, "CopyStmt.is_from", _p?.is_from);
947
+ nested_obj_1.default.set(_j, "CopyStmt.is_program", _p?.is_program);
948
+ nested_obj_1.default.set(_j, "CopyStmt.filename", _p?.filename);
949
+ nested_obj_1.default.set(_j, "CopyStmt.options", _p?.options);
950
+ nested_obj_1.default.set(_j, "CopyStmt.whereClause", _p?.whereClause);
951
+ return _j;
941
952
  },
942
953
  createStmt(_p) {
943
- return {
944
- CreateStmt: {
945
- relation: _p?.relation,
946
- tableElts: _p?.tableElts,
947
- inhRelations: _p?.inhRelations,
948
- partbound: _p?.partbound,
949
- partspec: _p?.partspec,
950
- ofTypename: _p?.ofTypename,
951
- constraints: _p?.constraints,
952
- options: _p?.options,
953
- oncommit: _p?.oncommit,
954
- tablespacename: _p?.tablespacename,
955
- accessMethod: _p?.accessMethod,
956
- if_not_exists: _p?.if_not_exists
957
- }
958
- };
954
+ const _j = {
955
+ CreateStmt: {}
956
+ };
957
+ nested_obj_1.default.set(_j, "CreateStmt.relation", _p?.relation);
958
+ nested_obj_1.default.set(_j, "CreateStmt.tableElts", _p?.tableElts);
959
+ nested_obj_1.default.set(_j, "CreateStmt.inhRelations", _p?.inhRelations);
960
+ nested_obj_1.default.set(_j, "CreateStmt.partbound", _p?.partbound);
961
+ nested_obj_1.default.set(_j, "CreateStmt.partspec", _p?.partspec);
962
+ nested_obj_1.default.set(_j, "CreateStmt.ofTypename", _p?.ofTypename);
963
+ nested_obj_1.default.set(_j, "CreateStmt.constraints", _p?.constraints);
964
+ nested_obj_1.default.set(_j, "CreateStmt.options", _p?.options);
965
+ nested_obj_1.default.set(_j, "CreateStmt.oncommit", _p?.oncommit);
966
+ nested_obj_1.default.set(_j, "CreateStmt.tablespacename", _p?.tablespacename);
967
+ nested_obj_1.default.set(_j, "CreateStmt.accessMethod", _p?.accessMethod);
968
+ nested_obj_1.default.set(_j, "CreateStmt.if_not_exists", _p?.if_not_exists);
969
+ return _j;
959
970
  },
960
971
  defineStmt(_p) {
961
- return {
962
- DefineStmt: {
963
- kind: _p?.kind,
964
- oldstyle: _p?.oldstyle,
965
- defnames: _p?.defnames,
966
- args: _p?.args,
967
- definition: _p?.definition,
968
- if_not_exists: _p?.if_not_exists,
969
- replace: _p?.replace
970
- }
971
- };
972
+ const _j = {
973
+ DefineStmt: {}
974
+ };
975
+ nested_obj_1.default.set(_j, "DefineStmt.kind", _p?.kind);
976
+ nested_obj_1.default.set(_j, "DefineStmt.oldstyle", _p?.oldstyle);
977
+ nested_obj_1.default.set(_j, "DefineStmt.defnames", _p?.defnames);
978
+ nested_obj_1.default.set(_j, "DefineStmt.args", _p?.args);
979
+ nested_obj_1.default.set(_j, "DefineStmt.definition", _p?.definition);
980
+ nested_obj_1.default.set(_j, "DefineStmt.if_not_exists", _p?.if_not_exists);
981
+ nested_obj_1.default.set(_j, "DefineStmt.replace", _p?.replace);
982
+ return _j;
972
983
  },
973
984
  dropStmt(_p) {
974
- return {
975
- DropStmt: {
976
- objects: _p?.objects,
977
- removeType: _p?.removeType,
978
- behavior: _p?.behavior,
979
- missing_ok: _p?.missing_ok,
980
- concurrent: _p?.concurrent
981
- }
985
+ const _j = {
986
+ DropStmt: {}
982
987
  };
988
+ nested_obj_1.default.set(_j, "DropStmt.objects", _p?.objects);
989
+ nested_obj_1.default.set(_j, "DropStmt.removeType", _p?.removeType);
990
+ nested_obj_1.default.set(_j, "DropStmt.behavior", _p?.behavior);
991
+ nested_obj_1.default.set(_j, "DropStmt.missing_ok", _p?.missing_ok);
992
+ nested_obj_1.default.set(_j, "DropStmt.concurrent", _p?.concurrent);
993
+ return _j;
983
994
  },
984
995
  truncateStmt(_p) {
985
- return {
986
- TruncateStmt: {
987
- relations: _p?.relations,
988
- restart_seqs: _p?.restart_seqs,
989
- behavior: _p?.behavior
990
- }
996
+ const _j = {
997
+ TruncateStmt: {}
991
998
  };
999
+ nested_obj_1.default.set(_j, "TruncateStmt.relations", _p?.relations);
1000
+ nested_obj_1.default.set(_j, "TruncateStmt.restart_seqs", _p?.restart_seqs);
1001
+ nested_obj_1.default.set(_j, "TruncateStmt.behavior", _p?.behavior);
1002
+ return _j;
992
1003
  },
993
1004
  commentStmt(_p) {
994
- return {
995
- CommentStmt: {
996
- objtype: _p?.objtype,
997
- object: _p?.object,
998
- comment: _p?.comment
999
- }
1005
+ const _j = {
1006
+ CommentStmt: {}
1000
1007
  };
1008
+ nested_obj_1.default.set(_j, "CommentStmt.objtype", _p?.objtype);
1009
+ nested_obj_1.default.set(_j, "CommentStmt.object", _p?.object);
1010
+ nested_obj_1.default.set(_j, "CommentStmt.comment", _p?.comment);
1011
+ return _j;
1001
1012
  },
1002
1013
  fetchStmt(_p) {
1003
- return {
1004
- FetchStmt: {
1005
- direction: _p?.direction,
1006
- howMany: _p?.howMany,
1007
- portalname: _p?.portalname,
1008
- ismove: _p?.ismove
1009
- }
1014
+ const _j = {
1015
+ FetchStmt: {}
1010
1016
  };
1017
+ nested_obj_1.default.set(_j, "FetchStmt.direction", _p?.direction);
1018
+ nested_obj_1.default.set(_j, "FetchStmt.howMany", _p?.howMany);
1019
+ nested_obj_1.default.set(_j, "FetchStmt.portalname", _p?.portalname);
1020
+ nested_obj_1.default.set(_j, "FetchStmt.ismove", _p?.ismove);
1021
+ return _j;
1011
1022
  },
1012
1023
  indexStmt(_p) {
1013
- return {
1014
- IndexStmt: {
1015
- idxname: _p?.idxname,
1016
- relation: _p?.relation,
1017
- accessMethod: _p?.accessMethod,
1018
- tableSpace: _p?.tableSpace,
1019
- indexParams: _p?.indexParams,
1020
- indexIncludingParams: _p?.indexIncludingParams,
1021
- options: _p?.options,
1022
- whereClause: _p?.whereClause,
1023
- excludeOpNames: _p?.excludeOpNames,
1024
- idxcomment: _p?.idxcomment,
1025
- indexOid: _p?.indexOid,
1026
- oldNode: _p?.oldNode,
1027
- oldCreateSubid: _p?.oldCreateSubid,
1028
- oldFirstRelfilenodeSubid: _p?.oldFirstRelfilenodeSubid,
1029
- unique: _p?.unique,
1030
- primary: _p?.primary,
1031
- isconstraint: _p?.isconstraint,
1032
- deferrable: _p?.deferrable,
1033
- initdeferred: _p?.initdeferred,
1034
- transformed: _p?.transformed,
1035
- concurrent: _p?.concurrent,
1036
- if_not_exists: _p?.if_not_exists,
1037
- reset_default_tblspc: _p?.reset_default_tblspc
1038
- }
1039
- };
1024
+ const _j = {
1025
+ IndexStmt: {}
1026
+ };
1027
+ nested_obj_1.default.set(_j, "IndexStmt.idxname", _p?.idxname);
1028
+ nested_obj_1.default.set(_j, "IndexStmt.relation", _p?.relation);
1029
+ nested_obj_1.default.set(_j, "IndexStmt.accessMethod", _p?.accessMethod);
1030
+ nested_obj_1.default.set(_j, "IndexStmt.tableSpace", _p?.tableSpace);
1031
+ nested_obj_1.default.set(_j, "IndexStmt.indexParams", _p?.indexParams);
1032
+ nested_obj_1.default.set(_j, "IndexStmt.indexIncludingParams", _p?.indexIncludingParams);
1033
+ nested_obj_1.default.set(_j, "IndexStmt.options", _p?.options);
1034
+ nested_obj_1.default.set(_j, "IndexStmt.whereClause", _p?.whereClause);
1035
+ nested_obj_1.default.set(_j, "IndexStmt.excludeOpNames", _p?.excludeOpNames);
1036
+ nested_obj_1.default.set(_j, "IndexStmt.idxcomment", _p?.idxcomment);
1037
+ nested_obj_1.default.set(_j, "IndexStmt.indexOid", _p?.indexOid);
1038
+ nested_obj_1.default.set(_j, "IndexStmt.oldNode", _p?.oldNode);
1039
+ nested_obj_1.default.set(_j, "IndexStmt.oldCreateSubid", _p?.oldCreateSubid);
1040
+ nested_obj_1.default.set(_j, "IndexStmt.oldFirstRelfilenodeSubid", _p?.oldFirstRelfilenodeSubid);
1041
+ nested_obj_1.default.set(_j, "IndexStmt.unique", _p?.unique);
1042
+ nested_obj_1.default.set(_j, "IndexStmt.primary", _p?.primary);
1043
+ nested_obj_1.default.set(_j, "IndexStmt.isconstraint", _p?.isconstraint);
1044
+ nested_obj_1.default.set(_j, "IndexStmt.deferrable", _p?.deferrable);
1045
+ nested_obj_1.default.set(_j, "IndexStmt.initdeferred", _p?.initdeferred);
1046
+ nested_obj_1.default.set(_j, "IndexStmt.transformed", _p?.transformed);
1047
+ nested_obj_1.default.set(_j, "IndexStmt.concurrent", _p?.concurrent);
1048
+ nested_obj_1.default.set(_j, "IndexStmt.if_not_exists", _p?.if_not_exists);
1049
+ nested_obj_1.default.set(_j, "IndexStmt.reset_default_tblspc", _p?.reset_default_tblspc);
1050
+ return _j;
1040
1051
  },
1041
1052
  createFunctionStmt(_p) {
1042
- return {
1043
- CreateFunctionStmt: {
1044
- is_procedure: _p?.is_procedure,
1045
- replace: _p?.replace,
1046
- funcname: _p?.funcname,
1047
- parameters: _p?.parameters,
1048
- returnType: _p?.returnType,
1049
- options: _p?.options
1050
- }
1053
+ const _j = {
1054
+ CreateFunctionStmt: {}
1051
1055
  };
1056
+ nested_obj_1.default.set(_j, "CreateFunctionStmt.is_procedure", _p?.is_procedure);
1057
+ nested_obj_1.default.set(_j, "CreateFunctionStmt.replace", _p?.replace);
1058
+ nested_obj_1.default.set(_j, "CreateFunctionStmt.funcname", _p?.funcname);
1059
+ nested_obj_1.default.set(_j, "CreateFunctionStmt.parameters", _p?.parameters);
1060
+ nested_obj_1.default.set(_j, "CreateFunctionStmt.returnType", _p?.returnType);
1061
+ nested_obj_1.default.set(_j, "CreateFunctionStmt.options", _p?.options);
1062
+ return _j;
1052
1063
  },
1053
1064
  alterFunctionStmt(_p) {
1054
- return {
1055
- AlterFunctionStmt: {
1056
- objtype: _p?.objtype,
1057
- func: _p?.func,
1058
- actions: _p?.actions
1059
- }
1065
+ const _j = {
1066
+ AlterFunctionStmt: {}
1060
1067
  };
1068
+ nested_obj_1.default.set(_j, "AlterFunctionStmt.objtype", _p?.objtype);
1069
+ nested_obj_1.default.set(_j, "AlterFunctionStmt.func", _p?.func);
1070
+ nested_obj_1.default.set(_j, "AlterFunctionStmt.actions", _p?.actions);
1071
+ return _j;
1061
1072
  },
1062
1073
  doStmt(_p) {
1063
- return {
1064
- DoStmt: {
1065
- args: _p?.args
1066
- }
1074
+ const _j = {
1075
+ DoStmt: {}
1067
1076
  };
1077
+ nested_obj_1.default.set(_j, "DoStmt.args", _p?.args);
1078
+ return _j;
1068
1079
  },
1069
1080
  renameStmt(_p) {
1070
- return {
1071
- RenameStmt: {
1072
- renameType: _p?.renameType,
1073
- relationType: _p?.relationType,
1074
- relation: _p?.relation,
1075
- object: _p?.object,
1076
- subname: _p?.subname,
1077
- newname: _p?.newname,
1078
- behavior: _p?.behavior,
1079
- missing_ok: _p?.missing_ok
1080
- }
1081
- };
1081
+ const _j = {
1082
+ RenameStmt: {}
1083
+ };
1084
+ nested_obj_1.default.set(_j, "RenameStmt.renameType", _p?.renameType);
1085
+ nested_obj_1.default.set(_j, "RenameStmt.relationType", _p?.relationType);
1086
+ nested_obj_1.default.set(_j, "RenameStmt.relation", _p?.relation);
1087
+ nested_obj_1.default.set(_j, "RenameStmt.object", _p?.object);
1088
+ nested_obj_1.default.set(_j, "RenameStmt.subname", _p?.subname);
1089
+ nested_obj_1.default.set(_j, "RenameStmt.newname", _p?.newname);
1090
+ nested_obj_1.default.set(_j, "RenameStmt.behavior", _p?.behavior);
1091
+ nested_obj_1.default.set(_j, "RenameStmt.missing_ok", _p?.missing_ok);
1092
+ return _j;
1082
1093
  },
1083
1094
  ruleStmt(_p) {
1084
- return {
1085
- RuleStmt: {
1086
- relation: _p?.relation,
1087
- rulename: _p?.rulename,
1088
- whereClause: _p?.whereClause,
1089
- event: _p?.event,
1090
- instead: _p?.instead,
1091
- actions: _p?.actions,
1092
- replace: _p?.replace
1093
- }
1094
- };
1095
+ const _j = {
1096
+ RuleStmt: {}
1097
+ };
1098
+ nested_obj_1.default.set(_j, "RuleStmt.relation", _p?.relation);
1099
+ nested_obj_1.default.set(_j, "RuleStmt.rulename", _p?.rulename);
1100
+ nested_obj_1.default.set(_j, "RuleStmt.whereClause", _p?.whereClause);
1101
+ nested_obj_1.default.set(_j, "RuleStmt.event", _p?.event);
1102
+ nested_obj_1.default.set(_j, "RuleStmt.instead", _p?.instead);
1103
+ nested_obj_1.default.set(_j, "RuleStmt.actions", _p?.actions);
1104
+ nested_obj_1.default.set(_j, "RuleStmt.replace", _p?.replace);
1105
+ return _j;
1095
1106
  },
1096
1107
  notifyStmt(_p) {
1097
- return {
1098
- NotifyStmt: {
1099
- conditionname: _p?.conditionname,
1100
- payload: _p?.payload
1101
- }
1108
+ const _j = {
1109
+ NotifyStmt: {}
1102
1110
  };
1111
+ nested_obj_1.default.set(_j, "NotifyStmt.conditionname", _p?.conditionname);
1112
+ nested_obj_1.default.set(_j, "NotifyStmt.payload", _p?.payload);
1113
+ return _j;
1103
1114
  },
1104
1115
  listenStmt(_p) {
1105
- return {
1106
- ListenStmt: {
1107
- conditionname: _p?.conditionname
1108
- }
1116
+ const _j = {
1117
+ ListenStmt: {}
1109
1118
  };
1119
+ nested_obj_1.default.set(_j, "ListenStmt.conditionname", _p?.conditionname);
1120
+ return _j;
1110
1121
  },
1111
1122
  unlistenStmt(_p) {
1112
- return {
1113
- UnlistenStmt: {
1114
- conditionname: _p?.conditionname
1115
- }
1123
+ const _j = {
1124
+ UnlistenStmt: {}
1116
1125
  };
1126
+ nested_obj_1.default.set(_j, "UnlistenStmt.conditionname", _p?.conditionname);
1127
+ return _j;
1117
1128
  },
1118
1129
  transactionStmt(_p) {
1119
- return {
1120
- TransactionStmt: {
1121
- kind: _p?.kind,
1122
- options: _p?.options,
1123
- savepoint_name: _p?.savepoint_name,
1124
- gid: _p?.gid,
1125
- chain: _p?.chain
1126
- }
1130
+ const _j = {
1131
+ TransactionStmt: {}
1127
1132
  };
1133
+ nested_obj_1.default.set(_j, "TransactionStmt.kind", _p?.kind);
1134
+ nested_obj_1.default.set(_j, "TransactionStmt.options", _p?.options);
1135
+ nested_obj_1.default.set(_j, "TransactionStmt.savepoint_name", _p?.savepoint_name);
1136
+ nested_obj_1.default.set(_j, "TransactionStmt.gid", _p?.gid);
1137
+ nested_obj_1.default.set(_j, "TransactionStmt.chain", _p?.chain);
1138
+ return _j;
1128
1139
  },
1129
1140
  viewStmt(_p) {
1130
- return {
1131
- ViewStmt: {
1132
- view: _p?.view,
1133
- aliases: _p?.aliases,
1134
- query: _p?.query,
1135
- replace: _p?.replace,
1136
- options: _p?.options,
1137
- withCheckOption: _p?.withCheckOption
1138
- }
1141
+ const _j = {
1142
+ ViewStmt: {}
1139
1143
  };
1144
+ nested_obj_1.default.set(_j, "ViewStmt.view", _p?.view);
1145
+ nested_obj_1.default.set(_j, "ViewStmt.aliases", _p?.aliases);
1146
+ nested_obj_1.default.set(_j, "ViewStmt.query", _p?.query);
1147
+ nested_obj_1.default.set(_j, "ViewStmt.replace", _p?.replace);
1148
+ nested_obj_1.default.set(_j, "ViewStmt.options", _p?.options);
1149
+ nested_obj_1.default.set(_j, "ViewStmt.withCheckOption", _p?.withCheckOption);
1150
+ return _j;
1140
1151
  },
1141
1152
  loadStmt(_p) {
1142
- return {
1143
- LoadStmt: {
1144
- filename: _p?.filename
1145
- }
1153
+ const _j = {
1154
+ LoadStmt: {}
1146
1155
  };
1156
+ nested_obj_1.default.set(_j, "LoadStmt.filename", _p?.filename);
1157
+ return _j;
1147
1158
  },
1148
1159
  createDomainStmt(_p) {
1149
- return {
1150
- CreateDomainStmt: {
1151
- domainname: _p?.domainname,
1152
- typeName: _p?.typeName,
1153
- collClause: _p?.collClause,
1154
- constraints: _p?.constraints
1155
- }
1160
+ const _j = {
1161
+ CreateDomainStmt: {}
1156
1162
  };
1163
+ nested_obj_1.default.set(_j, "CreateDomainStmt.domainname", _p?.domainname);
1164
+ nested_obj_1.default.set(_j, "CreateDomainStmt.typeName", _p?.typeName);
1165
+ nested_obj_1.default.set(_j, "CreateDomainStmt.collClause", _p?.collClause);
1166
+ nested_obj_1.default.set(_j, "CreateDomainStmt.constraints", _p?.constraints);
1167
+ return _j;
1157
1168
  },
1158
1169
  createdbStmt(_p) {
1159
- return {
1160
- CreatedbStmt: {
1161
- dbname: _p?.dbname,
1162
- options: _p?.options
1163
- }
1170
+ const _j = {
1171
+ CreatedbStmt: {}
1164
1172
  };
1173
+ nested_obj_1.default.set(_j, "CreatedbStmt.dbname", _p?.dbname);
1174
+ nested_obj_1.default.set(_j, "CreatedbStmt.options", _p?.options);
1175
+ return _j;
1165
1176
  },
1166
1177
  dropdbStmt(_p) {
1167
- return {
1168
- DropdbStmt: {
1169
- dbname: _p?.dbname,
1170
- missing_ok: _p?.missing_ok,
1171
- options: _p?.options
1172
- }
1178
+ const _j = {
1179
+ DropdbStmt: {}
1173
1180
  };
1181
+ nested_obj_1.default.set(_j, "DropdbStmt.dbname", _p?.dbname);
1182
+ nested_obj_1.default.set(_j, "DropdbStmt.missing_ok", _p?.missing_ok);
1183
+ nested_obj_1.default.set(_j, "DropdbStmt.options", _p?.options);
1184
+ return _j;
1174
1185
  },
1175
1186
  vacuumStmt(_p) {
1176
- return {
1177
- VacuumStmt: {
1178
- options: _p?.options,
1179
- rels: _p?.rels,
1180
- is_vacuumcmd: _p?.is_vacuumcmd
1181
- }
1187
+ const _j = {
1188
+ VacuumStmt: {}
1182
1189
  };
1190
+ nested_obj_1.default.set(_j, "VacuumStmt.options", _p?.options);
1191
+ nested_obj_1.default.set(_j, "VacuumStmt.rels", _p?.rels);
1192
+ nested_obj_1.default.set(_j, "VacuumStmt.is_vacuumcmd", _p?.is_vacuumcmd);
1193
+ return _j;
1183
1194
  },
1184
1195
  explainStmt(_p) {
1185
- return {
1186
- ExplainStmt: {
1187
- query: _p?.query,
1188
- options: _p?.options
1189
- }
1196
+ const _j = {
1197
+ ExplainStmt: {}
1190
1198
  };
1199
+ nested_obj_1.default.set(_j, "ExplainStmt.query", _p?.query);
1200
+ nested_obj_1.default.set(_j, "ExplainStmt.options", _p?.options);
1201
+ return _j;
1191
1202
  },
1192
1203
  createTableAsStmt(_p) {
1193
- return {
1194
- CreateTableAsStmt: {
1195
- query: _p?.query,
1196
- into: _p?.into,
1197
- relkind: _p?.relkind,
1198
- is_select_into: _p?.is_select_into,
1199
- if_not_exists: _p?.if_not_exists
1200
- }
1204
+ const _j = {
1205
+ CreateTableAsStmt: {}
1201
1206
  };
1207
+ nested_obj_1.default.set(_j, "CreateTableAsStmt.query", _p?.query);
1208
+ nested_obj_1.default.set(_j, "CreateTableAsStmt.into", _p?.into);
1209
+ nested_obj_1.default.set(_j, "CreateTableAsStmt.relkind", _p?.relkind);
1210
+ nested_obj_1.default.set(_j, "CreateTableAsStmt.is_select_into", _p?.is_select_into);
1211
+ nested_obj_1.default.set(_j, "CreateTableAsStmt.if_not_exists", _p?.if_not_exists);
1212
+ return _j;
1202
1213
  },
1203
1214
  createSeqStmt(_p) {
1204
- return {
1205
- CreateSeqStmt: {
1206
- sequence: _p?.sequence,
1207
- options: _p?.options,
1208
- ownerId: _p?.ownerId,
1209
- for_identity: _p?.for_identity,
1210
- if_not_exists: _p?.if_not_exists
1211
- }
1215
+ const _j = {
1216
+ CreateSeqStmt: {}
1212
1217
  };
1218
+ nested_obj_1.default.set(_j, "CreateSeqStmt.sequence", _p?.sequence);
1219
+ nested_obj_1.default.set(_j, "CreateSeqStmt.options", _p?.options);
1220
+ nested_obj_1.default.set(_j, "CreateSeqStmt.ownerId", _p?.ownerId);
1221
+ nested_obj_1.default.set(_j, "CreateSeqStmt.for_identity", _p?.for_identity);
1222
+ nested_obj_1.default.set(_j, "CreateSeqStmt.if_not_exists", _p?.if_not_exists);
1223
+ return _j;
1213
1224
  },
1214
1225
  alterSeqStmt(_p) {
1215
- return {
1216
- AlterSeqStmt: {
1217
- sequence: _p?.sequence,
1218
- options: _p?.options,
1219
- for_identity: _p?.for_identity,
1220
- missing_ok: _p?.missing_ok
1221
- }
1226
+ const _j = {
1227
+ AlterSeqStmt: {}
1222
1228
  };
1229
+ nested_obj_1.default.set(_j, "AlterSeqStmt.sequence", _p?.sequence);
1230
+ nested_obj_1.default.set(_j, "AlterSeqStmt.options", _p?.options);
1231
+ nested_obj_1.default.set(_j, "AlterSeqStmt.for_identity", _p?.for_identity);
1232
+ nested_obj_1.default.set(_j, "AlterSeqStmt.missing_ok", _p?.missing_ok);
1233
+ return _j;
1223
1234
  },
1224
1235
  variableSetStmt(_p) {
1225
- return {
1226
- VariableSetStmt: {
1227
- kind: _p?.kind,
1228
- name: _p?.name,
1229
- args: _p?.args,
1230
- is_local: _p?.is_local
1231
- }
1236
+ const _j = {
1237
+ VariableSetStmt: {}
1232
1238
  };
1239
+ nested_obj_1.default.set(_j, "VariableSetStmt.kind", _p?.kind);
1240
+ nested_obj_1.default.set(_j, "VariableSetStmt.name", _p?.name);
1241
+ nested_obj_1.default.set(_j, "VariableSetStmt.args", _p?.args);
1242
+ nested_obj_1.default.set(_j, "VariableSetStmt.is_local", _p?.is_local);
1243
+ return _j;
1233
1244
  },
1234
1245
  variableShowStmt(_p) {
1235
- return {
1236
- VariableShowStmt: {
1237
- name: _p?.name
1238
- }
1246
+ const _j = {
1247
+ VariableShowStmt: {}
1239
1248
  };
1249
+ nested_obj_1.default.set(_j, "VariableShowStmt.name", _p?.name);
1250
+ return _j;
1240
1251
  },
1241
1252
  discardStmt(_p) {
1242
- return {
1243
- DiscardStmt: {
1244
- target: _p?.target
1245
- }
1253
+ const _j = {
1254
+ DiscardStmt: {}
1246
1255
  };
1256
+ nested_obj_1.default.set(_j, "DiscardStmt.target", _p?.target);
1257
+ return _j;
1247
1258
  },
1248
1259
  createTrigStmt(_p) {
1249
- return {
1250
- CreateTrigStmt: {
1251
- trigname: _p?.trigname,
1252
- relation: _p?.relation,
1253
- funcname: _p?.funcname,
1254
- args: _p?.args,
1255
- row: _p?.row,
1256
- timing: _p?.timing,
1257
- events: _p?.events,
1258
- columns: _p?.columns,
1259
- whenClause: _p?.whenClause,
1260
- isconstraint: _p?.isconstraint,
1261
- transitionRels: _p?.transitionRels,
1262
- deferrable: _p?.deferrable,
1263
- initdeferred: _p?.initdeferred,
1264
- constrrel: _p?.constrrel
1265
- }
1266
- };
1260
+ const _j = {
1261
+ CreateTrigStmt: {}
1262
+ };
1263
+ nested_obj_1.default.set(_j, "CreateTrigStmt.trigname", _p?.trigname);
1264
+ nested_obj_1.default.set(_j, "CreateTrigStmt.relation", _p?.relation);
1265
+ nested_obj_1.default.set(_j, "CreateTrigStmt.funcname", _p?.funcname);
1266
+ nested_obj_1.default.set(_j, "CreateTrigStmt.args", _p?.args);
1267
+ nested_obj_1.default.set(_j, "CreateTrigStmt.row", _p?.row);
1268
+ nested_obj_1.default.set(_j, "CreateTrigStmt.timing", _p?.timing);
1269
+ nested_obj_1.default.set(_j, "CreateTrigStmt.events", _p?.events);
1270
+ nested_obj_1.default.set(_j, "CreateTrigStmt.columns", _p?.columns);
1271
+ nested_obj_1.default.set(_j, "CreateTrigStmt.whenClause", _p?.whenClause);
1272
+ nested_obj_1.default.set(_j, "CreateTrigStmt.isconstraint", _p?.isconstraint);
1273
+ nested_obj_1.default.set(_j, "CreateTrigStmt.transitionRels", _p?.transitionRels);
1274
+ nested_obj_1.default.set(_j, "CreateTrigStmt.deferrable", _p?.deferrable);
1275
+ nested_obj_1.default.set(_j, "CreateTrigStmt.initdeferred", _p?.initdeferred);
1276
+ nested_obj_1.default.set(_j, "CreateTrigStmt.constrrel", _p?.constrrel);
1277
+ return _j;
1267
1278
  },
1268
1279
  createpLangStmt(_p) {
1269
- return {
1270
- CreatePLangStmt: {
1271
- replace: _p?.replace,
1272
- plname: _p?.plname,
1273
- plhandler: _p?.plhandler,
1274
- plinline: _p?.plinline,
1275
- plvalidator: _p?.plvalidator,
1276
- pltrusted: _p?.pltrusted
1277
- }
1280
+ const _j = {
1281
+ CreatePLangStmt: {}
1278
1282
  };
1283
+ nested_obj_1.default.set(_j, "CreatePLangStmt.replace", _p?.replace);
1284
+ nested_obj_1.default.set(_j, "CreatePLangStmt.plname", _p?.plname);
1285
+ nested_obj_1.default.set(_j, "CreatePLangStmt.plhandler", _p?.plhandler);
1286
+ nested_obj_1.default.set(_j, "CreatePLangStmt.plinline", _p?.plinline);
1287
+ nested_obj_1.default.set(_j, "CreatePLangStmt.plvalidator", _p?.plvalidator);
1288
+ nested_obj_1.default.set(_j, "CreatePLangStmt.pltrusted", _p?.pltrusted);
1289
+ return _j;
1279
1290
  },
1280
1291
  createRoleStmt(_p) {
1281
- return {
1282
- CreateRoleStmt: {
1283
- stmt_type: _p?.stmt_type,
1284
- role: _p?.role,
1285
- options: _p?.options
1286
- }
1292
+ const _j = {
1293
+ CreateRoleStmt: {}
1287
1294
  };
1295
+ nested_obj_1.default.set(_j, "CreateRoleStmt.stmt_type", _p?.stmt_type);
1296
+ nested_obj_1.default.set(_j, "CreateRoleStmt.role", _p?.role);
1297
+ nested_obj_1.default.set(_j, "CreateRoleStmt.options", _p?.options);
1298
+ return _j;
1288
1299
  },
1289
1300
  alterRoleStmt(_p) {
1290
- return {
1291
- AlterRoleStmt: {
1292
- role: _p?.role,
1293
- options: _p?.options,
1294
- action: _p?.action
1295
- }
1301
+ const _j = {
1302
+ AlterRoleStmt: {}
1296
1303
  };
1304
+ nested_obj_1.default.set(_j, "AlterRoleStmt.role", _p?.role);
1305
+ nested_obj_1.default.set(_j, "AlterRoleStmt.options", _p?.options);
1306
+ nested_obj_1.default.set(_j, "AlterRoleStmt.action", _p?.action);
1307
+ return _j;
1297
1308
  },
1298
1309
  dropRoleStmt(_p) {
1299
- return {
1300
- DropRoleStmt: {
1301
- roles: _p?.roles,
1302
- missing_ok: _p?.missing_ok
1303
- }
1310
+ const _j = {
1311
+ DropRoleStmt: {}
1304
1312
  };
1313
+ nested_obj_1.default.set(_j, "DropRoleStmt.roles", _p?.roles);
1314
+ nested_obj_1.default.set(_j, "DropRoleStmt.missing_ok", _p?.missing_ok);
1315
+ return _j;
1305
1316
  },
1306
1317
  lockStmt(_p) {
1307
- return {
1308
- LockStmt: {
1309
- relations: _p?.relations,
1310
- mode: _p?.mode,
1311
- nowait: _p?.nowait
1312
- }
1318
+ const _j = {
1319
+ LockStmt: {}
1313
1320
  };
1321
+ nested_obj_1.default.set(_j, "LockStmt.relations", _p?.relations);
1322
+ nested_obj_1.default.set(_j, "LockStmt.mode", _p?.mode);
1323
+ nested_obj_1.default.set(_j, "LockStmt.nowait", _p?.nowait);
1324
+ return _j;
1314
1325
  },
1315
1326
  constraintsSetStmt(_p) {
1316
- return {
1317
- ConstraintsSetStmt: {
1318
- constraints: _p?.constraints,
1319
- deferred: _p?.deferred
1320
- }
1327
+ const _j = {
1328
+ ConstraintsSetStmt: {}
1321
1329
  };
1330
+ nested_obj_1.default.set(_j, "ConstraintsSetStmt.constraints", _p?.constraints);
1331
+ nested_obj_1.default.set(_j, "ConstraintsSetStmt.deferred", _p?.deferred);
1332
+ return _j;
1322
1333
  },
1323
1334
  reindexStmt(_p) {
1324
- return {
1325
- ReindexStmt: {
1326
- kind: _p?.kind,
1327
- relation: _p?.relation,
1328
- name: _p?.name,
1329
- options: _p?.options,
1330
- concurrent: _p?.concurrent
1331
- }
1335
+ const _j = {
1336
+ ReindexStmt: {}
1332
1337
  };
1338
+ nested_obj_1.default.set(_j, "ReindexStmt.kind", _p?.kind);
1339
+ nested_obj_1.default.set(_j, "ReindexStmt.relation", _p?.relation);
1340
+ nested_obj_1.default.set(_j, "ReindexStmt.name", _p?.name);
1341
+ nested_obj_1.default.set(_j, "ReindexStmt.options", _p?.options);
1342
+ nested_obj_1.default.set(_j, "ReindexStmt.concurrent", _p?.concurrent);
1343
+ return _j;
1333
1344
  },
1334
1345
  checkPointStmt(_p) {
1335
- return {
1346
+ const _j = {
1336
1347
  CheckPointStmt: {}
1337
1348
  };
1349
+ return _j;
1338
1350
  },
1339
1351
  createSchemaStmt(_p) {
1340
- return {
1341
- CreateSchemaStmt: {
1342
- schemaname: _p?.schemaname,
1343
- authrole: _p?.authrole,
1344
- schemaElts: _p?.schemaElts,
1345
- if_not_exists: _p?.if_not_exists
1346
- }
1352
+ const _j = {
1353
+ CreateSchemaStmt: {}
1347
1354
  };
1355
+ nested_obj_1.default.set(_j, "CreateSchemaStmt.schemaname", _p?.schemaname);
1356
+ nested_obj_1.default.set(_j, "CreateSchemaStmt.authrole", _p?.authrole);
1357
+ nested_obj_1.default.set(_j, "CreateSchemaStmt.schemaElts", _p?.schemaElts);
1358
+ nested_obj_1.default.set(_j, "CreateSchemaStmt.if_not_exists", _p?.if_not_exists);
1359
+ return _j;
1348
1360
  },
1349
1361
  alterDatabaseStmt(_p) {
1350
- return {
1351
- AlterDatabaseStmt: {
1352
- dbname: _p?.dbname,
1353
- options: _p?.options
1354
- }
1362
+ const _j = {
1363
+ AlterDatabaseStmt: {}
1355
1364
  };
1365
+ nested_obj_1.default.set(_j, "AlterDatabaseStmt.dbname", _p?.dbname);
1366
+ nested_obj_1.default.set(_j, "AlterDatabaseStmt.options", _p?.options);
1367
+ return _j;
1356
1368
  },
1357
1369
  alterDatabaseSetStmt(_p) {
1358
- return {
1359
- AlterDatabaseSetStmt: {
1360
- dbname: _p?.dbname,
1361
- setstmt: _p?.setstmt
1362
- }
1370
+ const _j = {
1371
+ AlterDatabaseSetStmt: {}
1363
1372
  };
1373
+ nested_obj_1.default.set(_j, "AlterDatabaseSetStmt.dbname", _p?.dbname);
1374
+ nested_obj_1.default.set(_j, "AlterDatabaseSetStmt.setstmt", _p?.setstmt);
1375
+ return _j;
1364
1376
  },
1365
1377
  alterRoleSetStmt(_p) {
1366
- return {
1367
- AlterRoleSetStmt: {
1368
- role: _p?.role,
1369
- database: _p?.database,
1370
- setstmt: _p?.setstmt
1371
- }
1378
+ const _j = {
1379
+ AlterRoleSetStmt: {}
1372
1380
  };
1381
+ nested_obj_1.default.set(_j, "AlterRoleSetStmt.role", _p?.role);
1382
+ nested_obj_1.default.set(_j, "AlterRoleSetStmt.database", _p?.database);
1383
+ nested_obj_1.default.set(_j, "AlterRoleSetStmt.setstmt", _p?.setstmt);
1384
+ return _j;
1373
1385
  },
1374
1386
  createConversionStmt(_p) {
1375
- return {
1376
- CreateConversionStmt: {
1377
- conversion_name: _p?.conversion_name,
1378
- for_encoding_name: _p?.for_encoding_name,
1379
- to_encoding_name: _p?.to_encoding_name,
1380
- func_name: _p?.func_name,
1381
- def: _p?.def
1382
- }
1387
+ const _j = {
1388
+ CreateConversionStmt: {}
1383
1389
  };
1390
+ nested_obj_1.default.set(_j, "CreateConversionStmt.conversion_name", _p?.conversion_name);
1391
+ nested_obj_1.default.set(_j, "CreateConversionStmt.for_encoding_name", _p?.for_encoding_name);
1392
+ nested_obj_1.default.set(_j, "CreateConversionStmt.to_encoding_name", _p?.to_encoding_name);
1393
+ nested_obj_1.default.set(_j, "CreateConversionStmt.func_name", _p?.func_name);
1394
+ nested_obj_1.default.set(_j, "CreateConversionStmt.def", _p?.def);
1395
+ return _j;
1384
1396
  },
1385
1397
  createCastStmt(_p) {
1386
- return {
1387
- CreateCastStmt: {
1388
- sourcetype: _p?.sourcetype,
1389
- targettype: _p?.targettype,
1390
- func: _p?.func,
1391
- context: _p?.context,
1392
- inout: _p?.inout
1393
- }
1398
+ const _j = {
1399
+ CreateCastStmt: {}
1394
1400
  };
1401
+ nested_obj_1.default.set(_j, "CreateCastStmt.sourcetype", _p?.sourcetype);
1402
+ nested_obj_1.default.set(_j, "CreateCastStmt.targettype", _p?.targettype);
1403
+ nested_obj_1.default.set(_j, "CreateCastStmt.func", _p?.func);
1404
+ nested_obj_1.default.set(_j, "CreateCastStmt.context", _p?.context);
1405
+ nested_obj_1.default.set(_j, "CreateCastStmt.inout", _p?.inout);
1406
+ return _j;
1395
1407
  },
1396
1408
  createOpClassStmt(_p) {
1397
- return {
1398
- CreateOpClassStmt: {
1399
- opclassname: _p?.opclassname,
1400
- opfamilyname: _p?.opfamilyname,
1401
- amname: _p?.amname,
1402
- datatype: _p?.datatype,
1403
- items: _p?.items,
1404
- isDefault: _p?.isDefault
1405
- }
1409
+ const _j = {
1410
+ CreateOpClassStmt: {}
1406
1411
  };
1412
+ nested_obj_1.default.set(_j, "CreateOpClassStmt.opclassname", _p?.opclassname);
1413
+ nested_obj_1.default.set(_j, "CreateOpClassStmt.opfamilyname", _p?.opfamilyname);
1414
+ nested_obj_1.default.set(_j, "CreateOpClassStmt.amname", _p?.amname);
1415
+ nested_obj_1.default.set(_j, "CreateOpClassStmt.datatype", _p?.datatype);
1416
+ nested_obj_1.default.set(_j, "CreateOpClassStmt.items", _p?.items);
1417
+ nested_obj_1.default.set(_j, "CreateOpClassStmt.isDefault", _p?.isDefault);
1418
+ return _j;
1407
1419
  },
1408
1420
  createOpFamilyStmt(_p) {
1409
- return {
1410
- CreateOpFamilyStmt: {
1411
- opfamilyname: _p?.opfamilyname,
1412
- amname: _p?.amname
1413
- }
1421
+ const _j = {
1422
+ CreateOpFamilyStmt: {}
1414
1423
  };
1424
+ nested_obj_1.default.set(_j, "CreateOpFamilyStmt.opfamilyname", _p?.opfamilyname);
1425
+ nested_obj_1.default.set(_j, "CreateOpFamilyStmt.amname", _p?.amname);
1426
+ return _j;
1415
1427
  },
1416
1428
  alterOpFamilyStmt(_p) {
1417
- return {
1418
- AlterOpFamilyStmt: {
1419
- opfamilyname: _p?.opfamilyname,
1420
- amname: _p?.amname,
1421
- isDrop: _p?.isDrop,
1422
- items: _p?.items
1423
- }
1429
+ const _j = {
1430
+ AlterOpFamilyStmt: {}
1424
1431
  };
1432
+ nested_obj_1.default.set(_j, "AlterOpFamilyStmt.opfamilyname", _p?.opfamilyname);
1433
+ nested_obj_1.default.set(_j, "AlterOpFamilyStmt.amname", _p?.amname);
1434
+ nested_obj_1.default.set(_j, "AlterOpFamilyStmt.isDrop", _p?.isDrop);
1435
+ nested_obj_1.default.set(_j, "AlterOpFamilyStmt.items", _p?.items);
1436
+ return _j;
1425
1437
  },
1426
1438
  prepareStmt(_p) {
1427
- return {
1428
- PrepareStmt: {
1429
- name: _p?.name,
1430
- argtypes: _p?.argtypes,
1431
- query: _p?.query
1432
- }
1439
+ const _j = {
1440
+ PrepareStmt: {}
1433
1441
  };
1442
+ nested_obj_1.default.set(_j, "PrepareStmt.name", _p?.name);
1443
+ nested_obj_1.default.set(_j, "PrepareStmt.argtypes", _p?.argtypes);
1444
+ nested_obj_1.default.set(_j, "PrepareStmt.query", _p?.query);
1445
+ return _j;
1434
1446
  },
1435
1447
  executeStmt(_p) {
1436
- return {
1437
- ExecuteStmt: {
1438
- name: _p?.name,
1439
- params: _p?.params
1440
- }
1448
+ const _j = {
1449
+ ExecuteStmt: {}
1441
1450
  };
1451
+ nested_obj_1.default.set(_j, "ExecuteStmt.name", _p?.name);
1452
+ nested_obj_1.default.set(_j, "ExecuteStmt.params", _p?.params);
1453
+ return _j;
1442
1454
  },
1443
1455
  deallocateStmt(_p) {
1444
- return {
1445
- DeallocateStmt: {
1446
- name: _p?.name
1447
- }
1456
+ const _j = {
1457
+ DeallocateStmt: {}
1448
1458
  };
1459
+ nested_obj_1.default.set(_j, "DeallocateStmt.name", _p?.name);
1460
+ return _j;
1449
1461
  },
1450
1462
  declareCursorStmt(_p) {
1451
- return {
1452
- DeclareCursorStmt: {
1453
- portalname: _p?.portalname,
1454
- options: _p?.options,
1455
- query: _p?.query
1456
- }
1463
+ const _j = {
1464
+ DeclareCursorStmt: {}
1457
1465
  };
1466
+ nested_obj_1.default.set(_j, "DeclareCursorStmt.portalname", _p?.portalname);
1467
+ nested_obj_1.default.set(_j, "DeclareCursorStmt.options", _p?.options);
1468
+ nested_obj_1.default.set(_j, "DeclareCursorStmt.query", _p?.query);
1469
+ return _j;
1458
1470
  },
1459
1471
  createTableSpaceStmt(_p) {
1460
- return {
1461
- CreateTableSpaceStmt: {
1462
- tablespacename: _p?.tablespacename,
1463
- owner: _p?.owner,
1464
- location: _p?.location,
1465
- options: _p?.options
1466
- }
1472
+ const _j = {
1473
+ CreateTableSpaceStmt: {}
1467
1474
  };
1475
+ nested_obj_1.default.set(_j, "CreateTableSpaceStmt.tablespacename", _p?.tablespacename);
1476
+ nested_obj_1.default.set(_j, "CreateTableSpaceStmt.owner", _p?.owner);
1477
+ nested_obj_1.default.set(_j, "CreateTableSpaceStmt.location", _p?.location);
1478
+ nested_obj_1.default.set(_j, "CreateTableSpaceStmt.options", _p?.options);
1479
+ return _j;
1468
1480
  },
1469
1481
  dropTableSpaceStmt(_p) {
1470
- return {
1471
- DropTableSpaceStmt: {
1472
- tablespacename: _p?.tablespacename,
1473
- missing_ok: _p?.missing_ok
1474
- }
1482
+ const _j = {
1483
+ DropTableSpaceStmt: {}
1475
1484
  };
1485
+ nested_obj_1.default.set(_j, "DropTableSpaceStmt.tablespacename", _p?.tablespacename);
1486
+ nested_obj_1.default.set(_j, "DropTableSpaceStmt.missing_ok", _p?.missing_ok);
1487
+ return _j;
1476
1488
  },
1477
1489
  alterObjectDependsStmt(_p) {
1478
- return {
1479
- AlterObjectDependsStmt: {
1480
- objectType: _p?.objectType,
1481
- relation: _p?.relation,
1482
- object: _p?.object,
1483
- extname: _p?.extname,
1484
- remove: _p?.remove
1485
- }
1490
+ const _j = {
1491
+ AlterObjectDependsStmt: {}
1486
1492
  };
1493
+ nested_obj_1.default.set(_j, "AlterObjectDependsStmt.objectType", _p?.objectType);
1494
+ nested_obj_1.default.set(_j, "AlterObjectDependsStmt.relation", _p?.relation);
1495
+ nested_obj_1.default.set(_j, "AlterObjectDependsStmt.object", _p?.object);
1496
+ nested_obj_1.default.set(_j, "AlterObjectDependsStmt.extname", _p?.extname);
1497
+ nested_obj_1.default.set(_j, "AlterObjectDependsStmt.remove", _p?.remove);
1498
+ return _j;
1487
1499
  },
1488
1500
  alterObjectSchemaStmt(_p) {
1489
- return {
1490
- AlterObjectSchemaStmt: {
1491
- objectType: _p?.objectType,
1492
- relation: _p?.relation,
1493
- object: _p?.object,
1494
- newschema: _p?.newschema,
1495
- missing_ok: _p?.missing_ok
1496
- }
1501
+ const _j = {
1502
+ AlterObjectSchemaStmt: {}
1497
1503
  };
1504
+ nested_obj_1.default.set(_j, "AlterObjectSchemaStmt.objectType", _p?.objectType);
1505
+ nested_obj_1.default.set(_j, "AlterObjectSchemaStmt.relation", _p?.relation);
1506
+ nested_obj_1.default.set(_j, "AlterObjectSchemaStmt.object", _p?.object);
1507
+ nested_obj_1.default.set(_j, "AlterObjectSchemaStmt.newschema", _p?.newschema);
1508
+ nested_obj_1.default.set(_j, "AlterObjectSchemaStmt.missing_ok", _p?.missing_ok);
1509
+ return _j;
1498
1510
  },
1499
1511
  alterOwnerStmt(_p) {
1500
- return {
1501
- AlterOwnerStmt: {
1502
- objectType: _p?.objectType,
1503
- relation: _p?.relation,
1504
- object: _p?.object,
1505
- newowner: _p?.newowner
1506
- }
1512
+ const _j = {
1513
+ AlterOwnerStmt: {}
1507
1514
  };
1515
+ nested_obj_1.default.set(_j, "AlterOwnerStmt.objectType", _p?.objectType);
1516
+ nested_obj_1.default.set(_j, "AlterOwnerStmt.relation", _p?.relation);
1517
+ nested_obj_1.default.set(_j, "AlterOwnerStmt.object", _p?.object);
1518
+ nested_obj_1.default.set(_j, "AlterOwnerStmt.newowner", _p?.newowner);
1519
+ return _j;
1508
1520
  },
1509
1521
  alterOperatorStmt(_p) {
1510
- return {
1511
- AlterOperatorStmt: {
1512
- opername: _p?.opername,
1513
- options: _p?.options
1514
- }
1522
+ const _j = {
1523
+ AlterOperatorStmt: {}
1515
1524
  };
1525
+ nested_obj_1.default.set(_j, "AlterOperatorStmt.opername", _p?.opername);
1526
+ nested_obj_1.default.set(_j, "AlterOperatorStmt.options", _p?.options);
1527
+ return _j;
1516
1528
  },
1517
1529
  alterTypeStmt(_p) {
1518
- return {
1519
- AlterTypeStmt: {
1520
- typeName: _p?.typeName,
1521
- options: _p?.options
1522
- }
1530
+ const _j = {
1531
+ AlterTypeStmt: {}
1523
1532
  };
1533
+ nested_obj_1.default.set(_j, "AlterTypeStmt.typeName", _p?.typeName);
1534
+ nested_obj_1.default.set(_j, "AlterTypeStmt.options", _p?.options);
1535
+ return _j;
1524
1536
  },
1525
1537
  dropOwnedStmt(_p) {
1526
- return {
1527
- DropOwnedStmt: {
1528
- roles: _p?.roles,
1529
- behavior: _p?.behavior
1530
- }
1538
+ const _j = {
1539
+ DropOwnedStmt: {}
1531
1540
  };
1541
+ nested_obj_1.default.set(_j, "DropOwnedStmt.roles", _p?.roles);
1542
+ nested_obj_1.default.set(_j, "DropOwnedStmt.behavior", _p?.behavior);
1543
+ return _j;
1532
1544
  },
1533
1545
  reassignOwnedStmt(_p) {
1534
- return {
1535
- ReassignOwnedStmt: {
1536
- roles: _p?.roles,
1537
- newrole: _p?.newrole
1538
- }
1546
+ const _j = {
1547
+ ReassignOwnedStmt: {}
1539
1548
  };
1549
+ nested_obj_1.default.set(_j, "ReassignOwnedStmt.roles", _p?.roles);
1550
+ nested_obj_1.default.set(_j, "ReassignOwnedStmt.newrole", _p?.newrole);
1551
+ return _j;
1540
1552
  },
1541
1553
  compositeTypeStmt(_p) {
1542
- return {
1543
- CompositeTypeStmt: {
1544
- typevar: _p?.typevar,
1545
- coldeflist: _p?.coldeflist
1546
- }
1554
+ const _j = {
1555
+ CompositeTypeStmt: {}
1547
1556
  };
1557
+ nested_obj_1.default.set(_j, "CompositeTypeStmt.typevar", _p?.typevar);
1558
+ nested_obj_1.default.set(_j, "CompositeTypeStmt.coldeflist", _p?.coldeflist);
1559
+ return _j;
1548
1560
  },
1549
1561
  createEnumStmt(_p) {
1550
- return {
1551
- CreateEnumStmt: {
1552
- typeName: _p?.typeName,
1553
- vals: _p?.vals
1554
- }
1562
+ const _j = {
1563
+ CreateEnumStmt: {}
1555
1564
  };
1565
+ nested_obj_1.default.set(_j, "CreateEnumStmt.typeName", _p?.typeName);
1566
+ nested_obj_1.default.set(_j, "CreateEnumStmt.vals", _p?.vals);
1567
+ return _j;
1556
1568
  },
1557
1569
  createRangeStmt(_p) {
1558
- return {
1559
- CreateRangeStmt: {
1560
- typeName: _p?.typeName,
1561
- params: _p?.params
1562
- }
1570
+ const _j = {
1571
+ CreateRangeStmt: {}
1563
1572
  };
1573
+ nested_obj_1.default.set(_j, "CreateRangeStmt.typeName", _p?.typeName);
1574
+ nested_obj_1.default.set(_j, "CreateRangeStmt.params", _p?.params);
1575
+ return _j;
1564
1576
  },
1565
1577
  alterEnumStmt(_p) {
1566
- return {
1567
- AlterEnumStmt: {
1568
- typeName: _p?.typeName,
1569
- oldVal: _p?.oldVal,
1570
- newVal: _p?.newVal,
1571
- newValNeighbor: _p?.newValNeighbor,
1572
- newValIsAfter: _p?.newValIsAfter,
1573
- skipIfNewValExists: _p?.skipIfNewValExists
1574
- }
1578
+ const _j = {
1579
+ AlterEnumStmt: {}
1575
1580
  };
1581
+ nested_obj_1.default.set(_j, "AlterEnumStmt.typeName", _p?.typeName);
1582
+ nested_obj_1.default.set(_j, "AlterEnumStmt.oldVal", _p?.oldVal);
1583
+ nested_obj_1.default.set(_j, "AlterEnumStmt.newVal", _p?.newVal);
1584
+ nested_obj_1.default.set(_j, "AlterEnumStmt.newValNeighbor", _p?.newValNeighbor);
1585
+ nested_obj_1.default.set(_j, "AlterEnumStmt.newValIsAfter", _p?.newValIsAfter);
1586
+ nested_obj_1.default.set(_j, "AlterEnumStmt.skipIfNewValExists", _p?.skipIfNewValExists);
1587
+ return _j;
1576
1588
  },
1577
1589
  altertsDictionaryStmt(_p) {
1578
- return {
1579
- AlterTSDictionaryStmt: {
1580
- dictname: _p?.dictname,
1581
- options: _p?.options
1582
- }
1590
+ const _j = {
1591
+ AlterTSDictionaryStmt: {}
1583
1592
  };
1593
+ nested_obj_1.default.set(_j, "AlterTSDictionaryStmt.dictname", _p?.dictname);
1594
+ nested_obj_1.default.set(_j, "AlterTSDictionaryStmt.options", _p?.options);
1595
+ return _j;
1584
1596
  },
1585
1597
  altertsConfigurationStmt(_p) {
1586
- return {
1587
- AlterTSConfigurationStmt: {
1588
- kind: _p?.kind,
1589
- cfgname: _p?.cfgname,
1590
- tokentype: _p?.tokentype,
1591
- dicts: _p?.dicts,
1592
- override: _p?.override,
1593
- replace: _p?.replace,
1594
- missing_ok: _p?.missing_ok
1595
- }
1596
- };
1598
+ const _j = {
1599
+ AlterTSConfigurationStmt: {}
1600
+ };
1601
+ nested_obj_1.default.set(_j, "AlterTSConfigurationStmt.kind", _p?.kind);
1602
+ nested_obj_1.default.set(_j, "AlterTSConfigurationStmt.cfgname", _p?.cfgname);
1603
+ nested_obj_1.default.set(_j, "AlterTSConfigurationStmt.tokentype", _p?.tokentype);
1604
+ nested_obj_1.default.set(_j, "AlterTSConfigurationStmt.dicts", _p?.dicts);
1605
+ nested_obj_1.default.set(_j, "AlterTSConfigurationStmt.override", _p?.override);
1606
+ nested_obj_1.default.set(_j, "AlterTSConfigurationStmt.replace", _p?.replace);
1607
+ nested_obj_1.default.set(_j, "AlterTSConfigurationStmt.missing_ok", _p?.missing_ok);
1608
+ return _j;
1597
1609
  },
1598
1610
  createFdwStmt(_p) {
1599
- return {
1600
- CreateFdwStmt: {
1601
- fdwname: _p?.fdwname,
1602
- func_options: _p?.func_options,
1603
- options: _p?.options
1604
- }
1611
+ const _j = {
1612
+ CreateFdwStmt: {}
1605
1613
  };
1614
+ nested_obj_1.default.set(_j, "CreateFdwStmt.fdwname", _p?.fdwname);
1615
+ nested_obj_1.default.set(_j, "CreateFdwStmt.func_options", _p?.func_options);
1616
+ nested_obj_1.default.set(_j, "CreateFdwStmt.options", _p?.options);
1617
+ return _j;
1606
1618
  },
1607
1619
  alterFdwStmt(_p) {
1608
- return {
1609
- AlterFdwStmt: {
1610
- fdwname: _p?.fdwname,
1611
- func_options: _p?.func_options,
1612
- options: _p?.options
1613
- }
1620
+ const _j = {
1621
+ AlterFdwStmt: {}
1614
1622
  };
1623
+ nested_obj_1.default.set(_j, "AlterFdwStmt.fdwname", _p?.fdwname);
1624
+ nested_obj_1.default.set(_j, "AlterFdwStmt.func_options", _p?.func_options);
1625
+ nested_obj_1.default.set(_j, "AlterFdwStmt.options", _p?.options);
1626
+ return _j;
1615
1627
  },
1616
1628
  createForeignServerStmt(_p) {
1617
- return {
1618
- CreateForeignServerStmt: {
1619
- servername: _p?.servername,
1620
- servertype: _p?.servertype,
1621
- version: _p?.version,
1622
- fdwname: _p?.fdwname,
1623
- if_not_exists: _p?.if_not_exists,
1624
- options: _p?.options
1625
- }
1629
+ const _j = {
1630
+ CreateForeignServerStmt: {}
1626
1631
  };
1632
+ nested_obj_1.default.set(_j, "CreateForeignServerStmt.servername", _p?.servername);
1633
+ nested_obj_1.default.set(_j, "CreateForeignServerStmt.servertype", _p?.servertype);
1634
+ nested_obj_1.default.set(_j, "CreateForeignServerStmt.version", _p?.version);
1635
+ nested_obj_1.default.set(_j, "CreateForeignServerStmt.fdwname", _p?.fdwname);
1636
+ nested_obj_1.default.set(_j, "CreateForeignServerStmt.if_not_exists", _p?.if_not_exists);
1637
+ nested_obj_1.default.set(_j, "CreateForeignServerStmt.options", _p?.options);
1638
+ return _j;
1627
1639
  },
1628
1640
  alterForeignServerStmt(_p) {
1629
- return {
1630
- AlterForeignServerStmt: {
1631
- servername: _p?.servername,
1632
- version: _p?.version,
1633
- options: _p?.options,
1634
- has_version: _p?.has_version
1635
- }
1641
+ const _j = {
1642
+ AlterForeignServerStmt: {}
1636
1643
  };
1644
+ nested_obj_1.default.set(_j, "AlterForeignServerStmt.servername", _p?.servername);
1645
+ nested_obj_1.default.set(_j, "AlterForeignServerStmt.version", _p?.version);
1646
+ nested_obj_1.default.set(_j, "AlterForeignServerStmt.options", _p?.options);
1647
+ nested_obj_1.default.set(_j, "AlterForeignServerStmt.has_version", _p?.has_version);
1648
+ return _j;
1637
1649
  },
1638
1650
  createUserMappingStmt(_p) {
1639
- return {
1640
- CreateUserMappingStmt: {
1641
- user: _p?.user,
1642
- servername: _p?.servername,
1643
- if_not_exists: _p?.if_not_exists,
1644
- options: _p?.options
1645
- }
1651
+ const _j = {
1652
+ CreateUserMappingStmt: {}
1646
1653
  };
1654
+ nested_obj_1.default.set(_j, "CreateUserMappingStmt.user", _p?.user);
1655
+ nested_obj_1.default.set(_j, "CreateUserMappingStmt.servername", _p?.servername);
1656
+ nested_obj_1.default.set(_j, "CreateUserMappingStmt.if_not_exists", _p?.if_not_exists);
1657
+ nested_obj_1.default.set(_j, "CreateUserMappingStmt.options", _p?.options);
1658
+ return _j;
1647
1659
  },
1648
1660
  alterUserMappingStmt(_p) {
1649
- return {
1650
- AlterUserMappingStmt: {
1651
- user: _p?.user,
1652
- servername: _p?.servername,
1653
- options: _p?.options
1654
- }
1661
+ const _j = {
1662
+ AlterUserMappingStmt: {}
1655
1663
  };
1664
+ nested_obj_1.default.set(_j, "AlterUserMappingStmt.user", _p?.user);
1665
+ nested_obj_1.default.set(_j, "AlterUserMappingStmt.servername", _p?.servername);
1666
+ nested_obj_1.default.set(_j, "AlterUserMappingStmt.options", _p?.options);
1667
+ return _j;
1656
1668
  },
1657
1669
  dropUserMappingStmt(_p) {
1658
- return {
1659
- DropUserMappingStmt: {
1660
- user: _p?.user,
1661
- servername: _p?.servername,
1662
- missing_ok: _p?.missing_ok
1663
- }
1670
+ const _j = {
1671
+ DropUserMappingStmt: {}
1664
1672
  };
1673
+ nested_obj_1.default.set(_j, "DropUserMappingStmt.user", _p?.user);
1674
+ nested_obj_1.default.set(_j, "DropUserMappingStmt.servername", _p?.servername);
1675
+ nested_obj_1.default.set(_j, "DropUserMappingStmt.missing_ok", _p?.missing_ok);
1676
+ return _j;
1665
1677
  },
1666
1678
  alterTableSpaceOptionsStmt(_p) {
1667
- return {
1668
- AlterTableSpaceOptionsStmt: {
1669
- tablespacename: _p?.tablespacename,
1670
- options: _p?.options,
1671
- isReset: _p?.isReset
1672
- }
1679
+ const _j = {
1680
+ AlterTableSpaceOptionsStmt: {}
1673
1681
  };
1682
+ nested_obj_1.default.set(_j, "AlterTableSpaceOptionsStmt.tablespacename", _p?.tablespacename);
1683
+ nested_obj_1.default.set(_j, "AlterTableSpaceOptionsStmt.options", _p?.options);
1684
+ nested_obj_1.default.set(_j, "AlterTableSpaceOptionsStmt.isReset", _p?.isReset);
1685
+ return _j;
1674
1686
  },
1675
1687
  alterTableMoveAllStmt(_p) {
1676
- return {
1677
- AlterTableMoveAllStmt: {
1678
- orig_tablespacename: _p?.orig_tablespacename,
1679
- objtype: _p?.objtype,
1680
- roles: _p?.roles,
1681
- new_tablespacename: _p?.new_tablespacename,
1682
- nowait: _p?.nowait
1683
- }
1688
+ const _j = {
1689
+ AlterTableMoveAllStmt: {}
1684
1690
  };
1691
+ nested_obj_1.default.set(_j, "AlterTableMoveAllStmt.orig_tablespacename", _p?.orig_tablespacename);
1692
+ nested_obj_1.default.set(_j, "AlterTableMoveAllStmt.objtype", _p?.objtype);
1693
+ nested_obj_1.default.set(_j, "AlterTableMoveAllStmt.roles", _p?.roles);
1694
+ nested_obj_1.default.set(_j, "AlterTableMoveAllStmt.new_tablespacename", _p?.new_tablespacename);
1695
+ nested_obj_1.default.set(_j, "AlterTableMoveAllStmt.nowait", _p?.nowait);
1696
+ return _j;
1685
1697
  },
1686
1698
  secLabelStmt(_p) {
1687
- return {
1688
- SecLabelStmt: {
1689
- objtype: _p?.objtype,
1690
- object: _p?.object,
1691
- provider: _p?.provider,
1692
- label: _p?.label
1693
- }
1699
+ const _j = {
1700
+ SecLabelStmt: {}
1694
1701
  };
1702
+ nested_obj_1.default.set(_j, "SecLabelStmt.objtype", _p?.objtype);
1703
+ nested_obj_1.default.set(_j, "SecLabelStmt.object", _p?.object);
1704
+ nested_obj_1.default.set(_j, "SecLabelStmt.provider", _p?.provider);
1705
+ nested_obj_1.default.set(_j, "SecLabelStmt.label", _p?.label);
1706
+ return _j;
1695
1707
  },
1696
1708
  createForeignTableStmt(_p) {
1697
- return {
1698
- CreateForeignTableStmt: {
1699
- base: _p?.base,
1700
- servername: _p?.servername,
1701
- options: _p?.options
1702
- }
1709
+ const _j = {
1710
+ CreateForeignTableStmt: {}
1703
1711
  };
1712
+ nested_obj_1.default.set(_j, "CreateForeignTableStmt.base", _p?.base);
1713
+ nested_obj_1.default.set(_j, "CreateForeignTableStmt.servername", _p?.servername);
1714
+ nested_obj_1.default.set(_j, "CreateForeignTableStmt.options", _p?.options);
1715
+ return _j;
1704
1716
  },
1705
1717
  importForeignSchemaStmt(_p) {
1706
- return {
1707
- ImportForeignSchemaStmt: {
1708
- server_name: _p?.server_name,
1709
- remote_schema: _p?.remote_schema,
1710
- local_schema: _p?.local_schema,
1711
- list_type: _p?.list_type,
1712
- table_list: _p?.table_list,
1713
- options: _p?.options
1714
- }
1718
+ const _j = {
1719
+ ImportForeignSchemaStmt: {}
1715
1720
  };
1721
+ nested_obj_1.default.set(_j, "ImportForeignSchemaStmt.server_name", _p?.server_name);
1722
+ nested_obj_1.default.set(_j, "ImportForeignSchemaStmt.remote_schema", _p?.remote_schema);
1723
+ nested_obj_1.default.set(_j, "ImportForeignSchemaStmt.local_schema", _p?.local_schema);
1724
+ nested_obj_1.default.set(_j, "ImportForeignSchemaStmt.list_type", _p?.list_type);
1725
+ nested_obj_1.default.set(_j, "ImportForeignSchemaStmt.table_list", _p?.table_list);
1726
+ nested_obj_1.default.set(_j, "ImportForeignSchemaStmt.options", _p?.options);
1727
+ return _j;
1716
1728
  },
1717
1729
  createExtensionStmt(_p) {
1718
- return {
1719
- CreateExtensionStmt: {
1720
- extname: _p?.extname,
1721
- if_not_exists: _p?.if_not_exists,
1722
- options: _p?.options
1723
- }
1730
+ const _j = {
1731
+ CreateExtensionStmt: {}
1724
1732
  };
1733
+ nested_obj_1.default.set(_j, "CreateExtensionStmt.extname", _p?.extname);
1734
+ nested_obj_1.default.set(_j, "CreateExtensionStmt.if_not_exists", _p?.if_not_exists);
1735
+ nested_obj_1.default.set(_j, "CreateExtensionStmt.options", _p?.options);
1736
+ return _j;
1725
1737
  },
1726
1738
  alterExtensionStmt(_p) {
1727
- return {
1728
- AlterExtensionStmt: {
1729
- extname: _p?.extname,
1730
- options: _p?.options
1731
- }
1739
+ const _j = {
1740
+ AlterExtensionStmt: {}
1732
1741
  };
1742
+ nested_obj_1.default.set(_j, "AlterExtensionStmt.extname", _p?.extname);
1743
+ nested_obj_1.default.set(_j, "AlterExtensionStmt.options", _p?.options);
1744
+ return _j;
1733
1745
  },
1734
1746
  alterExtensionContentsStmt(_p) {
1735
- return {
1736
- AlterExtensionContentsStmt: {
1737
- extname: _p?.extname,
1738
- action: _p?.action,
1739
- objtype: _p?.objtype,
1740
- object: _p?.object
1741
- }
1747
+ const _j = {
1748
+ AlterExtensionContentsStmt: {}
1742
1749
  };
1750
+ nested_obj_1.default.set(_j, "AlterExtensionContentsStmt.extname", _p?.extname);
1751
+ nested_obj_1.default.set(_j, "AlterExtensionContentsStmt.action", _p?.action);
1752
+ nested_obj_1.default.set(_j, "AlterExtensionContentsStmt.objtype", _p?.objtype);
1753
+ nested_obj_1.default.set(_j, "AlterExtensionContentsStmt.object", _p?.object);
1754
+ return _j;
1743
1755
  },
1744
1756
  createEventTrigStmt(_p) {
1745
- return {
1746
- CreateEventTrigStmt: {
1747
- trigname: _p?.trigname,
1748
- eventname: _p?.eventname,
1749
- whenclause: _p?.whenclause,
1750
- funcname: _p?.funcname
1751
- }
1757
+ const _j = {
1758
+ CreateEventTrigStmt: {}
1752
1759
  };
1760
+ nested_obj_1.default.set(_j, "CreateEventTrigStmt.trigname", _p?.trigname);
1761
+ nested_obj_1.default.set(_j, "CreateEventTrigStmt.eventname", _p?.eventname);
1762
+ nested_obj_1.default.set(_j, "CreateEventTrigStmt.whenclause", _p?.whenclause);
1763
+ nested_obj_1.default.set(_j, "CreateEventTrigStmt.funcname", _p?.funcname);
1764
+ return _j;
1753
1765
  },
1754
1766
  alterEventTrigStmt(_p) {
1755
- return {
1756
- AlterEventTrigStmt: {
1757
- trigname: _p?.trigname,
1758
- tgenabled: _p?.tgenabled
1759
- }
1767
+ const _j = {
1768
+ AlterEventTrigStmt: {}
1760
1769
  };
1770
+ nested_obj_1.default.set(_j, "AlterEventTrigStmt.trigname", _p?.trigname);
1771
+ nested_obj_1.default.set(_j, "AlterEventTrigStmt.tgenabled", _p?.tgenabled);
1772
+ return _j;
1761
1773
  },
1762
1774
  refreshMatViewStmt(_p) {
1763
- return {
1764
- RefreshMatViewStmt: {
1765
- concurrent: _p?.concurrent,
1766
- skipData: _p?.skipData,
1767
- relation: _p?.relation
1768
- }
1775
+ const _j = {
1776
+ RefreshMatViewStmt: {}
1769
1777
  };
1778
+ nested_obj_1.default.set(_j, "RefreshMatViewStmt.concurrent", _p?.concurrent);
1779
+ nested_obj_1.default.set(_j, "RefreshMatViewStmt.skipData", _p?.skipData);
1780
+ nested_obj_1.default.set(_j, "RefreshMatViewStmt.relation", _p?.relation);
1781
+ return _j;
1770
1782
  },
1771
1783
  replicaIdentityStmt(_p) {
1772
- return {
1773
- ReplicaIdentityStmt: {
1774
- identity_type: _p?.identity_type,
1775
- name: _p?.name
1776
- }
1784
+ const _j = {
1785
+ ReplicaIdentityStmt: {}
1777
1786
  };
1787
+ nested_obj_1.default.set(_j, "ReplicaIdentityStmt.identity_type", _p?.identity_type);
1788
+ nested_obj_1.default.set(_j, "ReplicaIdentityStmt.name", _p?.name);
1789
+ return _j;
1778
1790
  },
1779
1791
  alterSystemStmt(_p) {
1780
- return {
1781
- AlterSystemStmt: {
1782
- setstmt: _p?.setstmt
1783
- }
1792
+ const _j = {
1793
+ AlterSystemStmt: {}
1784
1794
  };
1795
+ nested_obj_1.default.set(_j, "AlterSystemStmt.setstmt", _p?.setstmt);
1796
+ return _j;
1785
1797
  },
1786
1798
  createPolicyStmt(_p) {
1787
- return {
1788
- CreatePolicyStmt: {
1789
- policy_name: _p?.policy_name,
1790
- table: _p?.table,
1791
- cmd_name: _p?.cmd_name,
1792
- permissive: _p?.permissive,
1793
- roles: _p?.roles,
1794
- qual: _p?.qual,
1795
- with_check: _p?.with_check
1796
- }
1797
- };
1799
+ const _j = {
1800
+ CreatePolicyStmt: {}
1801
+ };
1802
+ nested_obj_1.default.set(_j, "CreatePolicyStmt.policy_name", _p?.policy_name);
1803
+ nested_obj_1.default.set(_j, "CreatePolicyStmt.table", _p?.table);
1804
+ nested_obj_1.default.set(_j, "CreatePolicyStmt.cmd_name", _p?.cmd_name);
1805
+ nested_obj_1.default.set(_j, "CreatePolicyStmt.permissive", _p?.permissive);
1806
+ nested_obj_1.default.set(_j, "CreatePolicyStmt.roles", _p?.roles);
1807
+ nested_obj_1.default.set(_j, "CreatePolicyStmt.qual", _p?.qual);
1808
+ nested_obj_1.default.set(_j, "CreatePolicyStmt.with_check", _p?.with_check);
1809
+ return _j;
1798
1810
  },
1799
1811
  alterPolicyStmt(_p) {
1800
- return {
1801
- AlterPolicyStmt: {
1802
- policy_name: _p?.policy_name,
1803
- table: _p?.table,
1804
- roles: _p?.roles,
1805
- qual: _p?.qual,
1806
- with_check: _p?.with_check
1807
- }
1812
+ const _j = {
1813
+ AlterPolicyStmt: {}
1808
1814
  };
1815
+ nested_obj_1.default.set(_j, "AlterPolicyStmt.policy_name", _p?.policy_name);
1816
+ nested_obj_1.default.set(_j, "AlterPolicyStmt.table", _p?.table);
1817
+ nested_obj_1.default.set(_j, "AlterPolicyStmt.roles", _p?.roles);
1818
+ nested_obj_1.default.set(_j, "AlterPolicyStmt.qual", _p?.qual);
1819
+ nested_obj_1.default.set(_j, "AlterPolicyStmt.with_check", _p?.with_check);
1820
+ return _j;
1809
1821
  },
1810
1822
  createTransformStmt(_p) {
1811
- return {
1812
- CreateTransformStmt: {
1813
- replace: _p?.replace,
1814
- type_name: _p?.type_name,
1815
- lang: _p?.lang,
1816
- fromsql: _p?.fromsql,
1817
- tosql: _p?.tosql
1818
- }
1823
+ const _j = {
1824
+ CreateTransformStmt: {}
1819
1825
  };
1826
+ nested_obj_1.default.set(_j, "CreateTransformStmt.replace", _p?.replace);
1827
+ nested_obj_1.default.set(_j, "CreateTransformStmt.type_name", _p?.type_name);
1828
+ nested_obj_1.default.set(_j, "CreateTransformStmt.lang", _p?.lang);
1829
+ nested_obj_1.default.set(_j, "CreateTransformStmt.fromsql", _p?.fromsql);
1830
+ nested_obj_1.default.set(_j, "CreateTransformStmt.tosql", _p?.tosql);
1831
+ return _j;
1820
1832
  },
1821
1833
  createAmStmt(_p) {
1822
- return {
1823
- CreateAmStmt: {
1824
- amname: _p?.amname,
1825
- handler_name: _p?.handler_name,
1826
- amtype: _p?.amtype
1827
- }
1834
+ const _j = {
1835
+ CreateAmStmt: {}
1828
1836
  };
1837
+ nested_obj_1.default.set(_j, "CreateAmStmt.amname", _p?.amname);
1838
+ nested_obj_1.default.set(_j, "CreateAmStmt.handler_name", _p?.handler_name);
1839
+ nested_obj_1.default.set(_j, "CreateAmStmt.amtype", _p?.amtype);
1840
+ return _j;
1829
1841
  },
1830
1842
  createPublicationStmt(_p) {
1831
- return {
1832
- CreatePublicationStmt: {
1833
- pubname: _p?.pubname,
1834
- options: _p?.options,
1835
- tables: _p?.tables,
1836
- for_all_tables: _p?.for_all_tables
1837
- }
1843
+ const _j = {
1844
+ CreatePublicationStmt: {}
1838
1845
  };
1846
+ nested_obj_1.default.set(_j, "CreatePublicationStmt.pubname", _p?.pubname);
1847
+ nested_obj_1.default.set(_j, "CreatePublicationStmt.options", _p?.options);
1848
+ nested_obj_1.default.set(_j, "CreatePublicationStmt.tables", _p?.tables);
1849
+ nested_obj_1.default.set(_j, "CreatePublicationStmt.for_all_tables", _p?.for_all_tables);
1850
+ return _j;
1839
1851
  },
1840
1852
  alterPublicationStmt(_p) {
1841
- return {
1842
- AlterPublicationStmt: {
1843
- pubname: _p?.pubname,
1844
- options: _p?.options,
1845
- tables: _p?.tables,
1846
- for_all_tables: _p?.for_all_tables,
1847
- tableAction: _p?.tableAction
1848
- }
1853
+ const _j = {
1854
+ AlterPublicationStmt: {}
1849
1855
  };
1856
+ nested_obj_1.default.set(_j, "AlterPublicationStmt.pubname", _p?.pubname);
1857
+ nested_obj_1.default.set(_j, "AlterPublicationStmt.options", _p?.options);
1858
+ nested_obj_1.default.set(_j, "AlterPublicationStmt.tables", _p?.tables);
1859
+ nested_obj_1.default.set(_j, "AlterPublicationStmt.for_all_tables", _p?.for_all_tables);
1860
+ nested_obj_1.default.set(_j, "AlterPublicationStmt.tableAction", _p?.tableAction);
1861
+ return _j;
1850
1862
  },
1851
1863
  createSubscriptionStmt(_p) {
1852
- return {
1853
- CreateSubscriptionStmt: {
1854
- subname: _p?.subname,
1855
- conninfo: _p?.conninfo,
1856
- publication: _p?.publication,
1857
- options: _p?.options
1858
- }
1864
+ const _j = {
1865
+ CreateSubscriptionStmt: {}
1859
1866
  };
1867
+ nested_obj_1.default.set(_j, "CreateSubscriptionStmt.subname", _p?.subname);
1868
+ nested_obj_1.default.set(_j, "CreateSubscriptionStmt.conninfo", _p?.conninfo);
1869
+ nested_obj_1.default.set(_j, "CreateSubscriptionStmt.publication", _p?.publication);
1870
+ nested_obj_1.default.set(_j, "CreateSubscriptionStmt.options", _p?.options);
1871
+ return _j;
1860
1872
  },
1861
1873
  alterSubscriptionStmt(_p) {
1862
- return {
1863
- AlterSubscriptionStmt: {
1864
- kind: _p?.kind,
1865
- subname: _p?.subname,
1866
- conninfo: _p?.conninfo,
1867
- publication: _p?.publication,
1868
- options: _p?.options
1869
- }
1874
+ const _j = {
1875
+ AlterSubscriptionStmt: {}
1870
1876
  };
1877
+ nested_obj_1.default.set(_j, "AlterSubscriptionStmt.kind", _p?.kind);
1878
+ nested_obj_1.default.set(_j, "AlterSubscriptionStmt.subname", _p?.subname);
1879
+ nested_obj_1.default.set(_j, "AlterSubscriptionStmt.conninfo", _p?.conninfo);
1880
+ nested_obj_1.default.set(_j, "AlterSubscriptionStmt.publication", _p?.publication);
1881
+ nested_obj_1.default.set(_j, "AlterSubscriptionStmt.options", _p?.options);
1882
+ return _j;
1871
1883
  },
1872
1884
  dropSubscriptionStmt(_p) {
1873
- return {
1874
- DropSubscriptionStmt: {
1875
- subname: _p?.subname,
1876
- missing_ok: _p?.missing_ok,
1877
- behavior: _p?.behavior
1878
- }
1885
+ const _j = {
1886
+ DropSubscriptionStmt: {}
1879
1887
  };
1888
+ nested_obj_1.default.set(_j, "DropSubscriptionStmt.subname", _p?.subname);
1889
+ nested_obj_1.default.set(_j, "DropSubscriptionStmt.missing_ok", _p?.missing_ok);
1890
+ nested_obj_1.default.set(_j, "DropSubscriptionStmt.behavior", _p?.behavior);
1891
+ return _j;
1880
1892
  },
1881
1893
  createStatsStmt(_p) {
1882
- return {
1883
- CreateStatsStmt: {
1884
- defnames: _p?.defnames,
1885
- stat_types: _p?.stat_types,
1886
- exprs: _p?.exprs,
1887
- relations: _p?.relations,
1888
- stxcomment: _p?.stxcomment,
1889
- if_not_exists: _p?.if_not_exists
1890
- }
1894
+ const _j = {
1895
+ CreateStatsStmt: {}
1891
1896
  };
1897
+ nested_obj_1.default.set(_j, "CreateStatsStmt.defnames", _p?.defnames);
1898
+ nested_obj_1.default.set(_j, "CreateStatsStmt.stat_types", _p?.stat_types);
1899
+ nested_obj_1.default.set(_j, "CreateStatsStmt.exprs", _p?.exprs);
1900
+ nested_obj_1.default.set(_j, "CreateStatsStmt.relations", _p?.relations);
1901
+ nested_obj_1.default.set(_j, "CreateStatsStmt.stxcomment", _p?.stxcomment);
1902
+ nested_obj_1.default.set(_j, "CreateStatsStmt.if_not_exists", _p?.if_not_exists);
1903
+ return _j;
1892
1904
  },
1893
1905
  alterCollationStmt(_p) {
1894
- return {
1895
- AlterCollationStmt: {
1896
- collname: _p?.collname
1897
- }
1906
+ const _j = {
1907
+ AlterCollationStmt: {}
1898
1908
  };
1909
+ nested_obj_1.default.set(_j, "AlterCollationStmt.collname", _p?.collname);
1910
+ return _j;
1899
1911
  },
1900
1912
  callStmt(_p) {
1901
- return {
1902
- CallStmt: {
1903
- funccall: _p?.funccall,
1904
- funcexpr: _p?.funcexpr
1905
- }
1913
+ const _j = {
1914
+ CallStmt: {}
1906
1915
  };
1916
+ nested_obj_1.default.set(_j, "CallStmt.funccall", _p?.funccall);
1917
+ nested_obj_1.default.set(_j, "CallStmt.funcexpr", _p?.funcexpr);
1918
+ return _j;
1907
1919
  },
1908
1920
  alterStatsStmt(_p) {
1909
- return {
1910
- AlterStatsStmt: {
1911
- defnames: _p?.defnames,
1912
- stxstattarget: _p?.stxstattarget,
1913
- missing_ok: _p?.missing_ok
1914
- }
1921
+ const _j = {
1922
+ AlterStatsStmt: {}
1915
1923
  };
1924
+ nested_obj_1.default.set(_j, "AlterStatsStmt.defnames", _p?.defnames);
1925
+ nested_obj_1.default.set(_j, "AlterStatsStmt.stxstattarget", _p?.stxstattarget);
1926
+ nested_obj_1.default.set(_j, "AlterStatsStmt.missing_ok", _p?.missing_ok);
1927
+ return _j;
1916
1928
  },
1917
1929
  aExpr(_p) {
1918
- return {
1919
- A_Expr: {
1920
- kind: _p?.kind,
1921
- name: _p?.name,
1922
- lexpr: _p?.lexpr,
1923
- rexpr: _p?.rexpr,
1924
- location: _p?.location
1925
- }
1930
+ const _j = {
1931
+ A_Expr: {}
1926
1932
  };
1933
+ nested_obj_1.default.set(_j, "A_Expr.kind", _p?.kind);
1934
+ nested_obj_1.default.set(_j, "A_Expr.name", _p?.name);
1935
+ nested_obj_1.default.set(_j, "A_Expr.lexpr", _p?.lexpr);
1936
+ nested_obj_1.default.set(_j, "A_Expr.rexpr", _p?.rexpr);
1937
+ nested_obj_1.default.set(_j, "A_Expr.location", _p?.location);
1938
+ return _j;
1927
1939
  },
1928
1940
  columnRef(_p) {
1929
- return {
1930
- ColumnRef: {
1931
- fields: _p?.fields,
1932
- location: _p?.location
1933
- }
1941
+ const _j = {
1942
+ ColumnRef: {}
1934
1943
  };
1944
+ nested_obj_1.default.set(_j, "ColumnRef.fields", _p?.fields);
1945
+ nested_obj_1.default.set(_j, "ColumnRef.location", _p?.location);
1946
+ return _j;
1935
1947
  },
1936
1948
  paramRef(_p) {
1937
- return {
1938
- ParamRef: {
1939
- number: _p?.number,
1940
- location: _p?.location
1941
- }
1949
+ const _j = {
1950
+ ParamRef: {}
1942
1951
  };
1952
+ nested_obj_1.default.set(_j, "ParamRef.number", _p?.number);
1953
+ nested_obj_1.default.set(_j, "ParamRef.location", _p?.location);
1954
+ return _j;
1943
1955
  },
1944
1956
  aConst(_p) {
1945
- return {
1946
- A_Const: {
1947
- val: _p?.val,
1948
- location: _p?.location
1949
- }
1957
+ const _j = {
1958
+ A_Const: {}
1950
1959
  };
1960
+ nested_obj_1.default.set(_j, "A_Const.val", _p?.val);
1961
+ nested_obj_1.default.set(_j, "A_Const.location", _p?.location);
1962
+ return _j;
1951
1963
  },
1952
1964
  funcCall(_p) {
1953
- return {
1954
- FuncCall: {
1955
- funcname: _p?.funcname,
1956
- args: _p?.args,
1957
- agg_order: _p?.agg_order,
1958
- agg_filter: _p?.agg_filter,
1959
- agg_within_group: _p?.agg_within_group,
1960
- agg_star: _p?.agg_star,
1961
- agg_distinct: _p?.agg_distinct,
1962
- func_variadic: _p?.func_variadic,
1963
- over: _p?.over,
1964
- location: _p?.location
1965
- }
1966
- };
1965
+ const _j = {
1966
+ FuncCall: {}
1967
+ };
1968
+ nested_obj_1.default.set(_j, "FuncCall.funcname", _p?.funcname);
1969
+ nested_obj_1.default.set(_j, "FuncCall.args", _p?.args);
1970
+ nested_obj_1.default.set(_j, "FuncCall.agg_order", _p?.agg_order);
1971
+ nested_obj_1.default.set(_j, "FuncCall.agg_filter", _p?.agg_filter);
1972
+ nested_obj_1.default.set(_j, "FuncCall.agg_within_group", _p?.agg_within_group);
1973
+ nested_obj_1.default.set(_j, "FuncCall.agg_star", _p?.agg_star);
1974
+ nested_obj_1.default.set(_j, "FuncCall.agg_distinct", _p?.agg_distinct);
1975
+ nested_obj_1.default.set(_j, "FuncCall.func_variadic", _p?.func_variadic);
1976
+ nested_obj_1.default.set(_j, "FuncCall.over", _p?.over);
1977
+ nested_obj_1.default.set(_j, "FuncCall.location", _p?.location);
1978
+ return _j;
1967
1979
  },
1968
1980
  aStar(_p) {
1969
- return {
1981
+ const _j = {
1970
1982
  A_Star: {}
1971
1983
  };
1984
+ return _j;
1972
1985
  },
1973
1986
  aIndices(_p) {
1974
- return {
1975
- A_Indices: {
1976
- is_slice: _p?.is_slice,
1977
- lidx: _p?.lidx,
1978
- uidx: _p?.uidx
1979
- }
1987
+ const _j = {
1988
+ A_Indices: {}
1980
1989
  };
1990
+ nested_obj_1.default.set(_j, "A_Indices.is_slice", _p?.is_slice);
1991
+ nested_obj_1.default.set(_j, "A_Indices.lidx", _p?.lidx);
1992
+ nested_obj_1.default.set(_j, "A_Indices.uidx", _p?.uidx);
1993
+ return _j;
1981
1994
  },
1982
1995
  aIndirection(_p) {
1983
- return {
1984
- A_Indirection: {
1985
- arg: _p?.arg,
1986
- indirection: _p?.indirection
1987
- }
1996
+ const _j = {
1997
+ A_Indirection: {}
1988
1998
  };
1999
+ nested_obj_1.default.set(_j, "A_Indirection.arg", _p?.arg);
2000
+ nested_obj_1.default.set(_j, "A_Indirection.indirection", _p?.indirection);
2001
+ return _j;
1989
2002
  },
1990
2003
  aArrayExpr(_p) {
1991
- return {
1992
- A_ArrayExpr: {
1993
- elements: _p?.elements,
1994
- location: _p?.location
1995
- }
2004
+ const _j = {
2005
+ A_ArrayExpr: {}
1996
2006
  };
2007
+ nested_obj_1.default.set(_j, "A_ArrayExpr.elements", _p?.elements);
2008
+ nested_obj_1.default.set(_j, "A_ArrayExpr.location", _p?.location);
2009
+ return _j;
1997
2010
  },
1998
2011
  resTarget(_p) {
1999
- return {
2000
- ResTarget: {
2001
- name: _p?.name,
2002
- indirection: _p?.indirection,
2003
- val: _p?.val,
2004
- location: _p?.location
2005
- }
2012
+ const _j = {
2013
+ ResTarget: {}
2006
2014
  };
2015
+ nested_obj_1.default.set(_j, "ResTarget.name", _p?.name);
2016
+ nested_obj_1.default.set(_j, "ResTarget.indirection", _p?.indirection);
2017
+ nested_obj_1.default.set(_j, "ResTarget.val", _p?.val);
2018
+ nested_obj_1.default.set(_j, "ResTarget.location", _p?.location);
2019
+ return _j;
2007
2020
  },
2008
2021
  multiAssignRef(_p) {
2009
- return {
2010
- MultiAssignRef: {
2011
- source: _p?.source,
2012
- colno: _p?.colno,
2013
- ncolumns: _p?.ncolumns
2014
- }
2022
+ const _j = {
2023
+ MultiAssignRef: {}
2015
2024
  };
2025
+ nested_obj_1.default.set(_j, "MultiAssignRef.source", _p?.source);
2026
+ nested_obj_1.default.set(_j, "MultiAssignRef.colno", _p?.colno);
2027
+ nested_obj_1.default.set(_j, "MultiAssignRef.ncolumns", _p?.ncolumns);
2028
+ return _j;
2016
2029
  },
2017
2030
  typeCast(_p) {
2018
- return {
2019
- TypeCast: {
2020
- arg: _p?.arg,
2021
- typeName: _p?.typeName,
2022
- location: _p?.location
2023
- }
2031
+ const _j = {
2032
+ TypeCast: {}
2024
2033
  };
2034
+ nested_obj_1.default.set(_j, "TypeCast.arg", _p?.arg);
2035
+ nested_obj_1.default.set(_j, "TypeCast.typeName", _p?.typeName);
2036
+ nested_obj_1.default.set(_j, "TypeCast.location", _p?.location);
2037
+ return _j;
2025
2038
  },
2026
2039
  collateClause(_p) {
2027
- return {
2028
- CollateClause: {
2029
- arg: _p?.arg,
2030
- collname: _p?.collname,
2031
- location: _p?.location
2032
- }
2040
+ const _j = {
2041
+ CollateClause: {}
2033
2042
  };
2043
+ nested_obj_1.default.set(_j, "CollateClause.arg", _p?.arg);
2044
+ nested_obj_1.default.set(_j, "CollateClause.collname", _p?.collname);
2045
+ nested_obj_1.default.set(_j, "CollateClause.location", _p?.location);
2046
+ return _j;
2034
2047
  },
2035
2048
  sortBy(_p) {
2036
- return {
2037
- SortBy: {
2038
- node: _p?.node,
2039
- sortby_dir: _p?.sortby_dir,
2040
- sortby_nulls: _p?.sortby_nulls,
2041
- useOp: _p?.useOp,
2042
- location: _p?.location
2043
- }
2049
+ const _j = {
2050
+ SortBy: {}
2044
2051
  };
2052
+ nested_obj_1.default.set(_j, "SortBy.node", _p?.node);
2053
+ nested_obj_1.default.set(_j, "SortBy.sortby_dir", _p?.sortby_dir);
2054
+ nested_obj_1.default.set(_j, "SortBy.sortby_nulls", _p?.sortby_nulls);
2055
+ nested_obj_1.default.set(_j, "SortBy.useOp", _p?.useOp);
2056
+ nested_obj_1.default.set(_j, "SortBy.location", _p?.location);
2057
+ return _j;
2045
2058
  },
2046
2059
  windowDef(_p) {
2047
- return {
2048
- WindowDef: {
2049
- name: _p?.name,
2050
- refname: _p?.refname,
2051
- partitionClause: _p?.partitionClause,
2052
- orderClause: _p?.orderClause,
2053
- frameOptions: _p?.frameOptions,
2054
- startOffset: _p?.startOffset,
2055
- endOffset: _p?.endOffset,
2056
- location: _p?.location
2057
- }
2058
- };
2060
+ const _j = {
2061
+ WindowDef: {}
2062
+ };
2063
+ nested_obj_1.default.set(_j, "WindowDef.name", _p?.name);
2064
+ nested_obj_1.default.set(_j, "WindowDef.refname", _p?.refname);
2065
+ nested_obj_1.default.set(_j, "WindowDef.partitionClause", _p?.partitionClause);
2066
+ nested_obj_1.default.set(_j, "WindowDef.orderClause", _p?.orderClause);
2067
+ nested_obj_1.default.set(_j, "WindowDef.frameOptions", _p?.frameOptions);
2068
+ nested_obj_1.default.set(_j, "WindowDef.startOffset", _p?.startOffset);
2069
+ nested_obj_1.default.set(_j, "WindowDef.endOffset", _p?.endOffset);
2070
+ nested_obj_1.default.set(_j, "WindowDef.location", _p?.location);
2071
+ return _j;
2059
2072
  },
2060
2073
  rangeSubselect(_p) {
2061
- return {
2062
- RangeSubselect: {
2063
- lateral: _p?.lateral,
2064
- subquery: _p?.subquery,
2065
- alias: _p?.alias
2066
- }
2074
+ const _j = {
2075
+ RangeSubselect: {}
2067
2076
  };
2077
+ nested_obj_1.default.set(_j, "RangeSubselect.lateral", _p?.lateral);
2078
+ nested_obj_1.default.set(_j, "RangeSubselect.subquery", _p?.subquery);
2079
+ nested_obj_1.default.set(_j, "RangeSubselect.alias", _p?.alias);
2080
+ return _j;
2068
2081
  },
2069
2082
  rangeFunction(_p) {
2070
- return {
2071
- RangeFunction: {
2072
- lateral: _p?.lateral,
2073
- ordinality: _p?.ordinality,
2074
- is_rowsfrom: _p?.is_rowsfrom,
2075
- functions: _p?.functions,
2076
- alias: _p?.alias,
2077
- coldeflist: _p?.coldeflist
2078
- }
2083
+ const _j = {
2084
+ RangeFunction: {}
2079
2085
  };
2086
+ nested_obj_1.default.set(_j, "RangeFunction.lateral", _p?.lateral);
2087
+ nested_obj_1.default.set(_j, "RangeFunction.ordinality", _p?.ordinality);
2088
+ nested_obj_1.default.set(_j, "RangeFunction.is_rowsfrom", _p?.is_rowsfrom);
2089
+ nested_obj_1.default.set(_j, "RangeFunction.functions", _p?.functions);
2090
+ nested_obj_1.default.set(_j, "RangeFunction.alias", _p?.alias);
2091
+ nested_obj_1.default.set(_j, "RangeFunction.coldeflist", _p?.coldeflist);
2092
+ return _j;
2080
2093
  },
2081
2094
  rangeTableSample(_p) {
2082
- return {
2083
- RangeTableSample: {
2084
- relation: _p?.relation,
2085
- method: _p?.method,
2086
- args: _p?.args,
2087
- repeatable: _p?.repeatable,
2088
- location: _p?.location
2089
- }
2095
+ const _j = {
2096
+ RangeTableSample: {}
2090
2097
  };
2098
+ nested_obj_1.default.set(_j, "RangeTableSample.relation", _p?.relation);
2099
+ nested_obj_1.default.set(_j, "RangeTableSample.method", _p?.method);
2100
+ nested_obj_1.default.set(_j, "RangeTableSample.args", _p?.args);
2101
+ nested_obj_1.default.set(_j, "RangeTableSample.repeatable", _p?.repeatable);
2102
+ nested_obj_1.default.set(_j, "RangeTableSample.location", _p?.location);
2103
+ return _j;
2091
2104
  },
2092
2105
  rangeTableFunc(_p) {
2093
- return {
2094
- RangeTableFunc: {
2095
- lateral: _p?.lateral,
2096
- docexpr: _p?.docexpr,
2097
- rowexpr: _p?.rowexpr,
2098
- namespaces: _p?.namespaces,
2099
- columns: _p?.columns,
2100
- alias: _p?.alias,
2101
- location: _p?.location
2102
- }
2103
- };
2106
+ const _j = {
2107
+ RangeTableFunc: {}
2108
+ };
2109
+ nested_obj_1.default.set(_j, "RangeTableFunc.lateral", _p?.lateral);
2110
+ nested_obj_1.default.set(_j, "RangeTableFunc.docexpr", _p?.docexpr);
2111
+ nested_obj_1.default.set(_j, "RangeTableFunc.rowexpr", _p?.rowexpr);
2112
+ nested_obj_1.default.set(_j, "RangeTableFunc.namespaces", _p?.namespaces);
2113
+ nested_obj_1.default.set(_j, "RangeTableFunc.columns", _p?.columns);
2114
+ nested_obj_1.default.set(_j, "RangeTableFunc.alias", _p?.alias);
2115
+ nested_obj_1.default.set(_j, "RangeTableFunc.location", _p?.location);
2116
+ return _j;
2104
2117
  },
2105
2118
  rangeTableFuncCol(_p) {
2106
- return {
2107
- RangeTableFuncCol: {
2108
- colname: _p?.colname,
2109
- typeName: _p?.typeName,
2110
- for_ordinality: _p?.for_ordinality,
2111
- is_not_null: _p?.is_not_null,
2112
- colexpr: _p?.colexpr,
2113
- coldefexpr: _p?.coldefexpr,
2114
- location: _p?.location
2115
- }
2116
- };
2119
+ const _j = {
2120
+ RangeTableFuncCol: {}
2121
+ };
2122
+ nested_obj_1.default.set(_j, "RangeTableFuncCol.colname", _p?.colname);
2123
+ nested_obj_1.default.set(_j, "RangeTableFuncCol.typeName", _p?.typeName);
2124
+ nested_obj_1.default.set(_j, "RangeTableFuncCol.for_ordinality", _p?.for_ordinality);
2125
+ nested_obj_1.default.set(_j, "RangeTableFuncCol.is_not_null", _p?.is_not_null);
2126
+ nested_obj_1.default.set(_j, "RangeTableFuncCol.colexpr", _p?.colexpr);
2127
+ nested_obj_1.default.set(_j, "RangeTableFuncCol.coldefexpr", _p?.coldefexpr);
2128
+ nested_obj_1.default.set(_j, "RangeTableFuncCol.location", _p?.location);
2129
+ return _j;
2117
2130
  },
2118
2131
  typeName(_p) {
2119
- return {
2120
- names: _p?.names,
2121
- typeOid: _p?.typeOid,
2122
- setof: _p?.setof,
2123
- pct_type: _p?.pct_type,
2124
- typmods: _p?.typmods,
2125
- typemod: _p?.typemod,
2126
- arrayBounds: _p?.arrayBounds,
2127
- location: _p?.location
2128
- };
2132
+ const _j = {};
2133
+ nested_obj_1.default.set(_j, "names", _p?.names);
2134
+ nested_obj_1.default.set(_j, "typeOid", _p?.typeOid);
2135
+ nested_obj_1.default.set(_j, "setof", _p?.setof);
2136
+ nested_obj_1.default.set(_j, "pct_type", _p?.pct_type);
2137
+ nested_obj_1.default.set(_j, "typmods", _p?.typmods);
2138
+ nested_obj_1.default.set(_j, "typemod", _p?.typemod);
2139
+ nested_obj_1.default.set(_j, "arrayBounds", _p?.arrayBounds);
2140
+ nested_obj_1.default.set(_j, "location", _p?.location);
2141
+ return _j;
2129
2142
  },
2130
2143
  columnDef(_p) {
2131
- return {
2132
- ColumnDef: {
2133
- colname: _p?.colname,
2134
- typeName: _p?.typeName,
2135
- inhcount: _p?.inhcount,
2136
- is_local: _p?.is_local,
2137
- is_not_null: _p?.is_not_null,
2138
- is_from_type: _p?.is_from_type,
2139
- storage: _p?.storage,
2140
- raw_default: _p?.raw_default,
2141
- cooked_default: _p?.cooked_default,
2142
- identity: _p?.identity,
2143
- identitySequence: _p?.identitySequence,
2144
- generated: _p?.generated,
2145
- collClause: _p?.collClause,
2146
- collOid: _p?.collOid,
2147
- constraints: _p?.constraints,
2148
- fdwoptions: _p?.fdwoptions,
2149
- location: _p?.location
2150
- }
2151
- };
2144
+ const _j = {
2145
+ ColumnDef: {}
2146
+ };
2147
+ nested_obj_1.default.set(_j, "ColumnDef.colname", _p?.colname);
2148
+ nested_obj_1.default.set(_j, "ColumnDef.typeName", _p?.typeName);
2149
+ nested_obj_1.default.set(_j, "ColumnDef.inhcount", _p?.inhcount);
2150
+ nested_obj_1.default.set(_j, "ColumnDef.is_local", _p?.is_local);
2151
+ nested_obj_1.default.set(_j, "ColumnDef.is_not_null", _p?.is_not_null);
2152
+ nested_obj_1.default.set(_j, "ColumnDef.is_from_type", _p?.is_from_type);
2153
+ nested_obj_1.default.set(_j, "ColumnDef.storage", _p?.storage);
2154
+ nested_obj_1.default.set(_j, "ColumnDef.raw_default", _p?.raw_default);
2155
+ nested_obj_1.default.set(_j, "ColumnDef.cooked_default", _p?.cooked_default);
2156
+ nested_obj_1.default.set(_j, "ColumnDef.identity", _p?.identity);
2157
+ nested_obj_1.default.set(_j, "ColumnDef.identitySequence", _p?.identitySequence);
2158
+ nested_obj_1.default.set(_j, "ColumnDef.generated", _p?.generated);
2159
+ nested_obj_1.default.set(_j, "ColumnDef.collClause", _p?.collClause);
2160
+ nested_obj_1.default.set(_j, "ColumnDef.collOid", _p?.collOid);
2161
+ nested_obj_1.default.set(_j, "ColumnDef.constraints", _p?.constraints);
2162
+ nested_obj_1.default.set(_j, "ColumnDef.fdwoptions", _p?.fdwoptions);
2163
+ nested_obj_1.default.set(_j, "ColumnDef.location", _p?.location);
2164
+ return _j;
2152
2165
  },
2153
2166
  indexElem(_p) {
2154
- return {
2155
- IndexElem: {
2156
- name: _p?.name,
2157
- expr: _p?.expr,
2158
- indexcolname: _p?.indexcolname,
2159
- collation: _p?.collation,
2160
- opclass: _p?.opclass,
2161
- opclassopts: _p?.opclassopts,
2162
- ordering: _p?.ordering,
2163
- nulls_ordering: _p?.nulls_ordering
2164
- }
2165
- };
2167
+ const _j = {
2168
+ IndexElem: {}
2169
+ };
2170
+ nested_obj_1.default.set(_j, "IndexElem.name", _p?.name);
2171
+ nested_obj_1.default.set(_j, "IndexElem.expr", _p?.expr);
2172
+ nested_obj_1.default.set(_j, "IndexElem.indexcolname", _p?.indexcolname);
2173
+ nested_obj_1.default.set(_j, "IndexElem.collation", _p?.collation);
2174
+ nested_obj_1.default.set(_j, "IndexElem.opclass", _p?.opclass);
2175
+ nested_obj_1.default.set(_j, "IndexElem.opclassopts", _p?.opclassopts);
2176
+ nested_obj_1.default.set(_j, "IndexElem.ordering", _p?.ordering);
2177
+ nested_obj_1.default.set(_j, "IndexElem.nulls_ordering", _p?.nulls_ordering);
2178
+ return _j;
2166
2179
  },
2167
2180
  constraint(_p) {
2168
- return {
2169
- Constraint: {
2170
- contype: _p?.contype,
2171
- conname: _p?.conname,
2172
- deferrable: _p?.deferrable,
2173
- initdeferred: _p?.initdeferred,
2174
- location: _p?.location,
2175
- is_no_inherit: _p?.is_no_inherit,
2176
- raw_expr: _p?.raw_expr,
2177
- cooked_expr: _p?.cooked_expr,
2178
- generated_when: _p?.generated_when,
2179
- keys: _p?.keys,
2180
- including: _p?.including,
2181
- exclusions: _p?.exclusions,
2182
- options: _p?.options,
2183
- indexname: _p?.indexname,
2184
- indexspace: _p?.indexspace,
2185
- reset_default_tblspc: _p?.reset_default_tblspc,
2186
- access_method: _p?.access_method,
2187
- where_clause: _p?.where_clause,
2188
- pktable: _p?.pktable,
2189
- fk_attrs: _p?.fk_attrs,
2190
- pk_attrs: _p?.pk_attrs,
2191
- fk_matchtype: _p?.fk_matchtype,
2192
- fk_upd_action: _p?.fk_upd_action,
2193
- fk_del_action: _p?.fk_del_action,
2194
- old_conpfeqop: _p?.old_conpfeqop,
2195
- old_pktable_oid: _p?.old_pktable_oid,
2196
- skip_validation: _p?.skip_validation,
2197
- initially_valid: _p?.initially_valid
2198
- }
2199
- };
2181
+ const _j = {
2182
+ Constraint: {}
2183
+ };
2184
+ nested_obj_1.default.set(_j, "Constraint.contype", _p?.contype);
2185
+ nested_obj_1.default.set(_j, "Constraint.conname", _p?.conname);
2186
+ nested_obj_1.default.set(_j, "Constraint.deferrable", _p?.deferrable);
2187
+ nested_obj_1.default.set(_j, "Constraint.initdeferred", _p?.initdeferred);
2188
+ nested_obj_1.default.set(_j, "Constraint.location", _p?.location);
2189
+ nested_obj_1.default.set(_j, "Constraint.is_no_inherit", _p?.is_no_inherit);
2190
+ nested_obj_1.default.set(_j, "Constraint.raw_expr", _p?.raw_expr);
2191
+ nested_obj_1.default.set(_j, "Constraint.cooked_expr", _p?.cooked_expr);
2192
+ nested_obj_1.default.set(_j, "Constraint.generated_when", _p?.generated_when);
2193
+ nested_obj_1.default.set(_j, "Constraint.keys", _p?.keys);
2194
+ nested_obj_1.default.set(_j, "Constraint.including", _p?.including);
2195
+ nested_obj_1.default.set(_j, "Constraint.exclusions", _p?.exclusions);
2196
+ nested_obj_1.default.set(_j, "Constraint.options", _p?.options);
2197
+ nested_obj_1.default.set(_j, "Constraint.indexname", _p?.indexname);
2198
+ nested_obj_1.default.set(_j, "Constraint.indexspace", _p?.indexspace);
2199
+ nested_obj_1.default.set(_j, "Constraint.reset_default_tblspc", _p?.reset_default_tblspc);
2200
+ nested_obj_1.default.set(_j, "Constraint.access_method", _p?.access_method);
2201
+ nested_obj_1.default.set(_j, "Constraint.where_clause", _p?.where_clause);
2202
+ nested_obj_1.default.set(_j, "Constraint.pktable", _p?.pktable);
2203
+ nested_obj_1.default.set(_j, "Constraint.fk_attrs", _p?.fk_attrs);
2204
+ nested_obj_1.default.set(_j, "Constraint.pk_attrs", _p?.pk_attrs);
2205
+ nested_obj_1.default.set(_j, "Constraint.fk_matchtype", _p?.fk_matchtype);
2206
+ nested_obj_1.default.set(_j, "Constraint.fk_upd_action", _p?.fk_upd_action);
2207
+ nested_obj_1.default.set(_j, "Constraint.fk_del_action", _p?.fk_del_action);
2208
+ nested_obj_1.default.set(_j, "Constraint.old_conpfeqop", _p?.old_conpfeqop);
2209
+ nested_obj_1.default.set(_j, "Constraint.old_pktable_oid", _p?.old_pktable_oid);
2210
+ nested_obj_1.default.set(_j, "Constraint.skip_validation", _p?.skip_validation);
2211
+ nested_obj_1.default.set(_j, "Constraint.initially_valid", _p?.initially_valid);
2212
+ return _j;
2200
2213
  },
2201
2214
  defElem(_p) {
2202
- return {
2203
- DefElem: {
2204
- defnamespace: _p?.defnamespace,
2205
- defname: _p?.defname,
2206
- arg: _p?.arg,
2207
- defaction: _p?.defaction,
2208
- location: _p?.location
2209
- }
2215
+ const _j = {
2216
+ DefElem: {}
2210
2217
  };
2218
+ nested_obj_1.default.set(_j, "DefElem.defnamespace", _p?.defnamespace);
2219
+ nested_obj_1.default.set(_j, "DefElem.defname", _p?.defname);
2220
+ nested_obj_1.default.set(_j, "DefElem.arg", _p?.arg);
2221
+ nested_obj_1.default.set(_j, "DefElem.defaction", _p?.defaction);
2222
+ nested_obj_1.default.set(_j, "DefElem.location", _p?.location);
2223
+ return _j;
2211
2224
  },
2212
2225
  rangeTblEntry(_p) {
2213
- return {
2214
- RangeTblEntry: {
2215
- rtekind: _p?.rtekind,
2216
- relid: _p?.relid,
2217
- relkind: _p?.relkind,
2218
- rellockmode: _p?.rellockmode,
2219
- tablesample: _p?.tablesample,
2220
- subquery: _p?.subquery,
2221
- security_barrier: _p?.security_barrier,
2222
- jointype: _p?.jointype,
2223
- joinmergedcols: _p?.joinmergedcols,
2224
- joinaliasvars: _p?.joinaliasvars,
2225
- joinleftcols: _p?.joinleftcols,
2226
- joinrightcols: _p?.joinrightcols,
2227
- functions: _p?.functions,
2228
- funcordinality: _p?.funcordinality,
2229
- tablefunc: _p?.tablefunc,
2230
- values_lists: _p?.values_lists,
2231
- ctename: _p?.ctename,
2232
- ctelevelsup: _p?.ctelevelsup,
2233
- self_reference: _p?.self_reference,
2234
- coltypes: _p?.coltypes,
2235
- coltypmods: _p?.coltypmods,
2236
- colcollations: _p?.colcollations,
2237
- enrname: _p?.enrname,
2238
- enrtuples: _p?.enrtuples,
2239
- alias: _p?.alias,
2240
- eref: _p?.eref,
2241
- lateral: _p?.lateral,
2242
- inh: _p?.inh,
2243
- inFromCl: _p?.inFromCl,
2244
- requiredPerms: _p?.requiredPerms,
2245
- checkAsUser: _p?.checkAsUser,
2246
- selectedCols: _p?.selectedCols,
2247
- insertedCols: _p?.insertedCols,
2248
- updatedCols: _p?.updatedCols,
2249
- extraUpdatedCols: _p?.extraUpdatedCols,
2250
- securityQuals: _p?.securityQuals
2251
- }
2252
- };
2226
+ const _j = {
2227
+ RangeTblEntry: {}
2228
+ };
2229
+ nested_obj_1.default.set(_j, "RangeTblEntry.rtekind", _p?.rtekind);
2230
+ nested_obj_1.default.set(_j, "RangeTblEntry.relid", _p?.relid);
2231
+ nested_obj_1.default.set(_j, "RangeTblEntry.relkind", _p?.relkind);
2232
+ nested_obj_1.default.set(_j, "RangeTblEntry.rellockmode", _p?.rellockmode);
2233
+ nested_obj_1.default.set(_j, "RangeTblEntry.tablesample", _p?.tablesample);
2234
+ nested_obj_1.default.set(_j, "RangeTblEntry.subquery", _p?.subquery);
2235
+ nested_obj_1.default.set(_j, "RangeTblEntry.security_barrier", _p?.security_barrier);
2236
+ nested_obj_1.default.set(_j, "RangeTblEntry.jointype", _p?.jointype);
2237
+ nested_obj_1.default.set(_j, "RangeTblEntry.joinmergedcols", _p?.joinmergedcols);
2238
+ nested_obj_1.default.set(_j, "RangeTblEntry.joinaliasvars", _p?.joinaliasvars);
2239
+ nested_obj_1.default.set(_j, "RangeTblEntry.joinleftcols", _p?.joinleftcols);
2240
+ nested_obj_1.default.set(_j, "RangeTblEntry.joinrightcols", _p?.joinrightcols);
2241
+ nested_obj_1.default.set(_j, "RangeTblEntry.functions", _p?.functions);
2242
+ nested_obj_1.default.set(_j, "RangeTblEntry.funcordinality", _p?.funcordinality);
2243
+ nested_obj_1.default.set(_j, "RangeTblEntry.tablefunc", _p?.tablefunc);
2244
+ nested_obj_1.default.set(_j, "RangeTblEntry.values_lists", _p?.values_lists);
2245
+ nested_obj_1.default.set(_j, "RangeTblEntry.ctename", _p?.ctename);
2246
+ nested_obj_1.default.set(_j, "RangeTblEntry.ctelevelsup", _p?.ctelevelsup);
2247
+ nested_obj_1.default.set(_j, "RangeTblEntry.self_reference", _p?.self_reference);
2248
+ nested_obj_1.default.set(_j, "RangeTblEntry.coltypes", _p?.coltypes);
2249
+ nested_obj_1.default.set(_j, "RangeTblEntry.coltypmods", _p?.coltypmods);
2250
+ nested_obj_1.default.set(_j, "RangeTblEntry.colcollations", _p?.colcollations);
2251
+ nested_obj_1.default.set(_j, "RangeTblEntry.enrname", _p?.enrname);
2252
+ nested_obj_1.default.set(_j, "RangeTblEntry.enrtuples", _p?.enrtuples);
2253
+ nested_obj_1.default.set(_j, "RangeTblEntry.alias", _p?.alias);
2254
+ nested_obj_1.default.set(_j, "RangeTblEntry.eref", _p?.eref);
2255
+ nested_obj_1.default.set(_j, "RangeTblEntry.lateral", _p?.lateral);
2256
+ nested_obj_1.default.set(_j, "RangeTblEntry.inh", _p?.inh);
2257
+ nested_obj_1.default.set(_j, "RangeTblEntry.inFromCl", _p?.inFromCl);
2258
+ nested_obj_1.default.set(_j, "RangeTblEntry.requiredPerms", _p?.requiredPerms);
2259
+ nested_obj_1.default.set(_j, "RangeTblEntry.checkAsUser", _p?.checkAsUser);
2260
+ nested_obj_1.default.set(_j, "RangeTblEntry.selectedCols", _p?.selectedCols);
2261
+ nested_obj_1.default.set(_j, "RangeTblEntry.insertedCols", _p?.insertedCols);
2262
+ nested_obj_1.default.set(_j, "RangeTblEntry.updatedCols", _p?.updatedCols);
2263
+ nested_obj_1.default.set(_j, "RangeTblEntry.extraUpdatedCols", _p?.extraUpdatedCols);
2264
+ nested_obj_1.default.set(_j, "RangeTblEntry.securityQuals", _p?.securityQuals);
2265
+ return _j;
2253
2266
  },
2254
2267
  rangeTblFunction(_p) {
2255
- return {
2256
- RangeTblFunction: {
2257
- funcexpr: _p?.funcexpr,
2258
- funccolcount: _p?.funccolcount,
2259
- funccolnames: _p?.funccolnames,
2260
- funccoltypes: _p?.funccoltypes,
2261
- funccoltypmods: _p?.funccoltypmods,
2262
- funccolcollations: _p?.funccolcollations,
2263
- funcparams: _p?.funcparams
2264
- }
2265
- };
2268
+ const _j = {
2269
+ RangeTblFunction: {}
2270
+ };
2271
+ nested_obj_1.default.set(_j, "RangeTblFunction.funcexpr", _p?.funcexpr);
2272
+ nested_obj_1.default.set(_j, "RangeTblFunction.funccolcount", _p?.funccolcount);
2273
+ nested_obj_1.default.set(_j, "RangeTblFunction.funccolnames", _p?.funccolnames);
2274
+ nested_obj_1.default.set(_j, "RangeTblFunction.funccoltypes", _p?.funccoltypes);
2275
+ nested_obj_1.default.set(_j, "RangeTblFunction.funccoltypmods", _p?.funccoltypmods);
2276
+ nested_obj_1.default.set(_j, "RangeTblFunction.funccolcollations", _p?.funccolcollations);
2277
+ nested_obj_1.default.set(_j, "RangeTblFunction.funcparams", _p?.funcparams);
2278
+ return _j;
2266
2279
  },
2267
2280
  tableSampleClause(_p) {
2268
- return {
2269
- TableSampleClause: {
2270
- tsmhandler: _p?.tsmhandler,
2271
- args: _p?.args,
2272
- repeatable: _p?.repeatable
2273
- }
2281
+ const _j = {
2282
+ TableSampleClause: {}
2274
2283
  };
2284
+ nested_obj_1.default.set(_j, "TableSampleClause.tsmhandler", _p?.tsmhandler);
2285
+ nested_obj_1.default.set(_j, "TableSampleClause.args", _p?.args);
2286
+ nested_obj_1.default.set(_j, "TableSampleClause.repeatable", _p?.repeatable);
2287
+ return _j;
2275
2288
  },
2276
2289
  withCheckOption(_p) {
2277
- return {
2278
- WithCheckOption: {
2279
- kind: _p?.kind,
2280
- relname: _p?.relname,
2281
- polname: _p?.polname,
2282
- qual: _p?.qual,
2283
- cascaded: _p?.cascaded
2284
- }
2290
+ const _j = {
2291
+ WithCheckOption: {}
2285
2292
  };
2293
+ nested_obj_1.default.set(_j, "WithCheckOption.kind", _p?.kind);
2294
+ nested_obj_1.default.set(_j, "WithCheckOption.relname", _p?.relname);
2295
+ nested_obj_1.default.set(_j, "WithCheckOption.polname", _p?.polname);
2296
+ nested_obj_1.default.set(_j, "WithCheckOption.qual", _p?.qual);
2297
+ nested_obj_1.default.set(_j, "WithCheckOption.cascaded", _p?.cascaded);
2298
+ return _j;
2286
2299
  },
2287
2300
  sortGroupClause(_p) {
2288
- return {
2289
- SortGroupClause: {
2290
- tleSortGroupRef: _p?.tleSortGroupRef,
2291
- eqop: _p?.eqop,
2292
- sortop: _p?.sortop,
2293
- nulls_first: _p?.nulls_first,
2294
- hashable: _p?.hashable
2295
- }
2301
+ const _j = {
2302
+ SortGroupClause: {}
2296
2303
  };
2304
+ nested_obj_1.default.set(_j, "SortGroupClause.tleSortGroupRef", _p?.tleSortGroupRef);
2305
+ nested_obj_1.default.set(_j, "SortGroupClause.eqop", _p?.eqop);
2306
+ nested_obj_1.default.set(_j, "SortGroupClause.sortop", _p?.sortop);
2307
+ nested_obj_1.default.set(_j, "SortGroupClause.nulls_first", _p?.nulls_first);
2308
+ nested_obj_1.default.set(_j, "SortGroupClause.hashable", _p?.hashable);
2309
+ return _j;
2297
2310
  },
2298
2311
  groupingSet(_p) {
2299
- return {
2300
- GroupingSet: {
2301
- kind: _p?.kind,
2302
- content: _p?.content,
2303
- location: _p?.location
2304
- }
2312
+ const _j = {
2313
+ GroupingSet: {}
2305
2314
  };
2315
+ nested_obj_1.default.set(_j, "GroupingSet.kind", _p?.kind);
2316
+ nested_obj_1.default.set(_j, "GroupingSet.content", _p?.content);
2317
+ nested_obj_1.default.set(_j, "GroupingSet.location", _p?.location);
2318
+ return _j;
2306
2319
  },
2307
2320
  windowClause(_p) {
2308
- return {
2309
- WindowClause: {
2310
- name: _p?.name,
2311
- refname: _p?.refname,
2312
- partitionClause: _p?.partitionClause,
2313
- orderClause: _p?.orderClause,
2314
- frameOptions: _p?.frameOptions,
2315
- startOffset: _p?.startOffset,
2316
- endOffset: _p?.endOffset,
2317
- startInRangeFunc: _p?.startInRangeFunc,
2318
- endInRangeFunc: _p?.endInRangeFunc,
2319
- inRangeColl: _p?.inRangeColl,
2320
- inRangeAsc: _p?.inRangeAsc,
2321
- inRangeNullsFirst: _p?.inRangeNullsFirst,
2322
- winref: _p?.winref,
2323
- copiedOrder: _p?.copiedOrder
2324
- }
2325
- };
2321
+ const _j = {
2322
+ WindowClause: {}
2323
+ };
2324
+ nested_obj_1.default.set(_j, "WindowClause.name", _p?.name);
2325
+ nested_obj_1.default.set(_j, "WindowClause.refname", _p?.refname);
2326
+ nested_obj_1.default.set(_j, "WindowClause.partitionClause", _p?.partitionClause);
2327
+ nested_obj_1.default.set(_j, "WindowClause.orderClause", _p?.orderClause);
2328
+ nested_obj_1.default.set(_j, "WindowClause.frameOptions", _p?.frameOptions);
2329
+ nested_obj_1.default.set(_j, "WindowClause.startOffset", _p?.startOffset);
2330
+ nested_obj_1.default.set(_j, "WindowClause.endOffset", _p?.endOffset);
2331
+ nested_obj_1.default.set(_j, "WindowClause.startInRangeFunc", _p?.startInRangeFunc);
2332
+ nested_obj_1.default.set(_j, "WindowClause.endInRangeFunc", _p?.endInRangeFunc);
2333
+ nested_obj_1.default.set(_j, "WindowClause.inRangeColl", _p?.inRangeColl);
2334
+ nested_obj_1.default.set(_j, "WindowClause.inRangeAsc", _p?.inRangeAsc);
2335
+ nested_obj_1.default.set(_j, "WindowClause.inRangeNullsFirst", _p?.inRangeNullsFirst);
2336
+ nested_obj_1.default.set(_j, "WindowClause.winref", _p?.winref);
2337
+ nested_obj_1.default.set(_j, "WindowClause.copiedOrder", _p?.copiedOrder);
2338
+ return _j;
2326
2339
  },
2327
2340
  objectWithArgs(_p) {
2328
- return {
2329
- ObjectWithArgs: {
2330
- objname: _p?.objname,
2331
- objargs: _p?.objargs,
2332
- args_unspecified: _p?.args_unspecified
2333
- }
2341
+ const _j = {
2342
+ ObjectWithArgs: {}
2334
2343
  };
2344
+ nested_obj_1.default.set(_j, "ObjectWithArgs.objname", _p?.objname);
2345
+ nested_obj_1.default.set(_j, "ObjectWithArgs.objargs", _p?.objargs);
2346
+ nested_obj_1.default.set(_j, "ObjectWithArgs.args_unspecified", _p?.args_unspecified);
2347
+ return _j;
2335
2348
  },
2336
2349
  accessPriv(_p) {
2337
- return {
2338
- AccessPriv: {
2339
- priv_name: _p?.priv_name,
2340
- cols: _p?.cols
2341
- }
2350
+ const _j = {
2351
+ AccessPriv: {}
2342
2352
  };
2353
+ nested_obj_1.default.set(_j, "AccessPriv.priv_name", _p?.priv_name);
2354
+ nested_obj_1.default.set(_j, "AccessPriv.cols", _p?.cols);
2355
+ return _j;
2343
2356
  },
2344
2357
  createOpClassItem(_p) {
2345
- return {
2346
- CreateOpClassItem: {
2347
- itemtype: _p?.itemtype,
2348
- name: _p?.name,
2349
- number: _p?.number,
2350
- order_family: _p?.order_family,
2351
- class_args: _p?.class_args,
2352
- storedtype: _p?.storedtype
2353
- }
2358
+ const _j = {
2359
+ CreateOpClassItem: {}
2354
2360
  };
2361
+ nested_obj_1.default.set(_j, "CreateOpClassItem.itemtype", _p?.itemtype);
2362
+ nested_obj_1.default.set(_j, "CreateOpClassItem.name", _p?.name);
2363
+ nested_obj_1.default.set(_j, "CreateOpClassItem.number", _p?.number);
2364
+ nested_obj_1.default.set(_j, "CreateOpClassItem.order_family", _p?.order_family);
2365
+ nested_obj_1.default.set(_j, "CreateOpClassItem.class_args", _p?.class_args);
2366
+ nested_obj_1.default.set(_j, "CreateOpClassItem.storedtype", _p?.storedtype);
2367
+ return _j;
2355
2368
  },
2356
2369
  tableLikeClause(_p) {
2357
- return {
2358
- TableLikeClause: {
2359
- relation: _p?.relation,
2360
- options: _p?.options,
2361
- relationOid: _p?.relationOid
2362
- }
2370
+ const _j = {
2371
+ TableLikeClause: {}
2363
2372
  };
2373
+ nested_obj_1.default.set(_j, "TableLikeClause.relation", _p?.relation);
2374
+ nested_obj_1.default.set(_j, "TableLikeClause.options", _p?.options);
2375
+ nested_obj_1.default.set(_j, "TableLikeClause.relationOid", _p?.relationOid);
2376
+ return _j;
2364
2377
  },
2365
2378
  functionParameter(_p) {
2366
- return {
2367
- FunctionParameter: {
2368
- name: _p?.name,
2369
- argType: _p?.argType,
2370
- mode: _p?.mode,
2371
- defexpr: _p?.defexpr
2372
- }
2379
+ const _j = {
2380
+ FunctionParameter: {}
2373
2381
  };
2382
+ nested_obj_1.default.set(_j, "FunctionParameter.name", _p?.name);
2383
+ nested_obj_1.default.set(_j, "FunctionParameter.argType", _p?.argType);
2384
+ nested_obj_1.default.set(_j, "FunctionParameter.mode", _p?.mode);
2385
+ nested_obj_1.default.set(_j, "FunctionParameter.defexpr", _p?.defexpr);
2386
+ return _j;
2374
2387
  },
2375
2388
  lockingClause(_p) {
2376
- return {
2377
- LockingClause: {
2378
- lockedRels: _p?.lockedRels,
2379
- strength: _p?.strength,
2380
- waitPolicy: _p?.waitPolicy
2381
- }
2389
+ const _j = {
2390
+ LockingClause: {}
2382
2391
  };
2392
+ nested_obj_1.default.set(_j, "LockingClause.lockedRels", _p?.lockedRels);
2393
+ nested_obj_1.default.set(_j, "LockingClause.strength", _p?.strength);
2394
+ nested_obj_1.default.set(_j, "LockingClause.waitPolicy", _p?.waitPolicy);
2395
+ return _j;
2383
2396
  },
2384
2397
  rowMarkClause(_p) {
2385
- return {
2386
- RowMarkClause: {
2387
- rti: _p?.rti,
2388
- strength: _p?.strength,
2389
- waitPolicy: _p?.waitPolicy,
2390
- pushedDown: _p?.pushedDown
2391
- }
2398
+ const _j = {
2399
+ RowMarkClause: {}
2392
2400
  };
2401
+ nested_obj_1.default.set(_j, "RowMarkClause.rti", _p?.rti);
2402
+ nested_obj_1.default.set(_j, "RowMarkClause.strength", _p?.strength);
2403
+ nested_obj_1.default.set(_j, "RowMarkClause.waitPolicy", _p?.waitPolicy);
2404
+ nested_obj_1.default.set(_j, "RowMarkClause.pushedDown", _p?.pushedDown);
2405
+ return _j;
2393
2406
  },
2394
2407
  xmlSerialize(_p) {
2395
- return {
2396
- XmlSerialize: {
2397
- xmloption: _p?.xmloption,
2398
- expr: _p?.expr,
2399
- typeName: _p?.typeName,
2400
- location: _p?.location
2401
- }
2408
+ const _j = {
2409
+ XmlSerialize: {}
2402
2410
  };
2411
+ nested_obj_1.default.set(_j, "XmlSerialize.xmloption", _p?.xmloption);
2412
+ nested_obj_1.default.set(_j, "XmlSerialize.expr", _p?.expr);
2413
+ nested_obj_1.default.set(_j, "XmlSerialize.typeName", _p?.typeName);
2414
+ nested_obj_1.default.set(_j, "XmlSerialize.location", _p?.location);
2415
+ return _j;
2403
2416
  },
2404
2417
  withClause(_p) {
2405
- return {
2406
- WithClause: {
2407
- ctes: _p?.ctes,
2408
- recursive: _p?.recursive,
2409
- location: _p?.location
2410
- }
2418
+ const _j = {
2419
+ WithClause: {}
2411
2420
  };
2421
+ nested_obj_1.default.set(_j, "WithClause.ctes", _p?.ctes);
2422
+ nested_obj_1.default.set(_j, "WithClause.recursive", _p?.recursive);
2423
+ nested_obj_1.default.set(_j, "WithClause.location", _p?.location);
2424
+ return _j;
2412
2425
  },
2413
2426
  inferClause(_p) {
2414
- return {
2415
- InferClause: {
2416
- indexElems: _p?.indexElems,
2417
- whereClause: _p?.whereClause,
2418
- conname: _p?.conname,
2419
- location: _p?.location
2420
- }
2427
+ const _j = {
2428
+ InferClause: {}
2421
2429
  };
2430
+ nested_obj_1.default.set(_j, "InferClause.indexElems", _p?.indexElems);
2431
+ nested_obj_1.default.set(_j, "InferClause.whereClause", _p?.whereClause);
2432
+ nested_obj_1.default.set(_j, "InferClause.conname", _p?.conname);
2433
+ nested_obj_1.default.set(_j, "InferClause.location", _p?.location);
2434
+ return _j;
2422
2435
  },
2423
2436
  onConflictClause(_p) {
2424
- return {
2425
- OnConflictClause: {
2426
- action: _p?.action,
2427
- infer: _p?.infer,
2428
- targetList: _p?.targetList,
2429
- whereClause: _p?.whereClause,
2430
- location: _p?.location
2431
- }
2437
+ const _j = {
2438
+ OnConflictClause: {}
2432
2439
  };
2440
+ nested_obj_1.default.set(_j, "OnConflictClause.action", _p?.action);
2441
+ nested_obj_1.default.set(_j, "OnConflictClause.infer", _p?.infer);
2442
+ nested_obj_1.default.set(_j, "OnConflictClause.targetList", _p?.targetList);
2443
+ nested_obj_1.default.set(_j, "OnConflictClause.whereClause", _p?.whereClause);
2444
+ nested_obj_1.default.set(_j, "OnConflictClause.location", _p?.location);
2445
+ return _j;
2433
2446
  },
2434
2447
  commonTableExpr(_p) {
2435
- return {
2436
- CommonTableExpr: {
2437
- ctename: _p?.ctename,
2438
- aliascolnames: _p?.aliascolnames,
2439
- ctematerialized: _p?.ctematerialized,
2440
- ctequery: _p?.ctequery,
2441
- location: _p?.location,
2442
- cterecursive: _p?.cterecursive,
2443
- cterefcount: _p?.cterefcount,
2444
- ctecolnames: _p?.ctecolnames,
2445
- ctecoltypes: _p?.ctecoltypes,
2446
- ctecoltypmods: _p?.ctecoltypmods,
2447
- ctecolcollations: _p?.ctecolcollations
2448
- }
2449
- };
2448
+ const _j = {
2449
+ CommonTableExpr: {}
2450
+ };
2451
+ nested_obj_1.default.set(_j, "CommonTableExpr.ctename", _p?.ctename);
2452
+ nested_obj_1.default.set(_j, "CommonTableExpr.aliascolnames", _p?.aliascolnames);
2453
+ nested_obj_1.default.set(_j, "CommonTableExpr.ctematerialized", _p?.ctematerialized);
2454
+ nested_obj_1.default.set(_j, "CommonTableExpr.ctequery", _p?.ctequery);
2455
+ nested_obj_1.default.set(_j, "CommonTableExpr.location", _p?.location);
2456
+ nested_obj_1.default.set(_j, "CommonTableExpr.cterecursive", _p?.cterecursive);
2457
+ nested_obj_1.default.set(_j, "CommonTableExpr.cterefcount", _p?.cterefcount);
2458
+ nested_obj_1.default.set(_j, "CommonTableExpr.ctecolnames", _p?.ctecolnames);
2459
+ nested_obj_1.default.set(_j, "CommonTableExpr.ctecoltypes", _p?.ctecoltypes);
2460
+ nested_obj_1.default.set(_j, "CommonTableExpr.ctecoltypmods", _p?.ctecoltypmods);
2461
+ nested_obj_1.default.set(_j, "CommonTableExpr.ctecolcollations", _p?.ctecolcollations);
2462
+ return _j;
2450
2463
  },
2451
2464
  roleSpec(_p) {
2452
- return {
2453
- RoleSpec: {
2454
- roletype: _p?.roletype,
2455
- rolename: _p?.rolename,
2456
- location: _p?.location
2457
- }
2465
+ const _j = {
2466
+ RoleSpec: {}
2458
2467
  };
2468
+ nested_obj_1.default.set(_j, "RoleSpec.roletype", _p?.roletype);
2469
+ nested_obj_1.default.set(_j, "RoleSpec.rolename", _p?.rolename);
2470
+ nested_obj_1.default.set(_j, "RoleSpec.location", _p?.location);
2471
+ return _j;
2459
2472
  },
2460
2473
  triggerTransition(_p) {
2461
- return {
2462
- TriggerTransition: {
2463
- name: _p?.name,
2464
- isNew: _p?.isNew,
2465
- isTable: _p?.isTable
2466
- }
2474
+ const _j = {
2475
+ TriggerTransition: {}
2467
2476
  };
2477
+ nested_obj_1.default.set(_j, "TriggerTransition.name", _p?.name);
2478
+ nested_obj_1.default.set(_j, "TriggerTransition.isNew", _p?.isNew);
2479
+ nested_obj_1.default.set(_j, "TriggerTransition.isTable", _p?.isTable);
2480
+ return _j;
2468
2481
  },
2469
2482
  partitionElem(_p) {
2470
- return {
2471
- PartitionElem: {
2472
- name: _p?.name,
2473
- expr: _p?.expr,
2474
- collation: _p?.collation,
2475
- opclass: _p?.opclass,
2476
- location: _p?.location
2477
- }
2483
+ const _j = {
2484
+ PartitionElem: {}
2478
2485
  };
2486
+ nested_obj_1.default.set(_j, "PartitionElem.name", _p?.name);
2487
+ nested_obj_1.default.set(_j, "PartitionElem.expr", _p?.expr);
2488
+ nested_obj_1.default.set(_j, "PartitionElem.collation", _p?.collation);
2489
+ nested_obj_1.default.set(_j, "PartitionElem.opclass", _p?.opclass);
2490
+ nested_obj_1.default.set(_j, "PartitionElem.location", _p?.location);
2491
+ return _j;
2479
2492
  },
2480
2493
  partitionSpec(_p) {
2481
- return {
2482
- PartitionSpec: {
2483
- strategy: _p?.strategy,
2484
- partParams: _p?.partParams,
2485
- location: _p?.location
2486
- }
2494
+ const _j = {
2495
+ PartitionSpec: {}
2487
2496
  };
2497
+ nested_obj_1.default.set(_j, "PartitionSpec.strategy", _p?.strategy);
2498
+ nested_obj_1.default.set(_j, "PartitionSpec.partParams", _p?.partParams);
2499
+ nested_obj_1.default.set(_j, "PartitionSpec.location", _p?.location);
2500
+ return _j;
2488
2501
  },
2489
2502
  partitionBoundSpec(_p) {
2490
- return {
2491
- PartitionBoundSpec: {
2492
- strategy: _p?.strategy,
2493
- is_default: _p?.is_default,
2494
- modulus: _p?.modulus,
2495
- remainder: _p?.remainder,
2496
- listdatums: _p?.listdatums,
2497
- lowerdatums: _p?.lowerdatums,
2498
- upperdatums: _p?.upperdatums,
2499
- location: _p?.location
2500
- }
2501
- };
2503
+ const _j = {
2504
+ PartitionBoundSpec: {}
2505
+ };
2506
+ nested_obj_1.default.set(_j, "PartitionBoundSpec.strategy", _p?.strategy);
2507
+ nested_obj_1.default.set(_j, "PartitionBoundSpec.is_default", _p?.is_default);
2508
+ nested_obj_1.default.set(_j, "PartitionBoundSpec.modulus", _p?.modulus);
2509
+ nested_obj_1.default.set(_j, "PartitionBoundSpec.remainder", _p?.remainder);
2510
+ nested_obj_1.default.set(_j, "PartitionBoundSpec.listdatums", _p?.listdatums);
2511
+ nested_obj_1.default.set(_j, "PartitionBoundSpec.lowerdatums", _p?.lowerdatums);
2512
+ nested_obj_1.default.set(_j, "PartitionBoundSpec.upperdatums", _p?.upperdatums);
2513
+ nested_obj_1.default.set(_j, "PartitionBoundSpec.location", _p?.location);
2514
+ return _j;
2502
2515
  },
2503
2516
  partitionRangeDatum(_p) {
2504
- return {
2505
- PartitionRangeDatum: {
2506
- kind: _p?.kind,
2507
- value: _p?.value,
2508
- location: _p?.location
2509
- }
2517
+ const _j = {
2518
+ PartitionRangeDatum: {}
2510
2519
  };
2520
+ nested_obj_1.default.set(_j, "PartitionRangeDatum.kind", _p?.kind);
2521
+ nested_obj_1.default.set(_j, "PartitionRangeDatum.value", _p?.value);
2522
+ nested_obj_1.default.set(_j, "PartitionRangeDatum.location", _p?.location);
2523
+ return _j;
2511
2524
  },
2512
2525
  partitionCmd(_p) {
2513
- return {
2514
- PartitionCmd: {
2515
- name: _p?.name,
2516
- bound: _p?.bound
2517
- }
2526
+ const _j = {
2527
+ PartitionCmd: {}
2518
2528
  };
2529
+ nested_obj_1.default.set(_j, "PartitionCmd.name", _p?.name);
2530
+ nested_obj_1.default.set(_j, "PartitionCmd.bound", _p?.bound);
2531
+ return _j;
2519
2532
  },
2520
2533
  vacuumRelation(_p) {
2521
- return {
2522
- VacuumRelation: {
2523
- relation: _p?.relation,
2524
- oid: _p?.oid,
2525
- va_cols: _p?.va_cols
2526
- }
2534
+ const _j = {
2535
+ VacuumRelation: {}
2527
2536
  };
2537
+ nested_obj_1.default.set(_j, "VacuumRelation.relation", _p?.relation);
2538
+ nested_obj_1.default.set(_j, "VacuumRelation.oid", _p?.oid);
2539
+ nested_obj_1.default.set(_j, "VacuumRelation.va_cols", _p?.va_cols);
2540
+ return _j;
2528
2541
  },
2529
2542
  inlineCodeBlock(_p) {
2530
- return {
2531
- InlineCodeBlock: {
2532
- source_text: _p?.source_text,
2533
- langOid: _p?.langOid,
2534
- langIsTrusted: _p?.langIsTrusted,
2535
- atomic: _p?.atomic
2536
- }
2543
+ const _j = {
2544
+ InlineCodeBlock: {}
2537
2545
  };
2546
+ nested_obj_1.default.set(_j, "InlineCodeBlock.source_text", _p?.source_text);
2547
+ nested_obj_1.default.set(_j, "InlineCodeBlock.langOid", _p?.langOid);
2548
+ nested_obj_1.default.set(_j, "InlineCodeBlock.langIsTrusted", _p?.langIsTrusted);
2549
+ nested_obj_1.default.set(_j, "InlineCodeBlock.atomic", _p?.atomic);
2550
+ return _j;
2538
2551
  },
2539
2552
  callContext(_p) {
2540
- return {
2541
- CallContext: {
2542
- atomic: _p?.atomic
2543
- }
2553
+ const _j = {
2554
+ CallContext: {}
2544
2555
  };
2556
+ nested_obj_1.default.set(_j, "CallContext.atomic", _p?.atomic);
2557
+ return _j;
2545
2558
  },
2546
2559
  scanToken(_p) {
2547
- return {
2548
- ScanToken: {
2549
- start: _p?.start,
2550
- end: _p?.end,
2551
- token: _p?.token,
2552
- keywordKind: _p?.keywordKind
2553
- }
2554
- };
2560
+ const _j = {
2561
+ ScanToken: {}
2562
+ };
2563
+ nested_obj_1.default.set(_j, "ScanToken.start", _p?.start);
2564
+ nested_obj_1.default.set(_j, "ScanToken.end", _p?.end);
2565
+ nested_obj_1.default.set(_j, "ScanToken.token", _p?.token);
2566
+ nested_obj_1.default.set(_j, "ScanToken.keywordKind", _p?.keywordKind);
2567
+ return _j;
2555
2568
  }
2556
2569
  };