(No version information available, might only be in Git)
CollectionModify::merge — Merge attributes to document
$document
)Adds attributes taken from a document into the documents in a collection.
This function is currently not documented; only its argument list is available.
document
The document with attributes to merge.
A CollectionModify object.
Example #1 mysql_xdevapi\CollectionModify::merge() example
<?php
$res = $coll->modify("Married like 'NO'")->merge("{'Divorced' : 'NO', 'Vegan' : 'YES'}")->execute();
?>