Query
- Type
- Class
- Namespace
- craft\gql\types
- Inherits
- craft\gql\types\Query
- Uses traits
- craft\gql\base\GqlTypeTrait
- Since
- 3.3.0
Class Query
View source (opens new window)
# Public Methods
Method | Description |
---|---|
getFieldDefinitions() | |
getName() | Returns the GraphQL type name. |
getType() | Returns an instance of this schema object's type as provided by entity registry |
# getFieldDefinitions()
View source (opens new window)
Throws
- craft\errors\GqlException
if class called incorrectly.
# getName()
Returns the GraphQL type name.
View source (opens new window)
# Protected Methods
Method | Description |
---|---|
getConditionalFields() | Return conditional fields for this type. |
← Number QueryArgument →