summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/mysql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-03-29 14:41:41 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-03-29 14:41:41 +0000
commit99ed3922678ac050888dad7ca1c2a2195d65e2c0 (patch)
treef2ce3103168be46e1563dd1a865c229e09ff8d3a /lib/sqlalchemy/databases/mysql.py
parentc4955c05a3ab40d53c83982da612e746c662640d (diff)
downloadsqlalchemy-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