[SERVER-641] Querying by date in shell is very confusing Created: 16/Feb/10  Updated: 02/Mar/10  Resolved: 16/Feb/10

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 1.2.2
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Vitaly Babiy Assignee: Eliot Horowitz (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

When you need to query by date you need to do something like this in the console:

db.trackings.find({'created_at' : {$gte: new Date(Date.UTC(2009,1,01)), $lte: new Date(Date.UTC(2010, 1, 16))}})

Its a huge pain to the conversion manually it would be nice if there was a API in the shell to do this to for us.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 16/Feb/10 ]

I think SERVER-465 is the right solution.

Generated at Thu Feb 08 02:54:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.