FindFluent.SizeAsync()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.0
    • Component/s: Feature Request
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I wonder if there are any plans to include a SizeAsync (
      http://docs.mongodb.org/manual/reference/method/cursor.size/#cursor.size)?
      I'm not sure of the wire protocol, but it seems that it might be useful at least to imitate "exists" queries (Limit(-1).SizeAsync() instead of CountAsync() when you are only interested if there is at least one document).

            Assignee:
            Craig Wilson
            Reporter:
            Aristarkh Zagorodnikov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: