Skip to content

cityssm/node-mssql-system-catalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mssql-system-catalog

npm Maintainability codecov Coverage Testing DeepSource

Helper functions to query a SQL Server database's system catalog.

Installation

npm install @cityssm/mssql-system-catalog

Usage

import { getTables } from '@cityssm/mssql-system-catalog'
import mssql from 'mssql'

const pool = await mssql.connect({
  /* mssql config settings */
})

const databaseTables = await getTables(pool)

const databaseViews = await getViews(pool)

Related Projects

@cityssm/mssql-multi-pool
A simple way to manage connections to multiple SQL Server databases using the Node.js Tedious package (node-mssql).