wip: move readByQuery to ListModel.