标签:cti HERE code color bsp connect nbsp port sele
from django.db import connection, connections cursor = connection.cursor() # cursor = connections[‘default‘].cursor() cursor.execute("""SELECT * from auth_user where id = %s""", [1]) ret = cursor.fetchone()
有点像pymysql
标签:cti HERE code color bsp connect nbsp port sele
原文地址:https://www.cnblogs.com/wt7018/p/11332481.html