case classFindAndModifyAction(update: SimpleUpdate, returnNew: Boolean = false, upsert: Boolean = false) extends QueryAction[Option[DBObject]] with Product with Serializable
Action that encapsulates find and modify logic. Shall not be used directly.
This action uses sort and project parameters of query to apply them before
document is modified and returned.
update
Update to perform
returnNew
Whether to return newly updated document or document before updates
upsert
whether to perform upsert
Linear Supertypes
Serializable, Serializable, Product, Equals, QueryAction[Option[DBObject]], AnyRef, Any
Action that encapsulates find and modify logic. Shall not be used directly. This action uses sort and project parameters of query to apply them before document is modified and returned.
Update to perform
Whether to return newly updated document or document before updates
whether to perform upsert