Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: Many-to-many Unknown column

$
0
0

I have worked out one error (speechmarks) but I still have the same problem in that CourseCategoryID does not exist - which as I say is impossible - its there!!

Amended:

$getCourses = Course::get()->innerJoin("course_coursecategories", "\"Rel\".\"CourseID\" = \"Course\".\"ID\"", "Rel")
    ->where("\"Course\".\"SubjectAreaID\" = $subjectId")
    ->where("\"course_coursecategories\".\"CourseCategoryID\" = $courseCategoryId");

Thanks in advance!


Posted to: Many-to-many Unknown column | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles