google / google/python-spanner-orm

Add a Model.delete_where class method.

Offen
#114 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.