Use isEmpty instead of numRecords to check if there are any documents left in a collection

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Execution Team 2021-06-28
    • 15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We use Collection::numRecords here to check if there are any more documents. Due to the unreliability of Collection::numRecords (see BF-20792 for more details), we should replace the check with Collection::isEmpty.

              Assignee:
              Benety Goh
              Reporter:
              Jason Zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: