1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00

Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql

This commit is contained in:
Martin McKeaveney 2021-06-16 15:54:17 +01:00
commit 36f8338931

View file

@ -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)
}