Queries against document keys

Hello Masters,

Is it possible to run N1QL queries against document ids (keys).
For example I’d like to retrieve all the keys that own specific prefix.

Thanks in advance,

Hello Erwin,

Yes. For example, you can run the following in the tutorial:

SELECT META().id, * FROM tutorial WHERE META().id LIKE “da%”