DBPointer
public struct DBPointer : 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
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to: Encoder) throws