code: public function selectRow($sql, array $parameters = [])
      {
          $statement = $this->select($sql, $parameters);
  
          if ($statement === null) {
              return false;
          }
  
          $row = $this->read($statement);
          if ($row === false) {
              $row = [];
          }
  
          $statement->closeCursor();
          $statement = null;
  
          return $row;
      }
docs: @param string $sql
  @param array  $parameters
  
  @throws DatabaseException
  
  @return array|bool