Schema Documentation
DateQueryInput
Description
Filter the connection based on input
Fields
Input Field | Description |
---|---|
after -
DateInput | Nodes should be returned after this date |
before -
DateInput | Nodes should be returned before this date |
column -
PostObjectsConnectionDateColumnEnum | Column to query against |
compare -
String | For after/before, whether exact value should be matched or not |
day -
Int | Day of the month (from 1 to 31) |
hour -
Int | Hour (from 0 to 23) |
inclusive -
Boolean | For after/before, whether exact value should be matched or not |
minute -
Int | Minute (from 0 to 59) |
month -
Int | Month number (from 1 to 12) |
relation -
RelationEnum | OR or AND, how the sub-arrays should be compared |
second -
Int | Second (0 to 59) |
week -
Int | Week of the year (from 0 to 53) |
year -
Int | 4 digit year (e.g. 2017) |
Example
{"after":DateInput,"before":DateInput,"column":"DATE","compare":"xyz789","day":123,"hour":123,"inclusive":true,"minute":123,"month":123,"relation":"AND","second":987,"week":123,"year":987}