mongodb\QueryBuilder findAndModify()

findAndModify() public method

Generates 'find and modify' command.

public array findAndModify ( $collectionName, $condition = [], $update = [], $options = [] )
$collectionName string

Collection name

$condition array

Filter condition

$update array

Update criteria

$options array

List of options in format: optionName => optionValue.

return array

Command document.

doc_Yii
2016-10-30 17:09:08
Comments
Leave a Comment

Please login to continue.