Browse Source

add `Table` to import in `sqlalchemy.rst` example

pull/1075/head
David Branner 11 years ago
parent
commit
fb5d674488
  1. 2
      docs/patterns/sqlalchemy.rst

2
docs/patterns/sqlalchemy.rst

@ -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)

Loading…
Cancel
Save