0
Q:

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();
0

New to Communities?

Join the community