Fork me on GitHub
#rethinkdb
<
2016-05-10
>
thedavidmeister18:05:20

r
  .table('EAVT')
  .group('e', 'a')
  .max('stamp’)

thedavidmeister18:05:34

is it possible to add a filter after max?

thedavidmeister18:05:59

r
  .table('EAVT')
  .group('e', 'a')
  .max('stamp')
  .filter({added: true})

thedavidmeister18:05:07

e: Cannot convert OBJECT to SEQUENCE in:

afhammad22:05:49

whats the equivilent of the r.row function in clj-rethinkdb?

afhammad23:05:27

trying to do something like this: r.table('videos').get(id).update({ views: r.row('views').add(1) })