(no title)
lukewink | 9 years ago
1. For a given school, return all the students
2. For a given school, return all the classes
In the last data model given (the correct one), the above 2 things can't be done (I think) without doing something funky like enumerating all the Enrollments and finding unique students/classes. In order to modify the data model to provide the needed information, wouldn't you run into the same borrow checker problems?
No comments yet.