Skip to content
Myr

Merge pull request #1075 from brannerchinese/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 16a7dd0, fb5d674 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/sqlalchemy.rst+1 added-1 removed
175 unmodified lines
176177If you just want to use the database system (and SQL) abstraction layer178you basically only need the engine::179180 from sqlalchemy import create_engine, MetaData180 from sqlalchemy import create_engine, MetaData, Table181182 engine = create_engine('sqlite:////tmp/test.db', convert_unicode=True)183 metadata = MetaData(bind=engine)184
34 unmodified lines