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

search for in the

TokyoTyrant::num> <TokyoTyrant::get
[edit] Last updated: Fri, 14 Jun 2013

view this page in

TokyoTyrant::getIterator

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

TokyoTyrant::getIteratorRécupère un itérateur

Description

public TokyoTyrantIterator TokyoTyrant::getIterator ( void )

Récupère un itérateur pour parcourir toutes les clés / valeurs de la base de données.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Cette méthode retourne un objet TokyoTyrantIterator et lance une exception TokyoTyrantException si une erreur survient.

Exemples

Exemple #1 Exemple avec TokyoTyrant::getIterator()

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

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

}
?>

Voir aussi



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

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