BSONDBPointer
public struct BSONDBPointer : 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.
-
Destination namespace of the pointer.
Declaration
Swift
public let ref: String
-
Destination _id (assumed to be an
BSONObjectID
) of the pointed-to document.Declaration
Swift
public let id: BSONObjectID