So if I have a structure like so:

doc1:
  name: "Foo"
  children: ["doc2"]

doc2:
 name: "Bar"
 parent: "doc1"
 children: ["doc3"]

doc3:
 name: "Baz"
 parent: "doc2"


The simplest way to fetch the entire set is to fetch doc1, then read the 
"children" attribute, fetch doc2, read the "children" attribute, and 
finally fetch "doc3"

Is there any more efficient way of fetching such hierarchical data?

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/b919978f-3bb2-4722-9af2-5f34abee5fa5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to