0.2.1 • Published 9 years ago

pg-json-import v0.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

pg-json-import

pg-json-import lets you take data from a JSON file, and insert it into a table on a postgres DB

Installation

Install the tool with npm

npm install -g pg-import-json

Usage

  $ pji --file filename.json -c postgresql://localhost:5432/mydb -t tablename
  $ pji --file filename.json --database dbname --table tablename
  $ pji --file filename.json --host host --port port --database dbname --table tablename

  -f, --file file     The JSON file to load
  -c, --connection    A connection string to PostgreSQL. i.e. postgresql://localhost:5432/mydb
  -t, --table         The table name where data should be imported
  --help              show this message
0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago