📅  最后修改于: 2022-03-11 14:54:36.637000             🧑  作者: Mango
Model::select('column')->where('column','value')->inRandomOrder()
->limit(2) // here is yours limit
->get();
------------------ OR --------------------
Model::inRandomOrder()->select('column')->where('column','value')->first();