Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql
This commit is contained in:
commit
36f8338931
|
@ -73,7 +73,7 @@ const TYPE_MAP = {
|
|||
|
||||
async function internalQuery(client, sql) {
|
||||
try {
|
||||
return await client.query(sql)
|
||||
return await client.query(sql.sql, sql.bindings)
|
||||
} catch (err) {
|
||||
throw new Error(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue