Hello guys,
Im triggering a query through spring data to UPDATE some documents, I do not require anything to be returned.
@Query(“update myBucket as m set hasFlag = true where meta(m).id like ‘flagMe_%’”)
void setHasFlagQuery();
And im getting an exception : org.springframework.data.couchbase.core.CouchbaseQueryExecutionException: Query returning a primitive type are expected to return exactly 1 result, got 0.
I know this is because I am updating so nothing is being returned, but is there some workaround this?