On 2012-02-15 12:33 PM, Michael Bayer wrote:
Curious, ... Or just that SQLAlchemy would automatically instrument an __eq__() method on mapped classes ?
Yes, I anticipated something like this was probably already there. Whenever I bet against SQLA being surprisingly smart I usually get proven wrong :-)
Anyway, yeah we don't assume that, so you'd want to implement an __eq__() that I'd assume compares primary key values.
Ok, thanks. Michael -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. 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.
