I am new to N1QL, I want to delete matching string from array.
Here is my required array called inspection:
"job_1": {
"inspection": ['11','22','33','44'] //This is Array
},
"job_2": {
"inspection": ['22','33','44'] //This is Array
},
"job_3": {
"inspection": ['11','22'] //This is Array
}
i want to delete '22' from all 3 array located inside each job (it may be possible that value which i wants to delete is not present in inspection array):
How do i delete that using delete query, Can any one help me to get query ?
Thank you in advance!