Created @where
, @whereBetween
, @whereNotBetween
, @eq
, @notEq
, @in
, @notIn
argument directives to filter queries.
type User {
id: ID!
name: String
email: String
}
type Query {
# filter users with an `id` in the provided array
users(include: [Int] @in(key: "id")): [User!]!
@paginate(model: "Tests\\\Utils\\\Models\\\User")
}
Until docs are released, check out the tests here.