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