Hi there!
Im querying like SELECT bucket WHERE id=?;
and this returns a json that has id inside a json document.
I would like to query by document id.
Thanks to advance.
Hi there!
Im querying like SELECT bucket WHERE id=?;
and this returns a json that has id inside a json document.
I would like to query by document id.
Thanks to advance.
You should probably try meta().id
http://developer.couchbase.com/documentation/server/current/n1ql/n1ql-language-reference/metafun.html