BelongsToMany::saveMany()
  • References/PHP/Laravel/Database/Eloquent/Relations

array saveMany(Collection|array $models, array $joinings = array())

2025-01-10 15:47:30
MorphPivot::getKey()
  • References/PHP/Laravel/Database/Eloquent/Relations

mixed getKey() Get the value of the model's primary key.

2025-01-10 15:47:30
MorphPivot::getPerPage()
  • References/PHP/Laravel/Database/Eloquent/Relations

int getPerPage() Get the number of models to return per page.

2025-01-10 15:47:30
HasManyThrough::addEagerConstraints()
  • References/PHP/Laravel/Database/Eloquent/Relations

void addEagerConstraints(array $models) Set the constraints for an eager

2025-01-10 15:47:30
Pivot::addVisible()
  • References/PHP/Laravel/Database/Eloquent/Relations

void addVisible(array|string|null $attributes = null) Add visible attributes

2025-01-10 15:47:30
MorphPivot::setTable()
  • References/PHP/Laravel/Database/Eloquent/Relations

$this setTable(string $table) Set the table associated with the model.

2025-01-10 15:47:30
MorphOneOrMany::updateOrCreate()
  • References/PHP/Laravel/Database/Eloquent/Relations

Model updateOrCreate(array $attributes, array $values = array())

2025-01-10 15:47:30
BelongsTo::getBaseQuery()
  • References/PHP/Laravel/Database/Eloquent/Relations

Builder getBaseQuery()

2025-01-10 15:47:30
Pivot::setKeyName()
  • References/PHP/Laravel/Database/Eloquent/Relations

$this setKeyName(string $key) Set the primary key for the model.

2025-01-10 15:47:30
HasManyThrough::getThroughKey()
  • References/PHP/Laravel/Database/Eloquent/Relations

string getThroughKey() Get the qualified foreign key on the "through" model

2025-01-10 15:47:30