public static function getRandomAuctions($limit = 1) { return Auction::whereNull('buyer_id')->where('enddate', '>', Carbon::now())->orderByRaw("RAND()")->take($limit)->get(); }