Structureswift-mongodb 0.27.0MongoBuiltins->Mongo
LetDocument
Mongo.LetDocument.swift:7@frozen struct LetDocument
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (85) members.
Protocols
protocol EncodableDocument
An
EncodableDocument
is nothing more than a type that supports aninit(with:)
builder API.protocol EncodableList
An
EncodableList
is nothing more than a type that supports aninit(with:)
builder API.protocol PipelineEncodable
protocol PipelineStreamable
protocol PredicateConfigurable<PredicateArgument>
protocol PredicateEncodable
protocol ProjectionEncodable<CodingKey>
protocol ProjectionOperatorEncodable
protocol SortDirection
protocol UpdateValueOperator
A value operator is an update operator that encodes a document that can contain fields of arbitrary
BSONEncodable
types. It has no requirements, as it only exists to gate the subscripts ofUpdateFieldsEncoder
.
Types
struct Accumulator
struct BucketAutoDocument
struct BucketAutoEncoder
struct BucketDocument
struct BucketEncoder
struct BucketOutputDocument
struct BucketOutputEncoder
enum Change<Delta>
struct ChangeEvent<Delta>
struct ChangeEventIdentifier
struct ChangeStreamEncoder
struct ChangeTruncatedArray<Field>
struct CollectionStatsDocument
struct CurrentOperationDocument
struct EmptyDocument
A type that can be used to expect an empty document. Decoding from a non-empty document (or a value that is not a document at all) will throw an error.
struct Expression
struct ExpressionEncoder
struct FacetDocument<CodingKey>
struct FacetEncoder<CodingKey>
struct FilterDocument
Not to be confused with
PredicateDocument
.enum GroupBy
struct GroupDocument
struct IdentityDocument<ID>
An generic document model that can be used to extract the
_id
field of a document. This type is suitable for unsharded collections only.struct LatencyStatsDocument
struct LetEncoder
struct List<Element, Encodable>
struct LookupDocument
struct LookupEncoder
struct MapDocument
struct MergeDocument
enum MergeInsertMode
enum MergeUpdateMode
struct Pipeline
struct PipelineEncoder
struct PredicateDocument
Not to be confused with
FilterDocument
.struct PredicateEncoder
struct PredicateList
struct PredicateListEncoder
struct PredicateOperator
struct PredicateOperatorEncoder
enum PreferredNumbers
struct ProjectionDocument<CodingKey>
struct ProjectionEncoder<CodingKey>
enum ProjectionMetadata
struct ProjectionOperator
struct ProjectionOperatorEncoder
struct ReduceDocument
struct SampleDocument
struct SetDocument<CodingKey>
struct SetEncoder<CodingKey>
struct SetListEncoder
struct SortArrayDocument
enum SortAscending
enum SortBy
enum SortDescending
struct SortDocument<CodingKey>
struct SortEncoder<CodingKey>
enum SortMetadata
struct SortOperator
struct SortOperatorEncoder
struct StorageStatsDocument
struct SwitchBranch
struct SwitchBranches
struct SwitchDocument
struct UnionWithDocument
struct UnwindDocument
struct UpdateArray
struct UpdateArrayEncoder
enum UpdateBitwiseOperator
struct UpdateDocument
struct UpdateEncoder
struct UpdateFields<Operator>
struct UpdateFieldsEncoder<Operator>
enum UpdatePosition
struct ZipDocument
Citizens in MongoBuiltins
Conformances
protocol BSONDecodable
A type that can be decoded from a BSON variant value backed by some type of storage not particular to the decoded type.
protocol BSONEncodable
A type that can be encoded to a BSON variant value.
protocol BSONRepresentable<BSONRepresentation>
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol EncodableDocument
An
EncodableDocument
is nothing more than a type that supports aninit(with:)
builder API.protocol Escapable
protocol Sendable
Typealiases
Type members
Instance members
Type features
init(
) init(with: (inout Encoder) throws -> ()
) rethrows Creates an empty instance of this type, and initializes it with the given closure.