Hi there,
Quick question - is it possible to get a custom comparator to work with order_by? At present my code based on SA/examples/vertical/dictlike- polymorphic.py raises a NotImplementedError when attempting to use the value in an order_by statement. ta, Martin ------- q = (session.query(Animal). filter(Animal.facts.any(AnimalFact.value == 5)).order_by(AnimalFact.value)) print 'any animal with a .value of 5', q.all() > raise NotImplementedError("%r" % self) > NotImplementedError: <__main__.Comparator object at 0x12710b0> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---