title: Should I store an attribute with only 2 possible values has a Boolean, Number, or String in MongoDB?
body: <p>So I have an attribute for a table that can either take on the values of <code>yes</code> or <code>no</code>.</p>
  <p>What are some reasons I should store it as a Boolean: <code>yes</code> -&gt; true, <code>no</code> -&gt; false.
  What are some reasons I should store it as a Number : <code>yes</code> -&gt; 1, <code>no</code> -&gt; 0.
  What are some reasons I should store it as a String : <code>yes</code> -&gt; &quot;yes&quot;, <code>no</code> -&gt; &quot;no&quot;</p>
  <p>Is storing it as a String the most expensive in terms of space?</p>