[PonyORM-list] How to purge table rows
Guy Jacks
guy.jacks at gmail.com
Wed Dec 18 22:45:02 UTC 2013
I'm currently calling.
db.drop_table(...) and then calling db.create_tables() in order to purge
all of the data. I'm using flask so I wrapped my app in the
with_transaction context. I'm getting the following error.
https://gist.github.com/anonymous/9005f162fc6f352a73fc
Note, I don't want to delete all the rows because I want to reset the
auto-increment on the ids.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ponyorm-list/attachments/20131218/e833bd72/attachment.html>
More information about the ponyorm-list
mailing list