Cool! Here's the talk if anyone else is interested:
https://www.youtube.com/watch?v=mFQTGiCEHrE slim On Saturday, February 14, 2015 at 2:56:33 PM UTC-5, Jens Alfke wrote: > > > On Feb 9, 2015, at 3:46 PM, Seung Chan Lim <[email protected] <javascript:>> > wrote: > > Is there any more efficient way of fetching such hierarchical data? > > > There are some “fake join” techniques, but they wouldn’t work across two > levels of indirection like your example. > > In a fake join you create a view that contains rows from both types of > documents, and you design the keys so that the rows for a parent and > children are adjacent; then you can either query normally and get the > parent and children, or you can use grouping to aggregate info about them. > I covered this in an “Advanced Couchbase Lite” talk I gave at the Couchbase > conference last year; you can find video of it online. > > —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/2cd62601-52eb-4498-b962-46f9b84e7cd4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
