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
Collection|array saveMany(Collection|array $models) Attach a collection of models to the parent instance. Parameters Collection|array $models Return Value Collection|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 606 of 996