First page Back Continue Last page Overview Text

Notes:


Next, the invoices are selected.

This code looks very similar to the :dataset option explained previously.

The main difference is that instead of looking for a single matching key, we are looking for all rows where the client's firm_id matches the primary key for any of the firms we are eagerly loading.