Skip to content

Conversation

@cscguochang
Copy link

Summary

This PR addresses Issue #626 by adding a foundational tutorial for using SQLModel with Async. It also fixes incorrect code examples in the AsyncSession.execute and AsyncSession.exec docstrings where await was used in a way that would raise an AttributeError.

Key Changes

  • Created docs/tutorial/async/index.md.
  • Corrected await session.exec().all() to (await session.exec()).all() in docstrings.

Verified with actual execution logic.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2026

📝 Docs preview

Last commit a1e82c3 at: https://00ece0bc.sqlmodel.pages.dev

Modified Pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant