def event_log_get_oldest(self):
    query = model_query(models.EventLog)
    result = query.order_by(asc(models.EventLog.created_at)).limit(1).one()
    return result
def event_log_get_oldest(self):
    query = model_query(models.EventLog)
    result = query.order_by(asc(models.EventLog.created_at)).limit(1).one()
    return result