View Source Etso.ETS.TableStructure (Logflare Etso v1.1.2)
The ETS Table Structure module contains various convenience functions to aid the transformation between Ecto Schemas (maps) and ETS entries (tuples). The primary key is moved to the head, in accordance with ETS conventions. Composite primary keys can not be accepted, however.