`

Django extra find_in_set

 
阅读更多
  1. House.objects.extra(where=["id In (%s) order by find_in_set(id,'%s')" % (r.idlist, r.idlist.replace(' ', ''))])


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics