on, I feel like the ORM is limiting me alot
I can't execute complex queries as one query, I have to do multiple queries
I feel like when I'm using an ORM it limits the actual power SQL has
What do u guys think?
If you feel like the ORM is limiting you, then write the raw query or use something that lets you write the query you want. If the ORM works just fine for your use case, then use it where it fits.
I think using RAW queries you are decreasing a security of your app. Also, I can say the same about some other self-written parts of your app comparing to some framework.
SQL is great language and makes the job done. ORM is situational imho
You are right. Even using OR-patterns could limit you, ORMs would do it for sure. And add a lot of headache to DB debug.
Обсуждают сегодня