@bdkinc/knex-ibmi 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -163,16 +163,13 @@ var ibmi_columncompiler_default = IBMiColumnCompiler;
|
|
|
163
163
|
var import_transaction = __toESM(require("knex/lib/execution/transaction"));
|
|
164
164
|
var IBMiTransaction = class extends import_transaction.default {
|
|
165
165
|
begin(connection) {
|
|
166
|
-
connection.beginTransaction();
|
|
167
|
-
return connection;
|
|
166
|
+
return connection.beginTransaction();
|
|
168
167
|
}
|
|
169
168
|
rollback(connection) {
|
|
170
|
-
connection.rollback();
|
|
171
|
-
return connection;
|
|
169
|
+
return connection.rollback();
|
|
172
170
|
}
|
|
173
171
|
commit(connection) {
|
|
174
|
-
connection.commit();
|
|
175
|
-
return connection;
|
|
172
|
+
return connection.commit();
|
|
176
173
|
}
|
|
177
174
|
};
|
|
178
175
|
var ibmi_transaction_default = IBMiTransaction;
|