Aerich migration tool of Tortoise ORM (Python Database ORM)
Channel: IOInfinity x 源碼無限
Date: 2022-12-08

#fastapi #python教學 #pythontutorial #api #tortoiseorm #database 

Source code(Github Repository):
https://github.com/IOInfinity-NIU/Python-SQLite-TortoiseORM-Aerich-Migration

Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) inspired by Django.
Tortoise ORM was build with relations in mind and admiration for the excellent and popular Django ORM. It’s engraved in it’s design that you are working not with just tables, you work with relational data.

https://tortoise-orm.readthedocs.io/e...

Aerich is a database migrations tool for TortoiseORM, which is like alembic for SQLAlchemy, or like Django ORM with it's own migration solution.

https://github.com/tortoise/aerich

SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.

https://www.sqlite.org/index.html

GitHub repository of Aerich migration tool - Database ORM framework of Python:
https://github.com/IOInfinity-NIU/Python-SQLite-TortoiseORM-Aerich-Migration

#python教學 #fastapi #tortoiseorm #pythontutorial