make less ficticious ;-)

This commit is contained in:
Chris Withers
2010-09-24 12:10:43 +01:00
parent 21d2a6d790
commit 63fc8cb313
+2 -2
View File
@@ -358,10 +358,10 @@ and simply pass it to declarative classes::
Base.metadata.reflect(some_engine)
class User(Base):
__table__ = metadata['user']
__table__ = metadata.tables['user']
class Address(Base):
__table__ = metadata['address']
__table__ = metadata.tables['address']
Some configuration schemes may find it more appropriate to use ``__table__``,
such as those which already take advantage of the data-driven nature of