Charles Duffy wrote:
> I don't think autoloading is possible with ActiveMapper (doesn't it
> defeat the point?)
Its not *currently* possible, however I don't think it would be hard
at all to put in something like this into ActiveMapper:
class Person(ActiveMapper):
class mapping:
__autoload__ = True
class Job(ActiveMapper):
class mapping:
__autoload__ = True
I don't really know anything about how relationships are detected in
SQLAlchemy when you use autoloading, so I am not sure if doing that
part is possible, but using the existing infrastructure to load the
columns themselves should be fairly straightforward. Are there other
people who want this?
Michael -- could you enlighten me a little bit about how possible it
would be to detect the relationships as well, and how this kind of
thing is handled in regular SQLAlchemy?
--
Jonathan LaCour
http://cleverdevil.org
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users