Given docs like:
{
"test": [
{value: 1, other_value: 2, other_value_2: "test"},
{value: 2, other_value: 1, other_value_2: "test"},
{value: 2, other_value: 2, other_value_2: "test"}
]
},
{
"test": [
{value: 1, other_value: 2, other_value_2: "test"},
{value: 2, other_value: 1, other_value_2: "test"},
{value: 2, other_value: 2, other_value_2: "test"}
]
}
Who would I go about updating other_value_2 to e.g. “test2” in all documents where value is 1 and other_value is 2?