def get_namespace_statistics(self, namespace, start_offset, end_offset):
        cursor = self.cursor
        cursor.execute('SELECT SUM(data_points), SUM(byte_count) '
                       'FROM gauged_statistics WHERE namespace = %s '
                       'AND offset BETWEEN %s AND %s',
                       (namespace, start_offset, end_offset))
        return [long(count or 0) for count in cursor.fetchone()]
If a 'format' query is specified, the renderer with the matching
dataset/ETHPy150Open chriso/gauged/gauged/drivers/mysql.py/MySQLDriver.get_namespace_statistics--crossover with--dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_response.py/RendererIntegrationTests.test_specified_renderer_serializes_content_on_format_query