[Flask] Deleting Flask tables conditionally

Anonymous Coder anonymouscodar at gmail.com
Mon Mar 6 01:54:26 EST 2017


I your solution but this isn't working at all to my surprise. I can create
rows in tables but I can't delete. I tried a dozen solutions from google.
But mine don't work at all. Please advise.

On Sun, Mar 5, 2017 at 11:18 PM, Corey Boyle <coreybrett at gmail.com> wrote:

> Please clarify... by "table", do you mean "row" or "record"?
>
> Regarding deleteing, I think this line
> package = Package()
> Needs to be replaced with a query that returns the single object that
> you want to delete.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20170306/1a98e856/attachment.html>


More information about the Flask mailing list