Rémi Bleuse
Rémi Bleuse
> It would be helpful to see > com.rbleuse.spring.reactive.couchbase.service.PersonService.getProjectionByName(PersonService.kt:13) Just a simple service : ```kt @Service class PersonService( private val repository: PersonRepository ) { fun createPerson(person: Person) = repository.save(person) fun...
Thanks, indeed with a class it's working. However I tried to proceed to the same with a custom n1ql instead of using the method name, but I faced this exception...
Oh understood, so under the hood `fun findByName(name: String): Flux` will fetch the id even though it's not mapped in my projection dto And for a manual custom query projection,...
Which newer version are you referring to ? I'm using 4.4.2 and it's still required with latest 4.4.3-SNAPSHOT `select p.firstName, p.lastName from #{#n1ql.bucket} p WHERE p.firstName = $1 AND p.#{#n1ql.filter}`...
Yes updating the whole document works but here my point is to update some parts of the document only (what we can do with an update query, cf https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/update.html) My...
> Can you show me an example of this? Are you referring to sub-doc mutations? That's not supported in spring data couchbase. yes I was referring to the sub-doc mutations...
> [Edit: I have verification that UPDATE does use cas and will generate a cas-mismatch error if it occurs] Oh I didn't know that part. So even if I'm using...
Got it, thank you for the confirmation !
Hi @mikereiche, since this change, I'm not able to update a list with a query Here is my query : ``` @Query( """UPDATE #{#n1ql.bucket} c USE KEYS ${'$'}clubId SET c.moderatorIds...
I think it's not related to `TrailingCommaRule` but related to Kotlin API 1.4 usage I got that error on running tests : ``` org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':runKtlintCheckOverMainSourceSet'. >...