Query ​
- Type
- Class
- Namespace
- craft\gql\types
- Inherits
- craft\gql\types\Query
- Uses traits
- craft\gql\base\GqlTypeTrait
- Since
- 3.3.0
Class Query
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()
​
Throws ​
- craft\errors\GqlException
if class called incorrectly.
getName()
​
Returns the GraphQL type name.
Protected Methods ​
Method | Description |
---|---|
getConditionalFields() | Return conditional fields for this type. |