Enumerationswift-mongodb 0.29.3MongoQL->Mongo
StorageEngine
Mongo.Create.StorageEngine.swift:4@frozen enum StorageEngine@frozen enum StorageEngineimport MongoA single-type module that declares the Mongo namespace.
import MongoQLstruct Create<Mode>Explicitly creates a collection or view.
enum Mongocase storageEnginecase indexOptionDefaultsinit(_ collection: Mongo.Collection, writeConcern: WriteConcern? = nil) init(_ collection: Mongo.Collection, writeConcern: WriteConcern? = nil, with populate: (inout Self) throws -> ()) rethrows static var type: Mongo.CommandType { get }var fields: BSON.Documentlet writeConcern: WriteConcern?subscript(key: StorageEngine) -> BSON.Document? { get set } subscript(key: Collation) -> Mongo.Collation? { get set } @frozen enum Collationprotocol BitwiseCopyableprotocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
protocol Sendableinit?(rawValue: String) var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)