Atlantis-Software / offshore

An adapter-based ORM for Node.js with support for mysql, mongo, postgres, redis, and more
MIT License
38 stars 15 forks source link

fix broken buffer in queries callback #13

Closed atiertant closed 8 years ago

atiertant commented 8 years ago

_.cloneDeep broken buffer in model. fixed using:

_.cloneDeep(existingData, function dealWithBuffers(val) { if (val instanceof Buffer) { return val.slice(); } });