mirror of
https://github.com/knex/knex.git
synced 2025-12-27 15:08:47 +00:00
Fix test in 0.12
This commit is contained in:
parent
f33d6a3148
commit
82685b57f0
@ -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}'`
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user