I’ve thought that I read all of the Couchbase Documentations. I think I found a new one.
And I couldn’t find how can delete this question. I’m sorry for this. Thanks.
I need to use nested documents in Couchbase like the following. I’m using Couchbase Lite PhoneGap plugin. Can I query using Couchbase Lite APIs or N1QL?
(address field is embedded as a second document )
{
username: "john",
name: "John Crouch",
address: { "city": "Fortworth", "state": "Texas", "country": "United States" },
phone: "3594584"
}
ps: I’ve found a N1QL guide regarding nested document querying. But there are no any words regarding IOS, Android and also particularly Couchbase Lite PhoneGap plugin.