-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
i have more than 100 records that match this query, but whatever I do, mongoid gives me back 100. anyone have any idea what i could have done wrong? thanks in advance.
irb(main):094:0> RouteStart.where({ :location => {"$nearSphere" => coordinates1, "$maxDistance" => d.fdiv(6378.137)}}).limit(5).count
=> 100
irb(main):095:0> RouteStart.where({ :location => {"$nearSphere" => coordinates1, "$maxDistance" => d.fdiv(6378.137)}}).limit(1000).count
=> 100