'Query the database file.'

def Query(self, sql_query):

    results = {}
    try:
        self._connection = sqlite.connect(self.name)
        self._connection.execute(('PRAGMA    journal_mode=%s' % self.journal_mode))
        self._cursor = self._connection.cursor()
        results = self._cursor.execute(sql_query).fetchall()
    except sqlite.Error as error_string:
        logging.warn('SQLite    error    %s', error_string)
    return results
