Fix test in 0.12

This commit is contained in:
Tim Griesser 2016-10-09 15:09:54 -04:00
parent f33d6a3148
commit 82685b57f0

View File

@ -3975,7 +3975,7 @@ describe("QueryBuilder", function() {
});
});
it('#1710, properly escapes arrays in where clauses in postgresql', () => {
it('#1710, properly escapes arrays in where clauses in postgresql', function() {
testquery(qb().select('*').from('sometable').where('array_field', '&&', [7]), {
postgres: `select * from "sometable" where "array_field" && '{7}'`
});