L1VM - l1vmgodata links
L1VM - l1vmgodata links
Now the latest version of my l1vmgodata database has a new feature: you can add links between keys. And also remove them. You can get the links from the database from a key. This makes it possible to structure data beyond key/value pairs.
Here is an example:
Set link:
store data :water-n 'water'
OK
store data :water-chem 'H2O'
OK
set-link :water-n 'water-chem'
OK
Get links total number:
get-links-number :water-n ''
1
Get link index 0:
get-link-name :water-n '0'
water-chem
Remove link:
rem-link :water-n 'water-chem'
OK
The L1VM l1vmgodata module was also updated with the new commands.