Blob is primarily a browser-side API for file-like objects and, i guess to handle this, Buffer is the preferred way to handle binary data to persist images in db.
Buffer instead of Blob for server-side image handlingLONGBLOB data type in your table definition.