    def filterBy(self, array, key, value=None):
        return Exchange.filter_by(array, key, value)