© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
M. LathkarHigh-Performance Web Apps with FastAPIhttps://doi.org/10.1007/978-1-4842-9178-8_6

6. Using Databases

Malhar Lathkar1  
(1)
Nanded, Maharashtra, India
 

By now, you must have understood that the FastAPI application consists of various operation functions. Each operation function is invoked by the corresponding HTTP method decorator to which it is mapped. The HTTP methods POST, GET, PUT, and DELETE respectively create a resource, retrieve one or more resources available with the server, and update or delete one or more resources.

To perform persistent CRUD operations, the application needs to interact with a data storage and retrieval system. Applications ...

Get High-Performance Web Apps with FastAPI: The Asynchronous Web Framework Based on Modern Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.