Versions in this module Expand all Collapse all v0 v0.3.0 Jul 16, 2024 Changes in this version + var AllAnimalGroupBy = []AnimalGroupBy + var AllCategoryGroupBy = []CategoryGroupBy + var AllPostGroupBy = []PostGroupBy + var AllUserGroupBy = []UserGroupBy + type Animal interface + GetID func() int + GetName func() string + GetType func() string + IsAnimal func() + type AnimalAvg struct + ID float64 + type AnimalFilterInput struct + And []*AnimalFilterInput + Cat *CatFilterInput + Dog *DogFilterInput + ID *IntComparator + Name *StringComparator + Not *AnimalFilterInput + Or []*AnimalFilterInput + Type *StringComparator + type AnimalGroupBy string + const AnimalGroupByID + const AnimalGroupByName + const AnimalGroupByType + func (e *AnimalGroupBy) UnmarshalGQL(v interface{}) error + func (e AnimalGroupBy) IsValid() bool + func (e AnimalGroupBy) MarshalGQL(w io.Writer) + func (e AnimalGroupBy) String() string + type AnimalMax struct + ID int + Name string + Type string + type AnimalMin struct + ID int + Name string + Type string + type AnimalOrdering struct + ID *OrderingTypes + Name *OrderingTypes + Type *OrderingTypes + type AnimalSum struct + ID float64 + type AnimalsAggregate struct + Avg *AnimalAvg + Count int + Group map[string]interface{} + Max *AnimalMax + Min *AnimalMin + Sum *AnimalSum + type Cat struct + Color string + ID int + Name string + Type string + func (Cat) IsAnimal() + func (this Cat) GetID() int + func (this Cat) GetName() string + func (this Cat) GetType() string + type CatFilterInput struct + And []*CatFilterInput + Color *StringComparator + ID *IntComparator + Name *StringComparator + Not *CatFilterInput + Or []*CatFilterInput + Type *StringComparator type CategoriesAggregate + Avg *CategoryAvg + Group map[string]interface{} + Sum *CategorySum + type CategoryAvg struct + ID float64 + type CategoryGroupBy string + const CategoryGroupByID + const CategoryGroupByName + func (e *CategoryGroupBy) UnmarshalGQL(v interface{}) error + func (e CategoryGroupBy) IsValid() bool + func (e CategoryGroupBy) MarshalGQL(w io.Writer) + func (e CategoryGroupBy) String() string + type CategoryMax struct + ID int + Name string + type CategorySum struct + ID float64 type CreatePostInput + UserID *int + type Dog struct + Breed string + ID int + Name string + Type string + func (Dog) IsAnimal() + func (this Dog) GetID() int + func (this Dog) GetName() string + func (this Dog) GetType() string + type DogFilterInput struct + And []*DogFilterInput + Breed *StringComparator + ID *IntComparator + Name *StringComparator + Not *DogFilterInput + Or []*DogFilterInput + Type *StringComparator + type FloatComparator struct + Eq *float64 + Gt *float64 + Gte *float64 + IsNull *bool + Lt *float64 + Lte *float64 + Neq *float64 + type FloatListComparator struct + Contained []*float64 + Contains []*float64 + Eq []*float64 + IsNull *bool + Neq []*float64 + Overlap []*float64 type OrderingTypes + const OrderingTypesAscNullLast + const OrderingTypesDescNullLast type Post + UserAggregate []UsersAggregate + UserID *int + type PostAvg struct + ID float64 + UserID float64 type PostFilterInput + UserID *IntComparator + type PostGroupBy string + const PostGroupByID + const PostGroupByName + const PostGroupByUserID + func (e *PostGroupBy) UnmarshalGQL(v interface{}) error + func (e PostGroupBy) IsValid() bool + func (e PostGroupBy) MarshalGQL(w io.Writer) + func (e PostGroupBy) String() string + type PostMax struct + ID int + Name string + UserID int type PostMin + UserID int type PostOrdering + UserID *OrderingTypes + type PostSum struct + ID float64 + UserID float64 type PostsAggregate + Avg *PostAvg + Group map[string]interface{} + Sum *PostSum type UpdatePostInput + UserID *int + type UserAvg struct + ID float64 + type UserGroupBy string + const UserGroupByID + const UserGroupByName + func (e *UserGroupBy) UnmarshalGQL(v interface{}) error + func (e UserGroupBy) IsValid() bool + func (e UserGroupBy) MarshalGQL(w io.Writer) + func (e UserGroupBy) String() string + type UserMax struct + ID int + Name string + type UserSum struct + ID float64 type UsersAggregate + Avg *UserAvg + Group map[string]interface{} + Sum *UserSum v0.2.1 Jan 1, 2023 Changes in this version + var AllOrderingTypes = []OrderingTypes + var AllRelationType = []RelationType + type AggregateResult struct + Count int + type BooleanComparator struct + Eq *bool + IsNull *bool + Neq *bool + type BooleanListComparator struct + Contained []*bool + Contains []*bool + Eq []*bool + IsNull *bool + Neq []*bool + Overlap []*bool + type CategoriesAggregate struct + Count int + Max *CategoryMin + Min *CategoryMin + type Category struct + ID int + Name *string + type CategoryFilterInput struct + And []*CategoryFilterInput + ID *IntComparator + Name *StringComparator + Not *CategoryFilterInput + Or []*CategoryFilterInput + type CategoryMin struct + ID int + Name string + type CategoryOrdering struct + ID *OrderingTypes + Name *OrderingTypes + type CreatePostInput struct + ID int + Name *string + type IntComparator struct + Eq *int + Gt *int + Gte *int + IsNull *bool + Lt *int + Lte *int + Neq *int + type IntListComparator struct + Contained []*int + Contains []*int + Eq []*int + IsNull *bool + Neq []*int + Overlap []*int + type ManyToManyRelation struct + Fields []*string + References []*string + Table *string + type OrderingTypes string + const OrderingTypesAsc + const OrderingTypesAscNullFirst + const OrderingTypesDesc + const OrderingTypesDescNullFirst + func (e *OrderingTypes) UnmarshalGQL(v interface{}) error + func (e OrderingTypes) IsValid() bool + func (e OrderingTypes) MarshalGQL(w io.Writer) + func (e OrderingTypes) String() string + type Post struct + Categories []*Category + CategoriesAggregate *CategoriesAggregate + ID int + Name *string + User *User + type PostFilterInput struct + And []*PostFilterInput + Categories *CategoryFilterInput + ID *IntComparator + Name *StringComparator + Not *PostFilterInput + Or []*PostFilterInput + User *UserFilterInput + type PostMin struct + ID int + Name string + type PostOrdering struct + ID *OrderingTypes + Name *OrderingTypes + type PostsAggregate struct + Count int + Max *PostMin + Min *PostMin + type PostsPayload struct + Posts []*Post + RowsAffected int + type RelationType string + const RelationTypeManyToMany + const RelationTypeOneToMany + const RelationTypeOneToOne + func (e *RelationType) UnmarshalGQL(v interface{}) error + func (e RelationType) IsValid() bool + func (e RelationType) MarshalGQL(w io.Writer) + func (e RelationType) String() string + type StringComparator struct + Contains []*string + Eq *string + Ilike *string + IsNull *bool + Like *string + Neq *string + NotContains []*string + Prefix *string + Suffix *string + type StringListComparator struct + ContainedBy []*string + Contains []*string + Eq []*string + IsNull *bool + Neq []*string + Overlap []*string + type UpdatePostInput struct + ID *int + Name *string + type User struct + ID int + Name string + Posts []*Post + PostsAggregate *PostsAggregate + type UserFilterInput struct + And []*UserFilterInput + ID *IntComparator + Name *StringComparator + Not *UserFilterInput + Or []*UserFilterInput + Posts *PostFilterInput + type UserMin struct + ID int + Name string + type UserOrdering struct + ID *OrderingTypes + Name *OrderingTypes + type UsersAggregate struct + Count int + Max *UserMin + Min *UserMin