|
update : 2015.11.03
php.shukuma.com검색:
|
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. 예제
Example #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"
}
}
참고
|