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

[Server] add a blurb about the consequences of using limit() and skip() in one query

      Description

      It appears that it is unclear from our documentation that when limit() and skip() are used in a query, the order of operation will be the same regardless of the order in which limit and skip are arranged and skip will always be first.

      Could that clarification be added somewhere please?

      Thank you!

      Scope of changes

      • Investigate behavior of cursor.skip when chained with other cursor modifiers
      • Document results in cursor.skip page

      Out of scope, but potentially for follow-up : more complete documentation on query plan optimization of cursor modifiers.

            Assignee:
            chris.cho@mongodb.com Christopher Cho (Inactive)
            Reporter:
            yulia.genkina@mongodb.com Yulia Genkina (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 33 weeks, 6 days ago