Difference between delete object , delete current child object and delete current object

Difference between delete object , delete current child object and delete current object.

4 Likes

Delete object is used to delete the object and delete current child object is used to delete the current object you can also add validation to execute that.

why we use delete object ?

2 Likes

Delete Object is where you pass the index of the object which you want to delete from an array.
For example: If list of members is an array like $.AOF.MEMBERS then
To delete the current member which ever is loaded in memory you will keep it blank $.AOF.MEMBERS
For specific index you will pass the index $.AOF.MEMBERS[1].

This is the latest task other is older and depreciated. It can be used in the place of delete current child object and delete current object.

1 Like