TokyoTyrantTable::setIndex
TokyoTyrantQuery::addCond
tokyo_tyrant
PHP Manual

# The TokyoTyrantQuery class

## Introduction

This class is used to query the table databases

## Class synopsis

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

## 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 — The key purpose
- TokyoTyrantQuery::metaSearch — Retrieve records with multiple queries
- TokyoTyrantQuery::next — The next purpose
- TokyoTyrantQuery::out — Removes records based on query
- TokyoTyrantQuery::rewind — The rewind purpose
- TokyoTyrantQuery::search — Searches records
- TokyoTyrantQuery::setLimit — Limit results
- TokyoTyrantQuery::valid — Checks the validity of current item

TokyoTyrantTable::setIndex
TokyoTyrantQuery::addCond
tokyo_tyrant
PHP Manual