BSON Types
-
Declaration
Swift
public enum BSON
extension BSON: ExpressibleByIntegerLiteral
extension BSON: ExpressibleByFloatLiteral
extension BSON: ExpressibleByBooleanLiteral
extension BSON: ExpressibleByDictionaryLiteral
extension BSON: ExpressibleByStringLiteral
extension BSON: ExpressibleByArrayLiteral
extension BSON: Equatable
extension BSON: Hashable
extension BSON: Codable
-
The possible types of BSON values and their corresponding integer values.
See moreDeclaration
Swift
public enum BSONType : UInt8
-
A struct to represent the BSON Binary type.
See moreDeclaration
Swift
public struct BSONBinary : Equatable, Hashable
-
A struct to represent the BSON Code type.
See moreDeclaration
Swift
public struct BSONCode : Equatable, Hashable
-
A struct to represent BSON CodeWithScope.
See moreDeclaration
Swift
public struct BSONCodeWithScope : Equatable, Hashable
-
A struct to represent the deprecated DBPointer type. DBPointers cannot be instantiated, but they can be read from existing documents that contain them.
See moreDeclaration
Swift
public struct BSONDBPointer : Equatable, Hashable
-
A struct to represent the BSON Decimal128 type.
See moreDeclaration
Swift
public struct BSONDecimal128 : Equatable, Hashable, CustomStringConvertible
-
A struct representing the BSON document type.
See moreDeclaration
Swift
@dynamicMemberLookup public struct BSONDocument
extension BSONDocument: Collection
extension BSONDocument: Sequence
extension BSONDocument: ExpressibleByDictionaryLiteral
extension BSONDocument: Hashable
extension BSONDocument: Equatable
extension BSONDocument: CustomStringConvertible
extension BSONDocument: Content
-
A struct to represent the BSON ObjectID type.
See moreDeclaration
Swift
public struct BSONObjectID : Equatable, Hashable, CustomStringConvertible
-
A struct to represent a BSON regular expression.
See moreDeclaration
Swift
public struct BSONRegularExpression : Equatable, Hashable
-
A struct to represent the deprecated Symbol type. Symbols cannot be instantiated, but they can be read from existing documents that contain them.
See moreDeclaration
Swift
public struct BSONSymbol : BSONValue, CustomStringConvertible, Equatable, Hashable
-
A struct to represent the BSON Timestamp type. This type is for internal MongoDB use. For most cases, in application development, you should use the BSON date type (represented in this library by
See moreDate
.)Declaration
Swift
public struct BSONTimestamp : BSONValue, Equatable, Hashable