Initializerswift-mongodb 0.27.0MongoQL->Mongo
init(_:writeConcern:encoding:with:)
Mongo.Insert.swift:85init<Elements>(_ collection: Mongo.Collection, writeConcern: Mongo.WriteConcern? = nil, encoding elements: Elements, with configure: (inout `Self`) throws -> ()) rethrows where Elements : Sequence, Elements.Element : BSONDocumentEncodable
Other members in extension
Types
Typealiases
typealias ExecutionPolicy
Insert
supports retryable writes.typealias Response
Type members
init(Mongo.Collection, writeConcern: Mongo.WriteConcern?, documents: (inout Mongo.InsertListEncoder) throws -> ()
) rethrows init<Elements>(Mongo.Collection, writeConcern: Mongo.WriteConcern?, encoding: Elements
) init(Mongo.Collection, writeConcern: Mongo.WriteConcern?, with: (inout `Self`) throws -> (), documents: (inout Mongo.InsertListEncoder) throws -> ()
) rethrows static var type: Mongo.CommandType