views:

144

answers:

2

I have been using django ORM, it's nice and very easy, but this time I'm doing a desktop app and I found SQLAlchemy, but I'm not sure to use it with Elixir. What do you think? is it really useful?

+4  A: 

I'm not sure you need Elixir any more. With the Declarative mapper, you can create classes that map to your tables similar to the way it's done by Elixir. Is there a specific elixir feature that you're looking for?

Noufal Ibrahim
are there any interesting feature that i would like to use?, Declarive mapper is even more clear to read and write, thanks.
sacabuche
It's been too long since I've used either library so I can't say for sure.
Noufal Ibrahim
+2  A: 

Use SQLAlchemy with Elixir if you need Django-style (or Rails-style) simple object-relational mapping. If you need complex mapping like concrete table inheritance or dictionary-based collections, I recommend you yo use just SQLAlchemy with sqlalchemy.ext.declarative.

dahlia