Platform: Couchbase Server 4.0 beta, Java client 2.1.3
I am looking for something similar to SQL JOIN. For example I have documents of the form where field2 is embedded in the document instead of in a separate table as you would have in a relational DB:
{field1:" ..", field2:[{key:1, ...},{key:3, ...},..],...}.
How can I achieve something like this:
select * from bucket where field2.key=3;
And how can I index the key, a hypothetical example:
create index idx_key on bucket(field2.key);