Hey, very new to Couchbase and just got lost with this one.
all documents in my bucket have document id as index
I have 3 structures in my bucket
document id = doc_1
{
"id": "4543324",
refDoc: 'doc_2'
}
document id = doc_2
{
"type": "chef"
refDoc: 'doc_3'
}
document id = doc_3
{
"name": "Joe"
}
I want my result to be:
{
“id”: “4543324”,
“type”: “chef”,
“name”: “Joe”
}
+++++ Do I’m able to add a not-reffered document to the result?
Thanks