CollectionSpecification
public struct CollectionSpecification : Codable
Specifications of a collection returned when executing listCollections
.
-
The name of the collection.
Declaration
Swift
public let name: String
-
The type of data store returned.
Declaration
Swift
public let type: CollectionType
-
Options that were used when creating this collection.
Declaration
Swift
public let options: CreateCollectionOptions?
-
Contains info pertaining to the collection.
Declaration
Swift
public let info: CollectionSpecificationInfo
-
Provides info on the _id index of the collection.
nil
when this data store is of type view.Declaration
Swift
public let idIndex: IndexModel?