MorphPivot::hydrateRaw()
  • References/PHP/Laravel/Database/Eloquent/Relations

static Collection hydrateRaw(string $query

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

static void updating(Closure|string $callback, int $priority)

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

bool getIncrementing() Get the value indicating whether the IDs are incrementing

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

$this setUpdatedAt(mixed $value) Set the value of the "updated at" attribute

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

$this setUpdatedAt(mixed $value) Set the value of the "updated at" attribute

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

$this setDateFormat(string $format) Set the date format used by the model

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

bool|null delete() Delete the pivot model record from the database.

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

string joiningTable(string $related) Get the joining table name for a many-to-many

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

void __clone() Force a clone of the underlying query builder when cloning

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

void touchIfTouching() If we're touching the parent model, touch.

2025-01-10 15:47:30