Skip to content

Doc pruning #5047

Description

@fredcarle

We can truncate a full collection but we may want to completely remove some documents from the database.

Add a prune command that can prune docs based on the provided filter

mutation {
  prune_User( filter: { name: { _eq: "John" } } ) {
    _docID
  }
}

Note: Pruning does not mutate the document. It doesn't delete it from the network's perspective. It only removes documents from the local node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions