Przeglądaj źródła

dont quote where constraints

Sven Klemm 7 lat temu
rodzic
commit
958646d976

+ 1 - 1
public/app/plugins/datasource/postgres/postgres_query.ts

@@ -137,7 +137,7 @@ export default class PostgresQuery {
       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) {