ManyToManyPivots

A companion for the ManyToManyIds column that returns the matching pivot models instead of the ids.

  1. Overview
  2. many_to_many_column_name

Overview

See ManyToManyIdsWithData for an example of how to use it (but note that it works just the same for the ManyToManyIds column).

many_to_many_column_name

Required

The name of the many-to-many column we are attached to.