Skip to content

SandeshSarfare/loopback-connector-mssql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loopback-connector-mssql

loopback-connector-mssql is the Microsoft SQL Server connector module for loopback-datasource-juggler.

For complete documentation, see StrongLoop Documentation | SQL Server Connector.

Installation

npm install loopback-connector-mssql --save

Basic use

To use it you need loopback-datasource-juggler.

  1. Setup dependencies in package.json:

    {
      ...
      "dependencies": {
        "loopback-datasource-juggler": "latest",
        "loopback-connector-mssql": "latest"
      },
      ...
    }
  2. Use:

        var DataSource = require('loopback-datasource-juggler').DataSource;
        var dataSource = new DataSource('mssql', {
            host: 'demo.strongloop.com',
            port: 1433,
            database: 'mydb',
            username: 'myuser',
            password: 'mypass'
        });

About

LoopBack Connector for Microsoft SQL Server (MSSQL)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%