fix error message

This commit is contained in:
Sven Klemm
2018-05-26 20:53:01 +02:00
parent 928353c628
commit 291d732b36
@@ -45,7 +45,7 @@ export class SqlPart {
this.part = part;
this.def = def;
if (!this.def) {
throw { message: 'Could not find query part ' + part.type };
throw { message: 'Could not find sql part ' + part.type };
}
part.params = part.params || _.clone(this.def.defaultParams);
@@ -130,6 +130,3 @@ export function identityRenderer(part, innerExpr) {
return part.params[0];
}
export function quotedIdentityRenderer(part, innerExpr) {
return '"' + part.params[0] + '"';
}