def query(self, sql): if DEBUG: print("sending query: %s" % sql) self._execute_command(COM_QUERY, sql) self._result = MySQLResult(self)
def next_result(self): self._result = MySQLResult(self)
def query(self, sql): self._execute_command(COMMAND.COM_QUERY, sql) self._result = MySQLResult(self)