A name for the collection.
Delete all instances in the collection.
Count all instances matching the query.
Mongodb-style filter query.
Remove (multiple) instance(s) by id.
A variadic array of instance ids.
Check that (all) instance(s) exists.
Insert (multiple) new instance(s).
A variadic array of instances.
Lock the collection for readonly operations.
A callback that takes a readonly collection.
Save updates to (multiple) instance(s).
A variadic array of instances.
Lock the collection for exclusive write operations.
A callback that takes a collection.
Collection is a group of instances sharing a schema. Collections are like db tables. They can only exist in a db.