PHP - Manual: TokyoTyrantQuery::setOrder
2024-11-15
(PECL tokyo_tyrant >= 0.1.0)
TokyoTyrantQuery::setOrder — Orders results
name
The column name to apply the ordering on.
type
The type
can be one of the following
constants:
TokyoTyrant::RDBQO_STRASC
- String ascending
TokyoTyrant::RDBQO_STRDESC
- String descending
TokyoTyrant::RDBQO_NUMASC
- Numberic ascending
TokyoTyrant::RDBQO_NUMDESC
- String descending
This method returns the current object.
官方地址:https://www.php.net/manual/en/tokyotyrantquery.setorder.php