On Nov 1, 2009, at 6:27 PM, Steve Zatz wrote:
> Still not there because I am not sure how to compare two join objects. > > For example let's say I have a join object: > > obj1 > <sqlalchemy.orm.util._ORMJoin at 0xac0d30c; Join object on task > (172432076) and context(172432940)> > > And I then create a second object: > >> obj2 = sqlalchemy.orm.util.join(Task, Context) > obj2 > <sqlalchemy.orm.util._ORMJoin at 0xae517ac; Join object on task > (172432076) and context(172432940)> > > I can't quite figure out how to compare the objects since: > > obj1.compare(obj2) is False > > What is the best way to compare those two join objects and conclude > they represent the same join? join() isn't providing a depth-based version of compare() at the moment so compare join.left, join.right, join.onclause. --~--~---------~--~----~------------~-------~--~----~ 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 sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---