gianmarx
1 month ago
110
3
Laravel

tinker change data

Posted 1 month ago by gianmarx

I would like to enter 10 data for example and then change the status of two tuples how can I do?

$a = Poll::factory()->count(2)->state(['status'=>'B'])->make();

turns but does not modify the fields in the DB

Please sign in or create an account to participate in this conversation.