This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-23
Channels
- # announcements (1)
- # aws (11)
- # beginners (28)
- # boot (235)
- # business (1)
- # cider (19)
- # clojure (34)
- # clojure-china (1)
- # clojure-czech (10)
- # clojure-japan (7)
- # clojure-poland (3)
- # clojure-russia (84)
- # clojure-sg (4)
- # clojure-uk (3)
- # clojurescript (114)
- # community-development (4)
- # core-async (15)
- # cursive (8)
- # datascript (5)
- # datomic (6)
- # editors-rus (27)
- # events (2)
- # hoplon (61)
- # jobs (2)
- # ldnclj (56)
- # ldnproclodo (5)
- # lein-figwheel (232)
- # luminus (1)
- # off-topic (5)
- # om (215)
- # onyx (436)
- # overtone (8)
- # re-frame (3)
- # reagent (3)
@tonsky: Hi, I am using datascript on the client, and datomic on the server, and sharing queries between them. I run into a problem with input variables when I want to parametrise a query over a pull-pattern. Datomic requires that the symbol not start with a ?
, whereas datascript requires (and works) when I use a variable that starts with a ?
. For example:
[:find (pull ?e pattern)
:in $ ?artist pattern
:where [?e :release/artists ?artist]]
works on Datomic, and:
[:find (pull ?e ?pattern)
:in $ ?artist pattern
:where [?e :release/artists ?artist]]
works on datascript.