<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lesamoureuses</author_name>
  <author_url>https://blog.hatena.ne.jp/lesamoureuses/</author_url>
  <blog_title>こんにちはこんにちはmonmonです！</blog_title>
  <blog_url>https://monmon.hateblo.jp/</blog_url>
  <categories>
    <anon>cakephp</anon>
    <anon>php</anon>
  </categories>
  <description>CakePHPでfind使うとき SELECT * FROM t WHERE &quot;id&quot; = '1' AND ((&quot;status&quot; = '1') OR (&quot;flg&quot; = '1')); というSQLが書きたければ find('find', array( 'conditions' =&gt; array( 'id' =&gt; 1, 'OR' =&gt; array( 'status' =&gt; 1, 'flg' =&gt; 1, ), ), )); みたいな感じで書くと思います。 で、今回2個のORが使いたいなと思ったんですが、 普通に書いてしまうと find('find', array( 'conditions' =&gt; a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmonmon.hateblo.jp%2Fentry%2F20110207%2F1297068346&quot; title=&quot;findで複数のORを使う場合はarrayで囲む - こんにちはこんにちはmonmonです！&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>2011-02-07 17:45:46</published>
  <title>findで複数のORを使う場合はarrayで囲む</title>
  <type>rich</type>
  <url>https://monmon.hateblo.jp/entry/20110207/1297068346</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
