Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kbarbounakis/most-data-mssql
Most Web Framework MSSQL Adapter
https://github.com/kbarbounakis/most-data-mssql
Last synced: about 1 month ago
JSON representation
Most Web Framework MSSQL Adapter
- Host: GitHub
- URL: https://github.com/kbarbounakis/most-data-mssql
- Owner: kbarbounakis
- License: other
- Created: 2015-08-26T05:57:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T04:59:33.000Z (about 7 years ago)
- Last Synced: 2024-09-29T14:41:43.177Z (about 2 months ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
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
}
}
}
...
]