SilverStripe\Gatsby\GraphQL\Types\Enums\RelationTypeTypeCreator
Type for specifying the sort direction for a specific field.
Synopsis
class RelationTypeTypeCreator
extends EnumSingleton
{
- // constants
- const HAS_ONE = 'HAS_ONE';
- const HAS_MANY = 'HAS_MANY';
- const MANY_MANY = 'MANY_MANY';
- const BELONGS_MANY_MANY = 'BELONGS_MANY_MANY';
- const BELONGS_TO = 'BELONGS_TO';
- // methods
- public void attributes()
- // Inherited methods from EnumSingleton
- public void toType()
- public void getAttributes()
Hierarchy
Constants
Name | Value |
---|---|
HAS_ONE | 'HAS_ONE' |
HAS_MANY | 'HAS_MANY' |
MANY_MANY | 'MANY_MANY' |
BELONGS_MANY_MANY | 'BELONGS_MANY_MANY' |
BELONGS_TO | 'BELONGS_TO' |