摘要: django中使用原生sql from django.db import connection cursor = connection.cursor() cursor.execute("select * from xx where id=1") row = cursor.fetchone() use 阅读全文