void __clone() Force a clone of the underlying query builder when cloning. Return Value void
mixed __call(string $method, array $parameters) Handle dynamic method calls to the relationship. Parameters string $method array $parameters Return Value mixed
string wrap(string $value) Wrap the given value with the parent query's grammar. Parameters string $value Return Value string
Model updateOrCreate(array $attributes, array $values = array()) Create or update a related record matching the attributes, and fill it with values. Parameters array $attributes array $values Return Value Model
string updatedAt() Get the name of the "updated at" column. Return Value string
int update(array $attributes) Perform an update on all the related models. Parameters array $attributes Return Value int
void touch() Touch all of the related models for the relationship. Return Value void
Traversable|array saveMany(Traversable|array $models) Attach a collection of models to the parent instance. Parameters Traversable|array $models Return Value Traversable|array
Model save(Model $model) Attach a model instance to the parent model. Parameters Model $model Return Value Model
string relatedUpdatedAt() Get the name of the related model's "updated at" column. Return Value string
Page 594 of 996