Hi,
Is there a bug tracker for Elixir?
> > 1) The field order is randomised, when using with_fields.
> This is a known problem, that I don't believe we plan on fixing.
Ok, fair enough.
> > 2) I'm getting exceptions related to relationships, when using key= on
> Hmm. Yes, a test case would be good here. Patches are certainly welcome
To get things started, here is a test case:
from elixir import *
class T1(Entity):
has_field('test', Integer, primary_key=True, key='testx')
class T2(Entity):
belongs_to('t1', of_kind='T1')
T1.select()
It causes this exception:
sqlalchemy.exceptions.ArgumentError: Could not create ForeignKey
'__main___t1.test' on table '__main___t2': table '__main___t1' has no
column named ''test''
I'm new to Elixir so a patch may take a while, but I'll take a look
when I can.
> > 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.
> Interesting. Test case and patch are again welcome :)
Couldn't reproduce this right away; I'll dig some more to see why my
minimal test case is different from the code causing the problem.
Paul
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---