google / google/python-spanner-orm
Add a Model.delete_where class method.
Aberta
- Linguagem predominante
- Python
- Estrelas
- 41
- Forks
- 17
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.