Beginners don't understand the relationship when they use tortoise-orm for the first time.
For example One-to-one, One-to-many, Many-to-many connections.
Solution
Most engineers use draw.io (or similar) for database design.
I think database diagram designs should also be added to the examples for tortoise.github.io.
Problem
Beginners don't understand the relationship when they use
tortoise-orm
for the first time. For exampleOne-to-one
,One-to-many
,Many-to-many
connections.Solution
Most engineers use draw.io (or similar) for database design. I think database diagram designs should also be added to the examples for tortoise.github.io.
I drew a design in draw.io for tortoise-orm relations.
Above, FK is the foreign key, PK is the primary key.