Php/docs/class.tokyotyrantquery
来自菜鸟教程
(PECL tokyo_tyrant >= 0.1.0)
简介
This class is used to query the table databases
类摘要
TokyoTyrantQuery implements Iterator {
public __construct
( TokyoTyrantTable $table
)
public count ( ) : int
public current ( ) : array
public hint ( ) : string
public key ( ) : string
public metaSearch
( array $queries
, int $type
) : array
public next ( ) : array
public out ( ) : TokyoTyrantQuery
public rewind ( ) : bool
public search ( ) : array
public valid ( ) : bool
}
Table of Contents
- TokyoTyrantQuery::addCond — Adds a condition to the query
- TokyoTyrantQuery::__construct — Construct a new query
- TokyoTyrantQuery::count — Counts records
- TokyoTyrantQuery::current — Returns the current element
- TokyoTyrantQuery::hint — Get the hint string of the query
- TokyoTyrantQuery::key — Returns the current key
- TokyoTyrantQuery::metaSearch — Retrieve records with multiple queries
- TokyoTyrantQuery::next — Moves the iterator to next entry
- TokyoTyrantQuery::out — Removes records based on query
- TokyoTyrantQuery::rewind — Rewinds the iterator
- TokyoTyrantQuery::search — Searches records
- TokyoTyrantQuery::setLimit — Limit results
- TokyoTyrantQuery::setOrder — Orders results
- TokyoTyrantQuery::valid — Checks the validity of current item
/* 方法 */