This commit is contained in:
2021-07-19 00:59:40 +05:30
parent 8d0da36dd2
commit 8a4008e49a
+1 -2
View File
@@ -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)'
}, },