Javascript / Typescript ORMs like Drizzle or Prisma

Guys sorry i know this is a very beginner question. I've been mostly a backend developer most of my life and just started getting into development with Vue. Are ORM based on javascript/Typescript meant for the back end front end or both?

If its meant for front end i have a bad feeling. I mean a front end app sending sql queries directly to a database just doesn't seem that secure and seems very likely to be abused. Where would you store connection info for the database? In javascript sent to the browser? Maybe if its meant if your running backend javascript (either node or SSR with whatever framework).
Was this page helpful?