This commit is contained in:
Mel O'Hagan 2022-07-28 08:56:52 +01:00
parent 406362b3f9
commit 7664984d7b
1 changed files with 3 additions and 1 deletions

View File

@ -188,7 +188,9 @@ class QueryBuilder {
}
let statement = `${builder.preprocess(value[0], { escape: true })}`
for (let i = 1; i < value.length; i++) {
statement += ` ${mode} ${builder.preprocess(value[i], { escape: true })}`
statement += ` ${mode} ${builder.preprocess(value[i], {
escape: true,
})}`
}
return `${key}:(${statement})`
}