Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

wherein typeorm

const posts = await manager.createQueryBuilder(Post, "post")
    .where("post.authorId IN (:authors)", { authors: [3, 7, 9] })
    .orderBy("post.createDate")
    .getMany();
 
PREVIOUS NEXT
Tagged: #typeorm
ADD COMMENT
Topic
Name
2+8 =