This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-18
Channels
- # beginners (22)
- # boot (12)
- # cider (3)
- # cljs-dev (12)
- # cljsrn (8)
- # clojure (101)
- # clojure-nl (5)
- # clojure-russia (13)
- # clojure-spec (5)
- # clojure-uk (15)
- # clojurescript (158)
- # cursive (5)
- # datascript (16)
- # datomic (8)
- # hoplon (11)
- # lumo (33)
- # off-topic (3)
- # om (25)
- # parinfer (1)
- # pedestal (8)
- # protorepl (4)
- # re-frame (8)
- # reagent (5)
- # specter (18)
- # sql (1)
- # testing (11)
- # timbre (1)
- # unrepl (2)
- # untangled (1)
Hi, how can I get the latest 9 entries from my datomic data store. I want the latest 9 :author/email .. how would I go about doing that?
@sova you can iterate on the Log and search for the corresponding datoms... but oftentimes its best to have an explicit time attribute on the entity.
Is it possible to add entities to the db without a schema, say for testing simple db utility functions?
@ezmiller77: I don't think so. But, depending what kind of utility functions you're testing, it might be worth noting that datomic.api/q
can be used against a static list of facts rather than a Datomic DB. This way you could conjure up whatever data you wanted without touching a schema.
Yeah… was thinking about that. I might be testing for no good reason, since I was basically just testing (d/pull)
How suitable is datomic-free as a private in-memory database of a stream processing node, or an actor, agent etc?
Hi! I want a case insensitive where clause. Someone know if it's possible and how can I do that? I already tried this http://stackoverflow.com/questions/32164131/parameterized-and-case-insensitive-query-in-datalog-datomic but not worked for me. Worked partially but if I use "you" as input and have this records "you" and "Youtube", it'll return both of them. How can I just retrieve the exact match?