Skip to content

Commit

Permalink
Merge pull request #1075 from brannerchinese/master
Browse files Browse the repository at this point in the history
add `Table` to import in `sqlalchemy.rst` example
  • Loading branch information
kennethreitz committed May 30, 2014
2 parents 16a7dd0 + fb5d674 commit 76456dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/patterns/sqlalchemy.rst
Expand Up @@ -177,7 +177,7 @@ SQL Abstraction Layer
If you just want to use the database system (and SQL) abstraction layer
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)
metadata = MetaData(bind=engine)
Expand Down

0 comments on commit 76456dc

Please sign in to comment.