mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
RemoveFirstLastQuotes
This commit is contained in:
parent
3640bf77ba
commit
e1ef5764b8
@ -89,7 +89,7 @@ export abstract class SqlDatasource extends DataSourceWithBackend<SQLQuery, SQLO
|
||||
|
||||
if (Array.isArray(value)) {
|
||||
const quotedValues = value.map((v) => this.getQueryModel().quoteLiteral(v));
|
||||
return quotedValues.join(',');
|
||||
return quotedValues.join(',').slice(1, -1);
|
||||
}
|
||||
|
||||
return value;
|
||||
|
Loading…
Reference in New Issue
Block a user