KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Are the following two calls resolved to the equivalent SQL query in Django? Chaining multiple calls Model.objects \ .filter(arg1=foo) \ .filter(arg2=bar) \ ... Wrapping all the args together: Model.objects \ .filter(arg1=foo, arg2=bar) I'd like code to be readable (there are MANY more filter calls than I've shown), but only if there's no sacrifice to performance.
Tags (comma-separated)
Save Edits
Cancel