Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

django model get all documents with a given foreign key

entities = MyModel.objects.filter(my_field='some value')
 
PREVIOUS NEXT
Tagged: #django #model #documents #foreign #key
ADD COMMENT
Topic
Name
4+2 =