D
Size: a a a
D
AH
SN
problems
where exists (select * from frames
where problems
.frames_id
= frames
.id
and exists (select * from lesson_contents
where frames
.lesson_content_id
= lesson_contents
.id
and frames
.lesson_contents
.hidden
= 0)) and frame_id
= 2)M
ИЛ
SN
SN
AH
K
K
public function video(Category $category, Video $video){
$videos = $category
->videos()
->orderBy('created_at', 'DESC')
->paginate(5)
->map(function (Video $video) use ($category) {
return $video->setRelation('category', $category);
});
$lastposts = Post::select('id', 'title','created_at', 'counter', 'category_id')
->with('category')
->orderBy('created_at', 'DESC')
->limit(5)
->get();
return view('video.list', compact('category', 'lastposts', 'videos'));
}
K
AN
YA
public function video(Category $category, Video $video){
$videos = $category
->videos()
->orderBy('created_at', 'DESC')
->paginate(5)
->map(function (Video $video) use ($category) {
return $video->setRelation('category', $category);
});
$lastposts = Post::select('id', 'title','created_at', 'counter', 'category_id')
->with('category')
->orderBy('created_at', 'DESC')
->limit(5)
->get();
return view('video.list', compact('category', 'lastposts', 'videos'));
}
YA
K
YA
A
public function video(Category $category, Video $video){
$videos = $category
->videos()
->orderBy('created_at', 'DESC')
->paginate(5)
->map(function (Video $video) use ($category) {
return $video->setRelation('category', $category);
});
$lastposts = Post::select('id', 'title','created_at', 'counter', 'category_id')
->with('category')
->orderBy('created_at', 'DESC')
->limit(5)
->get();
return view('video.list', compact('category', 'lastposts', 'videos'));
}
K
SN
Column not found: 1054 Unknown column 'frame.lesson_contents.hidden' in 'where clause'
SN