Re:Prisma 2.0 – Type-safe and auto-generated database client
by udfalkso on Tuesday June 09, 2020 @02:33PM
(#23469320)
"I think the best approach to this problem is a single-SQL-flavor query builder that attempts to match SQL as closely as possibly while adding in the niceties of being able to pass in JavaScript objects instead of raw SQL strings. Lets be honest: raw SQL-in-JS is no fun."
You essentially describe Elixir's Ecto, which has been lovely to work with. You may want to check it out.
You essentially describe Elixir's Ecto, which has been lovely to work with. You may want to check it out.