Is there a way / workaround so that I can combine the results in RethinkDB

I have a pivot query and I want to submit a change to the aggregated result. For example:

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

      

Obviously the above command failed.

Are there any workarounds that I can use to change?

+3


source to share


1 answer


Changes to aggregates are not supported in the current version of RethinkDB, unfortunately. You will need to do r.table('logs').changes()

and do the aggregation yourself in the client.



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

+2


source







All Articles