_updatedAt headaches
In a service, I'm trying to get from a collection all the records updated less than 5 minutes ago, using the _createdAt column in the 'where' clause. I've tried all sort of combinations of date formats and everything I could read in this forum and the docs. What is the right syntax?
The docs say:
{ "time" : {"$lt" :"2014-01-17 00:00:00.000"} }
But this doesn't work (test successful but empty answer (not even [ ]):
{ "_updatedAt" : { "$gt" :"2013-12-01 00:00:00.000"} }
Thanks