Skip to content

Commit d19dbc6

Browse files
authored
fix: add the enableArithAbort option to the sql server connection option typings (#5526)
1 parent 26ce6bc commit d19dbc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/driver/sqlserver/SqlServerConnectionOptions.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,11 @@ export interface SqlServerConnectionOptions extends BaseConnectionOptions, SqlSe
258258
* The versions are available from require('tedious').TDS_VERSION. (default: 7_4).
259259
*/
260260
readonly tdsVersion?: string;
261+
262+
/**
263+
* A boolean, that when true will abort a query when an overflow or divide-by-zero error occurs during query execution.
264+
*/
265+
readonly enableArithAbort?: boolean
261266
};
262267

263268
/**

0 commit comments

Comments
 (0)