On Feb 8, 2016, at 2:59 PM, Alan Diaz 
<[email protected]<mailto:[email protected]>> wrote:

hi, i have a question in a project i want to get the last revision of a 
documento via N1QL but i don't know if this is possible.

You can query SG’s bucket via N1QL, as long as you

  *   ignore keys (doc IDs) that start with “sync:” — these are internal data, 
not real documents
  *   ignore the “_sync” property of a document, which contains internal 
metadata
  *   do NOT make any changes

The remainder of the document is the current revision.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/4D979A61-EA12-40C4-A695-7B85BFF91162%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to