Answers for "Laravel SQLSTATE[HY093] with array query"

SQL
0

Laravel SQLSTATE[HY093] with array query

$lessonIDs = DB::table($personType."_has_lesson")->where("id",$userID)->pluck("lesson_id");
$lessons = DB::table("lesson")->whereIn("lesson_id",$lessonIDs)->get();
Posted by: Guest on May-09-2022

Code answers related to "SQL"

Browse Popular Code Answers by Language