When does this code load data into memory?1 sandwiches = Sandwich.objects.filter(is_vegan=True)2 for sandwich in sandwiches:3 print(sandwich.name + ' - ' + sandwich.spice_level)

🎲 Try a Random Question  |  Total Questions in Quiz: 61  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Django Quiz — practice the complete quiz, review flashcards, or try a random question.

Django MCQs For LinkedIn Skill Assessments.


When does this code load data into memory?<br><br>1 sandwiches = Sandwich.objects.filter(is_vegan=True)<br>2 for sandwich in sandwiches:<br>3 print(sandwich.name + ' - ' + sandwich.spice_level)<br>