This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-20
Channels
- # aws (1)
- # beginners (14)
- # boot (30)
- # cider (6)
- # clara (9)
- # cljsjs (3)
- # cljsrn (22)
- # clojure (247)
- # clojure-dusseldorf (75)
- # clojure-france (38)
- # clojure-italy (6)
- # clojure-japan (8)
- # clojure-nl (3)
- # clojure-russia (16)
- # clojure-serbia (4)
- # clojure-spec (1)
- # clojure-uk (53)
- # clojurescript (168)
- # consulting (3)
- # copenhagen-clojurians (1)
- # core-async (7)
- # css (1)
- # datascript (3)
- # datomic (8)
- # dirac (22)
- # events (1)
- # hoplon (2)
- # jobs (1)
- # jobs-discuss (2)
- # leiningen (4)
- # lumo (138)
- # mount (13)
- # nyc (1)
- # off-topic (24)
- # om (34)
- # onyx (15)
- # pedestal (30)
- # re-frame (9)
- # reagent (23)
- # ring (1)
- # ring-swagger (24)
- # rum (6)
- # spacemacs (6)
- # specter (51)
- # uncomplicate (14)
- # unrepl (1)
- # untangled (17)
- # yada (12)
hi guys, is there any macro to convert current clojure function to datomic function ? And btw, is it the right way to use datomic function as migration function ?
@isaac With a typical schema & query, you have to query for all entities of that type and sort them in the Peer. If you need to do this kind of operation frequently, it may be more efficient to create a dedicated attribute with "time" in reverse order. Then you can use d/index-range
to scan for the latest.
Are there any examples i can use for inspiration regarding using multiple databases? I have one type of entity which I know will exceed 10BN datoms and I imagine I'll have to be adding databases and transactors maybe once every 6 months to a year. I frequently google the topic but always seem to come up blank for an example or ideas on how to model your application.
@jdkealy This tends to be specific to each use case. I recommend contacting Cognitect for support and recommendations.
@jdkealy The Datomic Pro license includes support; http://www.datomic.com/get-datomic.html