[erlang-questions] How to the a ets table is exists or not ?
tatezhou@REDACTED
tatezhou@REDACTED
Sat Mar 15 05:08:42 CET 2008
Greets:
I need to create a ets table if it is not exists, how to code it ? I have check the online docs of chapter "ets", there is not function to handle this .
Current solution is to get all the ets tables and check if the table i want in the list. but i don't think this is a good idea.
code:
Ret = ets:new(client_cmd_hooks, [named_table]),
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080315/79d84ade/attachment.htm>
More information about the erlang-questions
mailing list