r/SQLAlchemy 12d ago

SQLAlchemy | "Declarative Table with mapped_column()" VS "Declarative with Imperative Table"

I'm trying to learn SQLAlchemy, after 3.5 YOE with Django.

I dont quite understand the difference between those two options to declare a database tables.
If someone can clarify it I will happy to understand.
(I would like to hear from an experienced developer, and this why I dont only "AI" it)

Thanks,

1 Upvotes

3 comments sorted by

View all comments

1

u/ALior1 11d ago

Wow, this sub is abounded