GoLang TokyoTyrantQuery::hint

request it (109)
GoLang replacement for PHP's TokyoTyrantQuery::hint [edit | history]

Do you know a GoLang replacement for PHP's TokyoTyrantQuery::hint? Write it!

PHP TokyoTyrantQuery::hint

PHP original manual for TokyoTyrantQuery::hint [ show | php.net ]


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

TokyoTyrantQuery::hintGet the hint string of the query


public string TokyoTyrantQuery::hint ( void )

Get the hint string of the query. The hint string contains information about an executed query and it could be compared to for example MySQL EXPLAIN statement.


This function has no parameters.

Return Values

This method always returns a string


Example #1 TokyoTyrantQuery::hint example

= new TokyoTyrantTable("localhost"1979);

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

$query $tt->getQuery();


The above example will output something similar to:

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

See Also