- attached a.py
no .add_entity_attr(A.attr) equivalent to add_entity(X)
Issue #1189
resolved
the query allows x = query( A, B.attr, Ctable.c.column).whatever.. * there is add_entity(X) and X is treated as mapper/class * there is add_column(X) and X is treated as sql Column * but there's no way to add B.attr later - neither above funcs can take it
Comments (2)
-
Account Deleted -
repo owner - changed status to wontfix
print '\n (a,b.name)...\n', sess.query( A,B.name).all() print '\n a...add(b.name)\n', sess.query( A).add_column( B.name).all()
both generate identical SQL and return the identical result.
- Log in to comment
last two lines