N1QL query to get document ID that contains

Hi,

Wondering what the N1QL query would be to select all document id’s that contain a string, for example that contain ‘WORD’ somewhere within the id:

XXX:XX:WORD:XX

Thanks

FYI

SELECT META().id FROM default WHERE META().id LIKE "%WORD%"
1 Like