Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Update Query | Implement CRUD
Flask Intensive Course: Web Development with Python
course content

Contenido del Curso

Flask Intensive Course: Web Development with Python

Flask Intensive Course: Web Development with Python

1. Introduction to Flask
2. Database
3. Implement CRUD
4. FrontEnd Design

bookUpdate Query

Let's talk about how to UPDATE elements, allowing you to edit specific parts of a recipe or update the entire recipe, completing the CRUD operations in Flask.

Remember how we easily accessed different fields of our model by using the following method:

Just assign a new value to the attribute:

This command is just to check the functionality of the previous two:

You can edit other fields as well.

Now we know how to READ, CREATE, UPDATE, and DELETE.

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

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