dont quote where constraints

This commit is contained in:
Sven Klemm 2018-03-13 23:15:25 +01:00
parent b7c7030a46
commit 958646d976

View File

@ -137,7 +137,7 @@ export default class PostgresQuery {
value = this.templateSrv.replace(value, this.scopedVars); value = this.templateSrv.replace(value, this.scopedVars);
} }
return str + this.quoteIdentifier(constraint.key) + ' ' + operator + ' ' + this.quoteLiteral(value); return str + constraint.key + ' ' + operator + ' ' + value;
} }
interpolateQueryStr(value, variable, defaultFormatFn) { interpolateQueryStr(value, variable, defaultFormatFn) {