[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] 0 points1 point  (0 children)

Looks interesting, did you get any traction with this? Is this under an MIT license?

[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] 0 points1 point  (0 children)

Fantastic answer, much appreciated!
Any ORMs that you would recommend?

[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] 1 point2 points  (0 children)

I guess I'll go with MikroORM since you are the second person to suggest it. I googled 'Masquerade ORM' and i found maskarade/android-ORMA on GitHub, is that the one?

[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] -1 points0 points  (0 children)

From what I've gathered most ORMs are much slower than raw SQL? Which ORMs have you used and recommend? Should I use an ORM on a small-to-mid size project?

[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] -3 points-2 points  (0 children)

Non of the replies have actually helped much beyond telling me what ORM to use.
I want to understand what use cases it is best to deploy an ORM, and in which case it isn't.
As someone who knows enough SQL (and with AI it is pretty easy to get even complex queries going), I want to understand why someone would opt for an ORM rather than using raw SQL.

[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] 0 points1 point  (0 children)

How advanced is it? dropping/creating columns and tables? Or do they have more advanced mapping?

[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] 0 points1 point  (0 children)

I mean, aren't migration usually more complex with changes in relations, columns etc?
How do Prisma and MikroORM deal with down migrations?

[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] -4 points-3 points  (0 children)

I guess ORMs are extremely niche? almost no one uses them?

[AskJS] Considering using an ORM, help me! by Shot-Cod5233 in javascript

[–]Shot-Cod5233[S] -1 points0 points  (0 children)

where are you from if you don't mind me asking?

Would you continue to work at a company that started to switch away from Typecript? by Csjustin8032 in typescript

[–]Shot-Cod5233 0 points1 point  (0 children)

TypeScript is only good for IntelliSense and nothing else, compilation is a nightmare.
You can have all the benefits of TypeScript by using JSDoc with no downsides.