<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuukiyg</author_name>
  <author_url>https://blog.hatena.ne.jp/yuukiyg/</author_url>
  <blog_title>YuukiYg's Blog</blog_title>
  <blog_url>https://yuukiyg.hatenablog.jp/</blog_url>
  <categories>
    <anon>DB-MongoDB</anon>
    <anon>DB</anon>
  </categories>
  <description>MongoDBでドキュメントの中に配列が格納されている場合、その配列をUPDATEする方法のメモを残します。 前提 以下のようなusersというコレクションがあったとします。 users = { {_id: 111, age: 24, live: &quot;Tokyo&quot;, skills:[&quot;Linux&quot;, &quot;C&quot;, &quot;Oracle&quot;]}, {_id: 222, age: 26, live: &quot;Osaka&quot;, skills:[&quot;Windows&quot;, &quot;Java&quot;]}, {_id: 333, age: 22, live: &quot;Okinawa&quot;, skills:[&quot;iOS&quot;, &quot;Swift&quot;, &quot;PostgrS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuukiyg.hatenablog.jp%2Fentry%2F2019%2F01%2F13%2F024014&quot; title=&quot;MongoDBでドキュメントの子要素の配列のUPDATE方法 - YuukiYg&amp;#39;s Blog&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>2019-01-13 02:40:14</published>
  <title>MongoDBでドキュメントの子要素の配列のUPDATE方法</title>
  <type>rich</type>
  <url>https://yuukiyg.hatenablog.jp/entry/2019/01/13/024014</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
