mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 14:38:50 +00:00
fix(database/connection): return promise from commit method
This commit is contained in:
1 parent
35c6a9ee7f
commit
78be0238f5
1 file changed
+1
-1
@@ -50,7 +50,7 @@ export class MySql {
|
|||||||
|
|
||||||
commit() {
|
commit() {
|
||||||
delete this.transaction;
|
delete this.transaction;
|
||||||
this.connection.commit();
|
return this.connection.commit();
|
||||||
}
|
}
|
||||||
|
|
||||||
[Symbol.dispose]() {
|
[Symbol.dispose]() {
|
||||||
|
|||||||
Reference in new issue
Block a user