Hi!
On Thu, Nov 10, 2016 at 04:12:49PM +0100, franz
wrote:
> I have two tables whose names I chose by using sqlmeta.
>
> class Person(SQLObject):
> class sqlmeta:
> table = 'city_person'
> name = StringCol()
> pets = MultipleJoin('Animal')
>
> class
Ok, it's solved using joinColumn.
Thanks.
Greetings.
2008/8/12 Oleg Broytmann <[EMAIL PROTECTED]>
> On Tue, Aug 12, 2008 at 06:18:39PM +0200, Luis Javier Peris wrote:
> > I'd like to know if there is a restriction using inheritance about
> > multiplejoin function because I'm getting an error an
On Tue, Aug 12, 2008 at 06:18:39PM +0200, Luis Javier Peris wrote:
> I'd like to know if there is a restriction using inheritance about
> multiplejoin function because I'm getting an error and I don't know why.
> I've the following code:
>
> class Question(InheritableSQLObject):
> filename = S
On Tue, Feb 26, 2008 at 01:33:41PM +0100, Diez B. Roggisch wrote:
> class A(SQLObject):
> bs = MultipleJoin("B")
>
> class B(SQLObject):
> an_a = ForeignKey("A")
>
> I'd like the idea of this becoming a bit more magic, and in case of ambiguity
> at least more in the Python-world than in
Ok, I understand. With MultipleJoin the Person.developer method
returns a list of the projects, that Person is the developer of.
Without it MultipleJoin Person('Project') that method is not
available. I'm trying to add some features to WhatWhat Status that
will be beneficial to my organization. Thi
Hello!
On Tue, Mar 06, 2007 at 10:15:27AM -0600, William F Pearson III wrote:
> I'm fairly new to SQLObject
Welcome!
> The MultipleJoin method is not necessary, but is it
> beneficial?
It is! See the program and its output:
class Person(SQLObject):
firstName = StringCol()
lastN
Hi!
On Thu, Jan 12, 2006 at 10:25:51PM +0100, Jan-Wijbrand Kolman wrote:
> TypeError: can't compare datetime.date to NoneType
>
> possible patch:
>
> --- src/SQLObject-0.7.0-orig/sqlobject/joins.py 2005-10-02
Applied at the revision 1515 to the trunk. Backported to the 0.7-branch.
Thank