Clip Success!!

5 PV

php - hasMany vs belongsToMany in laravel 5.x - Stack Overflow

167日前

http://stackoverflow.com/

I'm curious why the Eloquent relationship for hasMany has a different signature than for belongsToMany. Specifically the custom join table name-- for a system where a given Comment belongs to many ...