Php/docs/solrdocument.haschilddocuments
来自菜鸟教程
SolrDocument::hasChildDocuments
(PECL solr >= 2.3.0)
SolrDocument::hasChildDocuments — Checks whether the document has any child documents
说明
public SolrDocument::hasChildDocuments ( ) : bool
Checks whether the document has any child documents
参数
此函数没有参数。
返回值
参见
- SolrDocument::getChildDocuments() - Returns an array of child documents (SolrDocument)
- SolrDocument::getChildDocumentsCount() - Returns the number of child documents