aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gen_storage.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gen_storage.erl b/src/gen_storage.erl
index 541bcd776..0d6b1a58c 100644
--- a/src/gen_storage.erl
+++ b/src/gen_storage.erl
@@ -200,9 +200,11 @@ dirty_read(Host, Tab, Key) ->
%% select/3
+%% If Matchvalue is a tuple, then its size must be == length(string:tokens(Matchrule, "_"))
-type(matchvalue() :: '_'
| integer()
- | string()).
+ | string()
+ | tuple()).
%% | {matchvalue(), matchrule()}.
-type(matchrule() :: {'and', matchrule(), matchrule()}
| {'andalso', matchrule(), matchrule()}