The belongsToMany relationship's firstOrNew , firstOrCreate , and updateOrCreate methods all accept an array of attributes as their first argument.
確定! 回上一頁