SphinxClient::setSelect

(PECL sphinx >= 1.0.1)

SphinxClient::setSelectSet select clause

说明

public SphinxClient::setSelect ( string $clause ) : bool

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

关注编程学问公众号