Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if any one intrested in only the backend part of this project #1325

Closed
1 task
bibektimilsina00 opened this issue Sep 1, 2024 · 8 comments
Closed
1 task

Comments

@bibektimilsina00
Copy link

bibektimilsina00 commented Sep 1, 2024

Privileged issue

  • I'm @tiangolo or he asked me directly to create an issue here.

Issue Content

https://github.com/bibektimilsina00/FastAPI-PgStarterKit

@FlaccidFacade
Copy link

this is great! can I assist with making an oracle -dB template?

@bibektimilsina00
Copy link
Author

yes ofcourse you can

@FlaccidFacade
Copy link

FlaccidFacade commented Sep 2, 2024

why use sqlalchemy over fast api's sqlmodel

@bibektimilsina00
Copy link
Author

it reduce the boilerplate code cause you can only define the models once not needed to define sql model and pydentic model seperately

@FlaccidFacade
Copy link

It combines SQLAlchemy and Pydantic and tries to simplify the code you write as much as possible, allowing you to reduce the >code duplication to a minimum, but while getting the best developer experience possible.

SQLModel is, in fact, a thin layer on top of Pydantic and SQLAlchemy, carefully designed to be compatible with both.

SQLModel Docs in fastapi usage
I am still learning this but it seems to boast a solution for what you're claiming.

@tiangolo
Copy link
Member

Hey @bibektimilsina00, the checkbox that says you're @tiangolo is to prevent things that are not issues here in the issues. It would be better to post it as blog post or similar. Thanks for the interest! I'll now close this one. ☕

@TaichiLi
Copy link

TaichiLi commented Jan 6, 2025

Hello, do you have a template for Oracle databases?@FlaccidFacade

@FlaccidFacade
Copy link

No template but I did end up using sqlalchemy, too. Their docs make it fairly easy to leverage but there are a few gotchas depending on your version of oracle DB. so read carefully or email me (found on profile) if you have any specific questions. I'd be happy to help make an open source example.

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

No branches or pull requests

4 participants