On Jan 10, 2013, at 11:48 AM, Bill Curtis wrote: > Hi... > > We are seeing many queries generated via relationship() issue this a warning > with this advice: > > "Consider use_labels for select() statements." > > I'm trying to figure out how to set use_labels, or apply_labels on the > generated query, but I'm completely stumped. > > Is it possible to do this, or should I be trying to solve this problem in a > different way? We are using 0.7.9.
this often has to do with mappings that are to select() constructs containing multiple tables. It's an advanced situation and I'd need to see how your mappings look. -- 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.
