| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Gdbm
Gdbm.gdbm

# Method Gdbm.gdbm()->nextkey()

Method nextkey

  `string nextkey(string key)`

Description

  This returns the key in database that follows the key 'key' key. This is of course used to iterate over all keys in the database.

Example

      // Write the contents of the database
        for(key=gdbm->firstkey(); k; k=gdbm->nextkey(k))
          write(k+":"+gdbm->fetch(k)+"\n");