accounts whose balance is bigger than a threshold value, fetching the id and balance simple fields, as well as the historicalBalances nested field.
historicalBalances) of objects with fields of their own. These objects can be filtered, too.
In the following query the historicalBalances are filtered in order to only return the balances created after a certain date:
{entityName}sConnection queries support exactly the same format of the where argument as the older {entityName}s queries used in the examples provided here.