-
Florian Sachs authored
* `contrib.sqla.tools.get_primary_key()` now works with inhteritance *and* multiple primary keys. Every primary key is checked if it is a inherited one, and if it's inherited, the *current* column.key is returned. I *think* it should be safe just to use *prop.expression* here, but I am not absolutely sure. ( see http://docs.sqlalchemy.org/en/rel_0_8/orm/internals.html?highlight=columnproperty#sqlalchemy.orm.properties.ColumnProperty.expression )
e5de0e22
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| mongoengine | ||
| peewee | ||
| peeweemodel | ||
| pymongo | ||
| sqla | ||
| sqlamodel | ||
| __init__.py | ||
| fileadmin.py | ||
| rediscli.py |