|
@@ -50,7 +50,7 @@
|
|
|
% read ops
|
|
|
|
|
|
-spec get(Tab :: atom(), Key :: any()) -> {ok,any()} | {error,duplicated} | {error,not_found}.
|
|
|
--spec get(Tab :: atom(), Key :: any(), Value :: any()) -> {ok,any()}.
|
|
|
+-spec get(Tab :: atom(), Key :: any(), Value :: any()) -> {ok,any()} | {error,duplicated} | {error,not_found}.
|
|
|
-spec index(Tab :: atom(), Key :: any(), Value :: any()) -> list(tuple()).
|
|
|
|
|
|
% import/export
|