{
customers {
id
name
country
email
phone
}
}
===== S ograničenjem =====
{
customers(first: 10, skip: 0) {
id
name
}
}
===== S filterom =====
{
customers(filter: "Country eq 'Germany'") {
id
name
city
}
}
===== Pojedinačni zapis =====
{
customersById(id: "ALFKI") {
id
name
orders {
id
orderDate
total
}
}
}
===== Sortiranje =====
{
products(orderBy: "Price desc", first: 5) {
id
name
price
}
}