First page Back Continue Last page Overview Text


For each of those positions, we want all the employees of that position. Some ruby ORMs will run a separate query for each employee, since you didn't tell it explicitly that you wanted to eager load.

Other ruby ORMs will issue a single query to get all of the employees for all of the positions with ids less than 100.