Structureswift-mongodb 0.27.0MongoQL->Mongo
Delete
Mongo.Delete.swift:6struct Delete<Effect> where Effect : Mongo.WriteEffect
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (66) members.
Protocols
protocol HintableEncoder<Hint>
protocol ModificationEffect
protocol ModificationPhase
protocol ReadEffect
protocol SortableEncoder<Sort>
protocol WriteEffect
Types
struct Aggregate<Effect>
struct Collation
struct CollectionBinding
struct CollectionMetadata
struct CollectionOptions
Collection options.
struct CollectionStats
enum CollectionType
struct CollectionView
struct Create<Mode>
Explicitly creates a collection or view.
struct CreateIndexStatement
struct CreateIndexStatementEncoder
struct CreateIndexes
struct CreateIndexesResponse
struct DatabaseMetadata
Information about a MongoDB database.
enum DeleteLimit
struct DeleteListEncoder<Effect>
enum DeleteOne
struct DeleteResponse
struct DeleteStatementEncoder<Effect>
struct Deletions
Stores information about a delete operation.
struct Drop
struct DropDatabase
Drops the current database, deleting its contents.
struct DropIndexes
enum Existing<Document>
struct Explain<Command>
enum ExplainMode
enum ExplainOnly
struct Find<Effect>
struct FindAndModify<Effect>
struct Fsync
struct FsyncLock
Information about a MongoDB
Fsync
lock.struct FsyncUnlock
struct IndexBinding
struct Insert
Inserts one or more documents and returns a document containing the status of all inserts.
struct InsertListEncoder
struct InsertResponse
struct Insertions
Stores information about an insert operation.
struct ListCollections<Element>
Retrieves information about collections (including collection-views) in a database.
struct ListDatabases
Lists all existing databases along with basic statistics about them. This command must run against the
admin
database.struct ListIndexes<Element>
The
listIndexes
command.enum Many
struct Modify<Mode>
Modifies collection settings.
enum One
enum RemovePhase
enum Removing<Document>
struct RenameCollection
enum Single<Element>
enum SingleBatch<Element>
enum SingleOutputError
struct Timeseries
struct Update<Effect, ID>
struct UpdateListEncoder<Effect>
enum UpdatePhase
struct UpdateResponse<ID>
struct UpdateStatementEncoder<Effect>
struct Updates<ID>
Stores information about an update operation.
enum Upserting<Value, ID>
enum ValidationAction
enum ValidationLevel
struct WriteError
Citizens in MongoQL
Conformances
Instance members
Citizens in MongoQL
where Effect:Mongo.WriteEffect
Conformances
protocol Command<Response>
A type that represents a MongoDB command. All public command types (and command protocols) ultimately inherit from this protocol.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable
Types
Typealiases
typealias ExecutionPolicy
Update
only supports retryable writes in single-write mode.typealias Response
Type members
init(Mongo.Collection, writeConcern: Mongo.WriteConcern?, deletes: (inout Mongo.DeleteListEncoder<Effect>) throws -> ()
) rethrows init(Mongo.Collection, writeConcern: Mongo.WriteConcern?, with: (inout `Self`) throws -> (), deletes: (inout Mongo.DeleteListEncoder<Effect>) throws -> ()
) rethrows static var type: Mongo.CommandType
Instance members
var outline: Mongo.OutlineVector?
subscript(Ordered
) -> Bool? subscript(Let, (inout Mongo.LetEncoder) -> ()
) -> Void
Instance features
Available in MongoDB
where Effect:Mongo.WriteEffect
Conformances
protocol ImplicitSessionCommand<Response>
A type that can encode a MongoDB command that can be run as part of a session, which can be implicitly generated if the command is sent to a deployment at large.
protocol TransactableCommand<Response>
Type features
static var autocommits: Bool
Indicates if this command autocommits, meaning it supports retryable writes.