Skip to content

Commit b7db10f

Browse files
committed
Fix for quick_editor, save_record
Now with updated sqlite driver, this needed to update attrs
1 parent f26c5b4 commit b7db10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysimplesql/pysimplesql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6574,7 +6574,7 @@ def save_record(
65746574
result = self.execute(query, tuple(values))
65756575
# manually clear the rowid since it is not needed for updated records
65766576
# (we already know the key)
6577-
result.lastrowid = None
6577+
result.attrs['lastrowid'] = None
65786578
return result
65796579

65806580
def insert_record(self, table: str, pk: int, pk_column: str, row: dict):

0 commit comments

Comments
 (0)