google / google/python-spanner-orm

Add a Model.delete_where class method.

Aperta
#114 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
41
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.