Created
November 28, 2022 15:43
-
-
Save flyingsilverfin/5cec97bb5b59eb798afabe61b29e7d33 to your computer and use it in GitHub Desktop.
Rules in TypeDB blog: create infinite relations with a rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule infinite-list: | |
when { | |
$r isa list-node; | |
} then { | |
(previous: $r) isa list-node; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment