TokyoTyrantQuery::addCond(PECL tokyo_tyrant >= 0.1.0) TokyoTyrantQuery::addCond — Adds a condition to the query ОписаниеAdds a condition to the query. Condition can be something like: get all keys which value matches expr. Список параметров
Возвращаемые значенияThis method returns the current object and throws TokyoTyrantException on failure. Примеры
Пример #1 TokyoTyrantQuery::addCond() example
<?phpРезультат выполнения данного примера:
array(2) {
[1]=>
array(2) {
["column1"]=>
string(9) "some data"
["column2"]=>
string(14) "something here"
}
[4]=>
array(2) {
["column45"]=>
string(11) "random data"
["column2"]=>
string(25) "something along the lines"
}
}
Смотрите также
|
||