More Database And Schema Relationships - FastAPI Beyond CRUD (Part 15)

Описание к видео More Database And Schema Relationships - FastAPI Beyond CRUD (Part 15)

More Database And Schema Relationships
In this video, we enhance our SQLModel models by establishing additional database relationships within our application. We demonstrate how to efficiently retrieve data leveraging these relationships, with a specific focus on user reviews.

SOURCE CODE:
https://github.com/jod35/fastapi-beyo...

COURSE WEBSITE:
https://jod35.github.io/fastapi-beyon...

PLEASE DONATE TO THE CHANNEL THROUGH:
BUY ME A COFFEE:
https://buymeacoffee.com/jod35

PATREON:
  / jod35  

You can also consider Becoming a member of this channel.

FOLLOW ME:

X:
https://x.com/jod35_

GITHUB:
http://github.com/jod35

Timestamps:
(00:00:00) Intro
(00:00:57) Fixing MissingGreenlet Error
(00:05:59) A look at the database structure
(00:06:53) Re-organizing the database models
(00:11:27) Creating the Review table
(00:16:38) Relationship attributes for books, users and reviews
(00:19:26) Creating the review router
(00:22:18) Create the reviews service class
(00:34:53) Create the API endpoint for adding a book review
(00:48:34) Modifying Pydantic schema for relationships
(00:54:10) Conclusion

Комментарии

Информация по комментариям в разработке