Versions in this module Expand all Collapse all v0 v0.3.1 Dec 8, 2025 Changes in this version + var AllAnimalsAggregateGroupBy = []AnimalsAggregateGroupBy + var AllCategoriesAggregateGroupBy = []CategoriesAggregateGroupBy + var AllPostsAggregateGroupBy = []PostsAggregateGroupBy + var AllUsersAggregateGroupBy = []UsersAggregateGroupBy + type AnimalAvg struct + ID float64 type AnimalGroupBy + func (e *AnimalGroupBy) UnmarshalJSON(b []byte) error + func (e AnimalGroupBy) MarshalJSON() ([]byte, error) + type AnimalMax struct + ID int + Name string + Type string + type AnimalSum struct + ID float64 type AnimalsAggregate + Avg *AnimalAvg + Sum *AnimalSum + type AnimalsAggregateAvg struct + Count float64 + type AnimalsAggregateGroupBy string + const AnimalsAggregateGroupByCount + const AnimalsAggregateGroupByGroup + func (e *AnimalsAggregateGroupBy) UnmarshalGQL(v any) error + func (e *AnimalsAggregateGroupBy) UnmarshalJSON(b []byte) error + func (e AnimalsAggregateGroupBy) IsValid() bool + func (e AnimalsAggregateGroupBy) MarshalGQL(w io.Writer) + func (e AnimalsAggregateGroupBy) MarshalJSON() ([]byte, error) + func (e AnimalsAggregateGroupBy) String() string + type AnimalsAggregateMax struct + Count int + type AnimalsAggregateMin struct + Count int + type AnimalsAggregateOrdering struct + Count *OrderingTypes + Group *OrderingTypes + type AnimalsAggregateSum struct + Count float64 + type AnimalsAggregatesAggregate struct + Avg *AnimalsAggregateAvg + Count int + Group map[string]any + Max *AnimalsAggregateMax + Min *AnimalsAggregateMin + Sum *AnimalsAggregateSum type CategoriesAggregate + Avg *CategoryAvg + Sum *CategorySum + type CategoriesAggregateAvg struct + Count float64 + type CategoriesAggregateGroupBy string + const CategoriesAggregateGroupByCount + const CategoriesAggregateGroupByGroup + func (e *CategoriesAggregateGroupBy) UnmarshalGQL(v any) error + func (e *CategoriesAggregateGroupBy) UnmarshalJSON(b []byte) error + func (e CategoriesAggregateGroupBy) IsValid() bool + func (e CategoriesAggregateGroupBy) MarshalGQL(w io.Writer) + func (e CategoriesAggregateGroupBy) MarshalJSON() ([]byte, error) + func (e CategoriesAggregateGroupBy) String() string + type CategoriesAggregateMax struct + Count int + type CategoriesAggregateMin struct + Count int + type CategoriesAggregateOrdering struct + Count *OrderingTypes + Group *OrderingTypes + type CategoriesAggregateSum struct + Count float64 + type CategoriesAggregatesAggregate struct + Avg *CategoriesAggregateAvg + Count int + Group map[string]any + Max *CategoriesAggregateMax + Min *CategoriesAggregateMin + Sum *CategoriesAggregateSum + type CategoryAvg struct + ID float64 type CategoryGroupBy + func (e *CategoryGroupBy) UnmarshalJSON(b []byte) error + func (e CategoryGroupBy) MarshalJSON() ([]byte, error) + type CategoryMax struct + ID int + Name string + type CategorySum struct + ID float64 type OrderingTypes + func (e *OrderingTypes) UnmarshalJSON(b []byte) error + func (e OrderingTypes) MarshalJSON() ([]byte, error) + type PostAvg struct + ID float64 + UserID float64 type PostGroupBy + func (e *PostGroupBy) UnmarshalJSON(b []byte) error + func (e PostGroupBy) MarshalJSON() ([]byte, error) + type PostMax struct + ID int + Name string + UserID int + type PostSum struct + ID float64 + UserID float64 type PostsAggregate + Avg *PostAvg + Sum *PostSum + type PostsAggregateAvg struct + Count float64 + type PostsAggregateGroupBy string + const PostsAggregateGroupByCount + const PostsAggregateGroupByGroup + func (e *PostsAggregateGroupBy) UnmarshalGQL(v any) error + func (e *PostsAggregateGroupBy) UnmarshalJSON(b []byte) error + func (e PostsAggregateGroupBy) IsValid() bool + func (e PostsAggregateGroupBy) MarshalGQL(w io.Writer) + func (e PostsAggregateGroupBy) MarshalJSON() ([]byte, error) + func (e PostsAggregateGroupBy) String() string + type PostsAggregateMax struct + Count int + type PostsAggregateMin struct + Count int + type PostsAggregateOrdering struct + Count *OrderingTypes + Group *OrderingTypes + type PostsAggregateSum struct + Count float64 + type PostsAggregatesAggregate struct + Avg *PostsAggregateAvg + Count int + Group map[string]any + Max *PostsAggregateMax + Min *PostsAggregateMin + Sum *PostsAggregateSum + type Query struct type RelationType + func (e *RelationType) UnmarshalJSON(b []byte) error + func (e RelationType) MarshalJSON() ([]byte, error) + type UserAvg struct + ID float64 type UserGroupBy + func (e *UserGroupBy) UnmarshalJSON(b []byte) error + func (e UserGroupBy) MarshalJSON() ([]byte, error) + type UserMax struct + ID int + Name string + type UserSum struct + ID float64 type UsersAggregate + Avg *UserAvg + Sum *UserSum + type UsersAggregateAvg struct + Count float64 + type UsersAggregateGroupBy string + const UsersAggregateGroupByCount + const UsersAggregateGroupByGroup + func (e *UsersAggregateGroupBy) UnmarshalGQL(v any) error + func (e *UsersAggregateGroupBy) UnmarshalJSON(b []byte) error + func (e UsersAggregateGroupBy) IsValid() bool + func (e UsersAggregateGroupBy) MarshalGQL(w io.Writer) + func (e UsersAggregateGroupBy) MarshalJSON() ([]byte, error) + func (e UsersAggregateGroupBy) String() string + type UsersAggregateMax struct + Count int + type UsersAggregateMin struct + Count int + type UsersAggregateOrdering struct + Count *OrderingTypes + Group *OrderingTypes + type UsersAggregateSum struct + Count float64 + type UsersAggregatesAggregate struct + Avg *UsersAggregateAvg + Count int + Group map[string]any + Max *UsersAggregateMax + Min *UsersAggregateMin + Sum *UsersAggregateSum v0.3.0 Jul 16, 2024 Changes in this version + var AllAnimalGroupBy = []AnimalGroupBy + var AllCategoryGroupBy = []CategoryGroupBy + var AllOrderingTypes = []OrderingTypes + var AllPostGroupBy = []PostGroupBy + var AllRelationType = []RelationType + var AllUserGroupBy = []UserGroupBy + type AggregateResult struct + Count int + type Animal interface + GetID func() int + GetName func() string + GetType func() string + 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 AnimalMin struct + ID int + Name string + Type string + type AnimalOrdering struct + ID *OrderingTypes + Name *OrderingTypes + Type *OrderingTypes + type AnimalsAggregate struct + Count int + Group map[string]interface{} + Max *AnimalMin + Min *AnimalMin + 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 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 struct + Count int + Group map[string]interface{} + 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 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 CategoryMin struct + ID int + Name string + type CategoryOrdering struct + ID *OrderingTypes + Name *OrderingTypes + 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 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 OrderingTypes string + const OrderingTypesAsc + const OrderingTypesAscNullFirst + const OrderingTypesAscNullLast + const OrderingTypesDesc + const OrderingTypesDescNullFirst + const OrderingTypesDescNullLast + 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 + UserAggregate []*UsersAggregate + UserID *int + type PostFilterInput struct + And []*PostFilterInput + Categories *CategoryFilterInput + ID *IntComparator + Name *StringComparator + Not *PostFilterInput + Or []*PostFilterInput + User *UserFilterInput + 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 PostMin struct + ID int + Name string + UserID int + type PostOrdering struct + ID *OrderingTypes + Name *OrderingTypes + UserID *OrderingTypes + type PostsAggregate struct + Count int + Group map[string]interface{} + Max *PostMin + Min *PostMin + 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 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 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 UserMin struct + ID int + Name string + type UserOrdering struct + ID *OrderingTypes + Name *OrderingTypes + type UsersAggregate struct + Count int + Group map[string]interface{} + Max *UserMin + Min *UserMin