SQLAlchemy declarative extension against elixir

I plan to use SQLAlchemy in one of my projects, and I am very interested in declarative table syntax.

I was told to use the Elixir Declarative Layer , while SQLAlchemy has a built-in declarative extension .

What are the current differences between Elixir and declarative extension? Advantages disadvantages?

+5
source share
1 answer

An elixir exists because SQLA Declarative did not. Now that we have the SQLAlchemy declaration, you probably don't need Elixir unless there is a concrete way to do what you prefer. Just keep in mind that Elixir is a dead project and you will stick with the old version of SQLAlchemy.

+11
source

All Articles