Top "Pg-promise" questions

Complete access layer to node-postgres via Promises/A+.

Multi-row insert with pg-promise

I would like to insert multiple rows with a single INSERT query, for example: INSERT INTO tmp(col_a,col_…

node.js postgresql pg-promise
How do I setup Babel 6 with Node JS to use ES6 in my Server Side code?

I have read several times the documentation provided at : Node API Babel 6 Docs I'm starting out learning pg-promise following the …

node.js postgresql babeljs pg-promise
Verify database connection with pg-promise when starting an app

I am building an express application that connects to a postgres database using the pg-promise module. I would like to …

node.js postgresql express pg-promise
Where should I initialize pg-promise

I just started to learn nodejs-postgres and found the pg-promise package. I read the docs and examples but I don't …

javascript pg-promise
Inserting multiple records with pg-promise

I have a scenario in which I need to insert multiple records. I have a table structure like id (it's …

node.js postgresql pg-promise
Query formatting for Parameterized Queries

I am using pg-promise to execute select query with like clause in PostgreSQL. Unfortunately the query is failing with error …

postgresql parameterized-query pg-promise
How to get results from multiple queries at once with pg-promise?

Currently I have the following code to get the results of two queries dbro.many("SELECT geoname_id, country_name …

javascript pg-promise
pg-promise returns integers as strings

I have this simple query to a table that contains a column of type bigint. However when I query it, …

node.js pg-promise
,column <columnName> is of type jsonb but expression is of type text[]

Have array as below, needs to be saved in JSONB column: [{"FoodType":"veg","pref":"High"} ,{"FoodType":"sea food","pref":"Medium"} ,{"…

arrays postgresql jsonb pg-promise
NodeJS, promises, streams - processing large CSV files

I need to build a function for processing large CSV files for use in a bluebird.map() call. Given the …

node.js promise bluebird pg-promise