Skip to content
Snippets Groups Projects
Commit 48298f5c authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

"json2couch" --> "json2couchdb"

parent e5644196
Branches main
No related tags found
No related merge requests found
...@@ -37,15 +37,15 @@ optional arguments: ...@@ -37,15 +37,15 @@ optional arguments:
### Send the content of files ### Send the content of files
``` ```
python3 json2couch.py -d xxx '*.json' python3 json2couchdb.py -d xxx '*.json'
``` ```
### Read content from standard input ### Read content from standard input
``` ```
cat foo.json | python3 json2couch.py -d xxx - cat foo.json | python3 json2couchdb.py -d xxx -
curl -s http://myhost:5984/xxx/mydocument | python3 json2couch.py -H myhost -d yyy - curl -s http://myhost:5984/xxx/mydocument | python3 json2couchdb.py -H myhost -d yyy -
``` ```
Note: When reading from standard input, the JSON structure must contain an `_id` entry. Note: When reading from standard input, the JSON structure must contain an `_id` entry.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment