is there any way to get only two column from second table? i.e. select sub_title and sub_description from sub_courses table

前端 未结 0 1223
醉梦人生
醉梦人生 2021-01-20 17:36

enter code hereCourse::where(\'price\', \'>=\', $min)->where(\'price\', \'<=\', $max)->with(\'subCourse\')->get();

相关标签:
回答
  • 消灭零回复
提交回复
热议问题