First page Back Continue Last page Overview Text


For example, let's say you have a teams table storing teams and a join table that associates employees with teams, such that an employee can be on multiple teams at the same time.

With Sequel, you can easily define an association that for a given employee, returns all of the employees on all of the teams that that employee is on.