<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xoyip</author_name>
  <author_url>https://blog.hatena.ne.jp/xoyip/</author_url>
  <blog_title>ぴよログ</blog_title>
  <blog_url>https://xoyip.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>ActiveRecord</anon>
  </categories>
  <description>SQLのlower Model.where(&quot;lower(name) like ?&quot;, &quot;%john%&quot;).to_sql # SELECT \&quot;models\&quot;.* FROM \&quot;models\&quot; WHERE (lower(name) like '%john%') SQLのILIKE PosgreSQLではILIKEが使える。 Model.where(&quot;name ilike ?&quot;, &quot;%john%&quot;).to_sql # SELECT \&quot;models\&quot;.* FROM \&quot;models\&quot; WHERE (name ilike '%john%') arelを使う t = Model.arel_t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxoyip.hatenablog.com%2Fentry%2F2014%2F05%2F24%2F190000&quot; title=&quot;PostgresSQL+ActiveRecordのwhereで大文字小文字を無視 - ぴよログ&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>https://www.evernote.com/shard/s15/sh/7f74be95-2281-4a2f-a03a-6445baaab2fd/12d244aaf283b54c525f8f912cf2bd80/deep/0/postgresql.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-05-24 19:00:00</published>
  <title>PostgresSQL+ActiveRecordのwhereで大文字小文字を無視</title>
  <type>rich</type>
  <url>https://xoyip.hatenablog.com/entry/2014/05/24/190000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
