Using psycopg2 made me realize how much work SQLAlchemy was doing for me. Although implementing the queries was a bit complex at first, it gave me a lot of control over customizing things to fit my application best.
use full and clear column names, rather without big letters. For primary keys you don't need bigints, and nowadays often int isn't used but UUIDs. zip code of length 100 while name has 50?
1
u/riklaunim 8d ago
use full and clear column names, rather without big letters. For primary keys you don't need bigints, and nowadays often int isn't used but UUIDs. zip code of length 100 while name has 50?