def get_query():
conn = engine.connect()
check = 'SELECT * FROM friends'
obj = [conn.execute(check)]
jqs = json.dumps(obj)
return jqs
result is
Internal Server Error
The server encountered an internal error and was unable to complete your
request. Either the server is overloaded or there is an error in the
application.
if i change obj = '123'
it will show 123
but when i use execute to query
it will no request
how can that be?
is it wrong type to catch?
pleaese help me .thanks
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.