Hi, does anyone have an example on how to use the ...
# prisma-whats-new
m
Hi, does anyone have an example on how to use the
every
filter in a query? I would like to query a group that contains exactly an array of users like so:
Copy code
const group = await ctx.db.query.groups(
        {
          where: {
            users_every: users
          }
        },
        info,
      )
wherein users is an array of ids. However, I somehow cannot meet the required format. What do I pass to the users_every as a parameter?