Basically, I want older versions of the rows based on some event datetime in the row. Let's say every row represents some event with rows constantly updating until the event actually happens. I want to retrieve the state at a certain time before the (up front known) eventtime. Of course I could retrieve all the last versions, then loop over all the entries and calculate the relevant timestamp and query per row based on that, but is there a better way?
Somewhat similar to this question: