Protocols
The following protocols are available globally.
-
A protocol for monitoring events to implement, specifying their type and name.
See moreDeclaration
Swift
public protocol MongoEvent
-
Protocol indicating a set of options can be used to configure
See moreBSONEncoder
andBSONDecoder
.Declaration
Swift
public protocol CodingStrategyProvider
-
A protocol indicating write operations that can be batched together using
See moreMongoCollection.bulkWrite
.Declaration
Swift
public protocol WriteModel
-
An empty protocol for encapsulating all errors that this package can throw.
Declaration
Swift
public protocol MongoError : LocalizedError