Open asosahn opened 3 hours ago
I am trying to send a mongoDB query using { "$date" : "2024-11-08T00:00:00Z" }, but it is not working; if I put the query on Mongo compass, it works fine.
Create a query like this
[{ "$match": { "created_at": { "$gte": { "$date": "2020-01-01T08:23:14.000Z" } } } }, { "$limit": 10 }]
returning the expected data; the node does not return anything.
n8n cloud
1.67.1
NA
SQLite (default)
main (default)
Hey @asosahn,
We have created an internal ticket to look into this which we will be tracking as "GHC-447"
Bug Description
I am trying to send a mongoDB query using { "$date" : "2024-11-08T00:00:00Z" }, but it is not working; if I put the query on Mongo compass, it works fine.
To Reproduce
Create a query like this
[{ "$match": { "created_at": { "$gte": { "$date": "2020-01-01T08:23:14.000Z" } } } }, { "$limit": 10 }]
Expected behavior
returning the expected data; the node does not return anything.
Operating System
n8n cloud
n8n Version
1.67.1
Node.js Version
NA
Database
SQLite (default)
Execution mode
main (default)