<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirofummy</author_name>
  <author_url>https://blog.hatena.ne.jp/hirofummy/</author_url>
  <blog_title>t</blog_title>
  <blog_url>https://hirofumi.hatenadiary.com/</blog_url>
  <categories>
    <anon>MongoDB</anon>
  </categories>
  <description>MongoDB の $in の実装がどうなっているのかと思ってソースをちょっと覗いてみた。 まず、ライセンスは AGPL 3.0 らしい。 とりあえず Matcher::matches の中で処理をしているに違いない、と当たりをつけてみる。そこには normal non-regex cases があって matchesDotted が呼ばれている。多分 $in を処理するときは、この中の compareOp == BSONObj::opIN が真になって valuesMatch が呼ばれるんでしょう。そうすると op == BSONObj::opIN なんていうそれっぽい式があって、ここの i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirofumi.hatenadiary.com%2Fentry%2F2013%2F09%2F01%2F000000&quot; title=&quot;$in MongoDB - t&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>2013-09-01 00:00:00</published>
  <title>$in MongoDB</title>
  <type>rich</type>
  <url>https://hirofumi.hatenadiary.com/entry/2013/09/01/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
