Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2253

Criteria.count doesn't respect limit in 3.0

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.3
    • Affects Version/s: None
    • Component/s: None
    • None

      I'm using Mongoid 3.0 and neither count(true) or size(true) work like they used to Mongoid 2.

      I saw this thread from a few months ago: https://github.com/mongoid/mongoid/issues/1584

      It seems to indicate that there will be another way to get the returned results count that respects limit(). How would I do this?

            Assignee:
            Unassigned Unassigned
            Reporter:
            calebclark calebclark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: