Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8370

3.2 compatibility page should mention stricter validation for skip & limit

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • mongodb-3.2
    • manual, Server
    • None

    Description

      MongoDB 3.2 implemented find as a command (SERVER-15176), which includes improvements for the type validation of options such as skip and limit.

      The legacy query protocol allows skip & limit to be provided as strings.

      Clients/drivers updated to use the new 3.2 protocol must provide skip and limit values as integers as documented on: https://docs.mongodb.com/manual/reference/command/find/#dbcmd.find.

      This should be mentioned on the 3.2 compatibility page: https://docs.mongodb.com/manual/release-notes/3.2-compatibility/.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago