Answers for "update many to many laravel example laravel 8"

PHP
1

update many laravel

$post->comments()->updateMany([
    [
        'message' => 'A new comment.',
    ],
    [
        'message' => 'Another new comment.',
    ],
]);
Posted by: Guest on December-18-2020

Code answers related to "update many to many laravel example laravel 8"

Browse Popular Code Answers by Language