I'm having trouble finding a quick/efficient way to get the last sequence
number from the database.
I have tried
GET /{db}/_changes?descending=true&limit=1
But the descending query parameter doesn't seem to work even though it is
stated in their documentation here
<http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/database/get-changes/index.html>.
The way I'm doing it now is just by pulling in all the changes from the
database and parsing the results for the last_seq parameter. Any
suggestions?
--
You received this message because you are subscribed to the Google Groups
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.