ReturnedDocument

public enum ReturnedDocument

Specifies to findAndUpdate what kind of Document to return.

TODO: Better docs

  • new

    The new Document, after updating it

    Declaration

    Swift

    case new
  • old

    The old Document, before updating it

    Declaration

    Swift

    case old