常用條件. exact. 使用exact相當於是SQL層面的=,如果賦值為None,則在SQL層面將被解釋為null。 book = Book.objects.filter(id__exact=1) book ...
確定! 回上一頁