Hey @sunnyorange,
the HistoricVariableInstanceQuery also offers a list()
method that queries the DB once and returns a list of HistoryVariableInstance
objects. You could then process this list of variables in memory.
Hope that helps you!
Cheers,
Tobias