Commit graph

5 commits

Author SHA1 Message Date
Simon Willison
16d7008002 Applied black 2019-07-28 18:37:27 +03:00
Simon Willison
bc9c4db34b .update(...) with no update argument sets last_pk 2019-07-28 17:59:52 +03:00
Simon Willison
4ab8d46b03 Added table.update(pk, ..., alter=True) 2019-07-28 17:51:49 +03:00
Simon Willison
5225dbb89c Unit tests for invalid .update() pks 2019-07-28 17:46:49 +03:00
Simon Willison
455071f3c5 Unit tests for .update()
Also now set .last_pk to lastrowid for rowid tables.
2019-07-28 15:30:28 +03:00