3

I have an aggregate query and I want to feed to the change of aggregated result. For example:

r.table('logs').group('message').count().changes()

Obviously the above command failed.

Is there any workarounds that I can feed to the change?

Codinfox
  • 540
  • 5
  • 18

1 Answers1

2

Changefeeds on aggregations aren't supported in the current version of RethinkDB, unfortunately. You'd have to do r.table('logs').changes() and do the aggregation yourself in the client.

You can track progress on adding this feature at https://github.com/rethinkdb/rethinkdb/issues/1118 .

mlucy
  • 5,249
  • 1
  • 17
  • 21