Fork me on GitHub
#rethinkdb
<
2016-05-12
>
afhammad10:05:58

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

apa51213:05:41

@afhammad: you have to use a function:

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

afhammad13:05:27

@apa512: Thanks, got there in the end.

thedavidmeister14:05:21

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