title: How to match by 'undefined' value in MongoDB Aggregation Framework?
body: <p>How can I search for the records filtering <strong>in</strong> a field that has an <code>undefined</code> value: </p>
  
  <pre><code>db.records.aggregate({
      $match: {
          myField: "undefined",
      }
  })
  </code></pre>