ããå¿ãã¦Googleå çã«å°ããç¾½ç®ã«ãªãã®ã§ã¡ã¢æ¸ãã Djangoã®ãã¼ã¿ãã¼ã¹ã©ããã§ããfilterã使ãæãSQLã§è¨ããwhere a like ...ãããwhere a > 0ãã¨ãããfilterã§ã¯ã©ãæ¸ãã®ãå¿ãã¾ããä¾ãã°å®å ¨ä¸è´ã ã¨ãSQLã®å ´åã¯ãwhere a == ...ãã§ããfilterã®å ´åã¯ãfilter(a__exact=...)ããªããã¯ãfilter(a=...)ãã¨ãªãã¾ãã ã¡ãªã¿ã«ãDBã½ããã«ãã£ã¦ã¯ã大æåå°æååºå¥ãç¡ãã£ãããã¾ãã æå SQLä¸ã§ã®æ¼ç®å Django Filter ä¾ å®å ¨ä¸è´ = a*1 a = ... å®å ¨ä¸è´ = exact a__exact=... 大æåå°æååºå¥ç¡ãã®ä¸è´ iLIKE '...' iexact a__iexact=... 大æåå°æååºå¥æãã®é¨åä¸è´ like '%...%'
{{#tags}}- {{label}}
{{/tags}}