Class Phalcon\Storage\Libmdbx\Cursor

implements Iterator, Traversable

Source on GitHub


final private __construct ()

Phalcon\Storage\Lmdb\Cursor constructor

public string current ()

Gets current value

public string key ()

Gets current key

public boolean next ()

Moves cursor to next row

public boolean prev ()

Moves cursor to prev row

public boolean rewind ()

Rewinds cursor to it’s beginning

public boolean last ()

Rewinds cursor to it’s last

public boolean valid ()

Checks if current position is valid