[BioSQL-l] Python ORM mapping for BioSQL
Hilmar Lapp
hlapp at gmx.net
Wed Nov 26 14:28:16 EST 2008
On Nov 26, 2008, at 1:37 PM, Peter wrote:
>> To your initial question, SQLAlchemy can handle those non-primary key
>> tables without a problem by setting "primary_key = True" for all of
>> the unique columns.
>
> Yes, SQLAlchemy seems pretty good. The only catch was for a table
> with no primary key defined at all (the taxon_name table) which
> required a little more work setting up the ORM mapping, but which also
> seems to work fine.
It has one unique key defined on (name, name_class, taxon_id). Is that
not what you are seeing?
-hilmar
--
===========================================================
: Hilmar Lapp -:- Durham, NC -:- hlapp at gmx dot net :
===========================================================
More information about the BioSQL-l
mailing list