irankhosravi
1 month ago
262
6
Laravel

How to count number of fields of table

Posted 1 month ago by irankhosravi

I want to show notification for count number of fields register_id of table.

$orderCount = Order::where('plan_id')->count();

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