Make SqlAlchemy ORM a first-class experience with SQLite Cloud #30
-
|
As of 2024-07-23, it appears that SQLite Cloud and SQLAlchemy ORM do not "play nice" together when it comes to seamlessly querying (SELECT *) from the chinook.sqlite artists table into python classes based on the SQLAlchemy ORM Specifically, when I try the following:
... eventually I want to:artists = session.query(Artist).all() I get the error message: In this specific case, I'm trying to query via the SQLAlchemy ORM technique of If this type of feature is not (yet?) available, I'll postpone using SQLite Cloud until such time, if ever, as SQLite Cloud will "play nice" with SQLAlchemy ORM. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Same here. My flask app heavily uses SQLAlchemy and until there is a proper way to link SQLAlchemy with SQLite Cloud, I will most likely postpone using SQLite Cloud. |
Beta Was this translation helpful? Give feedback.
-
|
@fmorriso @Baylexx thanks for your feedback. I would like to point out that we are already working on an SQLAlchemy integration. I'll let you know more as soon as we have something ready to be tested. |
Beta Was this translation helpful? Give feedback.
-
|
@fmorriso @Baylexx we update the package to be compatible with SQLAlchemy: https://pypi.org/project/sqlalchemy-sqlitecloud/ |
Beta Was this translation helpful? Give feedback.
@fmorriso @Baylexx we update the package to be compatible with SQLAlchemy: https://pypi.org/project/sqlalchemy-sqlitecloud/