]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
split out declarative varieties into the declarative mapping section
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Jan 2022 19:25:36 +0000 (14:25 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Jan 2022 19:54:06 +0000 (14:54 -0500)
commitf688a81c479a3b5fa0d355ce17ffa58c363ae0d6
treeeecf66a5a5a76e39b52ace8b538b6e177b339f02
parentbcea1d0e7bc8209247ed98a5b549420294fb0a53
split out declarative varieties into the declarative mapping section

specific declarative styles like those for dataclasses and attrs
should be in the more reference-oriented "declarative_mapping"
section rather than the more introduction-oriented mapping_styles.

this will also make it easier for us to add still more ways of
mapping declaratively for 2.0.

for the cherry-pick, also remove the misleading line about
stubs.

Fixes: #7575
Change-Id: I2700c2c2b34db9680f9cbe6ed6197add773a6a5d
(cherry picked from commit 6bfd428eea7bf712d962a0c4c6a7fb15e14955f6)
doc/build/orm/declarative_mapping.rst
doc/build/orm/declarative_styles.rst [new file with mode: 0644]
doc/build/orm/mapping_styles.rst