SQLAlchemy and Elixir?

I use django ORM, it’s good and very easy, but this time I’m doing a desktop application and I found SQLAlchemy, but I’m not sure that I use it with Elixir. What do you think? is it really useful?

+4
source share
2 answers

Use SQLAlchemy with Elixir if you need simple object-relational mapping in the style of Django (or Rails-style). If you need complex mapping, such as white-table inheritance or dictionary-based collections , I recommend using only SQLAlchemy with sqlalchemy.ext.declarative .

+5
source

I'm not sure you need an elixir. With the Declarative mapper, you can create classes that map to tables similar to how Elixir did. Is there an elixir feature you are looking for?

+11
source

Source: https://habr.com/ru/post/1313775/


All Articles