def query_fetch_all(self, query, values):
self.cursor.execute(query, values)<EOL>retval = self.cursor.fetchall()<EOL>self.__close_db()<EOL>return retval<EOL>
Executes a db query, gets all the values, and closes the connection.