update : 2015.11.03
php.shukuma.com

검색:
 
 
Get total number of documents in database

udm_get_doc_count

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0)

udm_get_doc_countGet total number of documents in database

설명

int udm_get_doc_count ( resource $agent )

udm_get_doc_count() returns the number of documents in the database.

인수

agent

A link to Agent, received after call to udm_alloc_agent().

반환값

Returns the number of documents.

주의

Note:

This function is supported only in mnoGoSearch 3.1.11 or later.