TokyoTyrantTable::setIndex
TokyoTyrantQuery::addCond
tokyo_tyrant
PHP Manual

# TokyoTyrantQuery クラス

## 導入

このクラスは、テーブルデータベースへの問い合わせに使用します。

## クラス概要

TokyoTyrantQuery
TokyoTyrantQuery implements Iterator , Traversable {
/* メソッド */
public mixed addCond ( string `$name` , int `$op` , string `$expr` )
__construct ( TokyoTyrantTable `$table` )
public int count ( void )
public array current ( void )
public string hint ( void )
public string key ( void )
public array metaSearch ( array `$queries` , int `$type` )
public array next ( void )
public TokyoTyrantQuery out ( void )
public bool rewind ( void )
public array search ( void )
public mixed setLimit ([ int `$max` [, int `$skip` ]] )
public bool valid ( void )
}

## 目次

- 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::valid — Checks the validity of current item

TokyoTyrantTable::setIndex
TokyoTyrantQuery::addCond
tokyo_tyrant
PHP Manual