Pivot::usesTimestamps()
  • References/PHP/Laravel/Database/Eloquent/Relations

bool usesTimestamps() Determine if the model uses timestamps.

2025-01-10 15:47:30
MorphPivot::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
MorphPivot::getFillable()
  • References/PHP/Laravel/Database/Eloquent/Relations

array getFillable() Get the fillable attributes for the model.

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

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

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

Builder getRelationCountQuery(

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

$this makeVisible(array|string $attributes) Make the given, typically hidden

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

Builder newQuery()

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

string getCreatedAtColumn() Get the name of the "created at" column.

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

int detach(mixed $ids = array(), bool $touch = true) Detach models from

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

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

2025-01-10 15:47:30