On Thursday 12 June 2008 22:44:25 Yannick Gingras wrote: > Greeting Alchemists, > in order to implement schema diffing, it would be nice if two > similar ColumnDefault objects would be comparable as such. I > attach a path to implement such test. Would it make sense to add > this support in Alchemy's core or should a schema diffing library > add it through monkey patching?
dont rely on things having __eq__, as it may not be your notion of what equality is (type/value/metadata/whatever). u may use SA to traverse the tree as it knows best what the structure is but do all the comparisons yourself. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
