Skip to content

Added an option in BaseAdaptor to define the column of the dbID

Created by: muffato

It defaults to ${table_name}_id but allows individual adaptors to rename it. This feature would be useful for the Compara API.

I haven't changed DnaAlignFeatureAdaptor and ProteinAlignFeatureAdaptor because they're not base classes. Similarly there are still other places (especially direct SQL queries) where ${table}_id is used (ex: https://github.com/Ensembl/ensembl/blob/release/86/modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm#L2130 )

Merge request reports