Re: custom SQL within object model?

2006-03-22 Thread Adrian Holovaty
On 3/22/06, Alan Bailey <[EMAIL PROTECTED]> wrote: > Thanks! Silly me. But maybe a mention in the custom SQL section pointing > to the where / tables stuff would be good. Good idea! I've updated the docs to put in that pointer. Should be live on the site within 15 minutes. Adrian -- Adrian Ho

Re: custom SQL within object model?

2006-03-22 Thread Alan Bailey
Thanks! Silly me. But maybe a mention in the custom SQL section pointing to the where / tables stuff would be good. Alan On Wed, 22 Mar 2006, [EMAIL PROTECTED] wrote: > > Alan Bailey wrote: > > I know I can write custom SQL with the db cursor and it returns raw > > rows... but I would like (a

Re: custom SQL within object model?

2006-03-22 Thread [EMAIL PROTECTED]
Alan Bailey wrote: > 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__e

custom SQL within object model?

2006-03-22 Thread Alan Bailey
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