Connect To PostgreSQL

suggest change

Using PostgreSQLnpm module. install dependency from npm

npm  install pg --save

Now you have to create a PostgreSQL connection, which you can later query.

Assume you Database_Name = students, Host = localhost and DB_User= postgres

var pg = require("pg")
var connectionString = "pg://postgres:postgres@localhost:5432/students";
var client = new pg.Client(connectionString);
client.connect();

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


PostgreSQL integration:
* Connect To PostgreSQL

Table Of Contents
1 npm
41 cli
43 grunt
59 Hack
64 ES6
67 Redis
69 MongoDB
75 PostgreSQL integration
86 MongoDB
87 Lodash
91 CORS
105 N-API
108 Require