[erlang-questions] How to the a ets table is exists or not ?
Sat Mar 15 05:08:42 CET 2008
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.
Ret = ets:new(client_cmd_hooks, [named_table]),
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions