It should be possible to perform multiple create operations in a single request.
A very common issue is to seed a large collection, via hook db:seed.
Example with JavaScript client:
hook.collection('items').create([
{name: "one"},
{name: "two"},
{name: "three"}
])
Response
[
{_id: 1, name: "one", created_at: "...", updated_at: "..."},
{_id: 2, name: "two", created_at: "...", updated_at: "..."},
{_id: 3, name: "three", created_at: "...", updated_at: "..."}
]
It should be possible to perform multiple
createoperations in a single request.A very common issue is to seed a large collection, via
hook db:seed.Example with JavaScript client:
Response