Miguel Grinberg 3/26/2026

SQLAlchemy 2 In Practice - Chapter 2 - Database Tables

Read Original

This article is the second chapter of a book on SQLAlchemy 2 in practice. It provides an overview of using SQLAlchemy to create, update, and query database tables. It explains the division between SQLAlchemy Core and ORM modules, how to create a database engine using create_engine(), and introduces the concept of models for defining database tables as Python classes. The article includes practical code examples and configuration options like echo, pool_size, and future mode.

SQLAlchemy 2 In Practice - Chapter 2 - Database Tables

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet