stored v0.0.3 Stored.Backend behaviour
Link to this section Summary
Link to this section Types
Link to this section Callbacks
Link to this callback
find(key, table_name)
find(key(), table_name()) :: {:ok, record()} | {:error, :not_found}
Link to this callback
upsert(struct, table_name)
upsert(struct(), table_name()) :: {:ok, {key(), record()}}