CakeFest 2024: The Official CakePHP Conference

SolrDocument::__unset

(PECL solr >= 0.9.2)

SolrDocument::__unsetRemoves a field from the document

Beschreibung

public SolrDocument::__unset(string $fieldName): bool

Removes a field from the document when the field is access as an object property.

Parameter-Liste

fieldName

The name of the field.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top