Namdak Tonpa 6 лет назад
Родитель
Сommit
ceb6eb210d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      include/api.hrl

+ 1 - 0
include/api.hrl

@@ -52,6 +52,7 @@
 -spec get(Tab :: atom(), Key :: any()) -> {ok,any()} | {error,duplicated} | {error,not_found}.
 -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()).
+-spec next_id(Tab :: atom() | string(), Key :: any()) -> integer().
 
 % import/export