On May 17, 2008, at 9:52 PM, [EMAIL PROTECTED] wrote:

>
> seems such thing is disallowed, or at least Mapper complains.
> is it SQL requirement or what?

the mapper needs some set of PK columns defined for mapped classes so  
that it can identify objects.  they dont need to be actual PK columns  
in the database.

in theory there just needs to be a function that can extract a primary  
key from a row - it doesnt even necessarily have to be "use these  
columns".  though such a feature would require some API changes.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to