Re: [SQLObject] Filtering selections via foreign keys
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2011-02-17 07:11:57
|
On Thu, Feb 17, 2011 at 09:49:46AM +0800, Jason Heeris wrote: > On 17 February 2011 09:23, Jason Heeris <jas...@gm...> wrote: > > Any other suggestions? > > Oooooh I'm a bit of an idiot. I failed to realise that ".filter" > RETURNS a filtered result set, it doesn't mutate the existing one! > > Your initial suggestion works fine :) Nice! Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |