S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What does QuerySet's filter() method return?

  • (A) Single object
  • (B) Dictionary
  • (C) List of models
  • (D) QuerySet
  • Correct Answer - Option(D)
  • Views: 13
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
filter() returns a QuerySet of objects matching the conditions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.