Expected behavior
I would like to do :
const recordsGetter = new RecordsGetter(artists);
const records = recordsGetter.getAll([1, 2, 3]);
And obtain the artists with ids 1, 2 and 3.
Actual behavior
I have an error message because recordsGetter.getAll doesn’t accept arrays.
Context
Please provide any relevant information about your setup.
- Package Version:
- Express Version: 4.16.1
- Sequelize Version: 5.15.1
- Database Dialect: Postgres SQL
- Database Version:
- Project Name:
Currently, I loop on the artist ids array and I use recordGetter.get for each id. I would like to know if you have other ideas.
Thank you very much!