allow all user bindings in SQL queries (#9354)
This commit is contained in:
parent
b4abc63797
commit
fbf8230a3d
|
@ -89,7 +89,7 @@ class QueryRunner {
|
||||||
let query
|
let query
|
||||||
// handle SQL injections by interpolating the variables
|
// handle SQL injections by interpolating the variables
|
||||||
if (isSQL(datasourceClone)) {
|
if (isSQL(datasourceClone)) {
|
||||||
query = interpolateSQL(fieldsClone, enrichedParameters, integration)
|
query = interpolateSQL(fieldsClone, enrichedContext, integration)
|
||||||
} else {
|
} else {
|
||||||
query = enrichQueryFields(fieldsClone, enrichedContext)
|
query = enrichQueryFields(fieldsClone, enrichedContext)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue