I think this conj video covered that. 

http://m.youtube.com/watch?v=7lm3K8zVOdY

--Ashton

Sent from my iPhone

> On Dec 27, 2014, at 1:57 PM, rogergl <ro...@gilliar.de> wrote:
> 
> I would like to replay all changes since a specific timestamp.  It seems as 
> if I can get all transactions with 
> 
> (q '[:find ?t :where 
>      [_ :db/txInstant ?t]
>      ] (db conn))
> 
> Using as-of would allow me to replay the state at a given point in time. But 
> that would replay the complete state and not just the changes.
> 
> Is it possbile to get just the changes for a specific transaction ?
> 
> I tried 
> 
>   (q '[:find ?c ?n  :where 
>      [?tx :db/txInstant g]
>      [?c :db/txInstant ?n ?tx]] (db conn))
> 
> to test if I can get back a result for a specific transaction. That did not 
> work although g was a value from the first query.
> 
> Regards
>   Roger
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to