Re: [SQLObject] Hello and Connections (to start)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2003-03-13 03:42:27
|
On Wed, 2003-03-12 at 01:17, Luke Opperman wrote: > Also, we've got a problem with Joins (possibly caching as well), where we can > create an object, add it to another as a reference, but the objects are not > equivalent (despite looking identical from repr). So we have (in effect): > > >>> p = Person(1) > >>> x = Phones.new(person=p...) > >>> x > <Phone 1 ....> > >>> p.phones > [<Phone 1 ....>] > > but "x is p.phones[0]" and "x == p.phones[0]" are both false. This is probably related to the caching problem that Frank had pointed out before. It should be fixed now in CVS. Ian |