How To Write views for relational Document?

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?

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

1 Like

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

1 Like