This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-11
Channels
- # babashka (3)
- # beginners (70)
- # calva (15)
- # cider (34)
- # clara (10)
- # cljsrn (2)
- # clojure (28)
- # clojure-europe (21)
- # clojure-france (1)
- # clojure-uk (17)
- # clojuredesign-podcast (4)
- # clojurescript (51)
- # cursive (21)
- # data-science (1)
- # datalog (2)
- # datascript (2)
- # datomic (10)
- # emacs (5)
- # esprit (24)
- # expound (9)
- # figwheel-main (15)
- # fulcro (31)
- # graphql (3)
- # jobs-discuss (27)
- # keechma (2)
- # luminus (2)
- # malli (2)
- # minimallist (14)
- # nrepl (1)
- # off-topic (4)
- # pathom (1)
- # pedestal (8)
- # re-frame (10)
- # reagent (5)
- # reitit (2)
- # rewrite-clj (54)
- # sci (1)
- # shadow-cljs (34)
- # spacemacs (12)
- # sql (17)
- # vim (16)
- # web-security (1)
Hey! 👋
I have a question on keechma-entitydb
In this example https://github.com/keechma/keechma-entitydb#querying-relationships
If I want to add to this entity a new link later
{:id 1
:title "Note #1"
:links [{:id 1
:url ""}
{:id 2
:url ""}]}
Should I insert the new again including the vector of 3 links (2 old, and the new one), or is there a way to prepend/append directly?@ferossgp the expectation is to insert a vector of 3 links. Entitydb will replace whatever is on the :links
key with a new collection. We don’t have a prepend / append functionality atm, but it could probably be built pretty easily. Can you open an issue for that on the repo?
👍 3