pg-ast 2.0.8 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/asts.d.ts +275 -0
- package/asts.js +2494 -0
- package/esm/asts.js +2489 -0
- package/esm/index.js +7 -1425
- package/esm/wrapped.js +3031 -0
- package/index.d.ts +1095 -1120
- package/index.js +11 -1578
- package/package.json +11 -5
- package/wrapped.d.ts +817 -0
- package/wrapped.js +3036 -0
package/README.md
CHANGED
|
@@ -32,15 +32,15 @@ const node = ast.A_Expr({
|
|
|
32
32
|
});
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
## Pairs well with `pgsql-
|
|
35
|
+
## Pairs well with `pgsql-deparser`
|
|
36
36
|
|
|
37
|
-
https://github.com/
|
|
37
|
+
https://github.com/launchql/pgsql-parser
|
|
38
38
|
|
|
39
39
|
You can create ASTs manually, and then generate your SQL:
|
|
40
40
|
|
|
41
41
|
```js
|
|
42
42
|
import * as ast from '../src';
|
|
43
|
-
import { deparse } from 'pgsql-
|
|
43
|
+
import { deparse } from 'pgsql-deparser';
|
|
44
44
|
|
|
45
45
|
const node = ast.A_Expr({
|
|
46
46
|
kind: 0,
|
package/asts.d.ts
ADDED
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, WindowFuncRunCondition, MergeSupportFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, JsonBehavior, JsonExpr, JsonTablePath, JsonTablePathScan, JsonTableSiblingJoin, NullTest, BooleanTest, MergeAction, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, SinglePartitionSpec, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, TriggerTransition, JsonOutput, JsonArgument, JsonFuncExpr, JsonTablePathSpec, JsonTable, JsonTableColumn, JsonKeyValue, JsonParseExpr, JsonScalarExpr, JsonSerializeExpr, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "@pgsql/types";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
parseResult(_p?: ParseResult): ParseResult;
|
|
4
|
+
scanResult(_p?: ScanResult): ScanResult;
|
|
5
|
+
integer(_p?: Integer): Integer;
|
|
6
|
+
float(_p?: Float): Float;
|
|
7
|
+
boolean(_p?: Boolean): Boolean;
|
|
8
|
+
string(_p?: String): String;
|
|
9
|
+
bitString(_p?: BitString): BitString;
|
|
10
|
+
list(_p?: List): List;
|
|
11
|
+
oidList(_p?: OidList): OidList;
|
|
12
|
+
intList(_p?: IntList): IntList;
|
|
13
|
+
aConst(_p?: A_Const): A_Const;
|
|
14
|
+
alias(_p?: Alias): Alias;
|
|
15
|
+
rangeVar(_p?: RangeVar): RangeVar;
|
|
16
|
+
tableFunc(_p?: TableFunc): TableFunc;
|
|
17
|
+
intoClause(_p?: IntoClause): IntoClause;
|
|
18
|
+
var(_p?: Var): Var;
|
|
19
|
+
param(_p?: Param): Param;
|
|
20
|
+
aggref(_p?: Aggref): Aggref;
|
|
21
|
+
groupingFunc(_p?: GroupingFunc): GroupingFunc;
|
|
22
|
+
windowFunc(_p?: WindowFunc): WindowFunc;
|
|
23
|
+
windowFuncRunCondition(_p?: WindowFuncRunCondition): WindowFuncRunCondition;
|
|
24
|
+
mergeSupportFunc(_p?: MergeSupportFunc): MergeSupportFunc;
|
|
25
|
+
subscriptingRef(_p?: SubscriptingRef): SubscriptingRef;
|
|
26
|
+
funcExpr(_p?: FuncExpr): FuncExpr;
|
|
27
|
+
namedArgExpr(_p?: NamedArgExpr): NamedArgExpr;
|
|
28
|
+
opExpr(_p?: OpExpr): OpExpr;
|
|
29
|
+
distinctExpr(_p?: DistinctExpr): DistinctExpr;
|
|
30
|
+
nullIfExpr(_p?: NullIfExpr): NullIfExpr;
|
|
31
|
+
scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr;
|
|
32
|
+
boolExpr(_p?: BoolExpr): BoolExpr;
|
|
33
|
+
subLink(_p?: SubLink): SubLink;
|
|
34
|
+
subPlan(_p?: SubPlan): SubPlan;
|
|
35
|
+
alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan;
|
|
36
|
+
fieldSelect(_p?: FieldSelect): FieldSelect;
|
|
37
|
+
fieldStore(_p?: FieldStore): FieldStore;
|
|
38
|
+
relabelType(_p?: RelabelType): RelabelType;
|
|
39
|
+
coerceViaio(_p?: CoerceViaIO): CoerceViaIO;
|
|
40
|
+
arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr;
|
|
41
|
+
convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr;
|
|
42
|
+
collateExpr(_p?: CollateExpr): CollateExpr;
|
|
43
|
+
caseExpr(_p?: CaseExpr): CaseExpr;
|
|
44
|
+
caseWhen(_p?: CaseWhen): CaseWhen;
|
|
45
|
+
caseTestExpr(_p?: CaseTestExpr): CaseTestExpr;
|
|
46
|
+
arrayExpr(_p?: ArrayExpr): ArrayExpr;
|
|
47
|
+
rowExpr(_p?: RowExpr): RowExpr;
|
|
48
|
+
rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr;
|
|
49
|
+
coalesceExpr(_p?: CoalesceExpr): CoalesceExpr;
|
|
50
|
+
minMaxExpr(_p?: MinMaxExpr): MinMaxExpr;
|
|
51
|
+
sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction;
|
|
52
|
+
xmlExpr(_p?: XmlExpr): XmlExpr;
|
|
53
|
+
jsonFormat(_p?: JsonFormat): JsonFormat;
|
|
54
|
+
jsonReturning(_p?: JsonReturning): JsonReturning;
|
|
55
|
+
jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr;
|
|
56
|
+
jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr;
|
|
57
|
+
jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate;
|
|
58
|
+
jsonBehavior(_p?: JsonBehavior): JsonBehavior;
|
|
59
|
+
jsonExpr(_p?: JsonExpr): JsonExpr;
|
|
60
|
+
jsonTablePath(_p?: JsonTablePath): JsonTablePath;
|
|
61
|
+
jsonTablePathScan(_p?: JsonTablePathScan): JsonTablePathScan;
|
|
62
|
+
jsonTableSiblingJoin(_p?: JsonTableSiblingJoin): JsonTableSiblingJoin;
|
|
63
|
+
nullTest(_p?: NullTest): NullTest;
|
|
64
|
+
booleanTest(_p?: BooleanTest): BooleanTest;
|
|
65
|
+
mergeAction(_p?: MergeAction): MergeAction;
|
|
66
|
+
coerceToDomain(_p?: CoerceToDomain): CoerceToDomain;
|
|
67
|
+
coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue;
|
|
68
|
+
setToDefault(_p?: SetToDefault): SetToDefault;
|
|
69
|
+
currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr;
|
|
70
|
+
nextValueExpr(_p?: NextValueExpr): NextValueExpr;
|
|
71
|
+
inferenceElem(_p?: InferenceElem): InferenceElem;
|
|
72
|
+
targetEntry(_p?: TargetEntry): TargetEntry;
|
|
73
|
+
rangeTblRef(_p?: RangeTblRef): RangeTblRef;
|
|
74
|
+
joinExpr(_p?: JoinExpr): JoinExpr;
|
|
75
|
+
fromExpr(_p?: FromExpr): FromExpr;
|
|
76
|
+
onConflictExpr(_p?: OnConflictExpr): OnConflictExpr;
|
|
77
|
+
query(_p?: Query): Query;
|
|
78
|
+
typeName(_p?: TypeName): TypeName;
|
|
79
|
+
columnRef(_p?: ColumnRef): ColumnRef;
|
|
80
|
+
paramRef(_p?: ParamRef): ParamRef;
|
|
81
|
+
aExpr(_p?: A_Expr): A_Expr;
|
|
82
|
+
typeCast(_p?: TypeCast): TypeCast;
|
|
83
|
+
collateClause(_p?: CollateClause): CollateClause;
|
|
84
|
+
roleSpec(_p?: RoleSpec): RoleSpec;
|
|
85
|
+
funcCall(_p?: FuncCall): FuncCall;
|
|
86
|
+
aStar(_p?: A_Star): A_Star;
|
|
87
|
+
aIndices(_p?: A_Indices): A_Indices;
|
|
88
|
+
aIndirection(_p?: A_Indirection): A_Indirection;
|
|
89
|
+
aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr;
|
|
90
|
+
resTarget(_p?: ResTarget): ResTarget;
|
|
91
|
+
multiAssignRef(_p?: MultiAssignRef): MultiAssignRef;
|
|
92
|
+
sortBy(_p?: SortBy): SortBy;
|
|
93
|
+
windowDef(_p?: WindowDef): WindowDef;
|
|
94
|
+
rangeSubselect(_p?: RangeSubselect): RangeSubselect;
|
|
95
|
+
rangeFunction(_p?: RangeFunction): RangeFunction;
|
|
96
|
+
rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc;
|
|
97
|
+
rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol;
|
|
98
|
+
rangeTableSample(_p?: RangeTableSample): RangeTableSample;
|
|
99
|
+
columnDef(_p?: ColumnDef): ColumnDef;
|
|
100
|
+
tableLikeClause(_p?: TableLikeClause): TableLikeClause;
|
|
101
|
+
indexElem(_p?: IndexElem): IndexElem;
|
|
102
|
+
defElem(_p?: DefElem): DefElem;
|
|
103
|
+
lockingClause(_p?: LockingClause): LockingClause;
|
|
104
|
+
xmlSerialize(_p?: XmlSerialize): XmlSerialize;
|
|
105
|
+
partitionElem(_p?: PartitionElem): PartitionElem;
|
|
106
|
+
partitionSpec(_p?: PartitionSpec): PartitionSpec;
|
|
107
|
+
partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec;
|
|
108
|
+
partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum;
|
|
109
|
+
singlePartitionSpec(_p?: SinglePartitionSpec): SinglePartitionSpec;
|
|
110
|
+
partitionCmd(_p?: PartitionCmd): PartitionCmd;
|
|
111
|
+
rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry;
|
|
112
|
+
rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo;
|
|
113
|
+
rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction;
|
|
114
|
+
tableSampleClause(_p?: TableSampleClause): TableSampleClause;
|
|
115
|
+
withCheckOption(_p?: WithCheckOption): WithCheckOption;
|
|
116
|
+
sortGroupClause(_p?: SortGroupClause): SortGroupClause;
|
|
117
|
+
groupingSet(_p?: GroupingSet): GroupingSet;
|
|
118
|
+
windowClause(_p?: WindowClause): WindowClause;
|
|
119
|
+
rowMarkClause(_p?: RowMarkClause): RowMarkClause;
|
|
120
|
+
withClause(_p?: WithClause): WithClause;
|
|
121
|
+
inferClause(_p?: InferClause): InferClause;
|
|
122
|
+
onConflictClause(_p?: OnConflictClause): OnConflictClause;
|
|
123
|
+
cteSearchClause(_p?: CTESearchClause): CTESearchClause;
|
|
124
|
+
cteCycleClause(_p?: CTECycleClause): CTECycleClause;
|
|
125
|
+
commonTableExpr(_p?: CommonTableExpr): CommonTableExpr;
|
|
126
|
+
mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause;
|
|
127
|
+
triggerTransition(_p?: TriggerTransition): TriggerTransition;
|
|
128
|
+
jsonOutput(_p?: JsonOutput): JsonOutput;
|
|
129
|
+
jsonArgument(_p?: JsonArgument): JsonArgument;
|
|
130
|
+
jsonFuncExpr(_p?: JsonFuncExpr): JsonFuncExpr;
|
|
131
|
+
jsonTablePathSpec(_p?: JsonTablePathSpec): JsonTablePathSpec;
|
|
132
|
+
jsonTable(_p?: JsonTable): JsonTable;
|
|
133
|
+
jsonTableColumn(_p?: JsonTableColumn): JsonTableColumn;
|
|
134
|
+
jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue;
|
|
135
|
+
jsonParseExpr(_p?: JsonParseExpr): JsonParseExpr;
|
|
136
|
+
jsonScalarExpr(_p?: JsonScalarExpr): JsonScalarExpr;
|
|
137
|
+
jsonSerializeExpr(_p?: JsonSerializeExpr): JsonSerializeExpr;
|
|
138
|
+
jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor;
|
|
139
|
+
jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor;
|
|
140
|
+
jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor;
|
|
141
|
+
jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor;
|
|
142
|
+
jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg;
|
|
143
|
+
jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg;
|
|
144
|
+
rawStmt(_p?: RawStmt): RawStmt;
|
|
145
|
+
insertStmt(_p?: InsertStmt): InsertStmt;
|
|
146
|
+
deleteStmt(_p?: DeleteStmt): DeleteStmt;
|
|
147
|
+
updateStmt(_p?: UpdateStmt): UpdateStmt;
|
|
148
|
+
mergeStmt(_p?: MergeStmt): MergeStmt;
|
|
149
|
+
selectStmt(_p?: SelectStmt): SelectStmt;
|
|
150
|
+
setOperationStmt(_p?: SetOperationStmt): SetOperationStmt;
|
|
151
|
+
returnStmt(_p?: ReturnStmt): ReturnStmt;
|
|
152
|
+
plAssignStmt(_p?: PLAssignStmt): PLAssignStmt;
|
|
153
|
+
createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt;
|
|
154
|
+
alterTableStmt(_p?: AlterTableStmt): AlterTableStmt;
|
|
155
|
+
replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt;
|
|
156
|
+
alterTableCmd(_p?: AlterTableCmd): AlterTableCmd;
|
|
157
|
+
alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt;
|
|
158
|
+
alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt;
|
|
159
|
+
grantStmt(_p?: GrantStmt): GrantStmt;
|
|
160
|
+
objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs;
|
|
161
|
+
accessPriv(_p?: AccessPriv): AccessPriv;
|
|
162
|
+
grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt;
|
|
163
|
+
alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt;
|
|
164
|
+
copyStmt(_p?: CopyStmt): CopyStmt;
|
|
165
|
+
variableSetStmt(_p?: VariableSetStmt): VariableSetStmt;
|
|
166
|
+
variableShowStmt(_p?: VariableShowStmt): VariableShowStmt;
|
|
167
|
+
createStmt(_p?: CreateStmt): CreateStmt;
|
|
168
|
+
constraint(_p?: Constraint): Constraint;
|
|
169
|
+
createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt;
|
|
170
|
+
dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt;
|
|
171
|
+
alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt;
|
|
172
|
+
alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt;
|
|
173
|
+
createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt;
|
|
174
|
+
alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt;
|
|
175
|
+
alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt;
|
|
176
|
+
createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt;
|
|
177
|
+
alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt;
|
|
178
|
+
createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt;
|
|
179
|
+
alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt;
|
|
180
|
+
createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt;
|
|
181
|
+
createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt;
|
|
182
|
+
alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt;
|
|
183
|
+
dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt;
|
|
184
|
+
importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt;
|
|
185
|
+
createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt;
|
|
186
|
+
alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt;
|
|
187
|
+
createAmStmt(_p?: CreateAmStmt): CreateAmStmt;
|
|
188
|
+
createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt;
|
|
189
|
+
createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt;
|
|
190
|
+
alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt;
|
|
191
|
+
createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt;
|
|
192
|
+
createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt;
|
|
193
|
+
alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt;
|
|
194
|
+
alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt;
|
|
195
|
+
dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt;
|
|
196
|
+
createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt;
|
|
197
|
+
alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt;
|
|
198
|
+
defineStmt(_p?: DefineStmt): DefineStmt;
|
|
199
|
+
createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt;
|
|
200
|
+
createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt;
|
|
201
|
+
createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem;
|
|
202
|
+
createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt;
|
|
203
|
+
alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt;
|
|
204
|
+
dropStmt(_p?: DropStmt): DropStmt;
|
|
205
|
+
truncateStmt(_p?: TruncateStmt): TruncateStmt;
|
|
206
|
+
commentStmt(_p?: CommentStmt): CommentStmt;
|
|
207
|
+
secLabelStmt(_p?: SecLabelStmt): SecLabelStmt;
|
|
208
|
+
declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt;
|
|
209
|
+
closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt;
|
|
210
|
+
fetchStmt(_p?: FetchStmt): FetchStmt;
|
|
211
|
+
indexStmt(_p?: IndexStmt): IndexStmt;
|
|
212
|
+
createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt;
|
|
213
|
+
statsElem(_p?: StatsElem): StatsElem;
|
|
214
|
+
alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt;
|
|
215
|
+
createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt;
|
|
216
|
+
functionParameter(_p?: FunctionParameter): FunctionParameter;
|
|
217
|
+
alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt;
|
|
218
|
+
doStmt(_p?: DoStmt): DoStmt;
|
|
219
|
+
inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock;
|
|
220
|
+
callStmt(_p?: CallStmt): CallStmt;
|
|
221
|
+
callContext(_p?: CallContext): CallContext;
|
|
222
|
+
renameStmt(_p?: RenameStmt): RenameStmt;
|
|
223
|
+
alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt;
|
|
224
|
+
alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt;
|
|
225
|
+
alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt;
|
|
226
|
+
alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt;
|
|
227
|
+
alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt;
|
|
228
|
+
ruleStmt(_p?: RuleStmt): RuleStmt;
|
|
229
|
+
notifyStmt(_p?: NotifyStmt): NotifyStmt;
|
|
230
|
+
listenStmt(_p?: ListenStmt): ListenStmt;
|
|
231
|
+
unlistenStmt(_p?: UnlistenStmt): UnlistenStmt;
|
|
232
|
+
transactionStmt(_p?: TransactionStmt): TransactionStmt;
|
|
233
|
+
compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt;
|
|
234
|
+
createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt;
|
|
235
|
+
createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt;
|
|
236
|
+
alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt;
|
|
237
|
+
viewStmt(_p?: ViewStmt): ViewStmt;
|
|
238
|
+
loadStmt(_p?: LoadStmt): LoadStmt;
|
|
239
|
+
createdbStmt(_p?: CreatedbStmt): CreatedbStmt;
|
|
240
|
+
alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt;
|
|
241
|
+
alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt;
|
|
242
|
+
alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt;
|
|
243
|
+
dropdbStmt(_p?: DropdbStmt): DropdbStmt;
|
|
244
|
+
alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt;
|
|
245
|
+
clusterStmt(_p?: ClusterStmt): ClusterStmt;
|
|
246
|
+
vacuumStmt(_p?: VacuumStmt): VacuumStmt;
|
|
247
|
+
vacuumRelation(_p?: VacuumRelation): VacuumRelation;
|
|
248
|
+
explainStmt(_p?: ExplainStmt): ExplainStmt;
|
|
249
|
+
createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt;
|
|
250
|
+
refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt;
|
|
251
|
+
checkPointStmt(_p?: CheckPointStmt): CheckPointStmt;
|
|
252
|
+
discardStmt(_p?: DiscardStmt): DiscardStmt;
|
|
253
|
+
lockStmt(_p?: LockStmt): LockStmt;
|
|
254
|
+
constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt;
|
|
255
|
+
reindexStmt(_p?: ReindexStmt): ReindexStmt;
|
|
256
|
+
createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt;
|
|
257
|
+
createCastStmt(_p?: CreateCastStmt): CreateCastStmt;
|
|
258
|
+
createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt;
|
|
259
|
+
prepareStmt(_p?: PrepareStmt): PrepareStmt;
|
|
260
|
+
executeStmt(_p?: ExecuteStmt): ExecuteStmt;
|
|
261
|
+
deallocateStmt(_p?: DeallocateStmt): DeallocateStmt;
|
|
262
|
+
dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt;
|
|
263
|
+
reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt;
|
|
264
|
+
altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt;
|
|
265
|
+
altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt;
|
|
266
|
+
publicationTable(_p?: PublicationTable): PublicationTable;
|
|
267
|
+
publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec;
|
|
268
|
+
createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt;
|
|
269
|
+
alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt;
|
|
270
|
+
createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt;
|
|
271
|
+
alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt;
|
|
272
|
+
dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt;
|
|
273
|
+
scanToken(_p?: ScanToken): ScanToken;
|
|
274
|
+
};
|
|
275
|
+
export default _default;
|