all MapperProperty objects associated with a Mapper are expressed through its get_property() and iterate_properties() accessors. as this is the FAQ-of-the-week im going to remove "properties" from Mapper and throw in a raise, stating this information.
On Nov 5, 2007, at 10:48 AM, Kapil Thangavelu wrote: > i've got two mapped classes in a many 2 many relationship. i > declare the relationship on one class mapper with a backreference > attribute specified. i'm interested to know if i can find this > backreference property from the other class in the relationship > which doesn't have the mapper property specified ( ie. other side > of the m2m relationship ). i poked at the mapper and the class, i > can see the back references as instrumented properties on the > class, but the mapper itself doesnt publicly expose them through > its properties attribute, it maintains a private (__props) mapping. > is there any public api for looking at the backreferences to to a > class? > > cheers, > > kapil > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---