Php/docs/sphinxclient.setselect

来自菜鸟教程
跳转至:导航、​搜索

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 版本 说明
PECL sphinx 1.0.1 Added SphinxClient::setSelect(), available only if compiled with

libsphinxclient >= 0.9.9.


返回值

成功时返回 true, 或者在失败时返回 false