SphinxClient
PHP Manual

SphinxClient::setSelect

(PECL sphinx >= 1.0.1)

SphinxClient::setSelectSet select clause

说明

public bool SphinxClient::setSelect ( string $clause )

Sets the select clause, listing specific attributes to fetch, and expressions to compute and fetch.

参数

clause

SQL-like clause.

更新日志

PECL/sphinx 版本 说明
1.0.1 Added SphinxClient::setSelect(), available only if compiled with libsphinxclient >= 0.9.9.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.


SphinxClient
PHP Manual