CollectionSpecificationInfo

public struct CollectionSpecificationInfo : Codable

Info about the collection that is returned with a listCollections call.

  • Indicates whether or not the data store is read-only.

    Declaration

    Swift

    public let readOnly: Bool
  • The collection’s UUID - once established, this does not change and remains the same across replica set members and shards in a sharded cluster. If the data store is a view, this field is nil.

    Declaration

    Swift

    public let uuid: UUID?