pudo / dataset

Easy-to-use data handling for SQL data stores with support for implicit table creation, bulk loading, and transactions.
https://dataset.readthedocs.org/
MIT License
4.76k stars 297 forks source link

Flask-SQLAlchemy declarative orm and dataset in parallel #308

Closed brunorpinho closed 4 years ago

brunorpinho commented 4 years ago

Hello,

I have a couple models in my project that I declared using Flask-SQLAlchemy. However, I think this is great and I would like work with dataset alongside with my already declared models. How do I connect this with my existing Flask-SQLAlchemy instance and be able to add/remove/query on both?

BTW, thanks for this tool.

brunorpinho commented 4 years ago

I decided to use two separate databases because the tasks didn't really required same connection.