BSONDBPointer
public struct BSONDBPointer : BSONValue, Codable, 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 -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to: Encoder) throws
View on GitHub
Install in Dash
BSONDBPointer Structure Reference