Hello CB Team, I’ve a question about partial update. Lets assume i ve document like
{
"hotel": {
"name": "california",
"customers": [
{
"name": "first person",
"city": "city-5",
"language": "TR"
},
{
"name": "second person",
"city": "city-2",
"language": "EN"
},
{
"name": "third person",
"city": "city-1",
"language": "TR"
},
{
"name": "last person",
"city": "city-1",
"language": "TR"
}
]
}
}
i would like to update customers whose name is “last person” as
city = “city 1” and language = “Tr-tr” and whose name is “second-person” as city = “city 2” and language = “Tr-En” .In the documentation, we can update a field using mutateIn, but I did not see the option for both a condition and more than one field. Is there a way to do this? Or do you have another suggestion?