BSONTimestamp
public struct BSONTimestamp : BSONValue, Equatable, Hashable
A struct to represent the BSON Timestamp type. This type is for internal MongoDB use. For most cases, in
application development, you should use the BSON date type (represented in this library by Date
.)
-
A timestamp representing seconds since the Unix epoch.
Declaration
Swift
public let timestamp: UInt32
-
An incrementing ordinal for operations within a given second.
Declaration
Swift
public let increment: UInt32
-
Declaration
Swift
public init(timestamp: UInt32, inc: UInt32)