This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-06
Channels
- # babashka (60)
- # beginners (36)
- # clj-kondo (29)
- # clojure (91)
- # clojure-dev (18)
- # clojure-europe (12)
- # clojure-nl (1)
- # clojure-norway (11)
- # clojure-uk (5)
- # clojuredesign-podcast (8)
- # clojurescript (40)
- # core-typed (74)
- # data-science (8)
- # datomic (9)
- # emacs (22)
- # events (5)
- # fulcro (56)
- # gratitude (3)
- # hyperfiddle (11)
- # lsp (6)
- # malli (36)
- # meander (23)
- # off-topic (50)
- # polylith (4)
- # portal (10)
- # reitit (4)
- # schema (1)
- # shadow-cljs (66)
- # squint (3)
- # tools-deps (16)
Just learned about conditional queries from https://grishaev.me/en/datomic-query/ and used it to make a function with map options to filter for :location
and :flagged-entries?
for whether an entry has been flagged or not.
I once made a a sql-as-json to datalog compiler with a similar approach. Was delightfully simple.
Is it safe to use a datomic d/db
value inside a delay?
In many cases, the delay would be derefed within seconds, but sometime never and sometime it could be hours later. Presumably, the db
is related to a connection
, so I’m concerned the connection will expire in some way?
If it matters: I have an on-prem installation, using dynamodb storage.
yes this is safe. A db is created from a connection, as long as the connection is working, db's can be created.