title: Best way to store image file in postgres db using typeorm
body: <p>I trying to figure the best way to store an image in a database using typeorm.  Should you store it as a data url or as a buffer?  Currently it would be over kill for my application to store it in a CDN hence the reason I want to store it in the db.</p>
  
  <p>My thought was to save it as a data url as well as a field for the image name.</p>
  
  <p>Appreciate any into!</p>