? SQLAlchemy doesn't support
that. Just use text(), if this is the case.
On 8/21/15 11:44 PM, Tim Radke wrote:
I'm using SQLAlchemy version 0.9.8, connecting to Postgres 9.4. I'm trying
to do something like this:
query = select([func.to_json(User)]).select_from(User)
# Printing
I'm using SQLAlchemy version 0.9.8, connecting to Postgres 9.4. I'm trying
to do something like this:
query = select([func.to_json(User)]).select_from(User)
# Printing the query returns something that seems to make sense:
# print select([func.to_json(User)]).select_from(User)
# SELECT