I don't know if this is even possible, but I'm curious.

What I want to do is basically cross-document flattening(merging). 

Say I have 5 documents

(DOC 1)
_jd : 1
name: people
members: [2,3]


(DOC 2)
_id: 2
name: John Doe
age: 25
comments: [4]


(DOC 3)
_id: 3
name: Jane Doe
age: 23
comments: [5]


(DOC 4)
_id : 4
content: "I love you Jane"


(DOC 5)
_id: 5
content: "I love you, too, John"
reply_to: 4


Say I want to, as quickly as possible, retrieve the content of all 5. (The 
entire content of the conversation between everyone in the db) What would 
be the best practice?

For example, is there a way to, in one shot, ask for all 5 documents given 
that there are links embedded?


slim

-- 
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/4e868d8a-abd7-47f4-957a-3a4b72748d56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to