mysql Q查詢和F查詢

Q查詢 查看底層SQL def showsql(): from django.db import connection print connection.queries[-1]['sql'] 條件與操做 from student.models import * from django.db.models import Q,F Stu.objects.filter(Q(sno=1)&
相關文章
相關標籤/搜索