gdbm_replace

This replaces the content of a specified key.

gdbm_replace name key content
  • name is the name of a gdbm database previously opened with gdbm_open.
  • If key already exists, then its data is replaced with content.
  • If key does not exist, then an error is generated.

This command returns an empty string.