diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-19 09:17:03 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-19 09:19:23 -0400 |
commit | 4b361c570928b2485772a82f40613a1ecc5183a5 (patch) | |
tree | e9f2839a2acfe0f7be9a7ad8f6218e33b93606bb /lib/sqlalchemy/orm/decl_api.py | |
parent | dfe911b7a29a5d646c66806914015be04a3cc637 (diff) | |
download | sqlalchemy-4b361c570928b2485772a82f40613a1ecc5183a5.tar.gz |
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
Diffstat (limited to 'lib/sqlalchemy/orm/decl_api.py')
0 files changed, 0 insertions, 0 deletions