mongodb\file\Collection find()

find() public method

Returns a cursor for the search results.

In order to perform "find" queries use yii\mongodb\file\Query class.

public yii\mongodb\file\Cursor find ( $condition = [], $fields = [], $options = [] )
$condition array

Query condition

$fields array

Fields to be selected

$options array

Query options (available since 2.1).

return yii\mongodb\file\Cursor

Cursor for the search results

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

Please login to continue.