mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 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() {
|
||||
delete this.transaction;
|
||||
this.connection.commit();
|
||||
return this.connection.commit();
|
||||
}
|
||||
|
||||
[Symbol.dispose]() {
|
||||
|
||||
Reference in new issue
Block a user