Concept Flow - Async database queries
Start API request
Call async DB query function
Await DB response
DB processes query asynchronously
Return data to API
Send response to client
End request
This flow shows how an async database query is called and awaited in FastAPI, allowing the server to handle other tasks while waiting for the database.