This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-15
Channels
- # babashka (41)
- # beginners (47)
- # calva (7)
- # cider (5)
- # cljsrn (2)
- # clojure (38)
- # clojure-europe (74)
- # clojure-nl (2)
- # clojure-spec (1)
- # clojure-uk (38)
- # clojurescript (42)
- # component (30)
- # core-async (2)
- # cryogen (6)
- # cursive (47)
- # datahike (7)
- # datomic (18)
- # defnpodcast (1)
- # fulcro (17)
- # graalvm (8)
- # graphql (4)
- # helix (5)
- # honeysql (5)
- # introduce-yourself (1)
- # jobs (5)
- # jobs-discuss (4)
- # malli (20)
- # meander (4)
- # mental-health (1)
- # off-topic (41)
- # pathom (18)
- # podcasts-discuss (2)
- # re-frame (20)
- # react (1)
- # reagent (22)
- # reitit (2)
- # releases (2)
- # remote-jobs (1)
- # reveal (2)
- # sci (10)
- # shadow-cljs (42)
- # sql (20)
- # tools-deps (7)
- # vim (2)
- # xtdb (51)
I get duplicate datoms when asking a db with since
.
(d/datoms (d/since (d/db conn) #inst"2021-06-01")
{:index :aevt
:components [:argument/id]})
; => (result in thread)
Can someone explain, if it should do that?(#datahike/Datom[652 :argument/id #uuid"60bb68ba-420d-49d6-95c5-afc9a52a9e87" 536871590 true]
#datahike/Datom[654 :argument/id #uuid"60bb6905-fbb0-423d-8819-c2078215a677" 536871591 true]
#datahike/Datom[656 :argument/id #uuid"60bbac6b-239b-4218-8de4-e2a57182ce5f" 536871592 true]
#datahike/Datom[658 :argument/id #uuid"60c0ec0c-ebd3-472b-a22b-a6e923dd079c" 536871642 true]
#datahike/Datom[660 :argument/id #uuid"60c11ea1-94f7-407e-bc07-1077259c7f28" 536871643 true]
#datahike/Datom[662 :argument/id #uuid"60c1230b-c4a4-45ed-9ae1-f74dd46691a3" 536871644 true]
#datahike/Datom[652 :argument/id #uuid"60bb68ba-420d-49d6-95c5-afc9a52a9e87" 536871590 true]
#datahike/Datom[654 :argument/id #uuid"60bb6905-fbb0-423d-8819-c2078215a677" 536871591 true]
#datahike/Datom[656 :argument/id #uuid"60bbac6b-239b-4218-8de4-e2a57182ce5f" 536871592 true]
#datahike/Datom[658 :argument/id #uuid"60c0ec0c-ebd3-472b-a22b-a6e923dd079c" 536871642 true]
#datahike/Datom[660 :argument/id #uuid"60c11ea1-94f7-407e-bc07-1077259c7f28" 536871643 true]
#datahike/Datom[662 :argument/id #uuid"60c1230b-c4a4-45ed-9ae1-f74dd46691a3" 536871644 true])
hi @U4VT24ZM3, could you share your configuration and version? I would have a look then.
0.3.5
{:name "dev-db"
:store {:backend :file
:path "/Users/bjebb/Development/decide3/_data"}}
Because of reasons (mainly I didn’t think this through) I always transacting the schema on startup.. But as you can see in the Screenshots it seems like there are the latest Datoms are the duplicates.
datoms
returns a seq of datoms as if the db weren’t in a historic database. And then the expected datoms