update : 2015.11.03
php.shukuma.com검색:
|
TokyoTyrantQuery::metaSearch(No version information available, might only be in Git) TokyoTyrantQuery::metaSearch — Retrieve records with multiple queries 설명
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. 인수
반환값Returns the matching rows and throws TokyoTyrantException on error 예제
Example #1 TokyoTyrantQuery::metaSearch() example
<?php 위 예제의 출력: array(3) { ["cherry"]=> array(1) { ["color"]=> string(3) "red" } ["strawberry"]=> array(1) { ["color"]=> string(3) "red" } ["lemon"]=> array(1) { ["color"]=> string(6) "yellow" } } |