Best pratices to process request follow by commit/rollback
Asked by
Erwan
Hello,
I'm trying to use PySQLPool to manage a MySQL connection pool in wsgi application (with apache/mod_wsgi).
There is a case I don't succeed to implement.
How can I do a query without autocommit, then do some actions, and depending of the process, then apply a commit or a rollback ?
For now, I'm stuck with the q = PySQLPool.
What is the way to achieve this ?
Regards,
--
Ewan
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- PySQLPool Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Erwan for more information if necessary.
To post a message you must log in.