I've made a painting to illustrate my desired result: painting of the result
I have a max timestamp that i pass to my backend and i want to return the newest versions of the Entities that have a timestamp that is less than the passed one.
The passed timestamp in my example is 180. I've kept the numbers low so that it is easier to visualize.
This is a combination of a horizontal and a vertical Query and i'm not sure how i can achieve that. Any help would be appreciated!