DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+1 =
Submit