exists() public method
Returns a value indicating whether the query result contains any row of data.
public boolean exists ( $db = null ) | ||
---|---|---|
$db | yii\mongodb\Connection |
The Mongo connection used to execute the query. If this parameter is not given, the |
return | boolean |
Whether the query result contains any row of data. |
Please login to continue.