public function first()
    {
        $oldLimit = $this->limit;
        $this->limit = 1;
        $rows = $this->get();
        $this->limit = $oldLimit;
        return isset($rows[0]) ? $rows[0] : null;
    }
public function first()
    {
        $oldLimit = $this->limit;
        $this->limit = 1;
        $rows = $this->get();
        $this->limit = $oldLimit;
        return isset($rows[0]) ? $rows[0] : null;
    }
public function first ( ) { $ oldLimit = $ this -> limit ; $ this -> limit = 1 ; $ rows = $ this -> get ( ) ; $ this -> limit = $ oldLimit ; return isset ( $ rows [ 0 ] ) ? $ rows [ 0 ] : null ; }
Returns a single row as assoc array
@return string[string]
Returns a single row as assoc array