BSON Types
-
Declaration
Swift
public enum BSON
extension BSON: ExpressibleByStringLiteral
extension BSON: ExpressibleByBooleanLiteral
extension BSON: ExpressibleByFloatLiteral
extension BSON: ExpressibleByIntegerLiteral
extension BSON: ExpressibleByDictionaryLiteral
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 : BSONValue, Equatable, Codable, Hashable
-
A struct to represent the BSON Code type.
See moreDeclaration
Swift
public struct BSONCode : BSONValue, Equatable, Codable, Hashable
-
A struct to represent BSON CodeWithScope.
See moreDeclaration
Swift
public struct BSONCodeWithScope : BSONValue, Equatable, Codable, 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 : BSONValue, Codable, Equatable, Hashable
-
A struct to represent the BSON Decimal128 type.
See moreDeclaration
Swift
public struct BSONDecimal128 : BSONValue, Equatable, Codable, CustomStringConvertible
extension BSONDecimal128: Hashable
-
A struct representing the BSON document type.
See moreDeclaration
Swift
@dynamicMemberLookup public struct BSONDocument
extension BSONDocument: Codable
extension BSONDocument: Collection
extension BSONDocument: Sequence
extension BSONDocument: Equatable
extension BSONDocument: CustomStringConvertible
extension BSONDocument: ExpressibleByDictionaryLiteral
extension BSONDocument: Hashable
-
A struct to represent the BSON ObjectID type.
See moreDeclaration
Swift
public struct BSONObjectID : BSONValue, Equatable, CustomStringConvertible, Codable
extension BSONObjectID: Hashable
-
A struct to represent a BSON regular expression.
See moreDeclaration
Swift
public struct BSONRegularExpression : BSONValue, Equatable, Codable, 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, Codable, Equatable, Hashable
-
A struct to represent the BSON Timestamp type.
See moreDeclaration
Swift
public struct BSONTimestamp : BSONValue, Equatable, Codable, Hashable