Is there a function that retrieves data of a particular value from the database?

Is there a function that retrieves data of a particular value from the database?

From a table like this

<id, name, num, topic>

I want to retrieve all the data with the same num, but I don’t know the function for that. Please tell me.

See the docs at Making queries | Django documentation | Django

1 Like