I find the following will execute the first part of the conditional update. But the last conditional update is ignored. cocept - part 1 => IF X do Y add comma then part 2 If A do B. Here’s my code. So suggestions. but my understanding / experience is still very weak.
db.zips.updateMany({
"city":"REDMOND",
"state":"WA"
},
{$set:{"TechTown":"big"}
},
{
"city":"BRINNON",
"state":"WA"
},
{$set:{"TechTown":"small"}
}
)