chg: [data-structure] relationship model added

main
Alexandre Dulaunoy 2021-05-27 08:19:27 +02:00
parent afde6eb55f
commit 8fd415134a
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,10 @@ Each UUID inserted might have a corresponding hash table
- `<type>:<UUID>` -> keys associated with the hash table type
## Reserved keys
- `raw` - raw data for the specific item
# t:<TYPE INT> (sorted set)
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`}
# 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
## Automatic API statistics