(mongodb >=1.17.0)
MongoDB\BSON\Document::offsetSet — Implementation of ArrayAccess
$key
$value
Sets the value at the specified key to value.
key
value
The index being set.
The new value for the key.
没有返回值。