|
|
@ -991,6 +991,7 @@ function parseNestedCondition(obj, qb, pKey?, table?, tableAlias?) { |
|
|
|
default: |
|
|
|
default: |
|
|
|
// if object handle recursively
|
|
|
|
// if object handle recursively
|
|
|
|
if ( |
|
|
|
if ( |
|
|
|
|
|
|
|
val && |
|
|
|
typeof val === 'object' && |
|
|
|
typeof val === 'object' && |
|
|
|
!(val instanceof Date) && |
|
|
|
!(val instanceof Date) && |
|
|
|
!Array.isArray(val) |
|
|
|
!Array.isArray(val) |
|
|
@ -1252,6 +1253,7 @@ function parseNestedConditionv2(obj, qb, pKey?, table?, tableAlias?) { |
|
|
|
default: |
|
|
|
default: |
|
|
|
// if object handle recursively
|
|
|
|
// if object handle recursively
|
|
|
|
if ( |
|
|
|
if ( |
|
|
|
|
|
|
|
val && |
|
|
|
typeof val === 'object' && |
|
|
|
typeof val === 'object' && |
|
|
|
!(val instanceof Date) && |
|
|
|
!(val instanceof Date) && |
|
|
|
!Array.isArray(val) |
|
|
|
!Array.isArray(val) |
|
|
|