Il Tue, 22 Aug 2006 11:57:26 -0400, Michael Bayer ha scritto:

> Hi Alan -
> 
> this idea has been mentioned before, and i have a mention about it in  
> the docs (probably should add to the FAQ).  basically, if you are  

Argh, I didn't notice, sorry!

> than that (it tries to be as simple as possible).   it has no idea  
> about the meaning of a foreign key identifier until its inside of a  
> flush().   my impression is that it would be a lot more complicated,  

OK, got that. Then, what about my idea of 'encapsulating' the fk column if
the property is enabled? Or at least adding an option for doing that
(something like 'hide_column=True' when declaring the property)? This
should be pretty straighforward (at least if the property is added when the
mapper is created, I recognize some problems may arise if a property is
added by add_property() function and we'd want that sort of behaviour).

BTW, if it adds a lot of overhead I recognize you're perfectly right at not
employing it as a default behaviour. I'll take a deeper look at SA's
sources and try to code an extension.

Thank you!


-- 
Alan Franzoni <[EMAIL PROTECTED]>
-
Togli .xyz dalla mia email per contattarmi.
Rremove .xyz from my address in order to contact me.
-
GPG Key Fingerprint:
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E 
-
Blog: http://laterradeglieroi.verdiperronchi.com


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to