Browse Source

Merge pull request #869 from christophersu/doc-fix-1

Add missing import on SQLAlchemy documentation page
pull/842/merge
Kenneth Reitz 11 years ago
parent
commit
7e4d51c91c
  1. 2
      docs/patterns/sqlalchemy.rst

2
docs/patterns/sqlalchemy.rst

@ -185,6 +185,8 @@ you basically only need the engine::
Then you can either declare the tables in your code like in the examples Then you can either declare the tables in your code like in the examples
above, or automatically load them:: above, or automatically load them::
from sqlalchemy import Table
users = Table('users', metadata, autoload=True) users = Table('users', metadata, autoload=True)
To insert data you can use the `insert` method. We have to get a To insert data you can use the `insert` method. We have to get a

Loading…
Cancel
Save