diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-03-29 14:41:41 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-03-29 14:41:41 +0000 |
commit | 99ed3922678ac050888dad7ca1c2a2195d65e2c0 (patch) | |
tree | f2ce3103168be46e1563dd1a865c229e09ff8d3a /lib/sqlalchemy/databases/mysql.py | |
parent | c4955c05a3ab40d53c83982da612e746c662640d (diff) | |
download | sqlalchemy-99ed3922678ac050888dad7ca1c2a2195d65e2c0.tar.gz |
- declarative_base() takes optional kwarg "mapper", which
is any callable/class/method that produces a mapper,
such as declarative_base(mapper=scopedsession.mapper).
This property can also be set on individual declarative
classes using the "__mapper_cls__" property.
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
0 files changed, 0 insertions, 0 deletions