This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-12
Channels
- # beginners (49)
- # boot (2)
- # cider (62)
- # clara (3)
- # cljdoc (5)
- # cljs-dev (7)
- # cljsrn (2)
- # clojure (68)
- # clojure-spec (23)
- # clojure-uk (4)
- # clojurescript (172)
- # conf-proposals (8)
- # core-async (1)
- # cursive (1)
- # datomic (12)
- # duct (1)
- # figwheel (22)
- # figwheel-main (11)
- # fulcro (23)
- # hoplon (9)
- # jobs-discuss (13)
- # lambdaisland (3)
- # lein-figwheel (119)
- # off-topic (43)
- # onyx (1)
- # re-frame (18)
- # ring (1)
- # shadow-cljs (120)
- # tools-deps (4)
It seems that I can't call select-keys
on the result of a transaction. Am I overlooking something?
; Good
(-> conn
(d/transact (update {} :tx-data conj data))
(get :db-after)
(get :t))
=> 24
; Not so good
(-> conn
(d/transact (update {} :tx-data conj data))
(get :db-after)
(select-keys [:t]))
IllegalArgumentException find not supported on type: datomic.client.impl.shared.Db clojure.lang.RT.find (RT.java:863)
just looked at the client docs, Db only supports ILookup (`get` or keyword access), as opposed to being an actual Map or Associative
๐ 4
cheers @eoliphant, that's what i suspected
Is there a limit on the size of a string valueType that can be stored in Datomic?
No idea how I missed that. Thank you ๐