i have some object X that points to several others A,B,C; in any time 
there's only one link is present, all else are None. All the A,B,C 
share same root but in a concrete-table way.

so when i do 
for x in query(X).eagerload('a').eagerload('b').eagerload('c'):
  print (x.a or x.b or x.c).time
it always fires two extra useless lazyloads for the missing ones (that 
are None)
can i suppress them somehow?

btw this is one approach to workaround multiple-inheritance;
i have another idea too: something along pyprotocols but in a 
db-manner - represent diff. aspects/hierarchies separately then have 
a 1:1 link from the combining object to those.

ciao
svilen

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to