chg: [data-structure] relationship model added
parent
afde6eb55f
commit
8fd415134a
|
@ -23,6 +23,10 @@ Each UUID inserted might have a corresponding hash table
|
||||||
|
|
||||||
- `<type>:<UUID>` -> keys associated with the hash table type
|
- `<type>:<UUID>` -> keys associated with the hash table type
|
||||||
|
|
||||||
|
## Reserved keys
|
||||||
|
|
||||||
|
- `raw` - raw data for the specific item
|
||||||
|
|
||||||
# t:<TYPE INT> (sorted set)
|
# t:<TYPE INT> (sorted set)
|
||||||
|
|
||||||
Each type got a sorted set (with a score of one) to easily paginate over the various types
|
Each type got a sorted set (with a score of one) to easily paginate over the various types
|
||||||
|
@ -41,6 +45,18 @@ The child(ren) UUID of the UUID.
|
||||||
|
|
||||||
- `child:<UUID>` -> {`UUID`, `UUID`}
|
- `child:<UUID>` -> {`UUID`, `UUID`}
|
||||||
|
|
||||||
|
# r:<UUID> (set)
|
||||||
|
|
||||||
|
The list of relationships from a specific UUID.
|
||||||
|
|
||||||
|
- `r:<UUID>` -> {`UUID`, `UUID`}
|
||||||
|
|
||||||
|
# rd:<UUID>:<UUID> (set)
|
||||||
|
|
||||||
|
The relationship data from an UUID tuple.
|
||||||
|
|
||||||
|
- `rd:<source UUID>:<destination UUID>` -> {`value`, `value`}
|
||||||
|
|
||||||
# Statistics
|
# Statistics
|
||||||
|
|
||||||
## Automatic API statistics
|
## Automatic API statistics
|
||||||
|
|
Loading…
Reference in New Issue