Re: [sqlalchemy] Clarification about performance and relation()

2010-03-26 Thread masetto
|| correct to get the expected result? Thanks for your patience. --- Masetto On Thu, Mar 25, 2010 at 4:56 PM, Michael Bayer mike...@zzzcomputing.comwrote: the relationship between two tables requires both the ForeignKey to be present as well as the relationship() (relation() in 0.5) function

Re: [sqlalchemy] Clarification about performance and relation()

2010-03-26 Thread masetto
() ? - Initially i've defined the foreign key in the PlatformClass and the relation() in the DefinitionClass. Which type of relation i've created in that way? Thanks again! On Fri, Mar 26, 2010 at 4:50 PM, werner wbru...@free.fr wrote: Hi Masetto, On 26/03/2010 16:01, masetto wrote

[sqlalchemy] Clarification about performance and relation()

2010-03-25 Thread masetto
manually set a foreign key value, does sqlalchemy understand that a relation between two tables exists? Thanks for your attention. --- Masetto -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalch

Re: [sqlalchemy] Clarification about performance and relation()

2010-03-25 Thread masetto
From 30 mins to 2mins... shame :P Thanks Micheal ! Forgive me, what about the other question about foreign keys? On Thu, Mar 25, 2010 at 3:43 PM, Michael Bayer mike...@zzzcomputing.comwrote: masetto wrote: Hi all, i am writing a python script which parse an xml file (python lxml

[sqlalchemy] Problem with Foreign Key

2010-03-18 Thread masetto
Hi all, i am new to SQLAlchemy (simply wonderful!), and i'm writing some python scripts to do some experiment. I've written a SINGLE python module with two classes which define two different tables (declarative_base) with a simple relationship and a single Foreign Key and everything WORKS fine

Re: [sqlalchemy] Problem with Foreign Key

2010-03-18 Thread masetto
Damn, your're right! Mea culpa :P Thanks! Now it's working again On Thu, Mar 18, 2010 at 6:27 PM, Michael Bayer mike...@zzzcomputing.comwrote: masetto wrote: Hi all, i am new to SQLAlchemy (simply wonderful!), and i'm writing some python scripts to do some experiment. I've written