You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose a clarification to the documentation of the begin method.
isolationLevel - Controls the locking and row versioning behavior of TSQL statements issued by a connection. Optional. READ_COMMITTED by default. For possible values see sql.ISOLATION_LEVEL.
It is not clear to me if that is a string READ_COMMITTED or the value of the sql.ISOLATION_LEVEL map.
I was using a string and I thought that worked, but I switched to the mssqlnodev8 driver and it complained with the error
Invalid isolation level.
So two improvements suggested:
Changing the begin example to show some isolation level would make it.
Make both drivers consistent, by throwing an error when the isolation level is unknown
The text was updated successfully, but these errors were encountered:
I would like to propose a clarification to the documentation of the
begin
method.It is not clear to me if that is a string
READ_COMMITTED
or the value of thesql.ISOLATION_LEVEL
map.I was using a string and I thought that worked, but I switched to the
mssqlnodev8
driver and it complained with the errorSo two improvements suggested:
begin
example to show some isolation level would make it.The text was updated successfully, but these errors were encountered: