Sunday, 9 April 2017

Reading blob from mySQL - given Buffer is not complete

I'm working on a simple website for a friend of me, I'm trying to retrieve images from MySQL database and the buffer is not complete, it gives my only a part of the blob. It's my first nodejs app, and in the documentation wasn't helpful.

The project uses sequelize ORM.

There is the database configuration, I'm working on the "Prodotto" entity. The ExpressJS RESTful api configuration is there.

Thank you in advice for any suggestions!



via Arcangelo Vicedomini

No comments:

Post a Comment