typeorm using where to find element with an array of 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();