Welcome to Learning at Lambert Labs session #22. This week, Millie discusses issues with the Object Relational Mapper framework SQLAlchemy, and how these problems can be resolved using sqlacodegen and Alembic.
In today's Learning session:
Why the traditional ORM/DB model can cause problems
Using Alembic to automatically generate migrations based on models in the application code
Using sqlacodegen to automatically generate models based on the database schema
Video timestamps:
0:00 Introduction
0:33 What's the problem?
02:08 Alembic
03:40 sqlacodegen
07:42 Example usage of sqlacodegen
12:24 Integration into build process
17:50 Disadvantages of sqlacodegen
Read about the work we do with Python here: https://lambertlabs.com/technologies/...
Learn more about some of our client work here: https://lambertlabs.com/portfolio/
🔊 Subscribe to our channel for weekly learning sessions! / @lambertlabs
🔗 Lambert Labs Links 🔗 :
🌎 Website: https://lambertlabs.com/
📱 Twitter: / lambertlabs
📝 LinkedIn: / lambertlabs
📂 GitHub: https://github.com/lambertlabs/
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
Python
SQLAlchemy
Software Engineering
Sur cette page du site, vous pouvez voir la vidéo en ligne Automatically generating SQLAlchemy models - #22 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Lambert Labs 15 février 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,690 fois et il a aimé 91 téléspectateurs. Bon visionnage!