MongoServerAPI
public struct MongoServerAPI : CodableA type containing options for specifying a MongoDB server API version and related behavior.
- 
                  
                  Represents a server API version. See moreDeclarationSwift public struct Version : Codable, Equatable, LosslessStringConvertible
- 
                  
                  Declares an API version to use. DeclarationSwift public var version: Version
- 
                  
                  Specifies whether the server should reject all commands that are not part of the declare API version. This includes command options and aggregation pipeline stages. DeclarationSwift public var strict: Bool?
- 
                  
                  Specifies whether the server should return command failures when functionality that is deprecated in the specified API version is used. DeclarationSwift public var deprecationErrors: Bool?
- 
                  
                  Convenience initializer allowing optional parameters to be optional or omitted. DeclarationSwift public init(version: Version, strict: Bool? = nil, deprecationErrors: Bool? = nil)
 View on GitHub
            View on GitHub
           Install in Dash
            Install in Dash
           MongoServerAPI Structure Reference
      MongoServerAPI Structure Reference