PHP » GoLang |
login |
register |
about
|
GoLang TokyoTyrantQuery::search
request it (382)
GoLang replacement for PHP's TokyoTyrantQuery::search
[edit | history]
TokyoTyrantQuery::search(PECL tokyo_tyrant >= 0.1.0) TokyoTyrantQuery::search — Searches records Description
public array TokyoTyrantQuery::search
( void
)
Executes a search on the table database. Returns an array of arrays containing the matching records. In the returned array the first level is the primary key of the data and the second level is the row data. ParametersThis function has no parameters. Return ValuesReturns the matching rows and throws TokyoTyrantException on error Examples
Example #1 TokyoTyrantQuery::search() 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
more
Last requests
|