]> 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:17:03 +0000 (09:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 19 Oct 2022 13:19:23 +0000 (09:19 -0400)
commit4b361c570928b2485772a82f40613a1ecc5183a5
treee9f2839a2acfe0f7be9a7ad8f6218e33b93606bb
parentdfe911b7a29a5d646c66806914015be04a3cc637
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