Skip to content

"is involved with query" condition is broken #269

@mdroidian

Description

@mdroidian

It is looking for query rather than scratch
https://github.com/RoamJS/query-builder/blob/main/src/utils/registerDiscourseDatalogTranslators.ts#L127

changing it to scratch returns the proper conditions/returnNode but results in

Error from Roam: Rule variables should be distinct

image

[: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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions