mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Allow undefined bind parameters (#38496)
This commit is contained in:
parent
48229011b8
commit
1607336d36
2
types/oracledb/index.d.ts
vendored
2
types/oracledb/index.d.ts
vendored
@ -578,7 +578,7 @@ declare namespace OracleDB {
|
||||
*
|
||||
* @see https://oracle.github.io/node-oracledb/doc/api.html#executebindParams
|
||||
*/
|
||||
type BindParameters = Record<string, BindParameter | string | number | Date | DBObject | Buffer | null> | BindParameter[] | any[];
|
||||
type BindParameters = Record<string, BindParameter | string | number | Date | DBObject | Buffer | null | undefined> | BindParameter[] | any[];
|
||||
|
||||
interface CloseConnectionOptions {
|
||||
/**
|
||||
|
||||
@ -143,7 +143,9 @@ const testResultSet = async (connection: oracledb.Connection): Promise<void> =>
|
||||
SELECT 2 FROM DUAL
|
||||
UNION
|
||||
SELECT 3 FROM DUAL`,
|
||||
{},
|
||||
{
|
||||
test: undefined,
|
||||
},
|
||||
{
|
||||
resultSet: true,
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user