<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>arcright</author_name>
  <author_url>https://blog.hatena.ne.jp/arcright/</author_url>
  <blog_title>chulip.org</blog_title>
  <blog_url>https://chulip.org/</blog_url>
  <categories>
    <anon>CakePHP</anon>
  </categories>
  <description>Cake自体のソースコードまで追って理解したってまではいかないけど動きはわかったので。 柔軟にテーブルをくっつけたくて、findのjoinsオプションを設定してjoinする。 動作的に返り値にjoinしたテーブルのデータが入ってることを期待してたんだけど 入ってこなかったのでうまくできているのかどうかわからんかった。 でも、conditions句は正常に動いてそうだったのでまあjoinはできているんだろうと。 何で返り値に入ってこないかっていう結論なんですけどfields句の指定に入ってないから。 fields句の指定は関連テーブル(hasManyとかbelongsToとか)してるテーブルは入…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchulip.org%2Fentry%2F20120318%2F1332339271&quot; title=&quot;CakePHP - findでjoinsを設定した時の挙動についてメモ - chulip.org&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>2012-03-18 23:14:31</published>
  <title>CakePHP - findでjoinsを設定した時の挙動についてメモ</title>
  <type>rich</type>
  <url>https://chulip.org/entry/20120318/1332339271</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
