Skip to content

Commit

Permalink
Add a note about queryTimeout option
Browse files Browse the repository at this point in the history
Signed-off-by: Levko Kravets <[email protected]>
  • Loading branch information
kravets-levko committed Apr 23, 2024
1 parent 2e6c094 commit ddfbb09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/contracts/IDBSQLSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import InfoValue from '../dto/InfoValue';
import { DBSQLParameter, DBSQLParameterValue } from '../DBSQLParameter';

export type ExecuteStatementOptions = {
/**
* The number of seconds after which the query will time out on the server.
* Effective only with Compute clusters. For SQL Warehouses, `STATEMENT_TIMEOUT`
* configuration should be used
*/
queryTimeout?: number | bigint | Int64;
/**
* @deprecated This option is no longer supported and will be removed in future releases
Expand Down

0 comments on commit ddfbb09

Please sign in to comment.