Delete edge along with all values of pointing node

Hey! Now a little more focused, I realized that I made a mistake. The right thing was to do the Delete like this:

{
		"delete": [
{
     "uid": "0x2", #Answer UID
     "comment": {
       "uid": "0x3" #Comment
        }
    },
{
	"uid": "0x3" #Comment final delation
			}
]
	}

This way you delete the UID that is in the parent’s predicate and then the comment itself. That was a mistake, have to do in order. I was wrong since I need to build the relationship in JSON/Del for deletion.

The queue what I exemplified up there deletion must be done that way.

{
		"delete": [
{
     "uid": "0x2",
     "comment": {
				"uid": "0x3"
			},
{
     "uid": "0x2",
     "comment": {
				"uid": "0xa"
			},
{
     "uid": "0x2",
     "comment": {
				"uid": "0xa22"
		    },
{
     "uid": "0x2",
     "comment": {
				"uid": "0x2714"
		    },
{
     "uid": "0x2",
     "comment": {
				"uid": "0x2716"
			},
{
     "uid": "0x2",
     "comment": {
				"uid": "0x2713"
			},

{
				"uid": "0x3"
			},
            {
				"uid": "0xa"
			},
            {
				"uid": "0xa22"
		    },
            {
				"uid": "0x2714"
		    }
            {
				"uid": "0x2716"
			},
            {
				"uid": "0x2713"
			}
		]
	}
3 Likes