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?
Asked
Active
Viewed 2,183 times
2 Answers
11
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
- 71,383
- 13
- 135
- 169
-
are there any interesting feature that i would like to use?, Declarive mapper is even more clear to read and write, thanks. – sacabuche Jun 24 '10 at 17:02
-
It's been too long since I've used either library so I can't say for sure. – Noufal Ibrahim Jun 24 '10 at 17:06
5
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 to use just SQLAlchemy with sqlalchemy.ext.declarative
.

Prof. Falken
- 24,226
- 19
- 100
- 173

minhee
- 5,688
- 5
- 43
- 81