Re:SQLAlchemy 2.0 Released
by v3ss0n on Friday January 27, 2023 @12:45AM
(#34542957)
Which declarative style? Mapped or columns?
[ Parent
| on HN ]
Columns. Even early on many years ago, I ignore all the exotic forms and different ways. Leave those for when you need to do something non-standard or programmatic.
Choose a form that works for you and looks nice, apply it to all your oddest use cases like many to many relationships and self-referential relationships, and then use that as a template going forward.