MongoDB\BSON\Document::offsetUnset

(mongodb >=1.17.0)

MongoDB\BSON\Document::offsetUnsetImplementation of ArrayAccess

Descrizione

final public MongoDB\BSON\Document::offsetUnset(mixed $key): void

Unsets the value at the specified index.

Elenco dei parametri

key

The index being unset.

Valori restituiti

Nessun valore viene restituito.

Errori/Eccezioni