public function grabFromCollection($collection, $criteria = [])
    {
        $collection = $this->driver->getDbh()->selectCollection($collection);
        return $collection->findOne($criteria);
    }
public function grabFromCollection($collection, $criteria = [])
    {
        $collection = $this->driver->getDbh()->selectCollection($collection);
        return $collection->findOne($criteria);
    }
public function grabFromCollection ( $ collection , $ criteria = [ ] ) { $ collection = $ this -> driver -> getDbh ( ) -> selectCollection ( $ collection ) ; return $ collection -> findOne ( $ criteria ) ; }
Grabs a data from collection

``` php
<?php
$user = $I->grabFromCollection('users', array('name' => 'miles'));
```

@param $collection
@param array $criteria
@return array
Grabs a data from collection