google / google/python-spanner-orm

Add a Model.delete_where class method.

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Currently, I think the only way to delete based on a condition (not including primary keys) is retrieve the model objects matching the condition, then delete them. It would be nice to have a `delete_where()` method with the same signature as `where()`, but that deleted matching rows.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.