IndexBinding
Mongo.IndexBinding.swift:6@frozen struct IndexBinding@frozen struct IndexBindingimport MongoA single-type module that declares the Mongo namespace.
import MongoQLenum Mongoprotocol HintableEncoder<Hint>protocol ModificationEffectprotocol ModificationPhase : BSONEncodableprotocol ReadEffectprotocol SortableEncoder<Sort>protocol WriteEffect@frozen struct Aggregate<Effect> where Effect : Mongo.ReadEffect@frozen struct Collation@frozen struct CollectionBinding@frozen struct CollectionMetadata@frozen struct CollectionOptionsCollection options.
@frozen struct CollectionStats@frozen enum CollectionType@frozen struct CollectionViewstruct Create<Mode>Explicitly creates a collection or view.
@frozen struct CreateIndexStatement@frozen struct CreateIndexStatementEncoderstruct CreateIndexesstruct CreateIndexesResponse@frozen struct DatabaseMetadataInformation about a MongoDB database.
struct Delete<Effect> where Effect : Mongo.WriteEffect@frozen enum DeleteLimit@frozen struct DeleteListEncoder<Effect> where Effect : Mongo.WriteEffect@frozen enum DeleteOnestruct DeleteResponse@frozen struct DeleteStatementEncoder<Effect> where Effect : Mongo.WriteEffect@frozen struct DeletionsStores information about a delete operation.
struct Dropstruct DropDatabaseDrops the current database, deleting its contents.
struct DropIndexes@frozen enum Existing<Document> where Document : BSONDecodable, Document : Sendable@frozen struct Explain<Command> where Command : Mongo.Command@frozen enum ExplainMode@frozen enum ExplainOnly@frozen struct Find<Effect> where Effect : Mongo.ReadEffectstruct FindAndModify<Effect> where Effect : Mongo.ModificationEffectstruct Fsync@frozen struct FsyncLockInformation about a MongoDB Fsync lock.
struct FsyncUnlockstruct InsertInserts one or more documents and returns a document containing the status of all inserts.
@frozen struct InsertListEncoderstruct InsertResponse@frozen struct InsertionsStores information about an insert operation.
struct ListCollections<Element> where Element : BSONDecodable, Element : SendableRetrieves information about collections (including collection-views) in a database.
struct ListDatabasesLists all existing databases along with basic statistics about them. This command must run against the admin database.
@frozen struct ListIndexes<Element> where Element : BSONDecodable, Element : SendableThe listIndexes command.
@frozen enum Manystruct Modify<Mode>Modifies collection settings.
@frozen enum One@frozen enum RemovePhase@frozen enum Removing<Document> where Document : BSONDecodable, Document : Sendablestruct RenameCollection@frozen enum Single<Element> where Element : BSONDecodable, Element : Sendable@frozen enum SingleBatch<Element> where Element : BSONDecodable, Element : Sendable@frozen enum SingleOutputError@frozen struct Timeseriesstruct Update<Effect, ID> where Effect : Mongo.WriteEffect, ID : BSONDecodable, ID : Sendable@frozen struct UpdateListEncoder<Effect> where Effect : Mongo.WriteEffect@frozen enum UpdatePhasestruct UpdateResponse<ID> where ID : BSONDecodable, ID : Sendable@frozen struct UpdateStatementEncoder<Effect> where Effect : Mongo.WriteEffect@frozen struct Updates<ID> where ID : SendableStores information about an update operation.
@frozen enum Upserting<Value, ID> where Value : BSONDecodable, Value : Sendable, ID : BSONDecodable, ID : Sendable@frozen enum ValidationAction@frozen enum ValidationLevel@frozen struct WriteErrorprotocol BSONDecodableA type that can be decoded from a BSON variant value backed by some type of storage not particular to the decoded type.
protocol BSONDocumentDecodable<CodingKey> : BSONDecodableA type that can be decoded from a BSON dictionary-decoder.
protocol CopyableA type whose values can be implicitly or explicitly copied.
protocol EquatableA type that can be compared for value equality.
protocol Escapableprotocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol Sendableinit(bson: BSON.DocumentDecoder<CodingKey>) throws init(version: Int, name: String) let name: Stringlet version: Int@frozen enum CodingKeyinit(bson: BSON.AnyValue) throws init(bson: BSON.Document) throws static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.