Hey all, is there some sort of api reference docum...
# orm-help
b
Hey all, is there some sort of api reference documentation for
.$subscribe
? This one here is a bit to basic for me: https://www.prisma.io/docs/prisma-client/features/realtime-JAVASCRIPT-rsc8/ It doesn't paint a really good picture of all the possible options, and I can't find them documented anywhere. I'm trying to do subscriptions and get information on which fields changed. Right now I'm just getting the full object, with no indication of what actually changed … and that's a bit useless. Thanks for any pointers 🙏
When playing around with subscriptions in plain GraphQL I see that there is previousValues and updateFields, but how do I access this with $subscribe?
Thank you 🙏
Okay found it, just leave off
.node()
and everything is there.