R.T.
That is, if there is a doc
{
“id”: 1,
"list": [1,2,3]
}
If you add an element to the list4
In the case of possible concurrency, ensure the safety of the insertion?
{$addToSet:{list:4}}
R.T.
That is, if there is a doc
{
“id”: 1,
"list": [1,2,3]
}
If you add an element to the list4
In the case of possible concurrency, ensure the safety of the insertion?
{$addToSet:{list:4}}