mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
refactor(transaction): support new transaction syntax
Adds a third accepted syntax for transactions, distinct from the mysql-async compatible implementations.
This commit is contained in:
1 parent
da83eff989
commit
c07fa4a451
4 files changed
+20
-6
No files matched your search
+1
-1
@@ -47,7 +47,7 @@ MySQL.insert = (
|
||||
};
|
||||
|
||||
MySQL.transaction = (
|
||||
queries: TransactionQuery[] | string[],
|
||||
queries: TransactionQuery,
|
||||
parameters: CFXParameters,
|
||||
cb: (result: boolean) => void,
|
||||
invokingResource = GetInvokingResource()
|
||||
|
||||
Reference in new issue
Block a user