My memory is failing me. I seem to recall that there was a succinct way to get a 1.4/2.0 ORM query to return individual columns instead of ORM objects. That is, to tell this
print(session.execute(select(User)).fetchall())
# [(<__main__.User object at 0x00000090175EC700>,)]
to return the equivalent of this
print(session.execute(select(User.id, User.name)).fetchall())
# [(1, 'Gord')]
without explicitly naming each attribute (column). A modifier like `.as_columns()` or something like that …?
Interestingly, if I try to use `*` I only get the first (or maybe the PK) column
print(session.execute(select(text("*")).select_from(User)).fetchall())
# [(1,)]