Use an ORM if you need to #codinglife #programming

preview_player
Показать описание
In this short I talk about when to use an ORM and if it is appropriate for your usecase #coding #backend
Рекомендации по теме
Комментарии
Автор

Whatever you choose to manage your DB, make sure to add an input sanitizer to to so you don't get an SQL injection attack. Also, good luck if you need to refactor all the DB queries in your application from SQL query constructors to ORMs, or vice versa.

IndigoTeddy
Автор

Remember a good ORM always has an escape hatch

dandogamer
Автор

Use an ORM so you don't have to worry about injection and parameterising everything.

neofox
Автор

The only ORM that solves the object relational mismatch impedance problem: edgedb. It makes complicated schema's and queries easier.

paulholsters
Автор

What would you think is the alternative of ORMs? In my company we use a lot of stored procedures because queries are very complex and using ORMs just slowed things down. What would you say is another alternative?

victorgarcia
Автор

Enterprise means supported by a large corporation. When you agree to that support you bend to their will, not yours. See Oracle, M$, IMB, HP, Dell... Certified as long as they don't deprecate. ORMs have nothing to do with Enterprise unless the Enterprise offered their own ORM.

Stay safe and stay away from the candy business people that offer you services to your company. The only exception is when you move; you can egress your app and DB without fees.

OldKing
Автор

tbh in a CRM I'm working on some times I can't do what I need with the orm so I need to build an SQL string and run it to get what I need

xtz_
Автор

Does ORM automatically sanitize sql inputs?

dpixfunfunnyvideos
Автор

In python, ORM is terrible for performance. But what about a language like Go? Genuinely curious

flamendless