JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q21451F
  • License BSD-3-Clause

MOST Web Framework MSSQL Data Adapter

Package Exports

  • most-data-mssql

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (most-data-mssql) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

most-data-mssql

Most Web Framework MSSQL Adapter

Install

$ npm install most-data-mssql

Usage

Register MSSQL adapter on app.json as follows:

"adapterTypes": [
    ...
    { "name":"MSSQL Data Adapter", "invariantName": "mssql", "type":"most-data-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.

Connect to Azure SQL Databases

If you are going to use adapter against Azure SQL databases you must always enable encrypt option in your connection settings:

adapters: [
    ...
    { "name":"development", "invariantName":"mssql", "default":true,
        "options": {
          "server":"localhost",
          "user":"user",
          "password":"password",
          "database":"test",
          "options": {
                "encrypt": true
          }
        }
    }
    ...
]