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

Comment on: "manual/reference/mongodb-wire-protocol.txt"

    XMLWordPrintableJSON

Details

    Description

      To denote repetition, the document uses the asterisk notation from the BSON specification. For example, int64* indicates that one or more of the specified type can be written to the socket, one after another.

      This notation is used in two different meanings.
      OP_INSERT uses it, where it means 1 or more.

      OP_GET_MORE uses it, where it means 0 or more

      Furthermore, the bson spec actually says it means 0 or more, not 1 or more, like that statement claims

      Attachments

        Activity

          People

            Unassigned Unassigned
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

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