Added vehicle groups and age calculations.
This commit is contained in:
14
src/graphql/veh_group.queries.js
Normal file
14
src/graphql/veh_group.queries.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import gql from "graphql-tag";
|
||||
|
||||
export const QUERY_GROUPS_BY_MAKE_TYPE = gql`
|
||||
query QUERY_GROUPS_BY_MAKE_TYPE($make: String!, $type: String) {
|
||||
veh_groups(
|
||||
where: { _and: { make: { _eq: $make } }, type: { _eq: $type } }
|
||||
) {
|
||||
id
|
||||
group
|
||||
make
|
||||
type
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user