摘要: Class cursor.MySQLCursorBuffered该类从Class cursor.MySQLCursorBuffered继承,如果需要,可以在执行完SQL语句后自动缓冲结果集合。import mysql.connectorcnx = mysql.connector.connect()# Only this particular cursor will buffer resultscnx.cursor(buffered=True)# All cursors will be buffering by defaultcnx2 = mysql.connector.connect(buff 阅读全文
posted @ 2013-08-09 13:57 bigbigtree 阅读(2208) 评论(0) 推荐(0)
摘要: Class cursor.MySQLCursor具体方法和属性如下:Constructor cursor.MySQLCursorMethod MySQLCursor.callproc(procname, args=())Method MySQLCursor.close()Method MySQLCursor.execute(operation, params=None, multi=False)Method MySQLCursor.executemany(operation, seq_params)Method MySQLCursor.fetchall()Method MySQLCursor. 阅读全文
posted @ 2013-08-09 10:06 bigbigtree 阅读(5812) 评论(0) 推荐(0)