This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-06
Channels
- # admin-announcements (1)
- # alda (2)
- # beginners (5)
- # boot (59)
- # clara (6)
- # cljs-dev (40)
- # cljsrn (32)
- # clojure (28)
- # clojure-austin (1)
- # clojure-belgium (67)
- # clojure-greece (60)
- # clojure-ireland (1)
- # clojure-japan (1)
- # clojure-russia (55)
- # clojure-spain (14)
- # clojure-spec (39)
- # clojure-uk (26)
- # clojurescript (152)
- # clojurewerkz (1)
- # cursive (21)
- # datomic (3)
- # dirac (15)
- # emacs (7)
- # events (2)
- # funcool (4)
- # hoplon (43)
- # immutant (1)
- # lambdaisland (1)
- # lein-figwheel (6)
- # leiningen (1)
- # off-topic (1)
- # om (23)
- # onyx (67)
- # other-languages (6)
- # pedestal (7)
- # planck (13)
- # proton (3)
- # protorepl (2)
- # re-frame (6)
- # reagent (5)
- # ring-swagger (6)
- # spacemacs (1)
- # specter (2)
- # yada (27)
hey if you use the dev transactor where is the actual data stored on your filesystem?
@adamkowalski: the default location is a directory named data at the top level of the Datomic distribution. You can change the location in the transactor properties file
If you have an arbitrarily nested set of refs, what is the best way to query for the parent? For example, take a set of facts that looks like below.
{:label "parent"
:props [{:type :type1
:content [{:label "Label1"
:content [{:type :type2
:content [{:db/id 1234
:type :type3
:label "Label2"
:content [{:type :type3
:key "Key1"}]}
{:label "Label4"
:content [{:type :type4
:key "Key2"}]}]}]}]}]}
Say I have the :db/id
1234
for the nested fact in the data structure above. What is the best way to query for the parent entity? Or would it be better to just attach a parent id to all necessary children?