increment()

Signal that we desire an increment of this documents version.

Example:

  1. Model.findById(id, function (err, doc) {
  2. doc.increment();
  3. doc.save(function (err) { .. })
  4. })