---
title: "Discussion on \"The Async Side of SQLModel Relationships — Part 1\" | Hashnode"
description: "Discussion on \"The Async Side of SQLModel Relationships — Part 1\". So far, we've covered how to perform database operations asynchronously. Next, we are going to create relationships between models and discover a related pitfall.\nTL;DR\n\nCreate the foreign key in a model using sqlmodel.Field.\n\nMigrate the database us..."
url: "https://hashnode.com/posts/the-async-side-of-sqlmodel-relationships-part-1/63d953bb09e72aff3c55a81a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Async Side of SQLModel Relationships — Part 1](https://arunanshub.hashnode.dev/the-async-side-of-sqlmodel-relationships-part-1?utm_source=hashnode&utm_medium=feed)

So far, we've covered how to perform database operations asynchronously. Next, we are going to create relationships between models and discover a related pitfall. TL;DR Create the foreign key in a model using sqlmodel.Field. Migrate the database us...

Jan 31, 2023 · 7 min read · arunanshub.hashnode.dev  
Read the article

-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#python](https://hashnode.com/tag/python)
-   [#sqlalchemy](https://hashnode.com/tag/sqlalchemy)
-   [#fastapi](https://hashnode.com/tag/fastapi)
-   [#databases](https://hashnode.com/tag/databases)

## Written by

[Arunanshu Biswas](https://hashnode.com/@arunanshub)

@arunanshub

  
[View profile](https://hashnode.com/@arunanshub)

Cryptography and Machine Learning enthusiast and paranoid about performance without sacrificing readability.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
