Module infinitree::fields::depth
source · Expand description
Transaction depth resolvers for custom Collection
types.
An index field can store either a snapshot of the field during serialization, or incremental changes.
The query engine needs to know how deep to look in the commit history to accurately load an index field. These types help encode meaningful transaction walks.
Note that during queries and loads, commits are walked in reverse order, last one first.
Structs
- Walk through the full history in reverse order. Useful for incremental types.
- Only load the first (peak) commit in the list. Useful for snapshot types.