-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这个库有没有做“事务”的处理啊? #454
Comments
Sorry? Transactions? Please right your ticket in english. |
yes,Transactions,api for Transactions is what? |
yylol, as far as I know, you need to wrap your queries with BEGIN and COMMIT/ROLLBACK.
Note that the code above is just sample code. |
If I have more than one sql code, how can I code then? |
yylol, please consider using something like https://github.com/caolan/async
|
createPool是有可能公用链接的,会影响事务,不知道mysql本身有没有对“事务”的封装?
The text was updated successfully, but these errors were encountered: