Support the ongoing development of Laravel.io →

Jafo232

Joined 6 Aug 2014

Statistics

Threads 5
Replies 12
Solutions 2
Articles 0

Eloquent Delete Where

Is there any way to say: Model::delete()->where('whatever', '=', 'whatever'):

0 Likes
1 Replies
Solved

Apply Non Fillable Fields Mass Assignment

When I create an item: Model::create('field' => 'attribute', 'field2' => 'attribute2'); This w...

0 Likes
4 Replies
posted 10 years ago

Dymanic Route

Having a hard time figuring out why this will not work.. In routes.php: if ($apps = Apps::all()) {...

0 Likes
4 Replies
posted 10 years ago

Illegal string offset 'name' when validating against unique

$rules = array( 'first_name' => array('required'), 'last_name' => array('required'), '...

0 Likes
10 Replies
Solved
posted 10 years ago

Reprocess Inputs

Is there a way to modify $_POST and $_GET and then have them available to the Input class? Example:...

0 Likes
2 Replies
replied 8 years ago

Eloquent Delete Where

This cold is getting to me.. I figured it out.. Model::where('whatever', '=', 'whatever')->delet...

0 Likes
Solved
replied 8 years ago

Apply Non Fillable Fields Mass Assignment

Thanks but that would fall into a mass assignment and nonfillables would be ignored. Your previous...

0 Likes
replied 8 years ago

Apply Non Fillable Fields Mass Assignment

Thanks. Yes, I understand the purpose of $fillable, but you should be able to assign fields TO a ma...

0 Likes
replied 10 years ago

Dymanic Route

Are you using a return? Ugh.... Now I feel like an idiot. Too many hours in front of the monitor...

0 Likes
replied 10 years ago

Dymanic Route

Thanks. Artisan returned: | Domain | URI | Name | Action...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.