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. |
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. |
|
@fmorriso @Baylexx we update the package to be compatible with SQLAlchemy: https://pypi.org/project/sqlalchemy-sqlitecloud/ |
@fmorriso @Baylexx we update the package to be compatible with SQLAlchemy: https://pypi.org/project/sqlalchemy-sqlitecloud/