Trash Object
Bu içerik henüz dilinizde mevcut değil.
Root Connection
Заголовок раздела «Root Connection»All Trash objects of an account are accessible by a query on the root connection
trash
.
Such a query will return a
TrashConnection!
, which contains the Trash objects in its
nodes
field.
trash (
TrashConnection!
)
Root connection for retrieving Trash records.
| Argument | Type | Description |
|---|---|---|
after | String | Returns the elements in the list that come after the specified cursor. |
before | String | Returns the elements in the list that come before the specified cursor. |
filter | TrashFilter | Filter to determine which Trash records are returned. |
first | Int | Returns the first n elements from the list. |
last | Int | Returns the last n elements from the list. |
order | TrashOrder | Order of the Trash records returned. |
view | TrashView | View name. The default value is current_account . |
The fields in this section list which values can be retrieved when querying Trash records.
account (
Account!
)
The account of the trashed record belongs to.
createdAt (
ISO8601Timestamp
)
The date and time at which the trash was created.
id (
ID!
)
Unique identifier of the object.
trashed (
HasLifeCycleState
)
The trashed record, e.g. Request.
trashedBy (
Person
)
The person who trashed the record.
Implements
Заголовок раздела «Implements»Trash implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Trash.