@bdkinc/knex-ibmi 0.2.7 → 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/README.md +0 -3
- package/dist/index.js +3 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,7 +48,6 @@ const db = knex({
|
|
|
48
48
|
connection: {
|
|
49
49
|
host: "localhost", // hostname or ip address of server
|
|
50
50
|
database: "*LOCAL", // usually named in your odbc.ini connection
|
|
51
|
-
port: 50000, // default port
|
|
52
51
|
user: "<user>", // IBMi username
|
|
53
52
|
password: "<password>", // IBMi password
|
|
54
53
|
driver: "IBM i Access ODBC Driver", // defined in odbcinst.ini
|
|
@@ -86,7 +85,6 @@ const config = {
|
|
|
86
85
|
connection: {
|
|
87
86
|
host: "localhost", // hostname or ip address of server
|
|
88
87
|
database: "*LOCAL", // usually named in your odbc.ini connection
|
|
89
|
-
port: 50000, // default port
|
|
90
88
|
user: "<user>", // IBMi username
|
|
91
89
|
password: "<password>", // IBMi password
|
|
92
90
|
driver: "IBM i Access ODBC Driver", // defined in odbcinst.ini
|
|
@@ -125,7 +123,6 @@ const config: DB2Config = {
|
|
|
125
123
|
connection: {
|
|
126
124
|
host: "localhost", // hostname or ip address of server
|
|
127
125
|
database: "*LOCAL", // usually named in your odbc.ini connection
|
|
128
|
-
port: 50000, // default port
|
|
129
126
|
user: "<user>", // IBMi username
|
|
130
127
|
password: "<password>", // IBMi password
|
|
131
128
|
driver: "IBM i Access ODBC Driver", // defined in odbcinst.ini
|
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;
|