자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * [getRandomPost description] * @return [type] [description] */ public static function getRandomPost() { return Post::orderByRaw(DB::raw('RAND()'))->limit(5)->get(); }