Answers for "typeorm get data from a table by array of id"

0

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();
Posted by: Guest on October-07-2020

Code answers related to "typeorm get data from a table by array of id"

Code answers related to "Javascript"

Browse Popular Code Answers by Language