Click or drag to resize

DatabaseGetLastSequenceNumber Method

Gets the latest sequence number used by the Database. Every new Revision is assigned a new sequence number, so this property increases monotonically as changes are made to the Database. This can be used to check whether the Database has changed between two points in time.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public long GetLastSequenceNumber()

Return Value

Type: Int64
The last sequence number.
See Also