|
MongoDB\Driver\BulkWrite::insertAdd an insert operation to the bulk Beschreibung
public mixed MongoDB\Driver\BulkWrite::insert
( array|object
$document
)Adds an insert operation to the MongoDB\Driver\BulkWrite. Parameter-Liste
Rückgabewerte
If the Fehler/Exceptions
BeispieleBeispiel #1 MongoDB\Driver\BulkWrite::insert example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
object(MongoDB\BSON\ObjectID)#3 (1) {
["oid"]=>
string(24) "54d51146bd21b91405401d92"
}
NULL
NULL
Siehe auch
|