Hi,
I have a model where i had to use attribute names distinct from column names
id_ = db.Column('id', ...
This is not supported by the search because _apply_search uses getattr to find
the column in case of aliased model, but the field.key is taken from the column name:
column = field if alias is None else getattr(alias, field.key)
Hi, I have a model where i had to use attribute names distinct from column names
This is not supported by the search because _apply_search uses getattr to find the column in case of aliased model, but the field.key is taken from the column name:
any suggestions how to fix this?