Hi, I’m trying to just do a query in the server and return the document if it is existing. The thing is CRUD operations are only limited locally, I will have to replicate all the documents from the server. The problem with this is what if I only want to check if the user registered from other devices is existing?
One of my first solution is to use the Couchbase Admin REST API, Im using GET request to return all the docs in that specific database and scan the returned JSON output of it. I have to loop through all that documents and break if that user is existing, is there any way to do this? A more sufficient way. Thank you