losowa kolumna Laravel z limitem
Model::select('column')
->where('column','value')
->inRandomOrder()
->limit(2) // here is yours limit
->get();
Fahim Foysal
Model::select('column')
->where('column','value')
->inRandomOrder()
->limit(2) // here is yours limit
->get();