Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to checka query to return User whose first name starts with R or last name starts with D in django

Entity.objects.filter(
    Q(first_name__istartswith="Firstname") | Q(last_name__istartswith="Firstname") |
    Q(first_name__istartswith="Lastname") | Q(last_name__istartswith="Lastname")
    )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #checka #query #return #User #starts #R #starts #D #django
ADD COMMENT
Topic
Name
6+3 =