Volt.ETS (Volt v0.19.3)

Copy Markdown View Source

Small helpers for Volt's named ETS tables.

Summary

Functions

Remove all rows from an ETS table and return :ok.

Delete rows keyed by {session, key} for one exact session.

Create a public named set table optimized for concurrent reads.

Delete one key from an ETS table and return :ok.

Insert one row into an ETS table and return :ok.

Resolve an owned session table or the legacy table at the API boundary.

Functions

clear(table)

Remove all rows from an ETS table and return :ok.

clear_session(table, session)

Delete rows keyed by {session, key} for one exact session.

create_named_set(table)

Create a public named set table optimized for concurrent reads.

delete(table, key)

Delete one key from an ETS table and return :ok.

put(table, row)

Insert one row into an ETS table and return :ok.

session_table(tables, kind, legacy)

Resolve an owned session table or the legacy table at the API boundary.