{"url":"https://tjtjtj.hatenablog.com/entry/20121005/1349454547","title":"laravel\u306epivot\u3044\u3044\u306a\u3068\u601d\u3063\u305f\u306e\u5dfb","description":"yii ActiveRecord \u306e\u5f31\u70b9 yii ActiveRecord \u306f\u3001many-many\u306e\u4e2d\u9593\u30c6\u30fc\u30d6\u30eb\u306b\u5c5e\u6027\u3092\u4ed8\u3051\u306b\u304f\u3044\u5f31\u70b9\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3053\u3093\u306a\u554f\u984c\u3068\u304b\u3002 Accessing data in a join table with the related models \u3044\u307e\u3060\u306b\u30ad\u30ec\u30a4\u306a\u89e3\u6c7a\u65b9\u6cd5\u304c\u306a\u3044\u3002\u3068\u601d\u3046\u3002\u307b\u3093\u3068\u306b\u306a\u3044\u306e\uff1f laravel \u306f pivot \u3067\u89e3\u6c7a \u4e00\u65b9\u3001laravel\u306a\u3089\u3053\u3046\u66f8\u304f\u3002\u30c6\u30fc\u30d6\u30eb CREATE TABLE viewer ( id INT NOT NULL PRIMARY KEY, name VARCHAR(45)); CREATE TABLE movie\u2026","author_name":"tjtjtjofthedead","blog_url":"https://tjtjtj.hatenablog.com/","image_url":null,"categories":["php","laravel"],"width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftjtjtj.hatenablog.com%2Fentry%2F20121005%2F1349454547\" title=\"laravel\u306epivot\u3044\u3044\u306a\u3068\u601d\u3063\u305f\u306e\u5dfb - tjtjtj\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","blog_title":"tjtjtj\u306e\u30e1\u30e2","height":"190","type":"rich","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/tjtjtjofthedead/","published":"2012-10-05 01:29:07"}