typeoorm find based on ids code example
Example: typeorm get data from a table by array of id
const posts = await manager.createQueryBuilder(Post, "post")
.where("post.authorId IN (:...authors)", { authors: [3, 7, 9] })
.orderBy("post.createDate")
.getMany();