Hi, If you have a version field, you can do something like:
select * from my-bucket where ... order by version desc limit 1 On Monday, September 29, 2014 3:23:52 PM UTC-7, Victor Fernandez wrote: > > Hi I have the N1QL process running in my couchbase server, I'm making REST > petitions to make the querys but the problem is that te query returns all > the versions of a document. I only need the latest version, is there a way > to do this? > -- 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.
