On Mon, Jul 05, 2010 at 11:20:31AM +0200, Till Maas wrote:
> Oleg Broytman wrote:
> >MultipleJoin works together with a corresponding ForeignKey. .select()
> > doesn't take them into account. So either you iterate over Packages row by
> > row and use .builds attribute of every row, or construct
Oleg Broytman wrote:
> On Sat, Jul 03, 2010 at 11:53:00AM +0200, Till Maas wrote:
>> class PackageUpdate(SQLObject):
>> title= UnicodeCol(notNone=True, alternateID=True)
>> builds = RelatedJoin("PackageBuild")#
>>
>> class PackageBuild(SQLObject):
>> nvr
On Sat, Jul 03, 2010 at 11:53:00AM +0200, Till Maas wrote:
> class PackageUpdate(SQLObject):
> title= UnicodeCol(notNone=True, alternateID=True)
> builds = RelatedJoin("PackageBuild")#
>
> class PackageBuild(SQLObject):
> nvr = UnicodeCol(notNone=True,
Hi,
I wonder how one can use select together with MultipleJoin. The full code is
available at https://fedorahosted.org/bodhi/browser, but here are imho the
relevant lines.
class PackageUpdate(SQLObject):
title= UnicodeCol(notNone=True, alternateID=True)
builds = Re