Files
imexrps/src/graphql/veh_group.queries.js
2020-10-16 15:14:25 -07:00

22 lines
367 B
JavaScript

import gql from "graphql-tag";
export const QUERY_GROUPS_BY_MAKE_TYPE = gql`
query QUERY_GROUPS_BY_MAKE_TYPE(
$make: String!
$type: String
$isNull: Boolean
) {
veh_groups(
where: {
_and: { make: { _eq: $make } }
type: { _eq: $type, _is_null: $isNull }
}
) {
id
group
make
type
}
}
`;