Skip to content
Snippets Groups Projects
Commit 0f956f6a authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Fix Error multiple where

parent 2bacf077
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
......@@ -265,8 +265,8 @@ class ReqQueryFields {
let tbl = value.where.table || value.table;
if (tbl === '@') tbl = thisTable;
// multiple where, only tested for boolean filds
if (Array.isArray(value.tableField)) {
// multiple where, only tested for boolean fields
if (Array.isArray(value.where.field)) {
let lower = (value.where.type === 'string') ? ' LOWER(?) ' : ' ? ';
let whereField = '';
let whereValues = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment