W3cubDocs

/PHP

SphinxClient::setSelect

(PECL sphinx >= 1.0.1)

SphinxClient::setSelectSet select clause

Description

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

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

Parameters

clause

SQL-like clause.

Changelog

PECL/sphinx Version Description
PECL sphinx 1.0.1 Added SphinxClient::setSelect(), available only if compiled with libsphinxclient >= 0.9.9.

Return Values

Returns true on success or false on failure.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/sphinxclient.setselect.php