Re: [Sqlalchemy-users] primary_key parameter on mapper

2006-05-11 Thread Gambit
Hey Sandro, IIRC, the primary_key parameter tells the mapping engine which specific columns compose the primary key for that map. This is used in the identity map to identify already-fetched objects, create relations, and so forth while ensuring there aren't any duplicates involved (i.e. two sepa

[Sqlalchemy-users] primary_key parameter on mapper

2006-05-11 Thread Sandro Dentella
Hi all, I don't really understand which is the role of the 'primary_key' parameter to mapper, particularly when the mapper is built from a join, not a table. Thanks sandro *:-) -- Sandro Dentella *:-) e-mail: [EMAIL PROTECTED] http://www.tksql.orgTkSQL Home p