Search⌘ K
AI Features

Using Query Method in the Session Object

Explore the use of SQLAlchemy's session object to perform essential CRUD operations in a database. Understand how to read records with query, update persistent objects, and delete entries using commit methods. This lesson helps you manipulate database entries effectively within full stack applications.

Database theorists refer to the four fundamental data manipulation operations with the acronym CRUD: Create, Read, Update, and Delete. We’ve seen Create, so let’s move on to the others. These are related to the HTTP methods POST, GET, PUT, and DELETE, respectively.

Reading records using session

The ...