On 8/14/07, Paul Johnston <[EMAIL PROTECTED]> wrote:
> > > 3) I'm getting an infinite loop when I have a belong_to which is a
> > > primary key, and a has_one as its inverse.
> from elixir import *
> class T1(Entity):
> has_field('test', Integer, primary_key=True)
> has_one('t2', of_kind='T2')
> class T2(Entity):
> belongs_to('t1', of_kind='T1', colname='bob', primary_key=True)
> T1.select()
He, I overlooked that case. There was some leftover code which broke
that particular case. It's fixed now. Thanks for the report and
testcase!
--
Gaƫtan de Menten
http://openhex.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---