@bdkinc/knex-ibmi 0.2.6 → 0.2.8
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.d.ts +1 -1
- package/dist/index.js +2 -2
- 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.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ declare class DB2Client extends knex.Client {
|
|
|
63
63
|
schemaCompiler(tableBuilder: any): IBMiSchemaCompiler;
|
|
64
64
|
tableCompiler(tableBuilder: any): IBMiTableCompiler;
|
|
65
65
|
columnCompiler(tableCompiler: any, columnCompiler: any): IBMiColumnCompiler;
|
|
66
|
-
queryCompiler(builder: Knex.QueryBuilder): IBMiQueryCompiler;
|
|
66
|
+
queryCompiler(builder: Knex.QueryBuilder, bindings?: any[]): IBMiQueryCompiler;
|
|
67
67
|
processResponse(obj: any, runner: any): any;
|
|
68
68
|
}
|
|
69
69
|
interface DB2PoolConfig {
|
package/dist/index.js
CHANGED
|
@@ -463,8 +463,8 @@ var DB2Client = class extends import_knex.knex.Client {
|
|
|
463
463
|
columnCompiler(tableCompiler, columnCompiler) {
|
|
464
464
|
return new ibmi_columncompiler_default(this, tableCompiler, columnCompiler);
|
|
465
465
|
}
|
|
466
|
-
queryCompiler(builder) {
|
|
467
|
-
return new ibmi_querycompiler_default(this, builder);
|
|
466
|
+
queryCompiler(builder, bindings) {
|
|
467
|
+
return new ibmi_querycompiler_default(this, builder, bindings);
|
|
468
468
|
}
|
|
469
469
|
processResponse(obj, runner) {
|
|
470
470
|
if (obj === null) return null;
|