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


put_new(GenServer.server(), key(), value()) :: :ok | {:error, :exists}

Writes an entry in the database, associating key to value, only if key is not yet in the database.

If key is already present, it does not change it, and returns {:error, :exists}.