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

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

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

Pivot newPivot(array $attributes = array()

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

string wrap(string $value) Wrap the given value with the parent query's

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

mixed getParentKey() Get the key value of the parent's local key.

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

string getMorphType() Get the foreign key "type" name.

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

string getRelationCountHash() Get a relationship join table hash.

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

Builder|

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

string getQualifiedParentKeyName() Get the fully qualified parent key name

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

array attributesToArray() Convert the model's attributes to an array.

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

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

2025-01-10 15:47:30