RemoteUpdateOptions
public struct RemoteUpdateOptions
Options to use when executing an updateOne or updateMany command on a RemoteMongoCollection.
-
Convenience initializer allowing any/all parameters to be optional.
Declaration
Swift
public init(upsert: Bool? = nil)
-
When true, creates a new document if no document matches the query.
Declaration
Swift
public let upsert: Bool?
RemoteUpdateOptions Structure Reference