Enumerationswift-mongodb 0.29.3MongoBuiltins->Mongo
WhenMatched
Mongo.MergeDocument.WhenMatched.swift:4@frozen enum WhenMatched
@frozen enum WhenMatched
import Mongo
A single-type module that declares the Mongo
namespace.
import MongoBuiltins
@frozen struct MergeDocument
enum Mongo
case whenMatched
init(_ bson: BSON.Document)
var bson: BSON.Document
subscript(key: On) -> Mongo.AnyKeyPath? { get set }
subscript(key: Into) -> Mongo.Collection? { get set }
subscript(key: Into) -> Mongo.Namespaced<Mongo.Collection>? { get set }
subscript(key: WhenNotMatched) -> Mongo.MergeInsertMode? { get set }
subscript(key: WhenMatched) -> Mongo.MergeUpdateMode? { get set }
subscript(key: WhenMatched) -> Mongo.Pipeline? { get set }
subscript(key: On) -> [BSON.Key]? { get set }
subscript(key: Let, yield: (inout Mongo.LetEncoder) -> ()) -> Void { mutating get }
@frozen enum Into
@frozen enum Let
@frozen enum On
@frozen enum WhenNotMatched
protocol BitwiseCopyable
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: String)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)