Fork me on GitHub
#rethinkdb
<
2016-08-02
>
adrien20:08:43

I started using the client from apa512

adrien20:08:52

works well, I'm happy with it

adrien20:08:11

I don't understand how the changes work

adrien20:08:42

I get something like this:

adrien20:08:47

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

adrien20:08:05

where plot is the id of the document

adrien20:08:36

I get a #object[rethinkdb.net.Cursor 0x7d1c023f "[email protected]"]

adrien20:08:45

but I don't know how to consume it

adrien20:08:05

do you have some indications?

adrien22:08:57

I was misusing r/changes this works:

adrien22:08:06

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

adrien22:08:33

then I can get the elements with first for example

adrien22:08:25

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

adrien22:08:44

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