Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django filter word count greater than

Item.objects.extra(where=["LENGTH(notes) - LENGTH(REPLACE(notes, ' ', ''))+1 > %s"], params=[25])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #filter #word #count #greater
ADD COMMENT
Topic
Name
4+1 =