/**
* Execute the query and get the first result.
*
* @param array $columns
*
* @return mixed|static
*/
public function first($columns = ['*'])
{
$this->query->take(1);
$results = $this->get($columns);
if ($results instanceof Collection) {
return $results->first();
}
return count($results) > 0 ? reset($results) : null;
}