|
@ -164,9 +164,8 @@ testData.pg.conditions = [ |
|
|
|
|
|
|
|
|
testData.mysql.knex = Knex({client: 'mysql' }); |
|
|
testData.mysql.knex = Knex({client: 'mysql' }); |
|
|
testData.mysql.conditions = [ |
|
|
testData.mysql.conditions = [ |
|
|
/* -----------Tests for and conditions---------- */ |
|
|
|
|
|
{ |
|
|
{ |
|
|
name: 'handle "and" condition with raw statement', |
|
|
|
|
|
|
|
|
name: 'Mysql: handle "and" condition with raw statement', |
|
|
input: { f1: { $raw: '< `use_limit`' }, f2: 20 }, |
|
|
input: { f1: { $raw: '< `use_limit`' }, f2: 20 }, |
|
|
output: 'select * where (`f1` < `use_limit` and `f2` = 20)' |
|
|
output: 'select * where (`f1` < `use_limit` and `f2` = 20)' |
|
|
}, |
|
|
}, |
|
|