SELECT cdb_id FROM cpm_preference_new
where doc_type=‘PREFERENCE’ and cpm_preference_new
.cdb_id
= ‘"’+context.Minvalue+’"’
What error you getting
https://index-advisor.couchbase.com/indexadvisor/#1
Not sure what is context variable. N1QL has only named, positional parameters
https://docs.couchbase.com/server/current/n1ql/n1ql-rest-api/examplesrest.html
SELECT cdb_id
FROM cpm_preference_new
where doc_type=‘PREFERENCE’ and cpm_preference_new
. cdb_id
= “+context.Minvalue+”