rethinkdb

afhammad 2016-05-12T10:31:58.000045Z

loving the composability & reusability of queries, this is something I enjoyed and pushed to the limits with Arel in rails but I think it can be taken to another level with rethinkdb

apa512 2016-05-12T13:07:41.000047Z

@afhammad: you have to use a function:

(r/fn [doc] (r/get-field doc :views))

afhammad 2016-05-12T13:14:27.000048Z

@apa512: Thanks, got there in the end.

2016-05-12T14:50:21.000049Z

so is there an example of how to get changefeeds working with the clojure rethinkdb library @apa512 ?

2016-05-12T15:00:44.000052Z

ta