<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>monajiro</author_name>
  <author_url>https://blog.hatena.ne.jp/monajiro/</author_url>
  <blog_title>日記</blog_title>
  <blog_url>https://tnamao.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>Laravel</anon>
  </categories>
  <description>今回は何気なくすっ飛ばしていた、Eloquent のリレーション定義の回です。 オフィシャルドキュメントではこちら。 Eloquent: Relationships - Laravel - The PHP Framework For Web Artisans リレーションの種類 Laravel で用意されているリレーション定義は、 One to One One to Many Many to Many 上記の3つで、まぁ割と一般的。双方向の定義もあるので、実際の定義はもうちょっと増えます。 では順々にリレーション定義を試していきます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnamao.hatenablog.com%2Fentry%2F2015%2F10%2F05%2F190224&quot; title=&quot;Laravel 5.1 入門記 その15 (Eloquent リレーション編) - 日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-05 19:02:24</published>
  <title>Laravel 5.1 入門記 その15 (Eloquent リレーション編)</title>
  <type>rich</type>
  <url>https://tnamao.hatenablog.com/entry/2015/10/05/190224</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
