Structureswift-mongodb 0.27.0MongoABI->Mongo
Variable
Mongo.Variable.swift:6@frozen struct Variable<T>
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (8) members.
Protocols
protocol MasterCodingDelta<Model>
A master coding delta type is like a
MasterCodingModel
, but it has slightly different implied constraints, because you generally only ever decode a delta you receive from elsewhere.protocol MasterCodingModel<CodingKey>
A type that serves as a master coding model for a type of document in a MongoDB collection.
Types
struct AnyKeyPath
struct Collection
struct Database
struct Namespaced<Name>
A MongoDB compound namespace. Create a namespace using the
Mongo.Database.|(_:_:)
operator.enum OutlineType
struct OutlineVector
Citizens in MongoABI
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
Type members
Instance members
var description: String
Returns this variable’s
name
prefixed with two dollar signs.let name: BSON.Key
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
Citizens in MongoABI
where T:Mongo.MasterCodingModel
Instance members
Citizens in MongoABI
Conformances
protocol BSONEncodable
A type that can be encoded to a BSON variant value.
protocol BSONStringEncodable
A type that can be encoded to a BSON UTF-8 string. This protocol exists to allow types that also conform to
LosslessStringConvertible
to opt-in to automaticBSONEncodable
conformance as well.protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Escapable
protocol ExpressibleByExtendedGraphemeClusterLiteral
A type that can be initialized with a string literal containing a single extended grapheme cluster.
protocol ExpressibleByStringLiteral
A type that can be initialized with a string literal.
protocol ExpressibleByUnicodeScalarLiteral
A type that can be initialized with a string literal containing a single Unicode scalar value.
Type features
init(extendedGraphemeClusterLiteral: Self.StringLiteralType
) init(unicodeScalarLiteral: Self.ExtendedGraphemeClusterLiteralType
)
Instance features
func encode(to: inout BSON.FieldEncoder
) Encodes the
description
of this instance as a BSON UTF-8 string.
Available in MongoBuiltins
Conformances
Show implementation details (1)
Hide implementation details
protocol _MongoExpressionRestrictedEncodable
This protocol provides diagnostics to help you avoid common mistakes, such as using keypaths or expression variables at the top-level of a
Mongo.PredicateDocument
.