mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Fixed typo with last_pk
This commit is contained in:
parent
6c3f5e6479
commit
10e3aab4c6
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ class Table:
|
|||
with self.db.conn:
|
||||
result = self.db.conn.execute(sql, values)
|
||||
self.last_rowid = result.lastrowid
|
||||
self.lash_pk = None
|
||||
self.last_pk = None
|
||||
if hash_id or pk:
|
||||
self.last_pk = self.db.conn.execute(
|
||||
"select [{}] from [{}] where rowid = ?".format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue