Created
December 4, 2019 18:18
-
-
Save hatsumatsu/a266d8c91d870b4f81c2284333c3b00d to your computer and use it in GitHub Desktop.
graphql 001
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query MyQuery( $now: Date ) { | |
allWordpressWpExhibitions(sort: {fields: acf___starting_date, order: ASC}, filter: {acf: {starting_date: {gt: $now}}}) { | |
nodes { | |
title | |
acf { | |
starting_date | |
} | |
} | |
} | |
} | |
{ | |
"now": "20180610" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment