Skip to content

Support returning any deleted entities in ReactiveRemoveByIdOperation and ReactiveRemoveByQueryOperation #1058

Open
@aaronjwhiteside

Description

@aaronjwhiteside

This should work alongside cas support in PR #1051

Idea for API:

MyEntity entity = template.removeById(MyEntity.class)
      .withCas(12345L)
      .one("abc123");

It would be good if this support was also extended to org.springframework.data.couchbase.repository.CouchbaseRepository

Right now we have a custom base repository exposing delete methods that return the deleted document.

Having this in the base implementation would reduce the surface area of our custom base repository and I suspect be helpful to others too.

Metadata

Metadata

Assignees

Labels

status: blockedAn issue that's blocked on an external project changetype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions