News for hackers. Stuff that matters.
Re:SvelteKit 1.0 by qudat on Wednesday December 14, 2022 @01:09PM (#33987300)
When I used prisma a few years ago I was not impressed and it couldn't do a lot of what I needed so I had to dump into raw sql queries anyway. It was easier for me to use knex and get the types mostly right.
Re:SvelteKit 1.0 by lf-non on Wednesday December 14, 2022 @01:40PM (#33987896)
You should take a look at ts-sql-query [1] - it is not as popular as the older alternatives that have been around for a while, but it is a very feature rich query builder that takes type safety very seriously and supports most mainstream databases.

[1] https://ts-sql-query.readthedocs.io

Re:SvelteKit 1.0 by Trufa on Wednesday December 14, 2022 @01:20PM (#33987486)
A lot has changed in the past years of Prisma, it's a really great tool, to be honest, "raw sql" escape hatches to do anything raw when you need it, if you haven't tried it in years, I'd recommend you to try again since if you tried it years ago, it was a very different maturity level.
Re:SvelteKit 1.0 by abraxas on Wednesday December 14, 2022 @01:25PM (#33987569)
Do they (Prisma) still rely on a Rust sidecar? This caused multiple issues with container deployment and the CI/CD pipeline of my employer.
Re:SvelteKit 1.0 by braden-lk on Wednesday December 14, 2022 @01:39PM (#33987876)
I believe the sidecar is optional now, and I think even the one that exists comes in the form of their paid service called Prisma Proxy. It doesn’t seem necessary for most use cases.