File: index.rst

package info (click to toggle)
sqlalchemy 1.0.15%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,056 kB
  • ctags: 26,600
  • sloc: python: 169,901; ansic: 1,346; makefile: 260; xml: 17
file content (32 lines) | stat: -rw-r--r-- 785 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.. _declarative_toplevel:

===========
Declarative
===========

The Declarative system is the typically used system provided by the SQLAlchemy
ORM in order to define classes mapped to relational database tables.  However,
as noted in :ref:`classical_mapping`, Declarative is in fact a series of
extensions that ride on top of the SQLAlchemy :func:`.mapper` construct.

While the documentation typically refers to Declarative for most examples,
the following sections will provide detailed information on how the
Declarative API interacts with the basic :func:`.mapper` and Core :class:`.Table`
systems, as well as how sophisticated patterns can be built using systems
such as mixins.


.. toctree::
	:maxdepth: 2

	basic_use
	relationships
	table_config
	inheritance
	mixins
	api