added missing import in sqlalchemy doc
This commit is contained in:
parent
5d20501604
commit
8089eb5769
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue