Hi, we can use save(null, {context: value }), and in afterSave(). request.context.
but can we use Parse.Object.destoryAll(objects, {useMasterKey: true, context: value})?
and in afterDelete, request.context ?
how ?
thanks
Hi, we can use save(null, {context: value }), and in afterSave(). request.context.
but can we use Parse.Object.destoryAll(objects, {useMasterKey: true, context: value})?
and in afterDelete, request.context ?
how ?
thanks
The context feature is not yet implemented in all methods and triggers and across all client SDKs. To find out whether it is implemented in a specific method or trigger, you would have to try it out or look into the code of Parse Server or the specific client SDK.
Thank for reply. I use no client sdk. just call cloud functions in android, use okhttp.
So you have this code in the Cloud Function?
yes, only in cloud function
In that case you are using the Parse JS SDK. You could check out its code