KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a model Employees and I would like to have a QuerySet of all rows, but with some specific fields from each row, and not all fields. I know how to query all rows from the table/model: Employees.objects.all() I would like to know how to select fields for each of the Queryset element. How can I do that?
Tags (comma-separated)
Save Edits
Cancel