LastSequence returns the highest sequence number allocated for this collection.
(ctx context.Context)
| 254 | |
| 255 | // LastSequence returns the highest sequence number allocated for this collection. |
| 256 | func (c *DatabaseCollection) LastSequence(ctx context.Context) (uint64, error) { |
| 257 | return c.dbCtx.sequences.lastSequence(ctx) |
| 258 | } |
| 259 | |
| 260 | // localDocExpirySecs returns the expiry for docs tracking Couchbase Lite replication state. This is controlled at the database level. |
| 261 | func (c *DatabaseCollection) localDocExpirySecs() uint32 { |
no test coverage detected