StructureMongoKittenCore
FindAndModifyReply
struct FindAndModifyReply
struct FindAndModifyReply
init(from: Decoder) throws
Creates a new instance by decoding from the given decoder.
let lastErrorObject: Document?
Contains information about updated documents.
var localizedDescription: String
Retrieve the localized description for this error.
let ok: Int
Contains the command’s execution status. 1
on success, or 0
if an error occurred.
let value: Document?
Contains the command’s returned value.