I have such subscription: ``` Subscription: { ...
# orm-help
g
I have such subscription:
Copy code
Subscription: {
    personUpdate: {
      subscribe: (parent, args, context, info) => {
        return context.prisma.subscription.person({}, info);
      },
    },
  },
How can I detect was person created or deleted on the frontend? I receive completely same data when person was created or deleted
n
you can query
mutation
which is either
CREATED
,
UPDATED
or
DELETED
g
@nilan hmm, I don't really understand. Could u explain better?
okay, i found how to do it, thanks :))