Changes
Title
unchanged
Auto-update denormalized attributes with MongoDb and Yii2
Category
unchanged
Tips
Yii version
unchanged
Tags
unchanged
yii2, mongodb, behavior, data normalization, data de-normalization
Content
unchanged
[...]
- ```$mongoTimeout```: integer, for large collections, it's useful to extend the standard timeout of the PHP's MongoCursor (30 sec)
- ```$multiple```: boolean, whether to update all the referenced attributes or not (default:true)
- ```$errorOnDelete```: boolean, throws an error if you try to delete referenced attributes (default:false)