protected function executeAndGetResultsAsEntity(PreparableSqlInterface $query)
    {
        $data = $this->execute($query)->current();

        if (! $data || count($data) === 0) {
            return false;
        }

        return $data;
    }