Immudb.KV (immudb_elixir v0.2.0)

Link to this section Summary

Link to this section Functions

Link to this function

count(arg1, prefix)

@spec count(Immudb.Socket.t(), [binary()]) ::
  {:error, String.t() | atom()} | {:ok, EntryCount.t()}
Link to this function

count_all(arg1)

@spec count_all(Immudb.Socket.t()) ::
  {:error, String.t() | atom()} | {:ok, EntryCount.t()}
@spec get(Immudb.Socket.t(), binary()) ::
  {:error, String.t() | atom()} | {:ok, Immudb.Schemas.Entry.t()}
Link to this function

get_all(arg1, keys)

@spec get_all(Immudb.Socket.t(), [{binary(), binary()}]) ::
  {:error, String.t() | atom()} | {:ok, nil}
Link to this function

history(arg1, key, arg3)

@spec history(Immudb.Socket.t(), binary(),
  offset: integer(),
  limit: integer(),
  desc: boolean(),
  since_tx: integer()
) :: {:error, String.t() | atom()} | {:ok, Immudb.Schemas.Entries.t()}
Link to this function

scan(arg1, arg2)

@spec scan(Immudb.Socket.t(),
  seek_key: binary(),
  prefix: binary(),
  desc: boolean(),
  limit: integer(),
  since_tx: integer(),
  no_wait: boolean()
) :: {:error, String.t() | atom()} | {:ok, Immudb.Schemas.Entries.t()}
Link to this function

set(arg1, key, value)

@spec set(Immudb.Socket.t(), binary(), binary()) ::
  {:error, String.t() | atom()} | {:ok, Immudb.Schemas.TxMetaData.t()}
Link to this function

set_all(arg1, kvs)

@spec set_all(Immudb.Socket.t(), [{binary(), binary()}]) ::
  {:error, String.t() | atom()} | {:ok, Immudb.Schemas.TxMetaData.t()}
Link to this function

set_reference(arg1, arg2)

@spec set_reference(Immudb.Socket.t(),
  key: binary(),
  referenced_key: binary(),
  at_tx: integer(),
  bound_ref: boolean(),
  no_wait: boolean()
) :: {:error, String.t() | atom()} | {:ok, Immudb.Schemas.TxMetaData.t()}
@spec set_reference(Immudb.Socket.t(),
  key: binary(),
  referenced_key: binary(),
  at_tx: integer(),
  bound_ref: boolean(),
  no_wait: boolean(),
  prove_since_tx: integer()
) :: {:error, String.t() | atom()} | {:ok, Immudb.Schemas.VerifiableTx.t()}
Link to this function

tx_scan(arg1, arg2)

@spec tx_scan(Immudb.Socket.t(),
  initial_tx: integer(),
  limit: integer(),
  desc: boolean()
) ::
  {:error, String.t() | atom()} | {:ok, Immudb.Schemas.TxList.t()}
Link to this function

verifiable_get(arg1, key)

@spec verifiable_get(Immudb.Socket.t(), binary()) ::
  {:error, String.t() | atom()} | {:ok, Immudb.Schemas.VerifiableTx.t()}
Link to this function

verifiable_set(arg1, key, value)

@spec verifiable_set(Immudb.Socket.t(), binary(), binary()) ::
  {:error, String.t() | atom()} | {:ok, Immudb.Schemas.VerifiableTx.t()}
Link to this function

verifiable_set_reference(arg1, arg2)