google / google/python-spanner-orm
Add a Model.delete_where class method.
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 41
- Forks
- 17
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.