I want to store multiple image name with number sequence at the end ,
but before that i want to check whether the image exist or not and if exist then get the last image name
like above example name of image with number sequence.
I am using n1ql query in my java project as shown below example,
Now couchbase gives some functionality like Contains to find a string contains in a given value.
But how can i perform a query to check whether the image name exist or not and if exist then get the last image name in a single query?