Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

last executed query in flask api

try:
    cursor.execute(sql, (arg1, arg2))
    connection.commit()
except:
    print(cursor._last_executed)
    raise
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #executed #query #flask #api
ADD COMMENT
Topic
Name
5+8 =