You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
is it possible to set a field back to undefined with cloud code? #4692
I was trying to use unset, but unfortunately sets it to NULL. is there a workaround for this? beforeSave trigger is where I'm wanting to implement this. thank you
Activity
JacobJT commentedon Apr 20, 2018
Does
object.set('key', undefined);not do the trick?flovilmart commentedon Apr 20, 2018
Use
unsethttp://parseplatform.org/Parse-SDK-JS/api/v1.11.1/Parse.Object.html#unsetRahulLanjewar93 commentedon Jan 25, 2023
@jeffreyjackson I am having the same issue, using
unsetis setting it tonullin the mongodb itself@flovilmart is there a workaround for this?
mtrezza commentedon Jan 25, 2023
@RahulLanjewar93