{"title":"MongoDB embedded fields \u3078\u306e index \u306e\u306f\u308a\u65b9","image_url":null,"author_name":"a666666","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2016%2F03%2F07%2F144258\" title=\"MongoDB embedded fields \u3078\u306e index \u306e\u306f\u308a\u65b9 - @kyanny&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","type":"rich","blog_title":"@kyanny's blog","provider_name":"Hatena Blog","version":"1.0","url":"https://blog.kyanny.me/entry/2016/03/07/144258","height":"190","author_url":"https://blog.hatena.ne.jp/a666666/","description":"MongoMapper \u3060\u3068 Hash \u3067\u8868\u73fe\u3059\u308b\u306e\u3067 key \u305d\u306e\u3082\u306e\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u306f\u308c\u3070 Hash \u5168\u4f53\u306b\u52b9\u304f\u306e\u304b\u3068\u304a\u3082\u3044\u304d\u3084\u3001\u9055\u3063\u3066\u3001\u660e\u793a\u7684\u306b dot notation \u3067\u6307\u5b9a\u3057\u306a\u3044\u3068\u30c0\u30e1\u3060\u3063\u305f\u3002 Single Field Indexes \u2014 MongoDB Manual 3.2 https://github.com/kyanny/playground/blob/gh-pages/mongo-index-hash/app.rb class Foo include MongoMapper::Document key :h, Hash ensure_index 'h.a' end pp F\u2026","published":"2016-03-07 14:42:58","blog_url":"https://blog.kyanny.me/","categories":[]}