diana wrote: > I only seem to get this error when I I try to eager load a child > collection -- eager loading one child item works fine. > > I've tried: > > lazy=False on the relation > > as well as eagerload on the query: > > query.options(eagerload('foo')) > > but each time I get: > > (OperationalError) (1054, "Unknown column 'None' in 'field list'") > > Any ideas off the top your head? > > PS. I can traverse lazily to the child collection, no problem.
never seen that before nope. probably something to do with your primaryjoin though. > > Cheers, > > --diana > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to sqlalch...@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. > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@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.