[erlang-questions] problems with creating table named 'user' in ets

cavaluo <>
Thu Aug 9 05:07:48 CEST 2012


Hi,
  when i create a new ets table named 'user',result returned 'ok',and also
i can do any operaton on it,but i can't find in The Table Visualizer,why?

 ()15> ets:new(user,[set,public,named_table]).
  user
()18> ets:info(user).
[{compressed,false},
 {memory,316},
 {owner,<0.37.0>},
 {heir,none},
 {name,user},
 {size,0},
 {node,''},
 {named_table,true},
 {type,set},
 {keypos,1},
 {protection,public}]

()20> ets:insert(user,{test,1,2,3}).
true
()21> ets:lookup(user,test).
[{test,1,2,3}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120809/cb5ee9f1/attachment.html>


More information about the erlang-questions mailing list