Enumerationswift-mongodb 0.29.3MongoQL->Mongo
Index
Mongo.DropIndexes.Index.swift:4@frozen enum Index@frozen enum Indeximport MongoA single-type module that declares the Mongo namespace.
import MongoQLstruct DropIndexesenum Mongocase indexinit(_ 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: Index) -> Mongo.PredicateDocument? { get set } subscript(key: Index) -> String? { get set } subscript(key: Index) -> [String] { get set } protocol 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)