1. A method comprising: receiving a first database query, the first database query requesting particular data associated with a first object, the first object stored on a data source; determining whether the first database query comprises an aggregation; sending an instruction to generate current aggregate data based on the aggregation to the data source in response to determining that the first database query comprises the aggregation, wherein: the instruction to generate the current aggregate data is generated based on the aggregation, the current aggregate data corresponds to the particular data, the data source is configured to generate the current aggregate data in response to receiving the instruction to generate the current aggregate data; generating a second database query based on the first database query in response to sending the instruction to generate the current aggregate data, the second database query requesting the current aggregate data; retrieving the current aggregate data using the second database query in response to generating the second database query; providing the current aggregate data in response to retrieving the current aggregate data; and issuing the first query in response to determining that the first database query does not comprise the aggregation.