DBKV.open

You're seeing just the function open, go back to DBKV module for more information.

Specs

open(dbkv_options()) :: {:ok, t()} | {:error, any()}

Opens a table. An empty :dets table is created if no file exists.

The optional argument is a keyword list of options:

  • name: a name of the table (defaults to DBKV)
  • data_dir: the directory path where the database files will be stored (defaults to "tmp")