--On 28. April 2007 09:00:36 -0700 johnny <ramp...@gmail.com> wrote:
What I was trying to get was, there isn't a python command line
option, that will create Object Mapper Classes for the tables,
What should that be?
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)
huh???? You can of course write a convenience method to what ever
you like. In addition look at my module z3c.sqlalchemy.
-aj