Skip to content

[Feature Request]: Smoother API for .delete() #3207

Open
@mr-infty

Description

@mr-infty

Describe the problem

At the moment, there is no convenient way to delete all entries in a collection (without deleting the collection itself). Even though .delete() accepts None as an argument to ids, there is no "wildcard filter" that could be given to where as an argument.

Describe the proposed solution

Either make .delete() delete all entries in the collection or make it possible to pass where={} as a wild-card filter matching all documents.

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions