query date columns
How can i query date columns
I tried it this way
{"_createdAt":"2013-02-22 15:37:48.841"}.
But the result is empty. The value is correct (caopy and paste)
Thanks for your help
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How can i query date columns
I tried it this way
{"_createdAt":"2013-02-22 15:37:48.841"}.
But the result is empty. The value is correct (caopy and paste)
Thanks for your help
I'm afraid it's a bug, but we'll test this again.
Hello!
The correct request is:code{"_createdAt": {$date: "2013-02-22T15:37:48.841Z"} }/code
Thanks Katya, Great!
Can you give a pointer to some information on why and how this is working?
I had a look at MongoDB docs and did some googling, but to be frank, I'm at a complete loss trying to understand the details of this code fragment ![]()
http://docs.mongodb.org/manual/refere... - find here something to explain