|
Collection::addOrReplaceOneAdd or replace collection document Description
public mysql_xdevapi\Result mysql_xdevapi\Collection::addOrReplaceOne(string
$id , string $doc )Add a new document, or replace a document if it already exists. Here are several scenarios for this method:
Parameters
Return ValuesA Result object. ExamplesExample #1 mysql_xdevapi\Collection::addOrReplaceOne example
|