chore: add basic tests for sqlite.build

and added a couple db-graph specific for query-dsl. Also
moved fns in pu that should be in db-pu
This commit is contained in:
Gabriel Horner
2024-06-10 11:51:47 -04:00
parent d574cc3b0e
commit 04b25a9240
9 changed files with 121 additions and 38 deletions

View File

@@ -21,7 +21,7 @@
[frontend.config :as config]
[logseq.db.frontend.property :as db-property]
[frontend.state :as state]
[frontend.handler.property.util :as pu]))
[frontend.handler.db-based.property.util :as db-pu]))
;; Query fields:
@@ -634,7 +634,7 @@ Some bindings in this fn:
(let [repo (state/get-current-repo)]
(map (fn [blocks]
(mapv (fn [block]
(assoc block :block/properties-by-name (pu/properties-by-name repo block)))
(assoc block :block/properties-by-name (db-pu/properties-by-name repo block)))
blocks))
col))
col))