Merge pull request #1075 from brannerchinese/master

add `Table` to import in `sqlalchemy.rst` example
This commit is contained in:
Kenneth Reitz 2014-05-30 13:39:21 -04:00
commit 76456dc3b2

View file

@ -177,7 +177,7 @@ SQL Abstraction Layer
If you just want to use the database system (and SQL) abstraction layer If you just want to use the database system (and SQL) abstraction layer
you basically only need the engine:: you basically only need the engine::
from sqlalchemy import create_engine, MetaData from sqlalchemy import create_engine, MetaData, Table
engine = create_engine('sqlite:////tmp/test.db', convert_unicode=True) engine = create_engine('sqlite:////tmp/test.db', convert_unicode=True)
metadata = MetaData(bind=engine) metadata = MetaData(bind=engine)