Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django or

from django.db.models import Q
User.objects.filter(Q(income__gte=5000) | Q(income__isnull=True))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django
ADD COMMENT
Topic
Name
2+7 =