pgsql-deparser 18.3.7 → 18.3.8
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/deparser.d.ts +20 -0
- package/deparser.js +533 -316
- package/esm/deparser.js +533 -316
- package/package.json +2 -2
package/deparser.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ export declare class Deparser implements DeparserVisitor {
|
|
|
77
77
|
visitBetweenRange(rexpr: any, context: DeparserContext): string;
|
|
78
78
|
InsertStmt(node: t.InsertStmt, context: DeparserContext): string;
|
|
79
79
|
UpdateStmt(node: t.UpdateStmt, context: DeparserContext): string;
|
|
80
|
+
formatUpdateAssignments(targets: Node[], context: DeparserContext): string;
|
|
80
81
|
DeleteStmt(node: t.DeleteStmt, context: DeparserContext): string;
|
|
81
82
|
WithClause(node: t.WithClause, context: DeparserContext): string;
|
|
82
83
|
ResTarget(node: t.ResTarget, context: DeparserContext): string;
|
|
@@ -87,6 +88,7 @@ export declare class Deparser implements DeparserVisitor {
|
|
|
87
88
|
deparseReturningList(list: t.Node[], context: DeparserContext): string;
|
|
88
89
|
BoolExpr(node: t.BoolExpr, context: DeparserContext): string;
|
|
89
90
|
FuncCall(node: t.FuncCall, context: DeparserContext): string;
|
|
91
|
+
formatOverClause(over: t.WindowDef, context: DeparserContext): string;
|
|
90
92
|
FuncExpr(node: t.FuncExpr, context: DeparserContext): string;
|
|
91
93
|
A_Const(node: t.A_Const, context: DeparserContext): string;
|
|
92
94
|
ColumnRef(node: t.ColumnRef, context: DeparserContext): string;
|
|
@@ -123,10 +125,13 @@ export declare class Deparser implements DeparserVisitor {
|
|
|
123
125
|
SubLink(node: t.SubLink, context: DeparserContext): string;
|
|
124
126
|
CaseWhen(node: t.CaseWhen, context: DeparserContext): string;
|
|
125
127
|
WindowDef(node: t.WindowDef, context: DeparserContext): string;
|
|
128
|
+
formatIdentityColumnOptions(def: Node, context: DeparserContext): string;
|
|
129
|
+
needsBExprParens(node: Node): boolean;
|
|
126
130
|
formatWindowFrame(node: any, context: DeparserContext): string | null;
|
|
127
131
|
SortBy(node: t.SortBy, context: DeparserContext): string;
|
|
128
132
|
GroupingSet(node: t.GroupingSet, context: DeparserContext): string;
|
|
129
133
|
CommonTableExpr(node: t.CommonTableExpr, context: DeparserContext): string;
|
|
134
|
+
formatAexprConst(node: Node, context: DeparserContext): string;
|
|
130
135
|
ParamRef(node: t.ParamRef, context: DeparserContext): string;
|
|
131
136
|
LockingClause(node: any, context: DeparserContext): string;
|
|
132
137
|
MinMaxExpr(node: t.MinMaxExpr, context: DeparserContext): string;
|
|
@@ -284,7 +289,22 @@ export declare class Deparser implements DeparserVisitor {
|
|
|
284
289
|
TableFunc(node: t.TableFunc, context: DeparserContext): string;
|
|
285
290
|
RangeTableFunc(node: t.RangeTableFunc, context: DeparserContext): string;
|
|
286
291
|
RangeTableFuncCol(node: t.RangeTableFuncCol, context: DeparserContext): string;
|
|
292
|
+
formatJsonFormat(format: t.JsonFormat | undefined): string | null;
|
|
293
|
+
formatJsonOutput(output: t.JsonOutput | undefined, context: DeparserContext): string | null;
|
|
294
|
+
formatJsonNullClause(absentOnNull: boolean | undefined): string;
|
|
295
|
+
formatJsonUniqueClause(unique: boolean | undefined): string | null;
|
|
296
|
+
JsonValueExpr(node: t.JsonValueExpr, context: DeparserContext): string;
|
|
297
|
+
JsonKeyValue(node: t.JsonKeyValue, context: DeparserContext): string;
|
|
298
|
+
JsonObjectConstructor(node: t.JsonObjectConstructor, context: DeparserContext): string;
|
|
299
|
+
JsonArrayConstructor(node: t.JsonArrayConstructor, context: DeparserContext): string;
|
|
287
300
|
JsonArrayQueryConstructor(node: t.JsonArrayQueryConstructor, context: DeparserContext): string;
|
|
301
|
+
formatJsonAggSuffix(ctor: t.JsonAggConstructor | undefined, context: DeparserContext): string;
|
|
302
|
+
JsonObjectAgg(node: t.JsonObjectAgg, context: DeparserContext): string;
|
|
303
|
+
JsonArrayAgg(node: t.JsonArrayAgg, context: DeparserContext): string;
|
|
304
|
+
JsonParseExpr(node: t.JsonParseExpr, context: DeparserContext): string;
|
|
305
|
+
JsonScalarExpr(node: t.JsonScalarExpr, context: DeparserContext): string;
|
|
306
|
+
JsonSerializeExpr(node: t.JsonSerializeExpr, context: DeparserContext): string;
|
|
307
|
+
JsonIsPredicate(node: t.JsonIsPredicate, context: DeparserContext): string;
|
|
288
308
|
RangeFunction(node: t.RangeFunction, context: DeparserContext): string;
|
|
289
309
|
XmlExpr(node: t.XmlExpr, context: DeparserContext): string;
|
|
290
310
|
schemaname(node: any, context: DeparserContext): string;
|