Little bug in update code
Closed this issue · 3 comments
gianfrasoft commented
DB::table('name')->where('name', '=', 'John')
->update(array('email', 'john@example2.com'));
should be:
DB::table('name')->where('name', '=', 'John')
->update(array('email' => 'john@example2.com'));
Thank you!!!
JesseObrien commented
Yep! Sorry I missed that.
JesseObrien commented
Yep! Sorry I missed that.