revert special handling for IN

pull/11081/head
Sven Klemm 8 years ago
parent 5e9a66de5f
commit e6501f0f0e
  1. 6
      public/app/plugins/datasource/postgres/postgres_query.ts

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

Loading…
Cancel
Save