TokyoTyrant::getIterator

(No version information available, might only be in Git)
Get an iterator
public TokyoTyrantIterator TokyoTyrant::getIterator ( void )

Gets an iterator for iterating all keys / values in the database.

Returns:

This method returns TokyoTyrantIterator object and throws TokyoTyrantException on failure.

Examples:
TokyoTyrant::getIterator() example
<?php
$tt = new TokyoTyrant("localhost");
$it = $tt->getIterator();

foreach ($it as $k => $v) {

}
?>

See also:

TokyoTyrantTable::getQuery() -

TokyoTyrantTable::getIterator() -

doc_php
2016-02-24 16:18:48
Comments
Leave a Comment

Please login to continue.