qobjects = [
{
question: "What is a correct syntax for returning the result as dictionary, with the names and values as key/value pairs?",
options: [
"Member.objects.all().dict()",
"Member.objects.all().values()",
"Member.objects.all().records()"
],
correct: 1
},
{
question: "What is a correct syntax for returning only the specified columns?",
options: [
"Member.objects.values_list('firstname')",
"Member.objects.value('firstname')",
"Member.objects.value_list('firstname')"
],
correct: 0
},
{
fillintheblanks: "exercise_queryset1.htm"
}
]