]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Rework synonym, synonym_for documentation
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 24 Jan 2018 23:03:04 +0000 (18:03 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 24 Jan 2018 23:03:58 +0000 (18:03 -0500)
commitf5b84ab2c53885c92926eab40032574fa5316425
tree11491a53a679a11309f6b7da393872e0ce2ebb34
parentdde5274fb167b0db785a68846a53dd939342d51a
Rework synonym, synonym_for documentation

The map_column example was incorrect, and overall the purpose
of this parameter as well as that of synonym_for was not explained;
examples added along with more encouragement to use hybrids.

Change-Id: I20bd286f541f798daa81fa598c0f31db1f5aa6ed
(cherry picked from commit 8250a4248fceaa3f4fbaebea3ff6a7f626299659)
lib/sqlalchemy/ext/declarative/api.py
lib/sqlalchemy/orm/descriptor_props.py