PHP 7.2.0 Beta 1 Released


(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantQuery::setOrderOrders results


public mixed TokyoTyrantQuery::setOrder ( string $name , int $type )

Sets the order of a query

Elenco dei parametri


The column name to apply the ordering on.


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

Valori restituiti

This method returns the current object.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top