Skip to content

The Knex MSSQL dialect with Windows Integrated Authentication (WIA) support.

License

Notifications You must be signed in to change notification settings

darwinai/knex-mssqlwa

Repository files navigation

Knex MSSQL Client with Windows Authentication (WA) Support

npm version npm downloads

This Knex dialect allows connecting to a MSSQL database using the windows auth.

This work is branched off the Knex v2.5.1 MSSQL dialect.

Usage

import { mssqlwa } from 'knex-mssqlwa';

const knex = require('knex')({
    client: mssqlwa,
    driver: 'SQL Server Native Client 11.0',
    connection: {
        host: '127.0.0.1',
        database: 'myapp_test',
        port: 1433,
        options: {
            encrypt: true,
            trustedConnection: true,
            trustServerCertificate: true,
          },
    }
);

About

The Knex MSSQL dialect with Windows Integrated Authentication (WIA) support.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published