PHP » GoLang |
login |
register |
about
|
GoLang TokyoTyrantQuery::metaSearch
request it (578)
GoLang replacement for PHP's TokyoTyrantQuery::metaSearch
[edit | history]
PHP TokyoTyrantQuery::metaSearchPHP original manual for TokyoTyrantQuery::metaSearch [ show | php.net ]TokyoTyrantQuery::metaSearch(No version information available, might only be in Git) TokyoTyrantQuery::metaSearch — Retrieve records with multiple queries Description
public array TokyoTyrantQuery::metaSearch
( array
$queries
, int $type
)Executes multiple queries on a database and returns matching records. The current object is always the left most object in the search. Parameters
Return ValuesReturns the matching rows and throws TokyoTyrantException on error Examples
Example #1 TokyoTyrantQuery::metaSearch() example
<?phpThe above example will output:
array(3) {
["cherry"]=>
array(1) {
["color"]=>
string(3) "red"
}
["strawberry"]=>
array(1) {
["color"]=>
string(3) "red"
}
["lemon"]=>
array(1) {
["color"]=>
string(6) "yellow"
}
}
|
more
Most requested
more
Last requests
|