ReturnDocument

public enum ReturnDocument

Indicates which document to return in a find and modify operation.

  • Indicates to return the document before the update, replacement, or insert occurred.

    Declaration

    Swift

    case before
  • Indicates to return the document after the update, replacement, or insert occurred.

    Declaration

    Swift

    case after