How To Write views for relational Document?

view
views

#1

Hi,

I am just curious about views in COUCHBASE, I was wondering How to write views for relational Document. What if I have a user table and an address table and I want to fetch all users with their address. I know how to write N1ql but I am just curious about views in COUCHBASE. Is it possible that I can use views with the relational document?


#2

With map/reduce views, you can’t join documents together. That’s one of the limitations in views that N1QL is good for.


#3

See more comparison at: https://blog.couchbase.com/comparing-couchbase-views-couchbase-n1ql-indexing/