src/Operations/Fetchable.php
public function one($style = PDO::FETCH_ASSOC)
    {
        $stmt = $this->execute();

        if ($stmt) {
            return $stmt->fetch($style);
        } else {
            return false;
        }
    }
public function one($style = PDO::FETCH_ASSOC)
    {
        $stmt = $this->execute();

        if ($stmt) {
            return $stmt->fetch($style);
        } else {
            return false;
        }
    }
public function one ( $ style = PDO :: FETCH_ASSOC ) { $ stmt = $ this -> execute ( ) ; if ( $ stmt ) { return $ stmt -> fetch ( $ style ) ; } else { return false ; } }
Executes a query and returns the first row.

@param int $style PDO fetch style

@return mixed|bool result
Executes a query and returns the first row .