fix: remove last {{query reference seen in db graphs

Also fix return val of previous commit
This commit is contained in:
Gabriel Horner
2024-09-25 14:24:00 -04:00
parent 30a652631d
commit d4b7720573
3 changed files with 4 additions and 7 deletions

View File

@@ -646,7 +646,7 @@ Some bindings in this fn:
{:block/_parent ...}])
(defn query
"Runs a dsl query with query as a string. Primary use is from '{{query }}'"
"Runs a dsl query with query as a string. Primary use is from '/query' or '{{query }}'"
([repo query-string]
(query repo query-string {}))
([repo query-string query-opts]
@@ -705,8 +705,6 @@ Some bindings in this fn:
(string/includes? query' (str "(" filter-name)))
(comment
;; {{query (and (page-property foo bar) [[hello]])}}
(query "(and [[foo]] [[bar]])")
(query "(or [[foo]] [[bar]])")