MongoDB\Driver\Cursor
PHP Manual

MongoDB\Driver\Cursor::setTypeMap

(mongodb >=0.4.0)

MongoDB\Driver\Cursor::setTypeMapSets a type map to use for BSON unserialization

Beschreibung

final public void MongoDB\Driver\Cursor::setTypeMap ( array $typemap )

Parameter-Liste

typemap

Rückgabewerte

Fehler/Exceptions

Beispiele

Beispiel #1 MongoDB\Driver\Cursor::setTypeMap() example

<?php

/* ... */

?>

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

...

Siehe auch


MongoDB\Driver\Cursor
PHP Manual