red v0.2.0 Red.Entity
Provides the representation of an entity.
The focus of Red is to persist relations between entities, but not entities’ data per se.
Therefore, the representation of an entity is focused
on its unique identification. A %Red.Entity{id, class}
needs to have a id
,
and optionally have a class
.
The function build/1
provides an extensive way to build entity structs.
Link to this section Summary
Functions
See Red.entity/1
for examples
Link to this section Types
Link to this section Functions
See Red.entity/1
for examples