2.5.8 • Published 4 months ago

@themost/mssql v2.5.8

Weekly downloads
58
License
BSD-3-Clause
Repository
github
Last release
4 months ago

@themost/mssql

Most Web Framework MSSQL Adapter

Install

npm install @themost/mssql

Usage

Register MSSQL adapter on app.json as follows:

"adapterTypes": [
    ...
    { "name":"MSSQL Data Adapter", "invariantName": "mssql", "type":"@themost/mssql" }
    ...
],
adapters: [
    ...
    { "name":"development", "invariantName":"mssql", "default":true,
        "options": {
          "server":"localhost",
          "user":"user",
          "password":"password",
          "database":"test"
        }
    }
    ...
]

If you are intended to use MSSQL data adapter as the default database adapter set the property "default" to true.

Transaction Isolation Level

Transaction isolation level controls the locking and row versioning behavior of Transact-SQL statements issued by a connection to SQL Server.

SET TRANSACTION ISOLATION LEVEL
    { READ UNCOMMITTED
    | READ COMMITTED
    | REPEATABLE READ
    | SNAPSHOT
    | SERIALIZABLE
    }

https://learn.microsoft.com/en-us/sql/t-sql/statements/set-transaction-isolation-level-transact-sql?view=sql-server-ver16

Use options/transactionIsolationLevel and define transaction isolation level:

{
    "name":"development",
    "invariantName":"mssql",
    "default":true,
    "options": {
        "server":"localhost",
        "user":"user",
        "password":"password",
        "database":"test",
        "options": {
            "transactionIsolationLevel": "readCommitted"
        }
    }
}

The possible values are readUncommitted | readCommitted | repeatableRead | snapshot | serializable

Development

themost-mssql is a sub-module of Most Web Framework data adapters project

So, checkout parent project

git checkout (https://github.com/themost-framework/themost-adapters.git
2.5.8

4 months ago

2.10.1

5 months ago

2.10.0

5 months ago

2.7.2

7 months ago

2.5.6

7 months ago

2.7.3

7 months ago

2.5.5

7 months ago

2.5.7

7 months ago

2.7.0

11 months ago

2.7.1

11 months ago

2.6.5

1 year ago

2.6.7

1 year ago

2.6.4

1 year ago

2.6.1

2 years ago

2.6.3

2 years ago

2.6.2

2 years ago

2.5.4

3 years ago

2.5.4-next.1

3 years ago

2.5.4-next.0

3 years ago

2.5.3

3 years ago

2.5.3-next.4

4 years ago

2.5.3-next.3

4 years ago

2.5.3-next.2

4 years ago

2.5.3-next.1

4 years ago

2.5.3-next.0

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.1.6

5 years ago

2.1.5

5 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.0-alpha.1

7 years ago

2.0.0-alpha

7 years ago