• Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.13.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 3
    • Needed
    • Hide

      (This may have some overlap with existing documentation changes.)

      We consider the db.coll.findAndModify() method deprecated, in favor of .findOneAnd(Delete,Update,Replace).

      The `returnNewDocument` option for each of .findOneAnd(Delete,Update,Replace) can still be used, but we accept `returnDocument: 'before'` or `returnDocument: 'after'` as well, and consider `returnDocument` to be the primary way of specifying this option.

      Show
      (This may have some overlap with existing documentation changes.) We consider the db.coll.findAndModify() method deprecated, in favor of .findOneAnd(Delete,Update,Replace). The `returnNewDocument` option for each of .findOneAnd(Delete,Update,Replace) can still be used, but we accept `returnDocument: 'before'` or `returnDocument: 'after'` as well, and consider `returnDocument` to be the primary way of specifying this option.
    • Iteration Chicago

      We want to include the upcoming driver + bson releases in mongosh. They contain breaking changes for which some adjustments will be necessary. We should also adjust our printable-bson code to drop `.fromString` in Decimal128 and Long printing as part of this.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: