Hello, I know I can write custom SQL with the db cursor and it returns raw rows... but I would like (and it'd be easy to implement) a way to use custom SQL (specifically only WHERE clauses) when doing a get_list or get_object.
For example: foo = users.get_list(status__exact='active', custom_sql='SUM(something) > 5') So there's a regular variable check status='active' but then if I use an aggregate operator or something else wacky, I can do it with a custom_sql thing. Kind of like the complex operator. Or is this maybe possible in the new magic_removal? Ideas? Alan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---