Skip to content

Commit fb09b00

Browse files
authored
Merge pull request #447 from BrendanC23/txn-types
Add SQL_TXN_* types to TypeScript definition
2 parents c934e33 + 3c6ad61 commit fb09b00

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/odbc.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@ declare namespace odbc {
209209

210210
function pool(connectionString: string): Promise<Pool>;
211211
function pool(connectionObject: PoolParameters): Promise<Pool>;
212+
213+
const SQL_TXN_READ_UNCOMMITTED: number;
214+
const SQL_TXN_READ_COMMITTED: number;
215+
const SQL_TXN_REPEATABLE_READ: number;
216+
const SQL_TXN_SERIALIZABLE: number;
212217
}
213218

214219
export = odbc;

0 commit comments

Comments
 (0)