Earlier quoted context omitted.
Since the relational model is very set-oriented, it has always had a particularly hard time dealing with ordered lists. But that's really a minor thing, and is actually something an ORM can do well to abstract. My real headache with ORM has always been to get it to perform efficiently. For example, say I want to iterate through the GPA's of all the students. To do so, the ORM usually pulls in the full object model fo…
I've used ORM tools such as the one in Django, Active::Record and DBIx::Class. I do not have the issues you mentioned ... I always remember the API calls I need to make and performance has not been an issue (granted, I'm fairly familiar with all issues that can come up, so I know when or where to optimize in general). the ORM usually pulls in the full object model for each student Here's how to do it in Django (and n…
A clearer version would probably be:
for student in Student.objects.only('gpa'):
print student.gpa