Lawrence Oluyede wrote:
>> * is there a way to do custom queries, and tie the result back into the
>> object model or into the queryset interface? I have a query which
>> (really) returns 'django objects', which is impossible to write with the
>> ORM, but after doing the query I would like to get back to using django
>> objects.
> 
> The raw SQL interface is based upon the DB-API so I think you can't
> take a result set and feed it directly to the ORM. What can you do is
> use the Q object if it fulfills your needs
> <http://www.djangoproject.com/documentation/db_api/#complex-lookups-with-q-objects>
> and <http://www.djangoproject.com/documentation/models/or_lookups/>
> 

It doesn't... I need a "group by" which doesn't seem possible in any way 
in django.


  - bram

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to