What is the cause of "Unsupported projection option: $lte"

4,467 views
Skip to first unread message

Barry Kaplan

unread,
May 22, 2012, 10:03:04 PM5/22/12
to mongod...@googlegroups.com
This query works via the java driver. But in the shell I get "Unsupported projection option: $lte"

db.cycletimeline.find({"interval.start": {$gt: ISODate("2012-05-21T01:02:32.878Z")}}, {"interval.end": {$lte: ISODate("2012-05-23T01:02:32.878Z")}})

Nat

unread,
May 22, 2012, 10:05:14 PM5/22/12
to mongod...@googlegroups.com
Just bad query... Try this one instead
 
db.cycletimeline.find({"interval.start": {$gt: ISODate("2012-05-21T01:02:32.878Z")}, "interval.end": {$lte: ISODate("2012-05-23T01:02:32.878Z")}})
Reply all
Reply to author
Forward
0 new messages