A

Admin • 833.24K Points
Coach

Q. What does the values() method return in a queryset?

  • (A) Model instances
  • (B) Dictionaries
  • (C) Lists
  • (D) Tuples
  • Correct Answer - Option(B)
  • Views: 34
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

values() returns a queryset of dictionaries containing the specified fields.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.