| 1 |
.. rst-class:: hide-header |
| 2 |
|
| 3 |
Flask-SQLAlchemy |
| 4 |
================ |
| 5 |
|
| 6 |
.. image:: _static/flask-sqlalchemy-title.png |
| 7 |
:align: center |
| 8 |
|
| 9 |
Flask-SQLAlchemy is an extension for `Flask`_ that adds support for `SQLAlchemy`_ to |
| 10 |
your application. It simplifies using SQLAlchemy with Flask by setting up common objects |
| 11 |
and patterns for using those objects, such as a session tied to each web request, models, |
| 12 |
and engines. |
| 13 |
|
| 14 |
Flask-SQLAlchemy does not change how SQLAlchemy works or is used. See the |
| 15 |
`SQLAlchemy documentation`_ to learn how to work with the ORM in depth. The |
| 16 |
documentation here will only cover setting up the extension, not how to use SQLAlchemy. |
| 17 |
|
| 18 |
.. _SQLAlchemy: https://www.sqlalchemy.org/ |
| 19 |
.. _Flask: https://flask.palletsprojects.com/ |
| 20 |
.. _SQLAlchemy documentation: https://docs.sqlalchemy.org/ |
| 21 |
|
| 22 |
|
| 23 |
User Guide |
| 24 |
---------- |
| 25 |
|
| 26 |
.. toctree:: |
| 27 |
:maxdepth: 2 |
| 28 |
|
| 29 |
quickstart |
| 30 |
config |
| 31 |
models |
| 32 |
queries |
| 33 |
pagination |
| 34 |
contexts |
| 35 |
binds |
| 36 |
record-queries |
| 37 |
track-modifications |
| 38 |
customizing |
| 39 |
|
| 40 |
|
| 41 |
API Reference |
| 42 |
------------- |
| 43 |
|
| 44 |
.. toctree:: |
| 45 |
:maxdepth: 2 |
| 46 |
|
| 47 |
api |
| 48 |
|
| 49 |
|
| 50 |
Additional Information |
| 51 |
---------------------- |
| 52 |
|
| 53 |
.. toctree:: |
| 54 |
:maxdepth: 2 |
| 55 |
|
| 56 |
license |
| 57 |
changes |