Enumerationswift-mongodb 0.29.3MongoBuiltins->Mongo
SetWindowFields
Mongo.PipelineEncoder.swift:828@frozen enum SetWindowFields
@frozen enum SetWindowFields
s5MongoAAO0A8BuiltinsE15PipelineEncoderV15SetWindowFieldsO
What are these?5BN76
import Mongo
A single-type module that declares the Mongo
namespace.
import MongoBuiltins
@frozen struct PipelineEncoder
enum Mongo
case setWindowFields
init(_ output: consuming BSON.Output)
static var frame: BSON.DocumentFrame { get }
subscript(stage count: Count) -> Mongo.AnyKeyPath? { get set }
subscript(stage unset: Unset) -> Mongo.AnyKeyPath? { get set }
subscript(stage unwind: Unwind) -> Mongo.AnyKeyPath? { get set }
subscript(stage out: Out) -> Mongo.Collection? { get set }
subscript(stage unionWith: UnionWith) -> Mongo.Collection? { get set }
subscript(stage out: Out) -> Mongo.Namespaced<Mongo.Collection>? { get set }
subscript(stage indexStats: IndexStats) -> Mongo.EmptyDocument? { get set }
subscript(stage planCacheStats: PlanCacheStats) -> Mongo.EmptyDocument? { get set }
subscript(stage shardedDataDistribution: ShardedDataDistribution) -> Mongo.EmptyDocument? { get set }
subscript(stage group: Group) -> Mongo.GroupDocument? { get set }
subscript(stage merge: Merge) -> Mongo.MergeDocument? { get set }
subscript(stage sample: Sample) -> Mongo.SampleDocument? { get set }
subscript(stage unwind: Unwind) -> Mongo.UnwindDocument? { get set }
subscript(stage unionWith: UnionWith) -> Mongo.UnionWithDocument? { get set }
subscript(stage collStats: CollectionStats) -> Mongo.CollectionStatsDocument? { get set }
subscript(stage currentOp: CurrentOperation) -> Mongo.CurrentOperationDocument? { get set }
subscript(stage unset: Unset) -> [Mongo.AnyKeyPath] { get set }
Does nothing if the assigned array is empty.
subscript(stage skip: Skip) -> Int? { get set }
subscript(stage limit: Limit) -> Int? { get set }
subscript<Document>(stage replaceWith: ReplaceWith) -> Document? where Document : BSONEncodable { get set }
subscript<GroupKey>(stage sortByCount: SortByCount) -> GroupKey? where GroupKey : BSONEncodable { get set }
subscript<Predicate>(stage match: Match) -> Predicate? where Predicate : Mongo.PredicateEncodable { get set }
subscript<RedactMode>(stage redact: Redact) -> RedactMode? where RedactMode : BSONEncodable { get set }
subscript<ProjectionDocument>(stage project: Project) -> ProjectionDocument? where ProjectionDocument : Mongo.ProjectionEncodable { get set }
subscript<Array>(stage documents: Documents) -> Array? where Array : BSONEncodable { get set }
subscript(stage bucketAuto: BucketAuto, yield: (inout Mongo.BucketAutoEncoder) -> ()) -> Void { mutating get }
subscript(stage replaceWith: ReplaceWith, yield: (inout Mongo.ExpressionEncoder) -> ()) -> Void { mutating get }
Replaces the root document with a new document computed by an Expression
, usually a mergeObjects
expression.
subscript(stage changeStream: ChangeStream, yield: (inout Mongo.ChangeStreamEncoder) -> ()) -> Void { mutating get }
subscript(stage match: Match, yield: (inout Mongo.PredicateEncoder) -> ()) -> Void { mutating get }
subscript(stage bucket: Bucket, yield: (inout Mongo.BucketEncoder) -> ()) -> Void { mutating get }
subscript(stage lookup: Lookup, yield: (inout Mongo.LookupEncoder) -> ()) -> Void { mutating get }
subscript<CodingKey>(stage replaceWith: ReplaceWith, using key: CodingKey.Type = CodingKey.self, yield: (inout Mongo.SetEncoder<CodingKey>) -> ()) -> Void where CodingKey : RawRepresentable, CodingKey.RawValue == String { mutating get }
Replaces the root document with a new document using the specified schema.
subscript<CodingKey>(stage set: Set, using key: CodingKey.Type = CodingKey.self, yield: (inout Mongo.SetEncoder<CodingKey>) -> ()) -> Void where CodingKey : RawRepresentable, CodingKey.RawValue == String { mutating get }
subscript<CodingKey>(stage sort: Sort, using _: CodingKey.Type = CodingKey.self, yield: (inout Mongo.SortEncoder<CodingKey>) -> ()) -> Void where CodingKey : RawRepresentable, CodingKey.RawValue == String { mutating get }
subscript<FacetKey>(stage facet: Facet, using key: FacetKey.Type = FacetKey.self, yield: (inout Mongo.FacetEncoder<FacetKey>) -> ()) -> Void where FacetKey : RawRepresentable, FacetKey.RawValue == String { mutating get }
subscript<CodingKey>(stage project: Project, using _: CodingKey.Type = CodingKey.self, yield: (inout Mongo.ProjectionEncoder<CodingKey>) -> ()) -> Void where CodingKey : RawRepresentable, CodingKey.RawValue == String { mutating get }
consuming func move() -> BSON.Output
@frozen enum Bucket
@frozen enum BucketAuto
@frozen enum ChangeStream
@frozen enum CollectionStats
@frozen enum Count
@frozen enum CurrentOperation
@frozen enum Densify
@frozen enum Documents
@frozen enum Facet
@frozen enum Fill
@frozen enum GeoNear
@frozen enum GraphLookup
@frozen enum Group
@frozen enum IndexStats
@frozen enum Limit
@frozen enum ListLocalSessions
@frozen enum ListSessions
@frozen enum Lookup
@frozen enum Match
@frozen enum Merge
@frozen enum Out
@frozen enum PlanCacheStats
@frozen enum Project
@frozen enum Redact
@frozen enum ReplaceWith
@frozen enum Sample
@frozen enum Set
@frozen enum ShardedDataDistribution
@frozen enum Skip
@frozen enum Sort
@frozen enum SortByCount
@frozen enum UnionWith
@frozen enum Unset
@frozen enum Unwind
protocol BitwiseCopyable
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: String)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)