Django Raw and Raw SQL
Django Raw and Raw SQLpublished on 02 Mar 2010
Django Raw is pretty sweet. Basically, you use it like so:
from models import Model query = "SELECT * FROM model" models = Model.objects.raw(query)
欢迎分享,转载请注明来源:内存溢出
Django Raw and Raw SQL
Django Raw and Raw SQLpublished on 02 Mar 2010
Django Raw is pretty sweet. Basically, you use it like so:
from models import Model query = "SELECT * FROM model" models = Model.objects.raw(query)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)