MorphOneOrMany::rawUpdate()
  • References/PHP/Laravel/Database/Eloquent/Relations

int rawUpdate(array $attributes = array()) Run a raw update against the

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
BelongsToMany::saveMany()
  • References/PHP/Laravel/Database/Eloquent/Relations

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

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

Collection newCollection(array $models = array())

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

string getHasCompareKey() Get the key for comparing against the parent

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

mixed fromJson(string $value, bool $asObject = false) Decode the given

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

bool isGuarded(string $key) Determine if the given key is guarded.

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

int updateExistingPivot(mixed $id, array $attributes, bool $touch = true)

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

mixed getResults() Get the results of the relationship.

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

Collection getEager()

2025-01-10 15:47:30