PHP 8.1.0 RC 2 available for testing

SolrInputDocument::fieldExists

(PECL solr >= 0.9.2)

SolrInputDocument::fieldExistsChecks if a field exists

说明

public SolrInputDocument::fieldExists(string $fieldName): bool

Checks if a field exists

参数

fieldName

Name of the field.

返回值

Returns true if the field was found and false if it was not found.

add a note add a note

User Contributed Notes

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