Versions in this module Expand all Collapse all v0 v0.3.1 Dec 8, 2025 Changes in this version + var AllCategoriesAggregateGroupBy = []CategoriesAggregateGroupBy + var AllPostsAggregateGroupBy = []PostsAggregateGroupBy + var AllUsersAggregateGroupBy = []UsersAggregateGroupBy + 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 CategoryGroupBy + func (e *CategoryGroupBy) UnmarshalJSON(b []byte) error + func (e CategoryGroupBy) MarshalJSON() ([]byte, error) type OrderingTypes + func (e *OrderingTypes) UnmarshalJSON(b []byte) error + func (e OrderingTypes) MarshalJSON() ([]byte, error) type PostGroupBy + func (e *PostGroupBy) UnmarshalJSON(b []byte) error + func (e PostGroupBy) MarshalJSON() ([]byte, error) + 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 UserGroupBy + func (e *UserGroupBy) UnmarshalJSON(b []byte) error + func (e UserGroupBy) MarshalJSON() ([]byte, error) + type UsersAggregateAvg struct + Count float64 + type UsersAggregateGroupBy string + const UsersAggregateGroupByCount + 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 + 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 AllCategoryGroupBy = []CategoryGroupBy + var AllOrderingTypes = []OrderingTypes + var AllPostGroupBy = []PostGroupBy + var AllRelationType = []RelationType + var AllUserGroupBy = []UserGroupBy + 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 + Avg *CategoryAvg + Count int + Group map[string]interface{} + Max *CategoryMax + Min *CategoryMin + Sum *CategorySum + type Category struct + ID int + Name *string + type CategoryAvg struct + ID float64 + 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 CategoryMax struct + ID int + Name string + type CategoryMin struct + ID int + Name string + type CategoryOrdering struct + ID *OrderingTypes + Name *OrderingTypes + type CategorySum struct + ID float64 + 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 + type PostAvg struct + ID float64 + type PostFilterInput struct + And []*PostFilterInput + Categories *CategoryFilterInput + ID *IntComparator + Name *StringComparator + Not *PostFilterInput + Or []*PostFilterInput + User *UserFilterInput + type PostGroupBy string + const PostGroupByID + const PostGroupByName + 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 + type PostMin struct + ID int + Name string + type PostOrdering struct + ID *OrderingTypes + Name *OrderingTypes + type PostSum struct + ID float64 + type PostsAggregate struct + Avg *PostAvg + Count int + Group map[string]interface{} + Max *PostMax + Min *PostMin + Sum *PostSum + 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 + type UserFilterInput struct + And []*UserFilterInput + ID *IntComparator + Name *StringComparator + Not *UserFilterInput + Or []*UserFilterInput + Posts *PostFilterInput + type UserGroupBy string + const UserGroupByAge + 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 + Age int + Name string + type UserOrdering struct + ID *OrderingTypes + Name *OrderingTypes + type UsersAggregate struct + Count int + Max *UserMin + Min *UserMin