Ngr Dev
08/23/2019, 1:46 PMprisma2, nexus and graphql-yoga. I would like to query for multiple Posts for which I already know their id.
Photon seems to support this with e.g. photon.posts.findMany({where: {OR: [{id: "post1"}, {id: "post2"}]}}); and by adding t.crud.findManyPost({alias: "posts"}); I can query for multiple posts, but the only arguments the graphQL query takes are the default ones (skip to last).
Is there a simple way to enable e.g. where?
Thanks for your feedback!Ngr Dev
08/23/2019, 3:20 PMwhere by setting t.crud.findManyPost({alias: "posts", filtering: true});
Other (boolean) options I learned about are ordering and pagination