BSONTimestamp
class BSONTimestamp : NSObject, NSCopying, @unchecked SendableRepresents a BSON timestamp type in Firestore documents.
-
The underlying unsigned 32-bit integer for seconds
Declaration
Swift
var seconds: UInt32 { get } -
The underlying unsigned 32-bit integer for increment
Declaration
Swift
var increment: UInt32 { get } -
Creates a
BSONTimestampwith the given seconds and increment values.Declaration
Swift
init(seconds: UInt32, increment: UInt32)Parameters
secondsThe underlying unsigned 32-bit integer for seconds.
incrementThe underlying unsigned 32-bit integer for increment.
-
Returns true if the given object is equal to this, and false otherwise.
Declaration
Swift
func isEqual(_ object: Any?) -> Bool