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.
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.