-
Contains the required keys for the index.
Declaration
Swift
public let keys: BSONDocument
-
Contains the options for the index.
Declaration
Swift
public let options: IndexOptions?
-
Convenience initializer providing a default
options
valueDeclaration
Swift
public init(keys: BSONDocument, options: IndexOptions? = nil)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public init(from decoder: Decoder) throws