BSONObjectId
class BSONObjectId : NSObject, NSCopying, @unchecked SendableRepresents a BSON ObjectId type in Firestore documents.
-
The 24-character hex string representation of the ObjectId.
Declaration
Swift
var value: String { get } -
Creates a
BSONObjectIdconstructed with the given value.Declaration
Swift
init(_ value: String)Parameters
valueThe 24-character hex string representation of the ObjectId.
-
Returns true if the given object is equal to this, and false otherwise.
Declaration
Swift
func isEqual(_ object: Any?) -> Bool