Hello everyone,
I have a collection that I want to query on dates, and I need to pass them
Under mongo compass in filter I pass { "date": { $gt:ISODate('2022-06-05') } }
and it works, but I can’t convert it to work with postman
{
"dataSource": "{{DATA_SOURCE}}",
"database": "{{DATABASE}}",
"collection": "{{COLLECTION}}",
"filter": {
"date": {"$gt": ('2022-06-05')}
}
}