DBPointer
public struct DBPointer : BSONValue, Codable, Equatable
A struct to represent the deprecated DBPointer type. DBPointers cannot be instantiated, but they can be read from existing documents that contain them.
-
Declaration
Swift
public var bsonType: BSONType { get }
-
Destination namespace of the pointer.
Declaration
Swift
public let ref: String
-
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
-
Declaration
Swift
public static func from(iterator iter: DocumentIterator) throws -> DBPointer