|
|
|
|
|
by orf
3609 days ago
|
|
Yep, but as I said it's still rather limited compared to SQLAlchemy. Stuff like aggregations are cumbersome, and it's really really easy to shoot yourself in the foot and cause O(n) queries (especially in templates and in custom admin views). Things specific to Postgres are rather lacking. While they added support for advanced datatypes like arrays, hstore, intervals and search recently (yay!) you still can't use any other index than a standard btree one or things like recursive queries. SQLAlchemy supports all of these, and has done since forever. Things are progressing, don't get me wrong, but there is a long way to go. |
|
A GSOC project is currently adding customisable indexes: https://groups.google.com/forum/#!topic/django-developers/XA...