Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
I am trying to find the value using the below $OR query in Mongodb but in the value of deactivateddate is wrongly showing as [Object]
*var Query = {$or: [
{isActive:false},{isActive:true,deactivatedDate: moment().utc().subtract(10,'d').format()}]};*
when I am console the query I sent to the mongodb I got this
{$or: [{isActive:false},{isActive:true,deactivatedDate: [Object]}]}