<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>CakePHP</anon>
  </categories>
  <description>cakephpのversion：1.2.2.8120 今回JOINしたかったのは、A、B、Cという３つのテーブル。 JOINの条件としては、｢A.id = B.A_id｣と｢B.id=C.B_id｣というもの。A→BがhasManyでB→CがBelongToと言えば分かりやすいと思う。 こーゆー時はアソシエーションで頑張っても無理っぽいので、明示的にJOINを指定するしかない。アソシエーションは1:N:1とか、そういうのまで頑張ってはくれない。 もちろん、既に先駆者はいらっしゃる。 cakePHPのfindAllで柔軟なJOINを行う - 「最果て」の支部 が、いちいちフックメソッドをMode…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2009%2F04%2F22%2F193155&quot; title=&quot;cakephp1.2で明示的にJOINさせるやり方 - Life is Really Short, Have Your Life!!&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>2009-04-22 19:31:55</published>
  <title>cakephp1.2で明示的にJOINさせるやり方</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2009/04/22/193155</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
