Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Delete Query | Implement CRUD
course content

Contenido del Curso

Flask Intensive Course: Web Development with Python

Delete QueryDelete Query

Let's discuss the process of DELETING data from the database. Return to our Python Console and give the delete query a try. Deleting is a simple process – you just need to invoke the database object and use the delete() method instead of add(). Then, pass the object you want to delete.

If you've closed your terminal or Python Console, don't worry. You can simply import db, Recipe, app to get back on track.

It's pretty much for deleting just to know id.

¿Todo estuvo claro?

Sección 3. Capítulo 4
course content

Contenido del Curso

Flask Intensive Course: Web Development with Python

Delete QueryDelete Query

Let's discuss the process of DELETING data from the database. Return to our Python Console and give the delete query a try. Deleting is a simple process – you just need to invoke the database object and use the delete() method instead of add(). Then, pass the object you want to delete.

If you've closed your terminal or Python Console, don't worry. You can simply import db, Recipe, app to get back on track.

It's pretty much for deleting just to know id.

¿Todo estuvo claro?

Sección 3. Capítulo 4
some-alt