limodou wrote:
>
> Great!
>
> But I had to say the user-defined class takes more important place
> than before, is that right?
>
>
> --

are you referring to the "select", "get", etc. methods being attached to
the class ?  I put a quick method for that called "assign_mapper".  Theres
an old "assignmapper" method that I am probably going to get rid of. 
"assign_mapper" can be used just like mapper(), and you can view it here:

http://www.sqlalchemy.org/trac/browser/sqlalchemy/trunk/lib/sqlalchemy/mapping/__init__.py#L166

I am still considering the idea of a "base class" or a "mixin class" that
defines basic mapping abilities also, since I am not a fan of attaching
methods to the class like that (which I now know to be called
"monkeypatching").


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to