Merge pull request #869 from christophersu/doc-fix-1
Add missing import on SQLAlchemy documentation page
This commit is contained in:
commit
7e4d51c91c
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue