N1QL requires index or document keys. So it is not possible using the N1QL.
I am not expert but may be you can use map/reduce view.
N1QL requires index or document keys. So it is not possible using the N1QL.
I am not expert but may be you can use map/reduce view.