def METHOD_NAME(self, ts):
    try:
        data = self.db.execute('''SELECT message FROM messages WHERE timestamp >= ? ;''', [ts])
        return data
    except Exception as e:
        self.db.rollback()
        log.exception(e)