Define Datomic Named Rules

Let us specify datomic rules. Then can be specified in :rules. i.e.

{:rules [[(twitter ?c)
  [?c :community/type :community.type/twitter]]] }

It can be used to simplify queries, and implement recursion.

Datalog rules have been supported for awhile and are documented at https://docs.logseq.com/#/page/advanced%20queries

1 Like