source/core/datasystem/database/MDatabaseConnection.php
public function query($sqlCommand)
    {
        $result = $this->connection->query($sqlCommand);
        if ($this->getError() != null ) {
            throw new MWebfilesFrameworkException("Error orrured on executing sql: " . $this->getError() .", SQL: " . $sqlCommand);
        }

        return $result;
    }
public function query($sqlCommand)
    {
        $result = $this->connection->query($sqlCommand);
        if ($this->getError() != null ) {
            throw new MWebfilesFrameworkException("Error orrured on executing sql: " . $this->getError() .", SQL: " . $sqlCommand);
        }

        return $result;
    }
public function query ( $ sqlCommand ) { $ result = $ this -> connection -> query ( $ sqlCommand ) ; if ( $ this -> getError ( ) != null ) { throw new MWebfilesFrameworkException ( "Error orrured on executing sql: " . $ this -> getError ( ) . ", SQL: " . $ sqlCommand ) ; } return $ result ; }
queries the database with the specified sql command

@param $sqlCommand
@return bool|\mysqli_result
@internal param String $p_sSqlCommand
queries the database with the specified sql command