@bdkinc/knex-ibmi 0.2.4 → 0.2.5
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Requires Node v16 or higher.
|
|
|
35
35
|
|
|
36
36
|
## Usage
|
|
37
37
|
|
|
38
|
-
This library can be used as commonjs, esm or
|
|
38
|
+
This library can be used as commonjs, esm or TypeScript.
|
|
39
39
|
|
|
40
40
|
```javascript
|
|
41
41
|
const knex = require("knex");
|
|
@@ -45,7 +45,7 @@ const db = knex({
|
|
|
45
45
|
client: DB2Dialect,
|
|
46
46
|
connection: {
|
|
47
47
|
host: "localhost", // hostname or ip address of server
|
|
48
|
-
database: "
|
|
48
|
+
database: "*LOCAL", // usually named in your odbc.ini connection
|
|
49
49
|
port: 50000, // default port
|
|
50
50
|
user: "<user>", // IBMi username
|
|
51
51
|
password: "<password>", // IBMi password
|
|
@@ -80,7 +80,7 @@ const db = knex({
|
|
|
80
80
|
client: DB2Dialect,
|
|
81
81
|
connection: {
|
|
82
82
|
host: "localhost", // hostname or ip address of server
|
|
83
|
-
database: "
|
|
83
|
+
database: "*LOCAL", // usually named in your odbc.ini connection
|
|
84
84
|
port: 50000, // default port
|
|
85
85
|
user: "<user>", // IBMi username
|
|
86
86
|
password: "<password>", // IBMi password
|
|
@@ -117,7 +117,7 @@ const config: DB2Config = {
|
|
|
117
117
|
client: DB2Dialect,
|
|
118
118
|
connection: {
|
|
119
119
|
host: "localhost", // hostname or ip address of server
|
|
120
|
-
database: "
|
|
120
|
+
database: "*LOCAL", // usually named in your odbc.ini connection
|
|
121
121
|
port: 50000, // default port
|
|
122
122
|
user: "<user>", // IBMi username
|
|
123
123
|
password: "<password>", // IBMi password
|