Open mdroidian opened 2 months ago
It is looking for query rather than scratch https://github.com/RoamJS/query-builder/blob/main/src/utils/registerDiscourseDatalogTranslators.ts#L127
query
scratch
changing it to scratch returns the proper conditions/returnNode but results in
conditions
returnNode
Error from Roam: Rule variables should be distinct
[:find (pull ?node [:block/string :node/title :block/uid]) (pull ?node [:block/uid]) :where [?node :node/title "edited data"] [?node :block/children ?c] (or-join [?node ?node] (and [?node :block/uid ?node-Uid] [?node :block/uid ?node-Uid] )) ]
I'm not sure what the query should be exactly, requires more digging.
It is looking for
query
rather thanscratch
https://github.com/RoamJS/query-builder/blob/main/src/utils/registerDiscourseDatalogTranslators.ts#L127changing it to
scratch
returns the properconditions
/returnNode
but results inI'm not sure what the query should be exactly, requires more digging.