HasMany::addConstraints()
  • References/PHP/Laravel/Database/Eloquent/Relations

void addConstraints() Set the base constraints on the relation query.

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

Collection findMany(mixed $ids, array $columns

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

void addConstraints() Set the base constraints on the relation query.

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

string relatedUpdatedAt() Get the name of the related model's "updated

2025-01-10 15:47:30
Model::getForeignKey()
  • References/PHP/Laravel/Database/Eloquent

string getForeignKey() Get the default foreign key name for the model.

2025-01-10 15:47:30
Collection::reduce()
  • References/PHP/Laravel/Database/Eloquent

mixed reduce(callable $callback, mixed $initial = null) Reduce the collection

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

array getCasts() Get the casts array. Return

2025-01-10 15:47:30
Builder::where()
  • References/PHP/Laravel/Database/Eloquent

$this where(string|Closure $column, string $operator = null, mixed $value = null, string $boolean

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

bool relationLoaded(string $key) Determine if the given relation is loaded

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

bool save(array $options = array()) Save the model to the database.

2025-01-10 15:47:30