Files
predis/lib/Predis
Daniele Alessandri e88938cdfd Implement PHP iterator based on the HSCAN command (Redis 2.8).
This iterator allows to perform full iterations over fields and values of a
hash by wrapping the incremental nature of HSCAN just like we did for SCAN:

  $client = new Predis\Client('tcp://127.0.0.1', ['profile' => '2.8']);
  $iterator = new Predis\Iterator\Scan\HashIterator($client, "hash_key");

  foreach ($iterator as $field => $value) {
      echo "$field => $value" . PHP_EOL;
  }

Being HSCAN closely related to SCAN, it is subject to the same behaviour,
see http://redis.io/commands/scan for reference.
2013-11-03 14:19:12 +01:00
..
2013-11-02 18:19:32 +01:00
2013-11-02 18:19:32 +01:00
2013-06-03 00:06:41 +03:00
2013-06-03 00:06:41 +03:00
2013-06-03 00:06:41 +03:00
2013-11-02 18:19:32 +01:00
2013-06-03 00:06:41 +03:00
2013-06-03 00:06:41 +03:00
2013-06-03 00:06:41 +03:00
2013-06-03 00:06:41 +03:00