downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

TokyoTyrantQuery::key> <TokyoTyrantQuery::current
[edit] Last updated: Fri, 24 Jun 2011

view this page in

TokyoTyrantQuery::hint

(No version information available, might only be in SVN)

TokyoTyrantQuery::hintدریافت رشته راهنمایی پرس و جو

Description

public string TokyoTyrantQuery::hint ( void )

دریافت رشته راهنمایی پرس و جو. رشته راهنمایی شامل اطلاعات درباره پرس و جوی اجرا شده و مقایسه آن با عبارتبه عنوان مثال .

Parameters

This function has no parameters.

Return Values

این متد همیشه رشته باز می‌گرداند

Examples

Example #1 مثال TokyoTyrantQuery::hint

<?php
$tt 
= new TokyoTyrantTable("localhost"1979);
$tt->vanish();

for (
$i 0$i 11$i++) {
     
$tt->put(null, array('a_col' => 'a' $i'b_col' => 'b' $i));
}

$query $tt->getQuery();
$query->addCond('a_col'TokyoTyrant::RDBQC_STRBW'a');

$query->search();
var_dump($query->hint());
?>

The above example will output something similar to:

string(72) "
scanning the whole table
result set size: 11
leaving the natural order
"

See Also



add a note add a note User Contributed Notes TokyoTyrantQuery::hint - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites