MongoDB query with an 'or' condition

{$or: [{expires: {$gte: new Date()}}, {expires: null}]}
Topics: MongoDB

Related Code Examples