DMGOCollection.findAndModify

Combines a modify and find operation to a single atomic operation.

  1. Bson findAndModify(T query, U update, V returnFieldSelector)
    class DMGOCollection
    @safe
    Bson
    findAndModify
    (
    T
    U
    V
    )
  2. Bson findAndModify(T query, U update)

Meta