couchdb-push
couchdb-push copied to clipboard
Support _bulk_docs format support
Sometimes its more convenient to group documents as one JSON file in bulk docs format, e.g.:
{
"docs": [
{
"_id": "london",
"name": "London"
},
{
"_id": "berlin",
"name": "Berlin"
}
]
}
Currently couchdb-{compile,push} operate at a per-document level, which can become unwieldy in some scenarios, for example DB seeding.
The internal format might be best ewline-delimited JSON.