converting a DB:select() to query builder in laravel 7

前端 未结 0 1252
感动是毒
感动是毒 2021-01-17 02:47

I have Users, Courses models with many-to-many relationship.

the pivot is the default one which contains:

id, user_id, course_id

my query is this:

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