change `queryAll` to `getOne`