documentation/api/finder/first.md
## Finder::first() ##
Returns the first element of the internally stored result of the executed query. If there is no item to be retrieved, the call returns `null`.
### Parameters ###
*(none)*
### Returns ###
*(mixed)* The first element of the query result or null if there is none.
### Example code ###
```php
<?php
namespace YourApp\Logic;
use Fathomminds\Rest\Database\Clusterpoint\Finder;
class Do
{
public function something()
{
$finder = new Finder;
$items = $finder
->database('php_rest_models_integration_test')
->select(['title', 'status'])
->from('finder')
->where([
['status', '>', 10],
])
->orderBy('status', 'DESC')
->limit(10)
->offset(20)
->get()
->all();
}
}
```