find() public method
Performs find query.
public \MongoDB\Driver\Cursor find ( $collectionName, $condition, $options = [] ) | ||
---|---|---|
$collectionName | string |
Collection name |
$condition | array |
Filter condition |
$options | array |
Query options. |
return | \MongoDB\Driver\Cursor |
Result cursor. |
Please login to continue.