Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- node(func: uid(0x2802)) {
- feed {
- uid
- name
- dealer {
- uid
- name
- }
- }
- vehicle.model {
- uid
- name
- vehicle.style {
- uid
- name
- }
- }
- type
- uid
- name
- price_usd
- }
- #want: listings that are touring hondas by dealers
- #this only gets listings that are
- #hondas by dealers, but doesn't have
- #a vehicle.style constraint
- dealerfeed(func: has(dealer)) @filter(eq(type, "Feed")) {
- ~feed @filter(eq(type, "Listing")){
- uid
- name
- price_usd
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement