1.0.1 • Published 2 years ago

playwright-common v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Playwright-Common

Installation

To use this package, run following command

npm i playwright-common

Usage

const { SelectQuery } = require("playwright-common/src/DbManager");

const connectionPool = {
  server: 'your_server.database.windows.net',  //update
  authentication: {
    type: 'default',
    options: {
      userName: 'your_username', //update 
      password: 'your_password'  //update 
    }
  },
  options: {
    encrypt: true,
    database: 'your_database'  //update 
  }
}

const selectQuery = new SelectQuery(connectionPool);

const result = selectQuery.runSelectQuery('Write your select query here!');
console.log(result)

Thank-you!