Пример #1
0
 def query(self, sql):
     if DEBUG:
         print("sending query: %s" % sql)
     self._execute_command(COM_QUERY, sql)
     self._result = MySQLResult(self)
Пример #2
0
 def next_result(self):
     self._result = MySQLResult(self)
Пример #3
0
 def query(self, sql):
     self._execute_command(COMMAND.COM_QUERY, sql)
     self._result = MySQLResult(self)