Fixing issue brought up by test case.
This commit is contained in:
parent
546bbc2ff6
commit
ec910b8fd2
|
@ -29,6 +29,9 @@ class QueryRunner {
|
||||||
|
|
||||||
interpolateSQL(fields, parameters, integration) {
|
interpolateSQL(fields, parameters, integration) {
|
||||||
let sql = fields.sql
|
let sql = fields.sql
|
||||||
|
if (!sql) {
|
||||||
|
return fields
|
||||||
|
}
|
||||||
const bindings = findHBSBlocks(sql)
|
const bindings = findHBSBlocks(sql)
|
||||||
let variables = []
|
let variables = []
|
||||||
for (let binding of bindings) {
|
for (let binding of bindings) {
|
||||||
|
|
Loading…
Reference in New Issue