Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tortoise/tortoise-orm
/ relations.py
File
relations.py
examples/relations.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
This example shows how relations between models work.
3
4
Key points in this example are use of ForeignKeyField and ManyToManyField
Callers
nothing calls this directly
Calls
2
run_async
Function · 0.90
run
Function · 0.70
Tested by
no test coverage detected