qbit
qbit copied to clipboard
Storage format: Entity vs List<Eav>
Actual behavior: trx log is stored as List[Eav].
This solution has several disadvantages:
- Redundant storage of Gids and attribute names
- ~Unclear how to implement (nested) Map attributes~
- Unclear how to support empty lists
As an alternative, trx may be stored as List[Entity]. Consider what is disadvantages of this solution and choose and implement one.
Probably it's worth to store trx as Map[EntityCollection,List[Entity]] (see #51).
Related to #8