Also, on another matter, does anyone know how to u...
# orm-help
c
Also, on another matter, does anyone know how to use
forwardTo
with
prisma-client
?
and in the same vein, if i can't use forwardTo, my subqueries don't get applied properly
I'm totally using a subselection
here's what happens when i use forwardTo('db')
And when I don't use forwardTo and do it manually, I get the result of the first image
results in "must have a subselection"
before i was using `prisma-binding`'s
Prisma
and I was able to use
forwardTo('db')
after switching to
prisma-client
I'm getting this issue
l
Prisma client only returns the scalar fields from the type. It doesn't return nested relations. So it doesn't have a forwardTo('db') functions like bindings. There's nothing wrong with a hybrid approach that uses both client and binding.