title: What data type should I use to store an image with MongoDB?
body: <p>I have an image with base64, e.g. </p>
  
  <pre><code>data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/7QCcUGhvdG9zaG9w....
  </code></pre>
  
  <p>How to save in the database? What should be the type of the field in schema? Buffer?</p>