BSONNull
public struct BSONNull : BSONValue, Codable, Equatable
A struct to represent the BSON null type.
-
Declaration
Swift
public var bsonType: BSONType { get }
-
Declaration
Swift
public static func from(iterator iter: DocumentIterator) throws -> BSONNull
-
Initializes a new
BSONNull
instance.Declaration
Swift
public init()
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to: Encoder) throws
-
Declaration
Swift
public func encode(to storage: DocumentStorage, forKey key: String) throws