Closed billywhizz closed 13 years ago
Hm, I think this kind of stuff would be better suited in a high-level wrapper. My goal with node-mysql is to only provide minimal abstraction on top of the low-level protocol handling.
Also, you probably want to issue both queries in your functions at the same time, otherwise a query could be inserted into the queue in between which would probably lead to undesirable side-affects.
OK. Thanks for the feedback.
I have added transaction support to node-mysql. Check out this project:
would it be okay to add transaction handling to the client as per the following patch, or something along these lines?