code: def Query(self, query):
      
      cursor = self._database.cursor()
      cursor.execute(query)
      return cursor
docs: Queries the database.
  
      Args:
        query (str): SQL query.
  
      Returns:
        sqlite3.Cursor: results.
  
      Raises:
        sqlite3.DatabaseError: if querying the database fails.