🚧 This page is an experiment in learning in semi-public. Misc bits I learn about datalog and datomic will be recorded here. 🚧
Why am I doing this? I am very interested in the different that can be done from within Roam Research. These queries allow a massive amount of flexibility to the questions we can ask our own database.
An alternate option would be to encode the query within custom JS (similar to what the RoamAlphaAPI calls do). I am against using that JS for one-off queries because of how ugly and complicated the block structure needs to be to accommodate it
What is the difference between
re-matches matches the whole string. But often, we want to find a match within a string. re-find returns the first match within the string. The return values are similar to re-matches.