CollectionModify::patch
(No version information available, might only be in Git)
CollectionModify::patch — Patch document
Parameters
document
-
A document with the properties to apply to the matching documents.
Return Values
A CollectionModify object.
Examples
Example #1 mysql_xdevapi\CollectionModify::patch() example
<?php
$res = $coll->modify('"Programmatore" IN job')->patch('{"Hobby" : "Programmare"}')->execute();
?>