маление изменения
This commit is contained in:
parent
d7f85bbbbb
commit
dd88913abb
@ -1,6 +1,6 @@
|
|||||||
from .models import Poems
|
from .models import Poems
|
||||||
from .db import database
|
from .db import database
|
||||||
|
|
||||||
to_delete = database.query(Poems).filter(Poems.id > 102)
|
to_delete = database.query(Poems).filter(Poems.id > 110)
|
||||||
database.delete(to_delete)
|
database.delete(to_delete)
|
||||||
database.commit()
|
database.commit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user