Skip to content

In place deletes #43

Description

@sullivan-

Add methods Repo.deleteByKeyVal and Repo.deleteByQuery to delete lots of rows "in place", i.e., without loading them from the database first.

Perhaps we should put these in Repo.inplace.deleteByKeyVal and Repo.inplace.deleteByQuery so as to keep the Repo API from getting too cluttered. In this picture we would have a val Repo.inplace with type InPlaceUpdates or some such. Note that in place methods updateByKeyVal and updateByQuery described in another ticket.

  • Implement in all four back ends (Cassandra, JDBC, InMem, MongoDB).
  • Add integration test for deleteByKeyVal in RepoCrudSpec.
  • Add integration tests for deleteByQuery in longevity.integration.queries. It may take a little bit of thought and discussion to come up with a minimal set of tests here to cover cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions