Fix: Undefined dot notation in matchKeyInQuery (#5917)
* Fix: Undefined dot notation in matchKeyInQuery * fix test * fix postgres test * improve tests * FINAL test
This commit is contained in:
committed by
Antonio Davi Macedo Coelho de Castro
parent
470bb238b5
commit
1a7f64d8d9
@@ -442,7 +442,7 @@ const buildWhereClause = ({ schema, query, index }): WhereClause => {
|
||||
const inPatterns = [];
|
||||
values.push(fieldName);
|
||||
baseArray.forEach((listElem, listIndex) => {
|
||||
if (listElem !== null) {
|
||||
if (listElem != null) {
|
||||
values.push(listElem);
|
||||
inPatterns.push(`$${index + 1 + listIndex}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user