DEV Community

Ssali Jonathan
Ssali Jonathan

Posted on

Dependency Injection, CRUD With SQLAlchemy | Building Performant APIs with Python & Litestar Part #4

In this video, I demonstrate how to use dependency injection in Litestar to share session objects, enabling our API endpoints to perform CRUD operations on the database we built with SQLAlchemy. Additionally, we explore how these sessions can be utilized to execute queries on the database efficiently.

Top comments (0)