Как использовать ASC и DESC в latest() в laravel
#php #mysql #laravel #php #mysql #laravel Вопрос: $thread = Thread::with(['messages' => function($q) { $q->with('detail_per_user'); $q->with('post'); $q->with(['forum' => function($sq) { $sq->with(['forum_messages' => function($isq) { $isq->orderBy('id', 'ASC'); }]); }]); $q->with('attachments'); $q->orderBy('id', 'ASC');…