rethinkdb 2016-08-02

@adrien has joined the channel

I started using the client from apa512

works well, I'm happy with it

I don't understand how the changes work

I get something like this:

(def changes (r/run (r/changes (r/get (r/table "plots") plot)) conn))

where plot is the id of the document

I get a #object[rethinkdb.net.Cursor 0x7d1c023f "rethinkdb.net.Cursor@7d1c023f"]

but I don't know how to consume it

do you have some indications?

I was misusing r/changes this works:

(def changes
  (-> 
   (r/table "plots")
   (r/get plot)
   r/changes
   (r/run conn)))

then I can get the elements with first for example

still a lot to learn, and it's nice 🙂

thanks for putting up the library! that's a lot of work!