Hi guys,
when I try filter results of query with any non-numeric or non-string value (null, undefined or new Date()) I've got error. Are there any plans for adding support for these, so following would work?
- hook.params.query.date = null
- hook.params.query.date = undefined
- hook.params.query.date = new Date()
After some research I've found that advanced criteria work just fine:
- hook.params.query.date = {$in: [null]}
- hook.params.query.date = {$in: [new Date()]}
Hi guys,
when I try filter results of query with any non-numeric or non-string value (null, undefined or new Date()) I've got error. Are there any plans for adding support for these, so following would work?
After some research I've found that advanced criteria work just fine: