4 ms·
Why do I need to manually convert anything? Even then... var results = (await sql.query` ... `).recordsets[0].map(rowToObject); It's really eas
by tracker1 8y ago
Why do I need to manually convert anything? Even then...
var results = (await sql.query`
...
`).recordsets[0].map(rowToObject);
It's really easy... no need for complicated ORM/ODM tooling at all.
As far as the size... create a docker container from node:10-alpine to run a given node application, and create a similar container with any application running full Java. And compare the final size.
- stickfigure 8y agoDid a date column get mapped to Date, moment, date-fns, luxon, or any of the dozen other choices that your shop might standardize on? I've never heard anyone server-side care about the size of a deployable. It's the size of the codebase that's an issue. Tedious conversion code does not work in javascript's favor.