pg-records-to-json
Create a JSON output based on provided query
Installation
npm i -g pg-records-to-json
Usage
PGDATABASE=example QUERY="SELECT username FROM users" pg-records-to-json
Create a JSON output based on provided query
npm i -g pg-records-to-json
PGDATABASE=example QUERY="SELECT username FROM users" pg-records-to-json
npm i pg-records-to-json
0
1.0.2
MIT