N1ql help in getting meta().id


#1

Hi Folks,

Need your help here. I want to write a query to get all meta().id in which a particular id let s say id::123 have been referenced or used.

Thanks
Ritu


#2
SELECT RAW META(d).id
FROM default d 
WHERE "id::123" WITHIN d;