1.0.0 • Published 6 years ago

psql-handler-nt v1.0.0

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
6 years ago

PSQL Handler

This module allows a simple connection to a postgres database. It uses the pg-promise module.

Installation

$ yarn install psql-handler-nt --save

Documentation

  • connect(config) This function connects to the postgres @param config {object}

    	Example of config
    	````json
    	{ 
    	    "host": "127.0.0.1",

    "port": 5432, "database": "test", "user": "user", "password": "SECRET" }

    	````
  • connection() Returns the current connection

1.0.0

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago