<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>LukeSilvia</author_name>
  <author_url>https://blog.hatena.ne.jp/LukeSilvia/</author_url>
  <blog_title>LukeSilvia’s diary</blog_title>
  <blog_url>https://lukesilvia.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>mysql</anon>
  </categories>
  <description>mala さんのMySQLにおけるbulk insert と bulk update - 金利0無利息キャッシング – キャッシングできます - subtechのエントリーを見て, MySQL でbulk update ができることを知り, 丁度欲しい機能だったのでとりあえず動くだけのメソッドを実装. # User.extend BulkExecuteMethods # User.update_multi([:id, :name, :age], [[1, 'bob', 11], [2, 'mary', 21]]) # # refs # http://dev.mysql.com/doc/refm…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flukesilvia.hatenablog.com%2Fentry%2F20090805%2Fp1&quot; title=&quot;ActiveRecord でbulk insert/update - LukeSilvia’s diary&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-08-05 00:00:00</published>
  <title>ActiveRecord でbulk insert/update</title>
  <type>rich</type>
  <url>https://lukesilvia.hatenablog.com/entry/20090805/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
