MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / list_all

Function list_all

examples/sanic/main.py:15–17  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

13
14@app.route("/")
15async def list_all(request):
16 users = await Users.all()
17 return response.json({"users": [str(user) for user in users]})
18
19
20@app.post("/user")

Callers

nothing calls this directly

Calls 1

allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…