]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
rename tables to _table for basic relationships
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Oct 2022 13:23:21 +0000 (09:23 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Oct 2022 13:23:21 +0000 (09:23 -0400)
commit51001683c5d3fec428f816381143fec2cb362e99
tree3f922129e66181b13ec70dcbfce269673a5d5928
parent924a08d323286dff2f9def67c16b3fbcfd011e52
rename tables to _table for basic relationships

the names "parent" / "child" are confusing for new users
in that they are used for table names as well as
"back_populates='parent'", use a disambiguated name.

In this change, there's now overlap between the
variable named "association_table" and the table name
"association_table".  not sure of a better naming system.

Change-Id: Ic036c8072caf6e9e5fbd1178986353c00b91f43d
References: https://github.com/sqlalchemy/sqlalchemy/discussions/8675#discussioncomment-3915204
doc/build/orm/basic_relationships.rst