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

Is there any easy way to support SQLModel? #1

Open
Adrian-Samuel opened this issue Mar 10, 2024 · 1 comment
Open

Is there any easy way to support SQLModel? #1

Adrian-Samuel opened this issue Mar 10, 2024 · 1 comment

Comments

@Adrian-Samuel
Copy link

Since SQLModel is an abstraction layer on top of SQLAlchemy, is there an easy way to adapt this provider to also support sqlmodel?

@noamtamir
Copy link
Owner

This project is a draft. Please use the official version here: https://github.com/ariga/atlas-provider-sqlalchemy . You can also ask questions in their discord, they are very responsive: https://atlasgo.io/

To address your question, I haven't tested it with SQLModel, but I believe it should work our of the box, as long as SQLModel uses the same DeclarativeBase under the hood (which I believe it does).

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

2 participants