Current section
Files
Jump to
Current section
Files
README.md
# EtsMacroYou can define your ets module with one macro call.example```use EtsMacro, @module_name```this will define following functions under the given module name.```all/0delete/1delete/2delete_all_objects/1delete_object/2first/1give_away/3info/1info/2insert/2insert_new/2is_compiled_ms/1last/1lookup/2lookup_element/3match/1match/2match/3match_object/1match_object/2match_object/3match_spec_compile/1match_spec_run_r/3member/2new/2next/2prev/2rename/2safe_fixtable/2select/1select/2select/3select_count/2select_delete/2select_replace/2select_reverse/1select_reverse/2select_reverse/3setopts/2slot/2take/2update_counter/3update_counter/4update_element/3whereis/1```If you have any questions about ets, please refer to erlang's website's official document [here](http://erlang.org/doc/man/ets.html).## InstallationIf [available in Hex](https://hex.pm/docs/publish), the package can be installedby adding `ets_macro` to your list of dependencies in `mix.exs`:```elixirdef deps do [ {:ets_macro, "~> 0.1.0"} ]end```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)and published on [HexDocs](https://hexdocs.pm). Once published, the docs canbe found at [https://hexdocs.pm/ets_macro](https://hexdocs.pm/ets_macro).