|
1 | | -/* Copyright (c) 2015, 2023, Oracle and/or its affiliates. */ |
| 1 | +/* Copyright (c) 2015, 2024, Oracle and/or its affiliates. */ |
2 | 2 |
|
3 | 3 | /****************************************************************************** |
4 | 4 | * |
@@ -72,8 +72,6 @@ describe('4. binding.js', function() { |
72 | 72 | { type: oracledb.STRING, dir: oracledb.BIND_OUT } |
73 | 73 | ]); |
74 | 74 |
|
75 | | - // console.log(result); |
76 | | - |
77 | 75 | assert.deepStrictEqual(result.outBinds, ['abcdef']); |
78 | 76 | await connection.execute("DROP PROCEDURE nodb_bindproc1"); |
79 | 77 |
|
@@ -276,7 +274,8 @@ describe('4. binding.js', function() { |
276 | 274 | {sql: 'insert into nodb_binding1 (id, name) values (:1, :2) returning ( id + 2 )into :3', rowsAffected: 1, resultVal: [[3]]}, |
277 | 275 | {sql: 'insert into nodb_binding1 (id, name) values (:1, :2) returning ( id + 2 + 5)into :3', rowsAffected: 1, resultVal: [[8]]}, |
278 | 276 | {sql: 'insert into nodb_binding1 (id, name) values (:1, :2) returning ( id * 2 )into :3', rowsAffected: 1, resultVal: [[2]]}, |
279 | | - {sql: 'insert into nodb_binding1 (id, name) values (:1, :2)returning ( id * 2 )into :3', rowsAffected: 1, resultVal: [[2]]} |
| 277 | + {sql: 'insert into nodb_binding1 (id, name) values (:1, :2)returning ( id * 2 )into :3', rowsAffected: 1, resultVal: [[2]]}, |
| 278 | + {sql: 'insert into nodb_binding1 (id, name) values (: 1, : 2)returning ( id * 2 )into :3', rowsAffected: 1, resultVal: [[2]]} |
280 | 279 | ]; |
281 | 280 | for (const sqlObj of sqlStrings) { |
282 | 281 | const result = await connection.execute(sqlObj.sql, bindsOutNumber); |
|
0 commit comments