I am migrating spring data couchbase to 4.*
With previous version, I used to execute dynamic N1Ql query like below
N1qlQueryResult result = couchbaseTemplate.queryN1QL(N1qlQuery.simple(complexStringQuery));
Now with upgrade, I see queryN1QL is removed and we are supposed to use findByQuery.
But findByQuery does not take string query.
How can I achieve this with newer spring data couchbase version.
Thank You for your help