Say I want to group dateteime data stored in dgraph into buckets of 10 minute resolutions. Eg.
10:27:23 should go to the bucket 10:20:00
10:31:12 should go to the bucket 10:30:00
(date part omitted)
My current assumption is that the group_by on a datetime field doesn’t permit me doing that.
So instead when inserting or updating data I would like to auto-compute an additional field
timestamp_computed according to that “rule”.
Is that possible or would this be the responsibility of the inserting client?