{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxoyip.hatenablog.com%2Fentry%2F2014%2F05%2F24%2F190000\" title=\"PostgresSQL+ActiveRecord\u306ewhere\u3067\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u7121\u8996 - \u3074\u3088\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"SQL\u306elower Model.where(\"lower(name) like ?\", \"%john%\").to_sql # SELECT \\\"models\\\".* FROM \\\"models\\\" WHERE (lower(name) like '%john%') SQL\u306eILIKE PosgreSQL\u3067\u306fILIKE\u304c\u4f7f\u3048\u308b\u3002 Model.where(\"name ilike ?\", \"%john%\").to_sql # SELECT \\\"models\\\".* FROM \\\"models\\\" WHERE (name ilike '%john%') arel\u3092\u4f7f\u3046 t = Model.arel_t\u2026","author_url":"https://blog.hatena.ne.jp/xoyip/","height":"190","url":"https://xoyip.hatenablog.com/entry/2014/05/24/190000","width":"100%","published":"2014-05-24 19:00:00","blog_title":"\u3074\u3088\u30ed\u30b0","provider_url":"https://hatena.blog","blog_url":"https://xoyip.hatenablog.com/","version":"1.0","image_url":"https://www.evernote.com/shard/s15/sh/7f74be95-2281-4a2f-a03a-6445baaab2fd/12d244aaf283b54c525f8f912cf2bd80/deep/0/postgresql.png","title":"PostgresSQL+ActiveRecord\u306ewhere\u3067\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u7121\u8996","type":"rich","categories":["Rails","ActiveRecord"],"provider_name":"Hatena Blog","author_name":"xoyip"}