PHP » GoLang |
login |
register |
about
|
GoLang TokyoTyrantQuery::addCond
request it (408)
GoLang replacement for PHP's TokyoTyrantQuery::addCond
[edit | history]
TokyoTyrantQuery::addCond(PECL tokyo_tyrant >= 0.1.0) TokyoTyrantQuery::addCond — Adds a condition to the query DescriptionAdds a condition to the query. Condition can be something like: get all keys which value matches expr. Parameters
Return ValuesThis method returns the current object and throws TokyoTyrantException on failure. Examples
Example #1 TokyoTyrantQuery::addCond() example
<?php The above example will output: 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" } } See Also
|
more
Recently updated
more
Most requested
|