Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-805

The actual number of query result is inconsistent with the length argument when you call to_list().

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • None
    • 2.5.1
    • asyncio
    • None

    Description

      The actual number of query result is inconsistent with the length argument when you call to_list().

      1.  Insert M documents to the server; (M >> 101)
      2.  Use "to_list(length=N)" to get query results; (M > N > 101) 
      3.  The actual number of query results obtained exceeds N;

      Attachments

        Activity

          People

            shane.harvey@mongodb.com Shane Harvey
            a15200870787@gmail.com 强 肖
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: