|
@@ -8,6 +8,7 @@ export class SqlPartDef {
|
|
|
defaultParams: any[];
|
|
defaultParams: any[];
|
|
|
wrapOpen: string;
|
|
wrapOpen: string;
|
|
|
wrapClose: string;
|
|
wrapClose: string;
|
|
|
|
|
+ separator: string;
|
|
|
renderer: any;
|
|
renderer: any;
|
|
|
category: any;
|
|
category: any;
|
|
|
addStrategy: any;
|
|
addStrategy: any;
|
|
@@ -23,9 +24,11 @@ export class SqlPartDef {
|
|
|
if (this.style === "function") {
|
|
if (this.style === "function") {
|
|
|
this.wrapOpen = "(";
|
|
this.wrapOpen = "(";
|
|
|
this.wrapClose = ")";
|
|
this.wrapClose = ")";
|
|
|
|
|
+ this.separator = ", ";
|
|
|
} else {
|
|
} else {
|
|
|
this.wrapOpen = " ";
|
|
this.wrapOpen = " ";
|
|
|
this.wrapClose = " ";
|
|
this.wrapClose = " ";
|
|
|
|
|
+ this.separator = " ";
|
|
|
}
|
|
}
|
|
|
this.params = options.params;
|
|
this.params = options.params;
|
|
|
this.defaultParams = options.defaultParams;
|
|
this.defaultParams = options.defaultParams;
|