Syntax fixes
This commit is contained in:
parent
e72ec07c45
commit
a87ed0b0f3
2 changed files with 4 additions and 5 deletions
|
|
@ -108,7 +108,8 @@ def delete_from_database_where(
|
|||
|
||||
for instance in results:
|
||||
session.delete(instance)
|
||||
session.commit()
|
||||
|
||||
session.commit()
|
||||
|
||||
remainder = session.exec(select(query).where(variable == value)).all()
|
||||
return remainder
|
||||
|
|
|
|||
Loading…
Reference in a new issue