iterate expects {where: filter}