What I was trying to get was, there isn't a python command line
option, that will create Object Mapper Classes for the tables, so I
can import them within my applications. I guess, I have to code these
every time I need to use a certain table like this:
metadata = BoundMetaData('dburi')
user_table = table('user', metadata, autoload=True)
class User(object):
pass
mapper(User, user_table)
Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---