|
TokyoTyrantQuery::metaSearchRetrieve records with multiple queries Beschreibung
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. Parameter-Liste
RückgabewerteReturns the matching rows and throws TokyoTyrantException on error Beispiele
Beispiel #1 TokyoTyrantQuery::metaSearch example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
array(3) {
["cherry"]=>
array(1) {
["color"]=>
string(3) "red"
}
["strawberry"]=>
array(1) {
["color"]=>
string(3) "red"
}
["lemon"]=>
array(1) {
["color"]=>
string(6) "yellow"
}
}
Siehe auch
|