Extensions
The following extensions are available globally.
-
An extension of
See moreArray
to represent the BSON array type.Declaration
Swift
struct Array<Element> : _DestructorSafeContainer
-
An extension of
See moreBool
to represent the BSON Boolean type.Declaration
Swift
struct Bool
-
An extension of
See moreDate
to represent the BSON Datetime type. Supports millisecond level precision.Declaration
Swift
struct Date : ReferenceConvertible, Comparable, Equatable
-
An extension of
See moreDouble
to represent the BSON Double type.Declaration
Swift
struct Double
-
An extension of
See moreInt
to represent the BSON Int32 or Int64 type. On 64-bit systems,Int
corresponds to a BSON Int64. On 32-bit systems, it corresponds to a BSON Int32.Declaration
Swift
struct Int : FixedWidthInteger, SignedInteger
-
An extension of
See moreInt32
to represent the BSON Int32 type.Declaration
Swift
struct Int32 : FixedWidthInteger, SignedInteger
-
An extension of
See moreInt64
to represent the BSON Int64 type.Declaration
Swift
struct Int64 : FixedWidthInteger, SignedInteger
-
An extension of
See moreNSRegularExpression
to allow it to be initialized from aRegularExpression
BSONValue
.Declaration
Swift
class NSRegularExpression : NSObject, NSCopying, NSSecureCoding
-
An extension of String to represent the BSON string type.
See moreDeclaration
Swift
struct String