what's the SQL you want - is this the special Postgresql syntax where an
entire table name is sent to a function? 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.
That is the case, I'm afraid. Thanks for the prompt reply and thanks for
making such a killer library. :-)
On Sat, Aug 22, 2015, 9:51 AM Mike Bayer mike...@zzzcomputing.com wrote:
what's the SQL you want - is this the special Postgresql syntax where an
entire table name is sent to a function?
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