]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
clarify alternative mapping example
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 3 Apr 2022 14:39:19 +0000 (10:39 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 3 Apr 2022 14:52:30 +0000 (10:52 -0400)
commit1dffb7cedeb009ca6c532db558bd0588dd846957
treec21fdaf36fcbb93e44c9529e0fad94586b2965c6
parent2ea12b2f5c9285acf9dcbf3a94e7cfabd4f5085d
clarify alternative mapping example

this second example is not part of the doctest steps,
clarify that it's not part of code examples to be present
in execution steps.   Add an extra registry +
declarative base on top
so that even if someone does run it, the Base will have
been reset and the examples will continue to work
(noting that column order in statements may change, but
probably nothing else).

Fixes: #7891
Change-Id: Icb1ba310230841e502185d9d0cadd3c18d467292
doc/build/tutorial/metadata.rst