query {
brands(order_by: ["id"], limit: 5) {
id
name
products {
id
name
image
}
}
}
mutation {
insert_products(objects:[{name: "Product 1", image: "product1.jpg"}]) {
id
}
}
subscription {
orders (where: {id: {_eq: "XX-12"}}) {
id
payment
dispatched
}
}