mirror of
https://github.com/harish2704/knex-json-query.git
synced 2026-09-10 12:51:08 +00:00
Cleanup
This commit is contained in:
@@ -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)'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user