This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-25
Channels
- # announcements (66)
- # aws (1)
- # beginners (60)
- # boot (6)
- # calva (80)
- # cider (3)
- # clj-kondo (14)
- # cljdoc (4)
- # cljs-dev (27)
- # clojure (65)
- # clojure-dev (24)
- # clojure-europe (13)
- # clojure-gamedev (3)
- # clojure-italy (3)
- # clojure-nl (21)
- # clojure-uk (35)
- # clojurescript (98)
- # cursive (25)
- # data-science (3)
- # datomic (10)
- # dirac (16)
- # duct (2)
- # events (2)
- # fulcro (39)
- # jobs-discuss (1)
- # malli (2)
- # other-languages (1)
- # pedestal (26)
- # re-frame (61)
- # reagent (1)
- # reitit (7)
- # shadow-cljs (230)
- # specter (1)
- # tools-deps (29)
- # vim (1)
- # yada (4)
how to limit search for a particular day? I have field in the entity with type :db.type/instant
.
@kalaneje you can (d/q '[:find ?id :in $ ?limit :where [_ :user/id ?id ?tx] [?tx :db/txInstant ?inst] [(> ?inst ?limit)]] db #inst"...")
Will return all user-id's that was transacted before #inst".."
I'm currently at a client using a very old Datomic version (0.8.4138) - and was wondering how I should go about updating. Could I safely bump the transactor version while staying on the old client API? Or the other way around? Or do I need to time it exactly to upgrade both at the same time?
Normally you can update peer and txor versions in any order except in the cases mentioned here https://docs.datomic.com/on-prem/release-notices.html
However that version is so old I recommend a backup, shutdown, upgrade, and restore if you can get away with it
If I have a Datomic Cloud system that I am not currently using do I just stop the instances of the system + bastion to prevent being charged for it or do I need to do anything else, like delete the stack?
@markbastian modify the autoscaling group by setting 0 min instances and 0 desired instances on both the bastion and other nodes. That will bring them all down. It wont save all the cost because you're still paying for storage of existing data, but it's as cheap as I think you can get.
and @markbastian if you want to get rid of the storage cost etc and totally remove datomic you can follow this doc