Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for typed arrays in SqlString.escape and SqlString.arrayToList #891
When doing something like
setDataValue("position", new Float32Array([1.23, 4.2]))
Sequelize has stringified the typed array for database usage and by that broke the query.
With this commit typed arrays are handled like arrays, and can be saved to the database.
This is a really awesome PR and a ton of thanks man :) I hate to be nitpicky, but two things:
Hate to be like this :(