@pgsql/utils 13.10.1 → 17.1.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 DELETED
@@ -1,2569 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
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"));
12
- exports.default = {
13
- parseResult(_p) {
14
- const _j = {
15
- ParseResult: {}
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;
20
- },
21
- scanResult(_p) {
22
- const _j = {
23
- ScanResult: {}
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;
28
- },
29
- integer(_p) {
30
- const _j = {
31
- Integer: {}
32
- };
33
- nested_obj_1.default.set(_j, "Integer.ival", _p?.ival);
34
- return _j;
35
- },
36
- float(_p) {
37
- const _j = {
38
- Float: {}
39
- };
40
- nested_obj_1.default.set(_j, "Float.str", _p?.str);
41
- return _j;
42
- },
43
- string(_p) {
44
- const _j = {
45
- String: {}
46
- };
47
- nested_obj_1.default.set(_j, "String.str", _p?.str);
48
- return _j;
49
- },
50
- bitString(_p) {
51
- const _j = {
52
- BitString: {}
53
- };
54
- nested_obj_1.default.set(_j, "BitString.str", _p?.str);
55
- return _j;
56
- },
57
- null(_p) {
58
- const _j = {
59
- Null: {}
60
- };
61
- return _j;
62
- },
63
- list(_p) {
64
- const _j = {
65
- List: {}
66
- };
67
- nested_obj_1.default.set(_j, "List.items", _p?.items);
68
- return _j;
69
- },
70
- oidList(_p) {
71
- const _j = {
72
- OidList: {}
73
- };
74
- nested_obj_1.default.set(_j, "OidList.items", _p?.items);
75
- return _j;
76
- },
77
- intList(_p) {
78
- const _j = {
79
- IntList: {}
80
- };
81
- nested_obj_1.default.set(_j, "IntList.items", _p?.items);
82
- return _j;
83
- },
84
- alias(_p) {
85
- const _j = {
86
- Alias: {}
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;
91
- },
92
- rangeVar(_p) {
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;
104
- },
105
- tableFunc(_p) {
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;
123
- },
124
- expr(_p) {
125
- const _j = {
126
- Expr: {}
127
- };
128
- return _j;
129
- },
130
- var(_p) {
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;
145
- },
146
- param(_p) {
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;
158
- },
159
- aggref(_p) {
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;
182
- },
183
- groupingFunc(_p) {
184
- const _j = {
185
- GroupingFunc: {}
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;
194
- },
195
- windowFunc(_p) {
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;
211
- },
212
- subscriptingRef(_p) {
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;
226
- },
227
- funcExpr(_p) {
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;
242
- },
243
- namedArgExpr(_p) {
244
- const _j = {
245
- NamedArgExpr: {}
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;
253
- },
254
- opExpr(_p) {
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;
268
- },
269
- distinctExpr(_p) {
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;
283
- },
284
- nullIfExpr(_p) {
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;
298
- },
299
- scalarArrayOpExpr(_p) {
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;
311
- },
312
- boolExpr(_p) {
313
- const _j = {
314
- BoolExpr: {}
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;
321
- },
322
- subLink(_p) {
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;
334
- },
335
- subPlan(_p) {
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;
357
- },
358
- alternativeSubPlan(_p) {
359
- const _j = {
360
- AlternativeSubPlan: {}
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;
365
- },
366
- fieldSelect(_p) {
367
- const _j = {
368
- FieldSelect: {}
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;
377
- },
378
- fieldStore(_p) {
379
- const _j = {
380
- FieldStore: {}
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;
388
- },
389
- relabelType(_p) {
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;
401
- },
402
- coerceViaio(_p) {
403
- const _j = {
404
- CoerceViaIO: {}
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;
413
- },
414
- arrayCoerceExpr(_p) {
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;
427
- },
428
- convertRowtypeExpr(_p) {
429
- const _j = {
430
- ConvertRowtypeExpr: {}
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;
438
- },
439
- collateExpr(_p) {
440
- const _j = {
441
- CollateExpr: {}
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;
448
- },
449
- caseExpr(_p) {
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;
461
- },
462
- caseWhen(_p) {
463
- const _j = {
464
- CaseWhen: {}
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;
471
- },
472
- caseTestExpr(_p) {
473
- const _j = {
474
- CaseTestExpr: {}
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;
481
- },
482
- arrayExpr(_p) {
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;
494
- },
495
- rowExpr(_p) {
496
- const _j = {
497
- RowExpr: {}
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;
506
- },
507
- rowCompareExpr(_p) {
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;
519
- },
520
- coalesceExpr(_p) {
521
- const _j = {
522
- CoalesceExpr: {}
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;
530
- },
531
- minMaxExpr(_p) {
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;
543
- },
544
- sqlValueFunction(_p) {
545
- const _j = {
546
- SQLValueFunction: {}
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;
554
- },
555
- xmlExpr(_p) {
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;
570
- },
571
- nullTest(_p) {
572
- const _j = {
573
- NullTest: {}
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;
581
- },
582
- booleanTest(_p) {
583
- const _j = {
584
- BooleanTest: {}
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;
591
- },
592
- coerceToDomain(_p) {
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;
604
- },
605
- coerceToDomainValue(_p) {
606
- const _j = {
607
- CoerceToDomainValue: {}
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;
615
- },
616
- setToDefault(_p) {
617
- const _j = {
618
- SetToDefault: {}
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;
626
- },
627
- currentOfExpr(_p) {
628
- const _j = {
629
- CurrentOfExpr: {}
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;
636
- },
637
- nextValueExpr(_p) {
638
- const _j = {
639
- NextValueExpr: {}
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;
645
- },
646
- inferenceElem(_p) {
647
- const _j = {
648
- InferenceElem: {}
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;
655
- },
656
- targetEntry(_p) {
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;
669
- },
670
- rangeTblRef(_p) {
671
- const _j = {
672
- RangeTblRef: {}
673
- };
674
- nested_obj_1.default.set(_j, "RangeTblRef.rtindex", _p?.rtindex);
675
- return _j;
676
- },
677
- joinExpr(_p) {
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;
690
- },
691
- fromExpr(_p) {
692
- const _j = {
693
- FromExpr: {}
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;
698
- },
699
- onConflictExpr(_p) {
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;
712
- },
713
- intoClause(_p) {
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;
726
- },
727
- rawStmt(_p) {
728
- const _j = {
729
- RawStmt: {}
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;
735
- },
736
- query(_p) {
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;
777
- },
778
- insertStmt(_p) {
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;
790
- },
791
- deleteStmt(_p) {
792
- const _j = {
793
- DeleteStmt: {}
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;
801
- },
802
- updateStmt(_p) {
803
- const _j = {
804
- UpdateStmt: {}
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;
813
- },
814
- selectStmt(_p) {
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;
838
- },
839
- alterTableStmt(_p) {
840
- const _j = {
841
- AlterTableStmt: {}
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;
848
- },
849
- alterTableCmd(_p) {
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;
862
- },
863
- alterDomainStmt(_p) {
864
- const _j = {
865
- AlterDomainStmt: {}
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;
874
- },
875
- setOperationStmt(_p) {
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;
888
- },
889
- grantStmt(_p) {
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;
902
- },
903
- grantRoleStmt(_p) {
904
- const _j = {
905
- GrantRoleStmt: {}
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;
914
- },
915
- alterDefaultPrivilegesStmt(_p) {
916
- const _j = {
917
- AlterDefaultPrivilegesStmt: {}
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;
922
- },
923
- closePortalStmt(_p) {
924
- const _j = {
925
- ClosePortalStmt: {}
926
- };
927
- nested_obj_1.default.set(_j, "ClosePortalStmt.portalname", _p?.portalname);
928
- return _j;
929
- },
930
- clusterStmt(_p) {
931
- const _j = {
932
- ClusterStmt: {}
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;
938
- },
939
- copyStmt(_p) {
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;
952
- },
953
- createStmt(_p) {
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;
970
- },
971
- defineStmt(_p) {
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;
983
- },
984
- dropStmt(_p) {
985
- const _j = {
986
- DropStmt: {}
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;
994
- },
995
- truncateStmt(_p) {
996
- const _j = {
997
- TruncateStmt: {}
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;
1003
- },
1004
- commentStmt(_p) {
1005
- const _j = {
1006
- CommentStmt: {}
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;
1012
- },
1013
- fetchStmt(_p) {
1014
- const _j = {
1015
- FetchStmt: {}
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;
1022
- },
1023
- indexStmt(_p) {
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;
1051
- },
1052
- createFunctionStmt(_p) {
1053
- const _j = {
1054
- CreateFunctionStmt: {}
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;
1063
- },
1064
- alterFunctionStmt(_p) {
1065
- const _j = {
1066
- AlterFunctionStmt: {}
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;
1072
- },
1073
- doStmt(_p) {
1074
- const _j = {
1075
- DoStmt: {}
1076
- };
1077
- nested_obj_1.default.set(_j, "DoStmt.args", _p?.args);
1078
- return _j;
1079
- },
1080
- renameStmt(_p) {
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;
1093
- },
1094
- ruleStmt(_p) {
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;
1106
- },
1107
- notifyStmt(_p) {
1108
- const _j = {
1109
- NotifyStmt: {}
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;
1114
- },
1115
- listenStmt(_p) {
1116
- const _j = {
1117
- ListenStmt: {}
1118
- };
1119
- nested_obj_1.default.set(_j, "ListenStmt.conditionname", _p?.conditionname);
1120
- return _j;
1121
- },
1122
- unlistenStmt(_p) {
1123
- const _j = {
1124
- UnlistenStmt: {}
1125
- };
1126
- nested_obj_1.default.set(_j, "UnlistenStmt.conditionname", _p?.conditionname);
1127
- return _j;
1128
- },
1129
- transactionStmt(_p) {
1130
- const _j = {
1131
- TransactionStmt: {}
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;
1139
- },
1140
- viewStmt(_p) {
1141
- const _j = {
1142
- ViewStmt: {}
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;
1151
- },
1152
- loadStmt(_p) {
1153
- const _j = {
1154
- LoadStmt: {}
1155
- };
1156
- nested_obj_1.default.set(_j, "LoadStmt.filename", _p?.filename);
1157
- return _j;
1158
- },
1159
- createDomainStmt(_p) {
1160
- const _j = {
1161
- CreateDomainStmt: {}
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;
1168
- },
1169
- createdbStmt(_p) {
1170
- const _j = {
1171
- CreatedbStmt: {}
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;
1176
- },
1177
- dropdbStmt(_p) {
1178
- const _j = {
1179
- DropdbStmt: {}
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;
1185
- },
1186
- vacuumStmt(_p) {
1187
- const _j = {
1188
- VacuumStmt: {}
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;
1194
- },
1195
- explainStmt(_p) {
1196
- const _j = {
1197
- ExplainStmt: {}
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;
1202
- },
1203
- createTableAsStmt(_p) {
1204
- const _j = {
1205
- CreateTableAsStmt: {}
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;
1213
- },
1214
- createSeqStmt(_p) {
1215
- const _j = {
1216
- CreateSeqStmt: {}
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;
1224
- },
1225
- alterSeqStmt(_p) {
1226
- const _j = {
1227
- AlterSeqStmt: {}
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;
1234
- },
1235
- variableSetStmt(_p) {
1236
- const _j = {
1237
- VariableSetStmt: {}
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;
1244
- },
1245
- variableShowStmt(_p) {
1246
- const _j = {
1247
- VariableShowStmt: {}
1248
- };
1249
- nested_obj_1.default.set(_j, "VariableShowStmt.name", _p?.name);
1250
- return _j;
1251
- },
1252
- discardStmt(_p) {
1253
- const _j = {
1254
- DiscardStmt: {}
1255
- };
1256
- nested_obj_1.default.set(_j, "DiscardStmt.target", _p?.target);
1257
- return _j;
1258
- },
1259
- createTrigStmt(_p) {
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;
1278
- },
1279
- createpLangStmt(_p) {
1280
- const _j = {
1281
- CreatePLangStmt: {}
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;
1290
- },
1291
- createRoleStmt(_p) {
1292
- const _j = {
1293
- CreateRoleStmt: {}
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;
1299
- },
1300
- alterRoleStmt(_p) {
1301
- const _j = {
1302
- AlterRoleStmt: {}
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;
1308
- },
1309
- dropRoleStmt(_p) {
1310
- const _j = {
1311
- DropRoleStmt: {}
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;
1316
- },
1317
- lockStmt(_p) {
1318
- const _j = {
1319
- LockStmt: {}
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;
1325
- },
1326
- constraintsSetStmt(_p) {
1327
- const _j = {
1328
- ConstraintsSetStmt: {}
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;
1333
- },
1334
- reindexStmt(_p) {
1335
- const _j = {
1336
- ReindexStmt: {}
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;
1344
- },
1345
- checkPointStmt(_p) {
1346
- const _j = {
1347
- CheckPointStmt: {}
1348
- };
1349
- return _j;
1350
- },
1351
- createSchemaStmt(_p) {
1352
- const _j = {
1353
- CreateSchemaStmt: {}
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;
1360
- },
1361
- alterDatabaseStmt(_p) {
1362
- const _j = {
1363
- AlterDatabaseStmt: {}
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;
1368
- },
1369
- alterDatabaseSetStmt(_p) {
1370
- const _j = {
1371
- AlterDatabaseSetStmt: {}
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;
1376
- },
1377
- alterRoleSetStmt(_p) {
1378
- const _j = {
1379
- AlterRoleSetStmt: {}
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;
1385
- },
1386
- createConversionStmt(_p) {
1387
- const _j = {
1388
- CreateConversionStmt: {}
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;
1396
- },
1397
- createCastStmt(_p) {
1398
- const _j = {
1399
- CreateCastStmt: {}
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;
1407
- },
1408
- createOpClassStmt(_p) {
1409
- const _j = {
1410
- CreateOpClassStmt: {}
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;
1419
- },
1420
- createOpFamilyStmt(_p) {
1421
- const _j = {
1422
- CreateOpFamilyStmt: {}
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;
1427
- },
1428
- alterOpFamilyStmt(_p) {
1429
- const _j = {
1430
- AlterOpFamilyStmt: {}
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;
1437
- },
1438
- prepareStmt(_p) {
1439
- const _j = {
1440
- PrepareStmt: {}
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;
1446
- },
1447
- executeStmt(_p) {
1448
- const _j = {
1449
- ExecuteStmt: {}
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;
1454
- },
1455
- deallocateStmt(_p) {
1456
- const _j = {
1457
- DeallocateStmt: {}
1458
- };
1459
- nested_obj_1.default.set(_j, "DeallocateStmt.name", _p?.name);
1460
- return _j;
1461
- },
1462
- declareCursorStmt(_p) {
1463
- const _j = {
1464
- DeclareCursorStmt: {}
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;
1470
- },
1471
- createTableSpaceStmt(_p) {
1472
- const _j = {
1473
- CreateTableSpaceStmt: {}
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;
1480
- },
1481
- dropTableSpaceStmt(_p) {
1482
- const _j = {
1483
- DropTableSpaceStmt: {}
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;
1488
- },
1489
- alterObjectDependsStmt(_p) {
1490
- const _j = {
1491
- AlterObjectDependsStmt: {}
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;
1499
- },
1500
- alterObjectSchemaStmt(_p) {
1501
- const _j = {
1502
- AlterObjectSchemaStmt: {}
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;
1510
- },
1511
- alterOwnerStmt(_p) {
1512
- const _j = {
1513
- AlterOwnerStmt: {}
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;
1520
- },
1521
- alterOperatorStmt(_p) {
1522
- const _j = {
1523
- AlterOperatorStmt: {}
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;
1528
- },
1529
- alterTypeStmt(_p) {
1530
- const _j = {
1531
- AlterTypeStmt: {}
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;
1536
- },
1537
- dropOwnedStmt(_p) {
1538
- const _j = {
1539
- DropOwnedStmt: {}
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;
1544
- },
1545
- reassignOwnedStmt(_p) {
1546
- const _j = {
1547
- ReassignOwnedStmt: {}
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;
1552
- },
1553
- compositeTypeStmt(_p) {
1554
- const _j = {
1555
- CompositeTypeStmt: {}
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;
1560
- },
1561
- createEnumStmt(_p) {
1562
- const _j = {
1563
- CreateEnumStmt: {}
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;
1568
- },
1569
- createRangeStmt(_p) {
1570
- const _j = {
1571
- CreateRangeStmt: {}
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;
1576
- },
1577
- alterEnumStmt(_p) {
1578
- const _j = {
1579
- AlterEnumStmt: {}
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;
1588
- },
1589
- altertsDictionaryStmt(_p) {
1590
- const _j = {
1591
- AlterTSDictionaryStmt: {}
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;
1596
- },
1597
- altertsConfigurationStmt(_p) {
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;
1609
- },
1610
- createFdwStmt(_p) {
1611
- const _j = {
1612
- CreateFdwStmt: {}
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;
1618
- },
1619
- alterFdwStmt(_p) {
1620
- const _j = {
1621
- AlterFdwStmt: {}
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;
1627
- },
1628
- createForeignServerStmt(_p) {
1629
- const _j = {
1630
- CreateForeignServerStmt: {}
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;
1639
- },
1640
- alterForeignServerStmt(_p) {
1641
- const _j = {
1642
- AlterForeignServerStmt: {}
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;
1649
- },
1650
- createUserMappingStmt(_p) {
1651
- const _j = {
1652
- CreateUserMappingStmt: {}
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;
1659
- },
1660
- alterUserMappingStmt(_p) {
1661
- const _j = {
1662
- AlterUserMappingStmt: {}
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;
1668
- },
1669
- dropUserMappingStmt(_p) {
1670
- const _j = {
1671
- DropUserMappingStmt: {}
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;
1677
- },
1678
- alterTableSpaceOptionsStmt(_p) {
1679
- const _j = {
1680
- AlterTableSpaceOptionsStmt: {}
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;
1686
- },
1687
- alterTableMoveAllStmt(_p) {
1688
- const _j = {
1689
- AlterTableMoveAllStmt: {}
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;
1697
- },
1698
- secLabelStmt(_p) {
1699
- const _j = {
1700
- SecLabelStmt: {}
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;
1707
- },
1708
- createForeignTableStmt(_p) {
1709
- const _j = {
1710
- CreateForeignTableStmt: {}
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;
1716
- },
1717
- importForeignSchemaStmt(_p) {
1718
- const _j = {
1719
- ImportForeignSchemaStmt: {}
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;
1728
- },
1729
- createExtensionStmt(_p) {
1730
- const _j = {
1731
- CreateExtensionStmt: {}
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;
1737
- },
1738
- alterExtensionStmt(_p) {
1739
- const _j = {
1740
- AlterExtensionStmt: {}
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;
1745
- },
1746
- alterExtensionContentsStmt(_p) {
1747
- const _j = {
1748
- AlterExtensionContentsStmt: {}
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;
1755
- },
1756
- createEventTrigStmt(_p) {
1757
- const _j = {
1758
- CreateEventTrigStmt: {}
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;
1765
- },
1766
- alterEventTrigStmt(_p) {
1767
- const _j = {
1768
- AlterEventTrigStmt: {}
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;
1773
- },
1774
- refreshMatViewStmt(_p) {
1775
- const _j = {
1776
- RefreshMatViewStmt: {}
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;
1782
- },
1783
- replicaIdentityStmt(_p) {
1784
- const _j = {
1785
- ReplicaIdentityStmt: {}
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;
1790
- },
1791
- alterSystemStmt(_p) {
1792
- const _j = {
1793
- AlterSystemStmt: {}
1794
- };
1795
- nested_obj_1.default.set(_j, "AlterSystemStmt.setstmt", _p?.setstmt);
1796
- return _j;
1797
- },
1798
- createPolicyStmt(_p) {
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;
1810
- },
1811
- alterPolicyStmt(_p) {
1812
- const _j = {
1813
- AlterPolicyStmt: {}
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;
1821
- },
1822
- createTransformStmt(_p) {
1823
- const _j = {
1824
- CreateTransformStmt: {}
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;
1832
- },
1833
- createAmStmt(_p) {
1834
- const _j = {
1835
- CreateAmStmt: {}
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;
1841
- },
1842
- createPublicationStmt(_p) {
1843
- const _j = {
1844
- CreatePublicationStmt: {}
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;
1851
- },
1852
- alterPublicationStmt(_p) {
1853
- const _j = {
1854
- AlterPublicationStmt: {}
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;
1862
- },
1863
- createSubscriptionStmt(_p) {
1864
- const _j = {
1865
- CreateSubscriptionStmt: {}
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;
1872
- },
1873
- alterSubscriptionStmt(_p) {
1874
- const _j = {
1875
- AlterSubscriptionStmt: {}
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;
1883
- },
1884
- dropSubscriptionStmt(_p) {
1885
- const _j = {
1886
- DropSubscriptionStmt: {}
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;
1892
- },
1893
- createStatsStmt(_p) {
1894
- const _j = {
1895
- CreateStatsStmt: {}
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;
1904
- },
1905
- alterCollationStmt(_p) {
1906
- const _j = {
1907
- AlterCollationStmt: {}
1908
- };
1909
- nested_obj_1.default.set(_j, "AlterCollationStmt.collname", _p?.collname);
1910
- return _j;
1911
- },
1912
- callStmt(_p) {
1913
- const _j = {
1914
- CallStmt: {}
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;
1919
- },
1920
- alterStatsStmt(_p) {
1921
- const _j = {
1922
- AlterStatsStmt: {}
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;
1928
- },
1929
- aExpr(_p) {
1930
- const _j = {
1931
- A_Expr: {}
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;
1939
- },
1940
- columnRef(_p) {
1941
- const _j = {
1942
- ColumnRef: {}
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;
1947
- },
1948
- paramRef(_p) {
1949
- const _j = {
1950
- ParamRef: {}
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;
1955
- },
1956
- aConst(_p) {
1957
- const _j = {
1958
- A_Const: {}
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;
1963
- },
1964
- funcCall(_p) {
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;
1979
- },
1980
- aStar(_p) {
1981
- const _j = {
1982
- A_Star: {}
1983
- };
1984
- return _j;
1985
- },
1986
- aIndices(_p) {
1987
- const _j = {
1988
- A_Indices: {}
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;
1994
- },
1995
- aIndirection(_p) {
1996
- const _j = {
1997
- A_Indirection: {}
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;
2002
- },
2003
- aArrayExpr(_p) {
2004
- const _j = {
2005
- A_ArrayExpr: {}
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;
2010
- },
2011
- resTarget(_p) {
2012
- const _j = {
2013
- ResTarget: {}
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;
2020
- },
2021
- multiAssignRef(_p) {
2022
- const _j = {
2023
- MultiAssignRef: {}
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;
2029
- },
2030
- typeCast(_p) {
2031
- const _j = {
2032
- TypeCast: {}
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;
2038
- },
2039
- collateClause(_p) {
2040
- const _j = {
2041
- CollateClause: {}
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;
2047
- },
2048
- sortBy(_p) {
2049
- const _j = {
2050
- SortBy: {}
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;
2058
- },
2059
- windowDef(_p) {
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;
2072
- },
2073
- rangeSubselect(_p) {
2074
- const _j = {
2075
- RangeSubselect: {}
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;
2081
- },
2082
- rangeFunction(_p) {
2083
- const _j = {
2084
- RangeFunction: {}
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;
2093
- },
2094
- rangeTableSample(_p) {
2095
- const _j = {
2096
- RangeTableSample: {}
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;
2104
- },
2105
- rangeTableFunc(_p) {
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;
2117
- },
2118
- rangeTableFuncCol(_p) {
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;
2130
- },
2131
- typeName(_p) {
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;
2142
- },
2143
- columnDef(_p) {
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;
2165
- },
2166
- indexElem(_p) {
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;
2179
- },
2180
- constraint(_p) {
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;
2213
- },
2214
- defElem(_p) {
2215
- const _j = {
2216
- DefElem: {}
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;
2224
- },
2225
- rangeTblEntry(_p) {
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;
2266
- },
2267
- rangeTblFunction(_p) {
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;
2279
- },
2280
- tableSampleClause(_p) {
2281
- const _j = {
2282
- TableSampleClause: {}
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;
2288
- },
2289
- withCheckOption(_p) {
2290
- const _j = {
2291
- WithCheckOption: {}
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;
2299
- },
2300
- sortGroupClause(_p) {
2301
- const _j = {
2302
- SortGroupClause: {}
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;
2310
- },
2311
- groupingSet(_p) {
2312
- const _j = {
2313
- GroupingSet: {}
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;
2319
- },
2320
- windowClause(_p) {
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;
2339
- },
2340
- objectWithArgs(_p) {
2341
- const _j = {
2342
- ObjectWithArgs: {}
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;
2348
- },
2349
- accessPriv(_p) {
2350
- const _j = {
2351
- AccessPriv: {}
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;
2356
- },
2357
- createOpClassItem(_p) {
2358
- const _j = {
2359
- CreateOpClassItem: {}
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;
2368
- },
2369
- tableLikeClause(_p) {
2370
- const _j = {
2371
- TableLikeClause: {}
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;
2377
- },
2378
- functionParameter(_p) {
2379
- const _j = {
2380
- FunctionParameter: {}
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;
2387
- },
2388
- lockingClause(_p) {
2389
- const _j = {
2390
- LockingClause: {}
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;
2396
- },
2397
- rowMarkClause(_p) {
2398
- const _j = {
2399
- RowMarkClause: {}
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;
2406
- },
2407
- xmlSerialize(_p) {
2408
- const _j = {
2409
- XmlSerialize: {}
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;
2416
- },
2417
- withClause(_p) {
2418
- const _j = {
2419
- WithClause: {}
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;
2425
- },
2426
- inferClause(_p) {
2427
- const _j = {
2428
- InferClause: {}
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;
2435
- },
2436
- onConflictClause(_p) {
2437
- const _j = {
2438
- OnConflictClause: {}
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;
2446
- },
2447
- commonTableExpr(_p) {
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;
2463
- },
2464
- roleSpec(_p) {
2465
- const _j = {
2466
- RoleSpec: {}
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;
2472
- },
2473
- triggerTransition(_p) {
2474
- const _j = {
2475
- TriggerTransition: {}
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;
2481
- },
2482
- partitionElem(_p) {
2483
- const _j = {
2484
- PartitionElem: {}
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;
2492
- },
2493
- partitionSpec(_p) {
2494
- const _j = {
2495
- PartitionSpec: {}
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;
2501
- },
2502
- partitionBoundSpec(_p) {
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;
2515
- },
2516
- partitionRangeDatum(_p) {
2517
- const _j = {
2518
- PartitionRangeDatum: {}
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;
2524
- },
2525
- partitionCmd(_p) {
2526
- const _j = {
2527
- PartitionCmd: {}
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;
2532
- },
2533
- vacuumRelation(_p) {
2534
- const _j = {
2535
- VacuumRelation: {}
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;
2541
- },
2542
- inlineCodeBlock(_p) {
2543
- const _j = {
2544
- InlineCodeBlock: {}
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;
2551
- },
2552
- callContext(_p) {
2553
- const _j = {
2554
- CallContext: {}
2555
- };
2556
- nested_obj_1.default.set(_j, "CallContext.atomic", _p?.atomic);
2557
- return _j;
2558
- },
2559
- scanToken(_p) {
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;
2568
- }
2569
- };