Namdak Tonpa 6 years ago
parent
commit
ceb6eb210d
1 changed files with 1 additions and 0 deletions
  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