Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

eloquent find and update

DB::table('post')
            ->where('id', 3)
            ->update(['title' => "Updated Title"]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #eloquent #find #update
ADD COMMENT
Topic
Name
2+6 =