Instance Subscriptswift-mongodb 0.27.0MongoBuiltins->Mongo
subscript(stage:_:)
Mongo.PipelineEncoder.swift:552subscript(stage lookup: Lookup, yield: (inout Mongo.LookupEncoder) -> ()) -> Void { mutating get }
Other members in extension
Types
enum Bucket
enum BucketAuto
enum ChangeStream
enum CollectionStats
enum Count
enum CurrentOperation
enum Densify
enum Documents
enum Facet
enum Fill
enum GeoNear
enum GraphLookup
enum Group
enum IndexStats
enum Limit
enum ListLocalSessions
enum ListSessions
enum Lookup
enum Match
enum Merge
enum Out
enum PlanCacheStats
enum Project
enum Redact
enum ReplaceWith
enum Sample
enum Set
enum SetWindowFields
enum ShardedDataDistribution
enum Skip
enum Sort
enum SortByCount
enum UnionWith
enum Unset
enum Unwind
Type members
Instance members
subscript(stage: Count
) -> Mongo.AnyKeyPath? subscript(stage: Unset
) -> Mongo.AnyKeyPath? subscript(stage: Unwind
) -> Mongo.AnyKeyPath? subscript(stage: Out
) -> Mongo.Collection? subscript(stage: UnionWith
) -> Mongo.Collection? subscript(stage: Out
) -> Mongo.Namespaced<Mongo.Collection>? subscript(stage: Group
) -> Mongo.GroupDocument? subscript(stage: Merge
) -> Mongo.MergeDocument? subscript(stage: Sample
) -> Mongo.SampleDocument? subscript(stage: Unwind
) -> Mongo.UnwindDocument? subscript(stage: UnionWith
) -> Mongo.UnionWithDocument? subscript(stage: CollectionStats
) -> Mongo.CollectionStatsDocument? subscript(stage: CurrentOperation
) -> Mongo.CurrentOperationDocument? subscript(stage: IndexStats
) -> [String : Never]? subscript(stage: PlanCacheStats
) -> [String : Never]? subscript(stage: ShardedDataDistribution
) -> [String : Never]? subscript(stage: Unset
) -> [Mongo.AnyKeyPath] Does nothing if the assigned array is empty.
subscript(stage: Skip
) -> Int? subscript(stage: Limit
) -> Int? subscript<Document>(stage: ReplaceWith
) -> Document? subscript<GroupKey>(stage: SortByCount
) -> GroupKey? subscript<Predicate>(stage: Match
) -> Predicate? subscript<RedactMode>(stage: Redact
) -> RedactMode? subscript<ProjectionDocument>(stage: Project
) -> ProjectionDocument? subscript<Array>(stage: Documents
) -> Array? subscript(stage: BucketAuto, (inout Mongo.BucketAutoEncoder) -> ()
) -> Void subscript(stage: ReplaceWith, (inout Mongo.ExpressionEncoder) -> ()
) -> Void Replaces the root document with a new document computed by an
Expression
, usually amergeObjects
expression.subscript(stage: ChangeStream, (inout Mongo.ChangeStreamEncoder) -> ()
) -> Void subscript(stage: Match, (inout Mongo.PredicateEncoder) -> ()
) -> Void subscript(stage: Bucket, (inout Mongo.BucketEncoder) -> ()
) -> Void subscript<CodingKey>(stage: ReplaceWith, using: CodingKey.Type, (inout Mongo.SetEncoder<CodingKey>) -> ()
) -> Void Replaces the root document with a new document using the specified schema.
subscript<CodingKey>(stage: Set, using: CodingKey.Type, (inout Mongo.SetEncoder<CodingKey>) -> ()
) -> Void subscript<CodingKey>(stage: Sort, using: CodingKey.Type, (inout Mongo.SortEncoder<CodingKey>) -> ()
) -> Void subscript<FacetKey>(stage: Facet, using: FacetKey.Type, (inout Mongo.FacetEncoder<FacetKey>) -> ()
) -> Void subscript<CodingKey>(stage: Project, using: CodingKey.Type, (inout Mongo.ProjectionEncoder<CodingKey>) -> ()
) -> Void func move(
) -> BSON.Output