google / google/python-spanner-orm
Add a Model.delete_where class method.
Ouverte
- Langage dominant
- Python
- Étoiles
- 41
- Forks
- 17
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.