Fork me on GitHub
#datomic
<
2017-02-26
>
sova-soars-the-sora22:02:25

How would I query for elements that were transacted in the last 24 hours?

sova-soars-the-sora23:02:01

Okay, Got a question for the experts!

sova-soars-the-sora23:02:42

So, I have a bunch of things (entities). Some of them are blurbs. Some are ratings. Some are comments. I do a time query on $log and get all the entities, but all I want to know is which blurbs have occurred between time1 & time2.

sova-soars-the-sora23:02:48

So my question is, does it make sense to:

sova-soars-the-sora23:02:44

1) time query on $log, because fast. 2) sequentially iterate-query through result set, find out which eids are blurbs 3) use those matching eids to get a result set for later.

sova-soars-the-sora23:02:27

"Last 24 hours of blurbs" is pretty much my mark / aim here, so I think this approach is good, but I'm wondering what the best way is to do step 2 without duplicated efforts