Initializerswift-mongodb 0.29.3MongoQL->Mongo
init(_:writeConcern:view:)
Mongo.Create.swift:71init(_ collection: Mongo.Collection, writeConcern: WriteConcern? = nil, view: Mongo.CollectionView) init(_ collection: Mongo.Collection, writeConcern: WriteConcern? = nil, view: Mongo.CollectionView) s5MongoAAO0A2QLE6CreateVAcbCE14CollectionViewVRszlE_12writeConcern4viewAEy_AGGAB0A3ABIE0D0V_AB0A8CommandsE05WriteG0VSgAGtcfc What are these?6NJWKwhere Mode == Mongo.CollectionViewimport MongoA single-type module that declares the Mongo namespace.
import MongoQLstruct Create<Mode>Explicitly creates a collection or view.
enum Mongo@frozen struct Collection@frozen struct CollectionViewinit(_ collection: Mongo.Collection, writeConcern: WriteConcern? = nil, view: Mongo.CollectionView, with populate: (inout Self) throws -> ()) rethrows