downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

TokyoTyrantQuery::valid> <TokyoTyrantQuery::setLimit
[edit] Last updated: Fri, 24 May 2013

view this page in

TokyoTyrantQuery::setOrder

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantQuery::setOrderOrders results

Description

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

Sets the order of a query

Parameters

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

Return Values

This method returns the current object.



add a note add a note User Contributed Notes TokyoTyrantQuery::setOrder - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites