Hi everybody,

I just about crack a gear every time I see raw SQL used in JS or some other 
> language ecosystem.  We have a space ship right here, right now.  Why are 
> people strapping cardboard to their arms?  I've done it before myself many 
> years ago and all I really learned was that it makes your arms really sore.
>

For Python, agreed, SQLAlchemy RuLeZ :) 

For JS, I have yet to find a convincing ORM. Prisma looked promising, that 
is, *until* I tried it. There are so many SQL constructs you just can't 
express with it.

Even with "Raw" SQL, expressing e.g. a "WHERE col IN <param>" clause with a 
variable param seems to require black magick with Prisma.

So, *if* I have to write a backend function with SQL queries in JS, e.g. 
for Next.JS, I will use raw SQL. But I'll try to use a Python backend if 
that's feasible (some cloud-based start-ups are limited to JS-only 
environments...)

Laurent. 

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/3e60371a-79f0-463e-8213-196c3049b550n%40googlegroups.com.

Reply via email to