BSON Types
-
Declaration
Swift
public enum BSONextension BSON: ExpressibleByIntegerLiteralextension BSON: ExpressibleByFloatLiteralextension BSON: ExpressibleByBooleanLiteralextension BSON: ExpressibleByDictionaryLiteralextension BSON: ExpressibleByStringLiteralextension BSON: ExpressibleByArrayLiteralextension BSON: Equatableextension BSON: Hashableextension 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 BSONDocumentextension BSONDocument: Collectionextension BSONDocument: Sequenceextension BSONDocument: ExpressibleByDictionaryLiteralextension BSONDocument: Hashableextension BSONDocument: Equatableextension BSONDocument: CustomStringConvertible -
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
View on GitHub
Install in Dash
BSON Types Reference