Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2991

Nice to have bson fields returned in determined order to making loading into data type / object faster.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 1.8.1
    • Component/s: Querying
    • Labels:
      None

      Description

      If the bson fields are in a known order then they can be mapped/loaded into the data type directly. Otherwise, you have to use a dictionary to map bson fields to object fields. Mongo could specify the order (eg. sorted) and the data type could be made to match that. Alternatively, a query with a projection (subset of fields to retrieve) can return documents with fields ordered the same as the projection.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-query Backlog - Query Team
              Reporter:
              tonyh Tony Hannan
              Participants:
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: