Versions in this module Expand all Collapse all v0 v0.1.1 May 3, 2024 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeBillProduct + const TypeCategory + const TypeFriendship + const TypeGroup + const TypeTodo + const TypeUser + const TypeVerySecret + var CategoryOrderFieldCount = &CategoryOrderField + var CategoryOrderFieldDuration = &CategoryOrderField + var CategoryOrderFieldStatus = &CategoryOrderField + var CategoryOrderFieldText = &CategoryOrderField + var CategoryOrderFieldTodosCount = &CategoryOrderField + var DefaultBillProductOrder = &BillProductOrder + var DefaultCategoryOrder = &CategoryOrder + var DefaultFriendshipOrder = &FriendshipOrder + var DefaultGroupOrder = &GroupOrder + var DefaultTodoOrder = &TodoOrder + var DefaultUserOrder = &UserOrder + var ErrEmptyBillProductWhereInput = errors.New("ent: empty predicate BillProductWhereInput") + var ErrEmptyCategoryWhereInput = errors.New("ent: empty predicate CategoryWhereInput") + var ErrEmptyFriendshipWhereInput = errors.New("ent: empty predicate FriendshipWhereInput") + var ErrEmptyGroupWhereInput = errors.New("ent: empty predicate GroupWhereInput") + var ErrEmptyTodoWhereInput = errors.New("ent: empty predicate TodoWhereInput") + var ErrEmptyUserWhereInput = errors.New("ent: empty predicate UserWhereInput") + var ErrTxStarted = errors.New("ent: cannot start a transaction within a transaction") + var TodoOrderFieldCategoryText = &TodoOrderField + var TodoOrderFieldChildrenCount = &TodoOrderField + var TodoOrderFieldCreatedAt = &TodoOrderField + var TodoOrderFieldParentStatus = &TodoOrderField + var TodoOrderFieldPriority = &TodoOrderField + var TodoOrderFieldStatus = &TodoOrderField + var TodoOrderFieldText = &TodoOrderField + var UserOrderFieldGroupsCount = &UserOrderField + func Asc(fields ...string) func(*sql.Selector) + func Desc(fields ...string) func(*sql.Selector) + func IDToType(ctx context.Context, id pulid.ID) (string, error) + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + func OpenTxFromContext(ctx context.Context) (context.Context, driver.Tx, error) + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type BillProduct struct + ID pulid.ID + Name string + Quantity uint64 + Sku string + func (*BillProduct) IsNode() + func (bp *BillProduct) String() string + func (bp *BillProduct) ToEdge(order *BillProductOrder) *BillProductEdge + func (bp *BillProduct) Unwrap() *BillProduct + func (bp *BillProduct) Update() *BillProductUpdateOne + func (bp *BillProduct) Value(name string) (ent.Value, error) + type BillProductClient struct + func NewBillProductClient(c config) *BillProductClient + func (c *BillProductClient) Create() *BillProductCreate + func (c *BillProductClient) CreateBulk(builders ...*BillProductCreate) *BillProductCreateBulk + func (c *BillProductClient) Delete() *BillProductDelete + func (c *BillProductClient) DeleteOne(bp *BillProduct) *BillProductDeleteOne + func (c *BillProductClient) DeleteOneID(id pulid.ID) *BillProductDeleteOne + func (c *BillProductClient) Get(ctx context.Context, id pulid.ID) (*BillProduct, error) + func (c *BillProductClient) GetX(ctx context.Context, id pulid.ID) *BillProduct + func (c *BillProductClient) Hooks() []Hook + func (c *BillProductClient) Intercept(interceptors ...Interceptor) + func (c *BillProductClient) Interceptors() []Interceptor + func (c *BillProductClient) MapCreateBulk(slice any, setFunc func(*BillProductCreate, int)) *BillProductCreateBulk + func (c *BillProductClient) Query() *BillProductQuery + func (c *BillProductClient) Update() *BillProductUpdate + func (c *BillProductClient) UpdateOne(bp *BillProduct) *BillProductUpdateOne + func (c *BillProductClient) UpdateOneID(id pulid.ID) *BillProductUpdateOne + func (c *BillProductClient) Use(hooks ...Hook) + type BillProductConnection struct + Edges []*BillProductEdge + PageInfo PageInfo + TotalCount int + type BillProductCreate struct + func (bpc *BillProductCreate) Exec(ctx context.Context) error + func (bpc *BillProductCreate) ExecX(ctx context.Context) + func (bpc *BillProductCreate) Mutation() *BillProductMutation + func (bpc *BillProductCreate) Save(ctx context.Context) (*BillProduct, error) + func (bpc *BillProductCreate) SaveX(ctx context.Context) *BillProduct + func (bpc *BillProductCreate) SetID(pu pulid.ID) *BillProductCreate + func (bpc *BillProductCreate) SetName(s string) *BillProductCreate + func (bpc *BillProductCreate) SetNillableID(pu *pulid.ID) *BillProductCreate + func (bpc *BillProductCreate) SetQuantity(u uint64) *BillProductCreate + func (bpc *BillProductCreate) SetSku(s string) *BillProductCreate + type BillProductCreateBulk struct + func (bpcb *BillProductCreateBulk) Exec(ctx context.Context) error + func (bpcb *BillProductCreateBulk) ExecX(ctx context.Context) + func (bpcb *BillProductCreateBulk) Save(ctx context.Context) ([]*BillProduct, error) + func (bpcb *BillProductCreateBulk) SaveX(ctx context.Context) []*BillProduct + type BillProductDelete struct + func (bpd *BillProductDelete) Exec(ctx context.Context) (int, error) + func (bpd *BillProductDelete) ExecX(ctx context.Context) int + func (bpd *BillProductDelete) Where(ps ...predicate.BillProduct) *BillProductDelete + type BillProductDeleteOne struct + func (bpdo *BillProductDeleteOne) Exec(ctx context.Context) error + func (bpdo *BillProductDeleteOne) ExecX(ctx context.Context) + func (bpdo *BillProductDeleteOne) Where(ps ...predicate.BillProduct) *BillProductDeleteOne + type BillProductEdge struct + Cursor Cursor + Node *BillProduct + type BillProductGroupBy struct + func (bpgb *BillProductGroupBy) Aggregate(fns ...AggregateFunc) *BillProductGroupBy + func (bpgb *BillProductGroupBy) Scan(ctx context.Context, v any) error + func (s *BillProductGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *BillProductGroupBy) BoolX(ctx context.Context) bool + func (s *BillProductGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *BillProductGroupBy) BoolsX(ctx context.Context) []bool + func (s *BillProductGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *BillProductGroupBy) Float64X(ctx context.Context) float64 + func (s *BillProductGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *BillProductGroupBy) Float64sX(ctx context.Context) []float64 + func (s *BillProductGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *BillProductGroupBy) IntX(ctx context.Context) int + func (s *BillProductGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *BillProductGroupBy) IntsX(ctx context.Context) []int + func (s *BillProductGroupBy) ScanX(ctx context.Context, v any) + func (s *BillProductGroupBy) String(ctx context.Context) (_ string, err error) + func (s *BillProductGroupBy) StringX(ctx context.Context) string + func (s *BillProductGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *BillProductGroupBy) StringsX(ctx context.Context) []string + type BillProductMutation struct + func (m *BillProductMutation) AddField(name string, value ent.Value) error + func (m *BillProductMutation) AddQuantity(u int64) + func (m *BillProductMutation) AddedEdges() []string + func (m *BillProductMutation) AddedField(name string) (ent.Value, bool) + func (m *BillProductMutation) AddedFields() []string + func (m *BillProductMutation) AddedIDs(name string) []ent.Value + func (m *BillProductMutation) AddedQuantity() (r int64, exists bool) + func (m *BillProductMutation) ClearEdge(name string) error + func (m *BillProductMutation) ClearField(name string) error + func (m *BillProductMutation) ClearedEdges() []string + func (m *BillProductMutation) ClearedFields() []string + func (m *BillProductMutation) EdgeCleared(name string) bool + func (m *BillProductMutation) Field(name string) (ent.Value, bool) + func (m *BillProductMutation) FieldCleared(name string) bool + func (m *BillProductMutation) Fields() []string + func (m *BillProductMutation) ID() (id pulid.ID, exists bool) + func (m *BillProductMutation) IDs(ctx context.Context) ([]pulid.ID, error) + func (m *BillProductMutation) Name() (r string, exists bool) + func (m *BillProductMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *BillProductMutation) OldName(ctx context.Context) (v string, err error) + func (m *BillProductMutation) OldQuantity(ctx context.Context) (v uint64, err error) + func (m *BillProductMutation) OldSku(ctx context.Context) (v string, err error) + func (m *BillProductMutation) Op() Op + func (m *BillProductMutation) Quantity() (r uint64, exists bool) + func (m *BillProductMutation) RemovedEdges() []string + func (m *BillProductMutation) RemovedIDs(name string) []ent.Value + func (m *BillProductMutation) ResetEdge(name string) error + func (m *BillProductMutation) ResetField(name string) error + func (m *BillProductMutation) ResetName() + func (m *BillProductMutation) ResetQuantity() + func (m *BillProductMutation) ResetSku() + func (m *BillProductMutation) SetField(name string, value ent.Value) error + func (m *BillProductMutation) SetID(id pulid.ID) + func (m *BillProductMutation) SetName(s string) + func (m *BillProductMutation) SetOp(op Op) + func (m *BillProductMutation) SetQuantity(u uint64) + func (m *BillProductMutation) SetSku(s string) + func (m *BillProductMutation) Sku() (r string, exists bool) + func (m *BillProductMutation) Type() string + func (m *BillProductMutation) Where(ps ...predicate.BillProduct) + func (m *BillProductMutation) WhereP(ps ...func(*sql.Selector)) + func (m BillProductMutation) Client() *Client + func (m BillProductMutation) Tx() (*Tx, error) + type BillProductOrder struct + Direction OrderDirection + Field *BillProductOrderField + type BillProductOrderField struct + Value func(*BillProduct) (ent.Value, error) + type BillProductPaginateOption func(*billproductPager) error + func WithBillProductFilter(filter func(*BillProductQuery) (*BillProductQuery, error)) BillProductPaginateOption + func WithBillProductOrder(order *BillProductOrder) BillProductPaginateOption + type BillProductQuery struct + func (bp *BillProductQuery) CollectFields(ctx context.Context, satisfies ...string) (*BillProductQuery, error) + func (bp *BillProductQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*BillProductConnection, error) + func (bpq *BillProductQuery) Aggregate(fns ...AggregateFunc) *BillProductSelect + func (bpq *BillProductQuery) All(ctx context.Context) ([]*BillProduct, error) + func (bpq *BillProductQuery) AllX(ctx context.Context) []*BillProduct + func (bpq *BillProductQuery) Clone() *BillProductQuery + func (bpq *BillProductQuery) Count(ctx context.Context) (int, error) + func (bpq *BillProductQuery) CountX(ctx context.Context) int + func (bpq *BillProductQuery) Exist(ctx context.Context) (bool, error) + func (bpq *BillProductQuery) ExistX(ctx context.Context) bool + func (bpq *BillProductQuery) First(ctx context.Context) (*BillProduct, error) + func (bpq *BillProductQuery) FirstID(ctx context.Context) (id pulid.ID, err error) + func (bpq *BillProductQuery) FirstIDX(ctx context.Context) pulid.ID + func (bpq *BillProductQuery) FirstX(ctx context.Context) *BillProduct + func (bpq *BillProductQuery) GroupBy(field string, fields ...string) *BillProductGroupBy + func (bpq *BillProductQuery) IDs(ctx context.Context) (ids []pulid.ID, err error) + func (bpq *BillProductQuery) IDsX(ctx context.Context) []pulid.ID + func (bpq *BillProductQuery) Limit(limit int) *BillProductQuery + func (bpq *BillProductQuery) Offset(offset int) *BillProductQuery + func (bpq *BillProductQuery) Only(ctx context.Context) (*BillProduct, error) + func (bpq *BillProductQuery) OnlyID(ctx context.Context) (id pulid.ID, err error) + func (bpq *BillProductQuery) OnlyIDX(ctx context.Context) pulid.ID + func (bpq *BillProductQuery) OnlyX(ctx context.Context) *BillProduct + func (bpq *BillProductQuery) Order(o ...billproduct.OrderOption) *BillProductQuery + func (bpq *BillProductQuery) Select(fields ...string) *BillProductSelect + func (bpq *BillProductQuery) Unique(unique bool) *BillProductQuery + func (bpq *BillProductQuery) Where(ps ...predicate.BillProduct) *BillProductQuery + type BillProductSelect struct + func (bps *BillProductSelect) Aggregate(fns ...AggregateFunc) *BillProductSelect + func (bps *BillProductSelect) Scan(ctx context.Context, v any) error + func (s *BillProductSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *BillProductSelect) BoolX(ctx context.Context) bool + func (s *BillProductSelect) Bools(ctx context.Context) ([]bool, error) + func (s *BillProductSelect) BoolsX(ctx context.Context) []bool + func (s *BillProductSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *BillProductSelect) Float64X(ctx context.Context) float64 + func (s *BillProductSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *BillProductSelect) Float64sX(ctx context.Context) []float64 + func (s *BillProductSelect) Int(ctx context.Context) (_ int, err error) + func (s *BillProductSelect) IntX(ctx context.Context) int + func (s *BillProductSelect) Ints(ctx context.Context) ([]int, error) + func (s *BillProductSelect) IntsX(ctx context.Context) []int + func (s *BillProductSelect) ScanX(ctx context.Context, v any) + func (s *BillProductSelect) String(ctx context.Context) (_ string, err error) + func (s *BillProductSelect) StringX(ctx context.Context) string + func (s *BillProductSelect) Strings(ctx context.Context) ([]string, error) + func (s *BillProductSelect) StringsX(ctx context.Context) []string + type BillProductUpdate struct + func (bpu *BillProductUpdate) AddQuantity(u int64) *BillProductUpdate + func (bpu *BillProductUpdate) Exec(ctx context.Context) error + func (bpu *BillProductUpdate) ExecX(ctx context.Context) + func (bpu *BillProductUpdate) Mutation() *BillProductMutation + func (bpu *BillProductUpdate) Save(ctx context.Context) (int, error) + func (bpu *BillProductUpdate) SaveX(ctx context.Context) int + func (bpu *BillProductUpdate) SetName(s string) *BillProductUpdate + func (bpu *BillProductUpdate) SetNillableName(s *string) *BillProductUpdate + func (bpu *BillProductUpdate) SetNillableQuantity(u *uint64) *BillProductUpdate + func (bpu *BillProductUpdate) SetNillableSku(s *string) *BillProductUpdate + func (bpu *BillProductUpdate) SetQuantity(u uint64) *BillProductUpdate + func (bpu *BillProductUpdate) SetSku(s string) *BillProductUpdate + func (bpu *BillProductUpdate) Where(ps ...predicate.BillProduct) *BillProductUpdate + type BillProductUpdateOne struct + func (bpuo *BillProductUpdateOne) AddQuantity(u int64) *BillProductUpdateOne + func (bpuo *BillProductUpdateOne) Exec(ctx context.Context) error + func (bpuo *BillProductUpdateOne) ExecX(ctx context.Context) + func (bpuo *BillProductUpdateOne) Mutation() *BillProductMutation + func (bpuo *BillProductUpdateOne) Save(ctx context.Context) (*BillProduct, error) + func (bpuo *BillProductUpdateOne) SaveX(ctx context.Context) *BillProduct + func (bpuo *BillProductUpdateOne) Select(field string, fields ...string) *BillProductUpdateOne + func (bpuo *BillProductUpdateOne) SetName(s string) *BillProductUpdateOne + func (bpuo *BillProductUpdateOne) SetNillableName(s *string) *BillProductUpdateOne + func (bpuo *BillProductUpdateOne) SetNillableQuantity(u *uint64) *BillProductUpdateOne + func (bpuo *BillProductUpdateOne) SetNillableSku(s *string) *BillProductUpdateOne + func (bpuo *BillProductUpdateOne) SetQuantity(u uint64) *BillProductUpdateOne + func (bpuo *BillProductUpdateOne) SetSku(s string) *BillProductUpdateOne + func (bpuo *BillProductUpdateOne) Where(ps ...predicate.BillProduct) *BillProductUpdateOne + type BillProductWhereInput struct + And []*BillProductWhereInput + ID *pulid.ID + IDGT *pulid.ID + IDGTE *pulid.ID + IDIn []pulid.ID + IDLT *pulid.ID + IDLTE *pulid.ID + IDNEQ *pulid.ID + IDNotIn []pulid.ID + Name *string + NameContains *string + NameContainsFold *string + NameEqualFold *string + NameGT *string + NameGTE *string + NameHasPrefix *string + NameHasSuffix *string + NameIn []string + NameLT *string + NameLTE *string + NameNEQ *string + NameNotIn []string + Not *BillProductWhereInput + Or []*BillProductWhereInput + Predicates []predicate.BillProduct + Quantity *uint64 + QuantityGT *uint64 + QuantityGTE *uint64 + QuantityIn []uint64 + QuantityLT *uint64 + QuantityLTE *uint64 + QuantityNEQ *uint64 + QuantityNotIn []uint64 + Sku *string + SkuContains *string + SkuContainsFold *string + SkuEqualFold *string + SkuGT *string + SkuGTE *string + SkuHasPrefix *string + SkuHasSuffix *string + SkuIn []string + SkuLT *string + SkuLTE *string + SkuNEQ *string + SkuNotIn []string + func (i *BillProductWhereInput) AddPredicates(predicates ...predicate.BillProduct) + func (i *BillProductWhereInput) Filter(q *BillProductQuery) (*BillProductQuery, error) + func (i *BillProductWhereInput) P() (predicate.BillProduct, error) + type BillProducts []*BillProduct + type Categories []*Category + type Category struct + Config *schematype.CategoryConfig + Count uint64 + Duration time.Duration + Edges CategoryEdges + ID pulid.ID + Status category.Status + Strings []string + Text string + Types *schematype.CategoryTypes + func (*Category) IsNode() + func (c *Category) NamedSubCategories(name string) ([]*Category, error) + func (c *Category) NamedTodos(name string) ([]*Todo, error) + func (c *Category) QuerySubCategories() *CategoryQuery + func (c *Category) QueryTodos() *TodoQuery + func (c *Category) String() string + func (c *Category) SubCategories(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*CategoryConnection, error) + func (c *Category) ToEdge(order *CategoryOrder) *CategoryEdge + func (c *Category) Todos(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*TodoConnection, error) + func (c *Category) Unwrap() *Category + func (c *Category) Update() *CategoryUpdateOne + func (c *Category) Value(name string) (ent.Value, error) + type CategoryClient struct + func NewCategoryClient(c config) *CategoryClient + func (c *CategoryClient) Create() *CategoryCreate + func (c *CategoryClient) CreateBulk(builders ...*CategoryCreate) *CategoryCreateBulk + func (c *CategoryClient) Delete() *CategoryDelete + func (c *CategoryClient) DeleteOne(ca *Category) *CategoryDeleteOne + func (c *CategoryClient) DeleteOneID(id pulid.ID) *CategoryDeleteOne + func (c *CategoryClient) Get(ctx context.Context, id pulid.ID) (*Category, error) + func (c *CategoryClient) GetX(ctx context.Context, id pulid.ID) *Category + func (c *CategoryClient) Hooks() []Hook + func (c *CategoryClient) Intercept(interceptors ...Interceptor) + func (c *CategoryClient) Interceptors() []Interceptor + func (c *CategoryClient) MapCreateBulk(slice any, setFunc func(*CategoryCreate, int)) *CategoryCreateBulk + func (c *CategoryClient) Query() *CategoryQuery + func (c *CategoryClient) QuerySubCategories(ca *Category) *CategoryQuery + func (c *CategoryClient) QueryTodos(ca *Category) *TodoQuery + func (c *CategoryClient) Update() *CategoryUpdate + func (c *CategoryClient) UpdateOne(ca *Category) *CategoryUpdateOne + func (c *CategoryClient) UpdateOneID(id pulid.ID) *CategoryUpdateOne + func (c *CategoryClient) Use(hooks ...Hook) + type CategoryConnection struct + Edges []*CategoryEdge + PageInfo PageInfo + TotalCount int + type CategoryCreate struct + func (c *CategoryCreate) SetInput(i CreateCategoryInput) *CategoryCreate + func (cc *CategoryCreate) AddSubCategories(c ...*Category) *CategoryCreate + func (cc *CategoryCreate) AddSubCategoryIDs(ids ...pulid.ID) *CategoryCreate + func (cc *CategoryCreate) AddTodoIDs(ids ...pulid.ID) *CategoryCreate + func (cc *CategoryCreate) AddTodos(t ...*Todo) *CategoryCreate + func (cc *CategoryCreate) Exec(ctx context.Context) error + func (cc *CategoryCreate) ExecX(ctx context.Context) + func (cc *CategoryCreate) Mutation() *CategoryMutation + func (cc *CategoryCreate) Save(ctx context.Context) (*Category, error) + func (cc *CategoryCreate) SaveX(ctx context.Context) *Category + func (cc *CategoryCreate) SetConfig(sc *schematype.CategoryConfig) *CategoryCreate + func (cc *CategoryCreate) SetCount(u uint64) *CategoryCreate + func (cc *CategoryCreate) SetDuration(t time.Duration) *CategoryCreate + func (cc *CategoryCreate) SetID(pu pulid.ID) *CategoryCreate + func (cc *CategoryCreate) SetNillableCount(u *uint64) *CategoryCreate + func (cc *CategoryCreate) SetNillableDuration(t *time.Duration) *CategoryCreate + func (cc *CategoryCreate) SetNillableID(pu *pulid.ID) *CategoryCreate + func (cc *CategoryCreate) SetStatus(c category.Status) *CategoryCreate + func (cc *CategoryCreate) SetStrings(s []string) *CategoryCreate + func (cc *CategoryCreate) SetText(s string) *CategoryCreate + func (cc *CategoryCreate) SetTypes(st *schematype.CategoryTypes) *CategoryCreate + type CategoryCreateBulk struct + func (ccb *CategoryCreateBulk) Exec(ctx context.Context) error + func (ccb *CategoryCreateBulk) ExecX(ctx context.Context) + func (ccb *CategoryCreateBulk) Save(ctx context.Context) ([]*Category, error) + func (ccb *CategoryCreateBulk) SaveX(ctx context.Context) []*Category + type CategoryDelete struct + func (cd *CategoryDelete) Exec(ctx context.Context) (int, error) + func (cd *CategoryDelete) ExecX(ctx context.Context) int + func (cd *CategoryDelete) Where(ps ...predicate.Category) *CategoryDelete + type CategoryDeleteOne struct + func (cdo *CategoryDeleteOne) Exec(ctx context.Context) error + func (cdo *CategoryDeleteOne) ExecX(ctx context.Context) + func (cdo *CategoryDeleteOne) Where(ps ...predicate.Category) *CategoryDeleteOne + type CategoryEdge struct + Cursor Cursor + Node *Category + type CategoryEdges struct + SubCategories []*Category + Todos []*Todo + func (e CategoryEdges) SubCategoriesOrErr() ([]*Category, error) + func (e CategoryEdges) TodosOrErr() ([]*Todo, error) + type CategoryGroupBy struct + func (cgb *CategoryGroupBy) Aggregate(fns ...AggregateFunc) *CategoryGroupBy + func (cgb *CategoryGroupBy) Scan(ctx context.Context, v any) error + func (s *CategoryGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *CategoryGroupBy) BoolX(ctx context.Context) bool + func (s *CategoryGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *CategoryGroupBy) BoolsX(ctx context.Context) []bool + func (s *CategoryGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *CategoryGroupBy) Float64X(ctx context.Context) float64 + func (s *CategoryGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *CategoryGroupBy) Float64sX(ctx context.Context) []float64 + func (s *CategoryGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *CategoryGroupBy) IntX(ctx context.Context) int + func (s *CategoryGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *CategoryGroupBy) IntsX(ctx context.Context) []int + func (s *CategoryGroupBy) ScanX(ctx context.Context, v any) + func (s *CategoryGroupBy) String(ctx context.Context) (_ string, err error) + func (s *CategoryGroupBy) StringX(ctx context.Context) string + func (s *CategoryGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *CategoryGroupBy) StringsX(ctx context.Context) []string + type CategoryMutation struct + func (m *CategoryMutation) AddCount(u int64) + func (m *CategoryMutation) AddDuration(t time.Duration) + func (m *CategoryMutation) AddField(name string, value ent.Value) error + func (m *CategoryMutation) AddSubCategoryIDs(ids ...pulid.ID) + func (m *CategoryMutation) AddTodoIDs(ids ...pulid.ID) + func (m *CategoryMutation) AddedCount() (r int64, exists bool) + func (m *CategoryMutation) AddedDuration() (r time.Duration, exists bool) + func (m *CategoryMutation) AddedEdges() []string + func (m *CategoryMutation) AddedField(name string) (ent.Value, bool) + func (m *CategoryMutation) AddedFields() []string + func (m *CategoryMutation) AddedIDs(name string) []ent.Value + func (m *CategoryMutation) AppendStrings(s []string) + func (m *CategoryMutation) AppendedStrings() ([]string, bool) + func (m *CategoryMutation) ClearConfig() + func (m *CategoryMutation) ClearCount() + func (m *CategoryMutation) ClearDuration() + func (m *CategoryMutation) ClearEdge(name string) error + func (m *CategoryMutation) ClearField(name string) error + func (m *CategoryMutation) ClearStrings() + func (m *CategoryMutation) ClearSubCategories() + func (m *CategoryMutation) ClearTodos() + func (m *CategoryMutation) ClearTypes() + func (m *CategoryMutation) ClearedEdges() []string + func (m *CategoryMutation) ClearedFields() []string + func (m *CategoryMutation) Config() (r *schematype.CategoryConfig, exists bool) + func (m *CategoryMutation) ConfigCleared() bool + func (m *CategoryMutation) Count() (r uint64, exists bool) + func (m *CategoryMutation) CountCleared() bool + func (m *CategoryMutation) Duration() (r time.Duration, exists bool) + func (m *CategoryMutation) DurationCleared() bool + func (m *CategoryMutation) EdgeCleared(name string) bool + func (m *CategoryMutation) Field(name string) (ent.Value, bool) + func (m *CategoryMutation) FieldCleared(name string) bool + func (m *CategoryMutation) Fields() []string + func (m *CategoryMutation) ID() (id pulid.ID, exists bool) + func (m *CategoryMutation) IDs(ctx context.Context) ([]pulid.ID, error) + func (m *CategoryMutation) OldConfig(ctx context.Context) (v *schematype.CategoryConfig, err error) + func (m *CategoryMutation) OldCount(ctx context.Context) (v uint64, err error) + func (m *CategoryMutation) OldDuration(ctx context.Context) (v time.Duration, err error) + func (m *CategoryMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CategoryMutation) OldStatus(ctx context.Context) (v category.Status, err error) + func (m *CategoryMutation) OldStrings(ctx context.Context) (v []string, err error) + func (m *CategoryMutation) OldText(ctx context.Context) (v string, err error) + func (m *CategoryMutation) OldTypes(ctx context.Context) (v *schematype.CategoryTypes, err error) + func (m *CategoryMutation) Op() Op + func (m *CategoryMutation) RemoveSubCategoryIDs(ids ...pulid.ID) + func (m *CategoryMutation) RemoveTodoIDs(ids ...pulid.ID) + func (m *CategoryMutation) RemovedEdges() []string + func (m *CategoryMutation) RemovedIDs(name string) []ent.Value + func (m *CategoryMutation) RemovedSubCategoriesIDs() (ids []pulid.ID) + func (m *CategoryMutation) RemovedTodosIDs() (ids []pulid.ID) + func (m *CategoryMutation) ResetConfig() + func (m *CategoryMutation) ResetCount() + func (m *CategoryMutation) ResetDuration() + func (m *CategoryMutation) ResetEdge(name string) error + func (m *CategoryMutation) ResetField(name string) error + func (m *CategoryMutation) ResetStatus() + func (m *CategoryMutation) ResetStrings() + func (m *CategoryMutation) ResetSubCategories() + func (m *CategoryMutation) ResetText() + func (m *CategoryMutation) ResetTodos() + func (m *CategoryMutation) ResetTypes() + func (m *CategoryMutation) SetConfig(sc *schematype.CategoryConfig) + func (m *CategoryMutation) SetCount(u uint64) + func (m *CategoryMutation) SetDuration(t time.Duration) + func (m *CategoryMutation) SetField(name string, value ent.Value) error + func (m *CategoryMutation) SetID(id pulid.ID) + func (m *CategoryMutation) SetOp(op Op) + func (m *CategoryMutation) SetStatus(c category.Status) + func (m *CategoryMutation) SetStrings(s []string) + func (m *CategoryMutation) SetText(s string) + func (m *CategoryMutation) SetTypes(st *schematype.CategoryTypes) + func (m *CategoryMutation) Status() (r category.Status, exists bool) + func (m *CategoryMutation) Strings() (r []string, exists bool) + func (m *CategoryMutation) StringsCleared() bool + func (m *CategoryMutation) SubCategoriesCleared() bool + func (m *CategoryMutation) SubCategoriesIDs() (ids []pulid.ID) + func (m *CategoryMutation) Text() (r string, exists bool) + func (m *CategoryMutation) TodosCleared() bool + func (m *CategoryMutation) TodosIDs() (ids []pulid.ID) + func (m *CategoryMutation) Type() string + func (m *CategoryMutation) Types() (r *schematype.CategoryTypes, exists bool) + func (m *CategoryMutation) TypesCleared() bool + func (m *CategoryMutation) Where(ps ...predicate.Category) + func (m *CategoryMutation) WhereP(ps ...func(*sql.Selector)) + func (m CategoryMutation) Client() *Client + func (m CategoryMutation) Tx() (*Tx, error) + type CategoryOrder struct + Direction OrderDirection + Field *CategoryOrderField + type CategoryOrderField struct + Value func(*Category) (ent.Value, error) + func (f *CategoryOrderField) UnmarshalGQL(v interface{}) error + func (f CategoryOrderField) MarshalGQL(w io.Writer) + func (f CategoryOrderField) String() string + type CategoryPaginateOption func(*categoryPager) error + func WithCategoryFilter(filter func(*CategoryQuery) (*CategoryQuery, error)) CategoryPaginateOption + func WithCategoryOrder(order []*CategoryOrder) CategoryPaginateOption + type CategoryQuery struct + func (c *CategoryQuery) CollectFields(ctx context.Context, satisfies ...string) (*CategoryQuery, error) + func (c *CategoryQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*CategoryConnection, error) + func (cq *CategoryQuery) Aggregate(fns ...AggregateFunc) *CategorySelect + func (cq *CategoryQuery) All(ctx context.Context) ([]*Category, error) + func (cq *CategoryQuery) AllX(ctx context.Context) []*Category + func (cq *CategoryQuery) Clone() *CategoryQuery + func (cq *CategoryQuery) Count(ctx context.Context) (int, error) + func (cq *CategoryQuery) CountX(ctx context.Context) int + func (cq *CategoryQuery) Exist(ctx context.Context) (bool, error) + func (cq *CategoryQuery) ExistX(ctx context.Context) bool + func (cq *CategoryQuery) First(ctx context.Context) (*Category, error) + func (cq *CategoryQuery) FirstID(ctx context.Context) (id pulid.ID, err error) + func (cq *CategoryQuery) FirstIDX(ctx context.Context) pulid.ID + func (cq *CategoryQuery) FirstX(ctx context.Context) *Category + func (cq *CategoryQuery) GroupBy(field string, fields ...string) *CategoryGroupBy + func (cq *CategoryQuery) IDs(ctx context.Context) (ids []pulid.ID, err error) + func (cq *CategoryQuery) IDsX(ctx context.Context) []pulid.ID + func (cq *CategoryQuery) Limit(limit int) *CategoryQuery + func (cq *CategoryQuery) Offset(offset int) *CategoryQuery + func (cq *CategoryQuery) Only(ctx context.Context) (*Category, error) + func (cq *CategoryQuery) OnlyID(ctx context.Context) (id pulid.ID, err error) + func (cq *CategoryQuery) OnlyIDX(ctx context.Context) pulid.ID + func (cq *CategoryQuery) OnlyX(ctx context.Context) *Category + func (cq *CategoryQuery) Order(o ...category.OrderOption) *CategoryQuery + func (cq *CategoryQuery) QuerySubCategories() *CategoryQuery + func (cq *CategoryQuery) QueryTodos() *TodoQuery + func (cq *CategoryQuery) Select(fields ...string) *CategorySelect + func (cq *CategoryQuery) Unique(unique bool) *CategoryQuery + func (cq *CategoryQuery) Where(ps ...predicate.Category) *CategoryQuery + func (cq *CategoryQuery) WithNamedSubCategories(name string, opts ...func(*CategoryQuery)) *CategoryQuery + func (cq *CategoryQuery) WithNamedTodos(name string, opts ...func(*TodoQuery)) *CategoryQuery + func (cq *CategoryQuery) WithSubCategories(opts ...func(*CategoryQuery)) *CategoryQuery + func (cq *CategoryQuery) WithTodos(opts ...func(*TodoQuery)) *CategoryQuery + type CategorySelect struct + func (cs *CategorySelect) Aggregate(fns ...AggregateFunc) *CategorySelect + func (cs *CategorySelect) Scan(ctx context.Context, v any) error + func (s *CategorySelect) Bool(ctx context.Context) (_ bool, err error) + func (s *CategorySelect) BoolX(ctx context.Context) bool + func (s *CategorySelect) Bools(ctx context.Context) ([]bool, error) + func (s *CategorySelect) BoolsX(ctx context.Context) []bool + func (s *CategorySelect) Float64(ctx context.Context) (_ float64, err error) + func (s *CategorySelect) Float64X(ctx context.Context) float64 + func (s *CategorySelect) Float64s(ctx context.Context) ([]float64, error) + func (s *CategorySelect) Float64sX(ctx context.Context) []float64 + func (s *CategorySelect) Int(ctx context.Context) (_ int, err error) + func (s *CategorySelect) IntX(ctx context.Context) int + func (s *CategorySelect) Ints(ctx context.Context) ([]int, error) + func (s *CategorySelect) IntsX(ctx context.Context) []int + func (s *CategorySelect) ScanX(ctx context.Context, v any) + func (s *CategorySelect) String(ctx context.Context) (_ string, err error) + func (s *CategorySelect) StringX(ctx context.Context) string + func (s *CategorySelect) Strings(ctx context.Context) ([]string, error) + func (s *CategorySelect) StringsX(ctx context.Context) []string + type CategoryUpdate struct + func (c *CategoryUpdate) SetInput(i UpdateCategoryInput) *CategoryUpdate + func (cu *CategoryUpdate) AddCount(u int64) *CategoryUpdate + func (cu *CategoryUpdate) AddDuration(t time.Duration) *CategoryUpdate + func (cu *CategoryUpdate) AddSubCategories(c ...*Category) *CategoryUpdate + func (cu *CategoryUpdate) AddSubCategoryIDs(ids ...pulid.ID) *CategoryUpdate + func (cu *CategoryUpdate) AddTodoIDs(ids ...pulid.ID) *CategoryUpdate + func (cu *CategoryUpdate) AddTodos(t ...*Todo) *CategoryUpdate + func (cu *CategoryUpdate) AppendStrings(s []string) *CategoryUpdate + func (cu *CategoryUpdate) ClearConfig() *CategoryUpdate + func (cu *CategoryUpdate) ClearCount() *CategoryUpdate + func (cu *CategoryUpdate) ClearDuration() *CategoryUpdate + func (cu *CategoryUpdate) ClearStrings() *CategoryUpdate + func (cu *CategoryUpdate) ClearSubCategories() *CategoryUpdate + func (cu *CategoryUpdate) ClearTodos() *CategoryUpdate + func (cu *CategoryUpdate) ClearTypes() *CategoryUpdate + func (cu *CategoryUpdate) Exec(ctx context.Context) error + func (cu *CategoryUpdate) ExecX(ctx context.Context) + func (cu *CategoryUpdate) Mutation() *CategoryMutation + func (cu *CategoryUpdate) RemoveSubCategories(c ...*Category) *CategoryUpdate + func (cu *CategoryUpdate) RemoveSubCategoryIDs(ids ...pulid.ID) *CategoryUpdate + func (cu *CategoryUpdate) RemoveTodoIDs(ids ...pulid.ID) *CategoryUpdate + func (cu *CategoryUpdate) RemoveTodos(t ...*Todo) *CategoryUpdate + func (cu *CategoryUpdate) Save(ctx context.Context) (int, error) + func (cu *CategoryUpdate) SaveX(ctx context.Context) int + func (cu *CategoryUpdate) SetConfig(sc *schematype.CategoryConfig) *CategoryUpdate + func (cu *CategoryUpdate) SetCount(u uint64) *CategoryUpdate + func (cu *CategoryUpdate) SetDuration(t time.Duration) *CategoryUpdate + func (cu *CategoryUpdate) SetNillableCount(u *uint64) *CategoryUpdate + func (cu *CategoryUpdate) SetNillableDuration(t *time.Duration) *CategoryUpdate + func (cu *CategoryUpdate) SetNillableStatus(c *category.Status) *CategoryUpdate + func (cu *CategoryUpdate) SetNillableText(s *string) *CategoryUpdate + func (cu *CategoryUpdate) SetStatus(c category.Status) *CategoryUpdate + func (cu *CategoryUpdate) SetStrings(s []string) *CategoryUpdate + func (cu *CategoryUpdate) SetText(s string) *CategoryUpdate + func (cu *CategoryUpdate) SetTypes(st *schematype.CategoryTypes) *CategoryUpdate + func (cu *CategoryUpdate) Where(ps ...predicate.Category) *CategoryUpdate + type CategoryUpdateOne struct + func (c *CategoryUpdateOne) SetInput(i UpdateCategoryInput) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) AddCount(u int64) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) AddDuration(t time.Duration) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) AddSubCategories(c ...*Category) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) AddSubCategoryIDs(ids ...pulid.ID) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) AddTodoIDs(ids ...pulid.ID) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) AddTodos(t ...*Todo) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) AppendStrings(s []string) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) ClearConfig() *CategoryUpdateOne + func (cuo *CategoryUpdateOne) ClearCount() *CategoryUpdateOne + func (cuo *CategoryUpdateOne) ClearDuration() *CategoryUpdateOne + func (cuo *CategoryUpdateOne) ClearStrings() *CategoryUpdateOne + func (cuo *CategoryUpdateOne) ClearSubCategories() *CategoryUpdateOne + func (cuo *CategoryUpdateOne) ClearTodos() *CategoryUpdateOne + func (cuo *CategoryUpdateOne) ClearTypes() *CategoryUpdateOne + func (cuo *CategoryUpdateOne) Exec(ctx context.Context) error + func (cuo *CategoryUpdateOne) ExecX(ctx context.Context) + func (cuo *CategoryUpdateOne) Mutation() *CategoryMutation + func (cuo *CategoryUpdateOne) RemoveSubCategories(c ...*Category) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) RemoveSubCategoryIDs(ids ...pulid.ID) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) RemoveTodoIDs(ids ...pulid.ID) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) RemoveTodos(t ...*Todo) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) Save(ctx context.Context) (*Category, error) + func (cuo *CategoryUpdateOne) SaveX(ctx context.Context) *Category + func (cuo *CategoryUpdateOne) Select(field string, fields ...string) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetConfig(sc *schematype.CategoryConfig) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetCount(u uint64) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetDuration(t time.Duration) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetNillableCount(u *uint64) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetNillableDuration(t *time.Duration) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetNillableStatus(c *category.Status) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetNillableText(s *string) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetStatus(c category.Status) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetStrings(s []string) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetText(s string) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) SetTypes(st *schematype.CategoryTypes) *CategoryUpdateOne + func (cuo *CategoryUpdateOne) Where(ps ...predicate.Category) *CategoryUpdateOne + type CategoryWhereInput struct + And []*CategoryWhereInput + Config *schematype.CategoryConfig + ConfigGT *schematype.CategoryConfig + ConfigGTE *schematype.CategoryConfig + ConfigIn []*schematype.CategoryConfig + ConfigIsNil bool + ConfigLT *schematype.CategoryConfig + ConfigLTE *schematype.CategoryConfig + ConfigNEQ *schematype.CategoryConfig + ConfigNotIn []*schematype.CategoryConfig + ConfigNotNil bool + Count *uint64 + CountGT *uint64 + CountGTE *uint64 + CountIn []uint64 + CountIsNil bool + CountLT *uint64 + CountLTE *uint64 + CountNEQ *uint64 + CountNotIn []uint64 + CountNotNil bool + Duration *time.Duration + DurationGT *time.Duration + DurationGTE *time.Duration + DurationIn []time.Duration + DurationIsNil bool + DurationLT *time.Duration + DurationLTE *time.Duration + DurationNEQ *time.Duration + DurationNotIn []time.Duration + DurationNotNil bool + HasSubCategories *bool + HasSubCategoriesWith []*CategoryWhereInput + HasTodos *bool + HasTodosWith []*TodoWhereInput + ID *pulid.ID + IDGT *pulid.ID + IDGTE *pulid.ID + IDIn []pulid.ID + IDLT *pulid.ID + IDLTE *pulid.ID + IDNEQ *pulid.ID + IDNotIn []pulid.ID + Not *CategoryWhereInput + Or []*CategoryWhereInput + Predicates []predicate.Category + Status *category.Status + StatusIn []category.Status + StatusNEQ *category.Status + StatusNotIn []category.Status + Text *string + TextContains *string + TextContainsFold *string + TextEqualFold *string + TextGT *string + TextGTE *string + TextHasPrefix *string + TextHasSuffix *string + TextIn []string + TextLT *string + TextLTE *string + TextNEQ *string + TextNotIn []string + func (i *CategoryWhereInput) AddPredicates(predicates ...predicate.Category) + func (i *CategoryWhereInput) Filter(q *CategoryQuery) (*CategoryQuery, error) + func (i *CategoryWhereInput) P() (predicate.Category, error) + type Client struct + BillProduct *BillProductClient + Category *CategoryClient + Friendship *FriendshipClient + Group *GroupClient + Schema *migrate.Schema + Todo *TodoClient + User *UserClient + VerySecret *VerySecretClient + func FromContext(ctx context.Context) *Client + func NewClient(opts ...Option) *Client + func Open(driverName, dataSourceName string, options ...Option) (*Client, error) + func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error) + func (c *Client) Close() error + func (c *Client) Debug() *Client + func (c *Client) Intercept(interceptors ...Interceptor) + func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error) + func (c *Client) Noder(ctx context.Context, id pulid.ID, opts ...NodeOption) (_ Noder, err error) + func (c *Client) Noders(ctx context.Context, ids []pulid.ID, opts ...NodeOption) ([]Noder, error) + func (c *Client) OpenTx(ctx context.Context) (context.Context, driver.Tx, error) + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type CreateCategoryInput struct + Config *schematype.CategoryConfig + Count *uint64 + Duration *time.Duration + Status category.Status + Strings []string + SubCategoryIDs []pulid.ID + Text string + TodoIDs []pulid.ID + Types *schematype.CategoryTypes + func (i *CreateCategoryInput) Mutate(m *CategoryMutation) + type CreateTodoInput struct + CategoryID *pulid.ID + ChildIDs []pulid.ID + Init map[string]interface{} + ParentID *pulid.ID + Priority *int + SecretID *pulid.ID + Status todo.Status + Text string + func (i *CreateTodoInput) Mutate(m *TodoMutation) + type CreateUserInput struct + FriendIDs []pulid.ID + GroupIDs []pulid.ID + Metadata map[string]interface{} + Name *string + Password *string + RequiredMetadata map[string]interface{} + Username *uuid.UUID + func (i *CreateUserInput) Mutate(m *UserMutation) + type Cursor = entgql.Cursor[pulid.ID] + type Friendship struct + CreatedAt time.Time + Edges FriendshipEdges + FriendID pulid.ID + ID pulid.ID + UserID pulid.ID + func (*Friendship) IsNode() + func (f *Friendship) Friend(ctx context.Context) (*User, error) + func (f *Friendship) QueryFriend() *UserQuery + func (f *Friendship) QueryUser() *UserQuery + func (f *Friendship) String() string + func (f *Friendship) ToEdge(order *FriendshipOrder) *FriendshipEdge + func (f *Friendship) Unwrap() *Friendship + func (f *Friendship) Update() *FriendshipUpdateOne + func (f *Friendship) User(ctx context.Context) (*User, error) + func (f *Friendship) Value(name string) (ent.Value, error) + type FriendshipClient struct + func NewFriendshipClient(c config) *FriendshipClient + func (c *FriendshipClient) Create() *FriendshipCreate + func (c *FriendshipClient) CreateBulk(builders ...*FriendshipCreate) *FriendshipCreateBulk + func (c *FriendshipClient) Delete() *FriendshipDelete + func (c *FriendshipClient) DeleteOne(f *Friendship) *FriendshipDeleteOne + func (c *FriendshipClient) DeleteOneID(id pulid.ID) *FriendshipDeleteOne + func (c *FriendshipClient) Get(ctx context.Context, id pulid.ID) (*Friendship, error) + func (c *FriendshipClient) GetX(ctx context.Context, id pulid.ID) *Friendship + func (c *FriendshipClient) Hooks() []Hook + func (c *FriendshipClient) Intercept(interceptors ...Interceptor) + func (c *FriendshipClient) Interceptors() []Interceptor + func (c *FriendshipClient) MapCreateBulk(slice any, setFunc func(*FriendshipCreate, int)) *FriendshipCreateBulk + func (c *FriendshipClient) Query() *FriendshipQuery + func (c *FriendshipClient) QueryFriend(f *Friendship) *UserQuery + func (c *FriendshipClient) QueryUser(f *Friendship) *UserQuery + func (c *FriendshipClient) Update() *FriendshipUpdate + func (c *FriendshipClient) UpdateOne(f *Friendship) *FriendshipUpdateOne + func (c *FriendshipClient) UpdateOneID(id pulid.ID) *FriendshipUpdateOne + func (c *FriendshipClient) Use(hooks ...Hook) + type FriendshipConnection struct + Edges []*FriendshipEdge + PageInfo PageInfo + TotalCount int + type FriendshipCreate struct + func (fc *FriendshipCreate) Exec(ctx context.Context) error + func (fc *FriendshipCreate) ExecX(ctx context.Context) + func (fc *FriendshipCreate) Mutation() *FriendshipMutation + func (fc *FriendshipCreate) Save(ctx context.Context) (*Friendship, error) + func (fc *FriendshipCreate) SaveX(ctx context.Context) *Friendship + func (fc *FriendshipCreate) SetCreatedAt(t time.Time) *FriendshipCreate + func (fc *FriendshipCreate) SetFriend(u *User) *FriendshipCreate + func (fc *FriendshipCreate) SetFriendID(pu pulid.ID) *FriendshipCreate + func (fc *FriendshipCreate) SetID(pu pulid.ID) *FriendshipCreate + func (fc *FriendshipCreate) SetNillableCreatedAt(t *time.Time) *FriendshipCreate + func (fc *FriendshipCreate) SetNillableID(pu *pulid.ID) *FriendshipCreate + func (fc *FriendshipCreate) SetUser(u *User) *FriendshipCreate + func (fc *FriendshipCreate) SetUserID(pu pulid.ID) *FriendshipCreate + type FriendshipCreateBulk struct + func (fcb *FriendshipCreateBulk) Exec(ctx context.Context) error + func (fcb *FriendshipCreateBulk) ExecX(ctx context.Context) + func (fcb *FriendshipCreateBulk) Save(ctx context.Context) ([]*Friendship, error) + func (fcb *FriendshipCreateBulk) SaveX(ctx context.Context) []*Friendship + type FriendshipDelete struct + func (fd *FriendshipDelete) Exec(ctx context.Context) (int, error) + func (fd *FriendshipDelete) ExecX(ctx context.Context) int + func (fd *FriendshipDelete) Where(ps ...predicate.Friendship) *FriendshipDelete + type FriendshipDeleteOne struct + func (fdo *FriendshipDeleteOne) Exec(ctx context.Context) error + func (fdo *FriendshipDeleteOne) ExecX(ctx context.Context) + func (fdo *FriendshipDeleteOne) Where(ps ...predicate.Friendship) *FriendshipDeleteOne + type FriendshipEdge struct + Cursor Cursor + Node *Friendship + type FriendshipEdges struct + Friend *User + User *User + func (e FriendshipEdges) FriendOrErr() (*User, error) + func (e FriendshipEdges) UserOrErr() (*User, error) + type FriendshipGroupBy struct + func (fgb *FriendshipGroupBy) Aggregate(fns ...AggregateFunc) *FriendshipGroupBy + func (fgb *FriendshipGroupBy) Scan(ctx context.Context, v any) error + func (s *FriendshipGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *FriendshipGroupBy) BoolX(ctx context.Context) bool + func (s *FriendshipGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *FriendshipGroupBy) BoolsX(ctx context.Context) []bool + func (s *FriendshipGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *FriendshipGroupBy) Float64X(ctx context.Context) float64 + func (s *FriendshipGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *FriendshipGroupBy) Float64sX(ctx context.Context) []float64 + func (s *FriendshipGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *FriendshipGroupBy) IntX(ctx context.Context) int + func (s *FriendshipGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *FriendshipGroupBy) IntsX(ctx context.Context) []int + func (s *FriendshipGroupBy) ScanX(ctx context.Context, v any) + func (s *FriendshipGroupBy) String(ctx context.Context) (_ string, err error) + func (s *FriendshipGroupBy) StringX(ctx context.Context) string + func (s *FriendshipGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *FriendshipGroupBy) StringsX(ctx context.Context) []string + type FriendshipMutation struct + func (m *FriendshipMutation) AddField(name string, value ent.Value) error + func (m *FriendshipMutation) AddedEdges() []string + func (m *FriendshipMutation) AddedField(name string) (ent.Value, bool) + func (m *FriendshipMutation) AddedFields() []string + func (m *FriendshipMutation) AddedIDs(name string) []ent.Value + func (m *FriendshipMutation) ClearEdge(name string) error + func (m *FriendshipMutation) ClearField(name string) error + func (m *FriendshipMutation) ClearFriend() + func (m *FriendshipMutation) ClearUser() + func (m *FriendshipMutation) ClearedEdges() []string + func (m *FriendshipMutation) ClearedFields() []string + func (m *FriendshipMutation) CreatedAt() (r time.Time, exists bool) + func (m *FriendshipMutation) EdgeCleared(name string) bool + func (m *FriendshipMutation) Field(name string) (ent.Value, bool) + func (m *FriendshipMutation) FieldCleared(name string) bool + func (m *FriendshipMutation) Fields() []string + func (m *FriendshipMutation) FriendCleared() bool + func (m *FriendshipMutation) FriendID() (r pulid.ID, exists bool) + func (m *FriendshipMutation) FriendIDs() (ids []pulid.ID) + func (m *FriendshipMutation) ID() (id pulid.ID, exists bool) + func (m *FriendshipMutation) IDs(ctx context.Context) ([]pulid.ID, error) + func (m *FriendshipMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *FriendshipMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *FriendshipMutation) OldFriendID(ctx context.Context) (v pulid.ID, err error) + func (m *FriendshipMutation) OldUserID(ctx context.Context) (v pulid.ID, err error) + func (m *FriendshipMutation) Op() Op + func (m *FriendshipMutation) RemovedEdges() []string + func (m *FriendshipMutation) RemovedIDs(name string) []ent.Value + func (m *FriendshipMutation) ResetCreatedAt() + func (m *FriendshipMutation) ResetEdge(name string) error + func (m *FriendshipMutation) ResetField(name string) error + func (m *FriendshipMutation) ResetFriend() + func (m *FriendshipMutation) ResetFriendID() + func (m *FriendshipMutation) ResetUser() + func (m *FriendshipMutation) ResetUserID() + func (m *FriendshipMutation) SetCreatedAt(t time.Time) + func (m *FriendshipMutation) SetField(name string, value ent.Value) error + func (m *FriendshipMutation) SetFriendID(pu pulid.ID) + func (m *FriendshipMutation) SetID(id pulid.ID) + func (m *FriendshipMutation) SetOp(op Op) + func (m *FriendshipMutation) SetUserID(pu pulid.ID) + func (m *FriendshipMutation) Type() string + func (m *FriendshipMutation) UserCleared() bool + func (m *FriendshipMutation) UserID() (r pulid.ID, exists bool) + func (m *FriendshipMutation) UserIDs() (ids []pulid.ID) + func (m *FriendshipMutation) Where(ps ...predicate.Friendship) + func (m *FriendshipMutation) WhereP(ps ...func(*sql.Selector)) + func (m FriendshipMutation) Client() *Client + func (m FriendshipMutation) Tx() (*Tx, error) + type FriendshipOrder struct + Direction OrderDirection + Field *FriendshipOrderField + type FriendshipOrderField struct + Value func(*Friendship) (ent.Value, error) + type FriendshipPaginateOption func(*friendshipPager) error + func WithFriendshipFilter(filter func(*FriendshipQuery) (*FriendshipQuery, error)) FriendshipPaginateOption + func WithFriendshipOrder(order *FriendshipOrder) FriendshipPaginateOption + type FriendshipQuery struct + func (f *FriendshipQuery) CollectFields(ctx context.Context, satisfies ...string) (*FriendshipQuery, error) + func (f *FriendshipQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*FriendshipConnection, error) + func (fq *FriendshipQuery) Aggregate(fns ...AggregateFunc) *FriendshipSelect + func (fq *FriendshipQuery) All(ctx context.Context) ([]*Friendship, error) + func (fq *FriendshipQuery) AllX(ctx context.Context) []*Friendship + func (fq *FriendshipQuery) Clone() *FriendshipQuery + func (fq *FriendshipQuery) Count(ctx context.Context) (int, error) + func (fq *FriendshipQuery) CountX(ctx context.Context) int + func (fq *FriendshipQuery) Exist(ctx context.Context) (bool, error) + func (fq *FriendshipQuery) ExistX(ctx context.Context) bool + func (fq *FriendshipQuery) First(ctx context.Context) (*Friendship, error) + func (fq *FriendshipQuery) FirstID(ctx context.Context) (id pulid.ID, err error) + func (fq *FriendshipQuery) FirstIDX(ctx context.Context) pulid.ID + func (fq *FriendshipQuery) FirstX(ctx context.Context) *Friendship + func (fq *FriendshipQuery) GroupBy(field string, fields ...string) *FriendshipGroupBy + func (fq *FriendshipQuery) IDs(ctx context.Context) (ids []pulid.ID, err error) + func (fq *FriendshipQuery) IDsX(ctx context.Context) []pulid.ID + func (fq *FriendshipQuery) Limit(limit int) *FriendshipQuery + func (fq *FriendshipQuery) Offset(offset int) *FriendshipQuery + func (fq *FriendshipQuery) Only(ctx context.Context) (*Friendship, error) + func (fq *FriendshipQuery) OnlyID(ctx context.Context) (id pulid.ID, err error) + func (fq *FriendshipQuery) OnlyIDX(ctx context.Context) pulid.ID + func (fq *FriendshipQuery) OnlyX(ctx context.Context) *Friendship + func (fq *FriendshipQuery) Order(o ...friendship.OrderOption) *FriendshipQuery + func (fq *FriendshipQuery) QueryFriend() *UserQuery + func (fq *FriendshipQuery) QueryUser() *UserQuery + func (fq *FriendshipQuery) Select(fields ...string) *FriendshipSelect + func (fq *FriendshipQuery) Unique(unique bool) *FriendshipQuery + func (fq *FriendshipQuery) Where(ps ...predicate.Friendship) *FriendshipQuery + func (fq *FriendshipQuery) WithFriend(opts ...func(*UserQuery)) *FriendshipQuery + func (fq *FriendshipQuery) WithUser(opts ...func(*UserQuery)) *FriendshipQuery + type FriendshipSelect struct + func (fs *FriendshipSelect) Aggregate(fns ...AggregateFunc) *FriendshipSelect + func (fs *FriendshipSelect) Scan(ctx context.Context, v any) error + func (s *FriendshipSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *FriendshipSelect) BoolX(ctx context.Context) bool + func (s *FriendshipSelect) Bools(ctx context.Context) ([]bool, error) + func (s *FriendshipSelect) BoolsX(ctx context.Context) []bool + func (s *FriendshipSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *FriendshipSelect) Float64X(ctx context.Context) float64 + func (s *FriendshipSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *FriendshipSelect) Float64sX(ctx context.Context) []float64 + func (s *FriendshipSelect) Int(ctx context.Context) (_ int, err error) + func (s *FriendshipSelect) IntX(ctx context.Context) int + func (s *FriendshipSelect) Ints(ctx context.Context) ([]int, error) + func (s *FriendshipSelect) IntsX(ctx context.Context) []int + func (s *FriendshipSelect) ScanX(ctx context.Context, v any) + func (s *FriendshipSelect) String(ctx context.Context) (_ string, err error) + func (s *FriendshipSelect) StringX(ctx context.Context) string + func (s *FriendshipSelect) Strings(ctx context.Context) ([]string, error) + func (s *FriendshipSelect) StringsX(ctx context.Context) []string + type FriendshipUpdate struct + func (fu *FriendshipUpdate) ClearFriend() *FriendshipUpdate + func (fu *FriendshipUpdate) ClearUser() *FriendshipUpdate + func (fu *FriendshipUpdate) Exec(ctx context.Context) error + func (fu *FriendshipUpdate) ExecX(ctx context.Context) + func (fu *FriendshipUpdate) Mutation() *FriendshipMutation + func (fu *FriendshipUpdate) Save(ctx context.Context) (int, error) + func (fu *FriendshipUpdate) SaveX(ctx context.Context) int + func (fu *FriendshipUpdate) SetCreatedAt(t time.Time) *FriendshipUpdate + func (fu *FriendshipUpdate) SetFriend(u *User) *FriendshipUpdate + func (fu *FriendshipUpdate) SetFriendID(pu pulid.ID) *FriendshipUpdate + func (fu *FriendshipUpdate) SetNillableCreatedAt(t *time.Time) *FriendshipUpdate + func (fu *FriendshipUpdate) SetNillableFriendID(pu *pulid.ID) *FriendshipUpdate + func (fu *FriendshipUpdate) SetNillableUserID(pu *pulid.ID) *FriendshipUpdate + func (fu *FriendshipUpdate) SetUser(u *User) *FriendshipUpdate + func (fu *FriendshipUpdate) SetUserID(pu pulid.ID) *FriendshipUpdate + func (fu *FriendshipUpdate) Where(ps ...predicate.Friendship) *FriendshipUpdate + type FriendshipUpdateOne struct + func (fuo *FriendshipUpdateOne) ClearFriend() *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) ClearUser() *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) Exec(ctx context.Context) error + func (fuo *FriendshipUpdateOne) ExecX(ctx context.Context) + func (fuo *FriendshipUpdateOne) Mutation() *FriendshipMutation + func (fuo *FriendshipUpdateOne) Save(ctx context.Context) (*Friendship, error) + func (fuo *FriendshipUpdateOne) SaveX(ctx context.Context) *Friendship + func (fuo *FriendshipUpdateOne) Select(field string, fields ...string) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) SetCreatedAt(t time.Time) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) SetFriend(u *User) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) SetFriendID(pu pulid.ID) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) SetNillableCreatedAt(t *time.Time) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) SetNillableFriendID(pu *pulid.ID) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) SetNillableUserID(pu *pulid.ID) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) SetUser(u *User) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) SetUserID(pu pulid.ID) *FriendshipUpdateOne + func (fuo *FriendshipUpdateOne) Where(ps ...predicate.Friendship) *FriendshipUpdateOne + type FriendshipWhereInput struct + And []*FriendshipWhereInput + CreatedAt *time.Time + CreatedAtGT *time.Time + CreatedAtGTE *time.Time + CreatedAtIn []time.Time + CreatedAtLT *time.Time + CreatedAtLTE *time.Time + CreatedAtNEQ *time.Time + CreatedAtNotIn []time.Time + FriendID *pulid.ID + FriendIDContains *pulid.ID + FriendIDContainsFold *pulid.ID + FriendIDEqualFold *pulid.ID + FriendIDGT *pulid.ID + FriendIDGTE *pulid.ID + FriendIDHasPrefix *pulid.ID + FriendIDHasSuffix *pulid.ID + FriendIDIn []pulid.ID + FriendIDLT *pulid.ID + FriendIDLTE *pulid.ID + FriendIDNEQ *pulid.ID + FriendIDNotIn []pulid.ID + HasFriend *bool + HasFriendWith []*UserWhereInput + HasUser *bool + HasUserWith []*UserWhereInput + ID *pulid.ID + IDGT *pulid.ID + IDGTE *pulid.ID + IDIn []pulid.ID + IDLT *pulid.ID + IDLTE *pulid.ID + IDNEQ *pulid.ID + IDNotIn []pulid.ID + Not *FriendshipWhereInput + Or []*FriendshipWhereInput + Predicates []predicate.Friendship + UserID *pulid.ID + UserIDContains *pulid.ID + UserIDContainsFold *pulid.ID + UserIDEqualFold *pulid.ID + UserIDGT *pulid.ID + UserIDGTE *pulid.ID + UserIDHasPrefix *pulid.ID + UserIDHasSuffix *pulid.ID + UserIDIn []pulid.ID + UserIDLT *pulid.ID + UserIDLTE *pulid.ID + UserIDNEQ *pulid.ID + UserIDNotIn []pulid.ID + func (i *FriendshipWhereInput) AddPredicates(predicates ...predicate.Friendship) + func (i *FriendshipWhereInput) Filter(q *FriendshipQuery) (*FriendshipQuery, error) + func (i *FriendshipWhereInput) P() (predicate.Friendship, error) + type Friendships []*Friendship + type Group struct + Edges GroupEdges + ID pulid.ID + Name string + func (*Group) IsNamedNode() + func (*Group) IsNode() + func (gr *Group) NamedUsers(name string) ([]*User, error) + func (gr *Group) QueryUsers() *UserQuery + func (gr *Group) String() string + func (gr *Group) ToEdge(order *GroupOrder) *GroupEdge + func (gr *Group) Unwrap() *Group + func (gr *Group) Update() *GroupUpdateOne + func (gr *Group) Users(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*UserConnection, error) + func (gr *Group) Value(name string) (ent.Value, error) + type GroupClient struct + func NewGroupClient(c config) *GroupClient + func (c *GroupClient) Create() *GroupCreate + func (c *GroupClient) CreateBulk(builders ...*GroupCreate) *GroupCreateBulk + func (c *GroupClient) Delete() *GroupDelete + func (c *GroupClient) DeleteOne(gr *Group) *GroupDeleteOne + func (c *GroupClient) DeleteOneID(id pulid.ID) *GroupDeleteOne + func (c *GroupClient) Get(ctx context.Context, id pulid.ID) (*Group, error) + func (c *GroupClient) GetX(ctx context.Context, id pulid.ID) *Group + func (c *GroupClient) Hooks() []Hook + func (c *GroupClient) Intercept(interceptors ...Interceptor) + func (c *GroupClient) Interceptors() []Interceptor + func (c *GroupClient) MapCreateBulk(slice any, setFunc func(*GroupCreate, int)) *GroupCreateBulk + func (c *GroupClient) Query() *GroupQuery + func (c *GroupClient) QueryUsers(gr *Group) *UserQuery + func (c *GroupClient) Update() *GroupUpdate + func (c *GroupClient) UpdateOne(gr *Group) *GroupUpdateOne + func (c *GroupClient) UpdateOneID(id pulid.ID) *GroupUpdateOne + func (c *GroupClient) Use(hooks ...Hook) + type GroupConnection struct + Edges []*GroupEdge + PageInfo PageInfo + TotalCount int + type GroupCreate struct + func (gc *GroupCreate) AddUserIDs(ids ...pulid.ID) *GroupCreate + func (gc *GroupCreate) AddUsers(u ...*User) *GroupCreate + func (gc *GroupCreate) Exec(ctx context.Context) error + func (gc *GroupCreate) ExecX(ctx context.Context) + func (gc *GroupCreate) Mutation() *GroupMutation + func (gc *GroupCreate) Save(ctx context.Context) (*Group, error) + func (gc *GroupCreate) SaveX(ctx context.Context) *Group + func (gc *GroupCreate) SetID(pu pulid.ID) *GroupCreate + func (gc *GroupCreate) SetName(s string) *GroupCreate + func (gc *GroupCreate) SetNillableID(pu *pulid.ID) *GroupCreate + func (gc *GroupCreate) SetNillableName(s *string) *GroupCreate + type GroupCreateBulk struct + func (gcb *GroupCreateBulk) Exec(ctx context.Context) error + func (gcb *GroupCreateBulk) ExecX(ctx context.Context) + func (gcb *GroupCreateBulk) Save(ctx context.Context) ([]*Group, error) + func (gcb *GroupCreateBulk) SaveX(ctx context.Context) []*Group + type GroupDelete struct + func (gd *GroupDelete) Exec(ctx context.Context) (int, error) + func (gd *GroupDelete) ExecX(ctx context.Context) int + func (gd *GroupDelete) Where(ps ...predicate.Group) *GroupDelete + type GroupDeleteOne struct + func (gdo *GroupDeleteOne) Exec(ctx context.Context) error + func (gdo *GroupDeleteOne) ExecX(ctx context.Context) + func (gdo *GroupDeleteOne) Where(ps ...predicate.Group) *GroupDeleteOne + type GroupEdge struct + Cursor Cursor + Node *Group + type GroupEdges struct + Users []*User + func (e GroupEdges) UsersOrErr() ([]*User, error) + type GroupGroupBy struct + func (ggb *GroupGroupBy) Aggregate(fns ...AggregateFunc) *GroupGroupBy + func (ggb *GroupGroupBy) Scan(ctx context.Context, v any) error + func (s *GroupGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *GroupGroupBy) BoolX(ctx context.Context) bool + func (s *GroupGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *GroupGroupBy) BoolsX(ctx context.Context) []bool + func (s *GroupGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *GroupGroupBy) Float64X(ctx context.Context) float64 + func (s *GroupGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *GroupGroupBy) Float64sX(ctx context.Context) []float64 + func (s *GroupGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *GroupGroupBy) IntX(ctx context.Context) int + func (s *GroupGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *GroupGroupBy) IntsX(ctx context.Context) []int + func (s *GroupGroupBy) ScanX(ctx context.Context, v any) + func (s *GroupGroupBy) String(ctx context.Context) (_ string, err error) + func (s *GroupGroupBy) StringX(ctx context.Context) string + func (s *GroupGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *GroupGroupBy) StringsX(ctx context.Context) []string + type GroupMutation struct + func (m *GroupMutation) AddField(name string, value ent.Value) error + func (m *GroupMutation) AddUserIDs(ids ...pulid.ID) + func (m *GroupMutation) AddedEdges() []string + func (m *GroupMutation) AddedField(name string) (ent.Value, bool) + func (m *GroupMutation) AddedFields() []string + func (m *GroupMutation) AddedIDs(name string) []ent.Value + func (m *GroupMutation) ClearEdge(name string) error + func (m *GroupMutation) ClearField(name string) error + func (m *GroupMutation) ClearUsers() + func (m *GroupMutation) ClearedEdges() []string + func (m *GroupMutation) ClearedFields() []string + func (m *GroupMutation) EdgeCleared(name string) bool + func (m *GroupMutation) Field(name string) (ent.Value, bool) + func (m *GroupMutation) FieldCleared(name string) bool + func (m *GroupMutation) Fields() []string + func (m *GroupMutation) ID() (id pulid.ID, exists bool) + func (m *GroupMutation) IDs(ctx context.Context) ([]pulid.ID, error) + func (m *GroupMutation) Name() (r string, exists bool) + func (m *GroupMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *GroupMutation) OldName(ctx context.Context) (v string, err error) + func (m *GroupMutation) Op() Op + func (m *GroupMutation) RemoveUserIDs(ids ...pulid.ID) + func (m *GroupMutation) RemovedEdges() []string + func (m *GroupMutation) RemovedIDs(name string) []ent.Value + func (m *GroupMutation) RemovedUsersIDs() (ids []pulid.ID) + func (m *GroupMutation) ResetEdge(name string) error + func (m *GroupMutation) ResetField(name string) error + func (m *GroupMutation) ResetName() + func (m *GroupMutation) ResetUsers() + func (m *GroupMutation) SetField(name string, value ent.Value) error + func (m *GroupMutation) SetID(id pulid.ID) + func (m *GroupMutation) SetName(s string) + func (m *GroupMutation) SetOp(op Op) + func (m *GroupMutation) Type() string + func (m *GroupMutation) UsersCleared() bool + func (m *GroupMutation) UsersIDs() (ids []pulid.ID) + func (m *GroupMutation) Where(ps ...predicate.Group) + func (m *GroupMutation) WhereP(ps ...func(*sql.Selector)) + func (m GroupMutation) Client() *Client + func (m GroupMutation) Tx() (*Tx, error) + type GroupOrder struct + Direction OrderDirection + Field *GroupOrderField + type GroupOrderField struct + Value func(*Group) (ent.Value, error) + type GroupPaginateOption func(*groupPager) error + func WithGroupFilter(filter func(*GroupQuery) (*GroupQuery, error)) GroupPaginateOption + func WithGroupOrder(order []*GroupOrder) GroupPaginateOption + type GroupQuery struct + func (gq *GroupQuery) Aggregate(fns ...AggregateFunc) *GroupSelect + func (gq *GroupQuery) All(ctx context.Context) ([]*Group, error) + func (gq *GroupQuery) AllX(ctx context.Context) []*Group + func (gq *GroupQuery) Clone() *GroupQuery + func (gq *GroupQuery) Count(ctx context.Context) (int, error) + func (gq *GroupQuery) CountX(ctx context.Context) int + func (gq *GroupQuery) Exist(ctx context.Context) (bool, error) + func (gq *GroupQuery) ExistX(ctx context.Context) bool + func (gq *GroupQuery) First(ctx context.Context) (*Group, error) + func (gq *GroupQuery) FirstID(ctx context.Context) (id pulid.ID, err error) + func (gq *GroupQuery) FirstIDX(ctx context.Context) pulid.ID + func (gq *GroupQuery) FirstX(ctx context.Context) *Group + func (gq *GroupQuery) GroupBy(field string, fields ...string) *GroupGroupBy + func (gq *GroupQuery) IDs(ctx context.Context) (ids []pulid.ID, err error) + func (gq *GroupQuery) IDsX(ctx context.Context) []pulid.ID + func (gq *GroupQuery) Limit(limit int) *GroupQuery + func (gq *GroupQuery) Offset(offset int) *GroupQuery + func (gq *GroupQuery) Only(ctx context.Context) (*Group, error) + func (gq *GroupQuery) OnlyID(ctx context.Context) (id pulid.ID, err error) + func (gq *GroupQuery) OnlyIDX(ctx context.Context) pulid.ID + func (gq *GroupQuery) OnlyX(ctx context.Context) *Group + func (gq *GroupQuery) Order(o ...group.OrderOption) *GroupQuery + func (gq *GroupQuery) QueryUsers() *UserQuery + func (gq *GroupQuery) Select(fields ...string) *GroupSelect + func (gq *GroupQuery) Unique(unique bool) *GroupQuery + func (gq *GroupQuery) Where(ps ...predicate.Group) *GroupQuery + func (gq *GroupQuery) WithNamedUsers(name string, opts ...func(*UserQuery)) *GroupQuery + func (gq *GroupQuery) WithUsers(opts ...func(*UserQuery)) *GroupQuery + func (gr *GroupQuery) CollectFields(ctx context.Context, satisfies ...string) (*GroupQuery, error) + func (gr *GroupQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*GroupConnection, error) + type GroupSelect struct + func (gs *GroupSelect) Aggregate(fns ...AggregateFunc) *GroupSelect + func (gs *GroupSelect) Scan(ctx context.Context, v any) error + func (s *GroupSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *GroupSelect) BoolX(ctx context.Context) bool + func (s *GroupSelect) Bools(ctx context.Context) ([]bool, error) + func (s *GroupSelect) BoolsX(ctx context.Context) []bool + func (s *GroupSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *GroupSelect) Float64X(ctx context.Context) float64 + func (s *GroupSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *GroupSelect) Float64sX(ctx context.Context) []float64 + func (s *GroupSelect) Int(ctx context.Context) (_ int, err error) + func (s *GroupSelect) IntX(ctx context.Context) int + func (s *GroupSelect) Ints(ctx context.Context) ([]int, error) + func (s *GroupSelect) IntsX(ctx context.Context) []int + func (s *GroupSelect) ScanX(ctx context.Context, v any) + func (s *GroupSelect) String(ctx context.Context) (_ string, err error) + func (s *GroupSelect) StringX(ctx context.Context) string + func (s *GroupSelect) Strings(ctx context.Context) ([]string, error) + func (s *GroupSelect) StringsX(ctx context.Context) []string + type GroupUpdate struct + func (gu *GroupUpdate) AddUserIDs(ids ...pulid.ID) *GroupUpdate + func (gu *GroupUpdate) AddUsers(u ...*User) *GroupUpdate + func (gu *GroupUpdate) ClearUsers() *GroupUpdate + func (gu *GroupUpdate) Exec(ctx context.Context) error + func (gu *GroupUpdate) ExecX(ctx context.Context) + func (gu *GroupUpdate) Mutation() *GroupMutation + func (gu *GroupUpdate) RemoveUserIDs(ids ...pulid.ID) *GroupUpdate + func (gu *GroupUpdate) RemoveUsers(u ...*User) *GroupUpdate + func (gu *GroupUpdate) Save(ctx context.Context) (int, error) + func (gu *GroupUpdate) SaveX(ctx context.Context) int + func (gu *GroupUpdate) SetName(s string) *GroupUpdate + func (gu *GroupUpdate) SetNillableName(s *string) *GroupUpdate + func (gu *GroupUpdate) Where(ps ...predicate.Group) *GroupUpdate + type GroupUpdateOne struct + func (guo *GroupUpdateOne) AddUserIDs(ids ...pulid.ID) *GroupUpdateOne + func (guo *GroupUpdateOne) AddUsers(u ...*User) *GroupUpdateOne + func (guo *GroupUpdateOne) ClearUsers() *GroupUpdateOne + func (guo *GroupUpdateOne) Exec(ctx context.Context) error + func (guo *GroupUpdateOne) ExecX(ctx context.Context) + func (guo *GroupUpdateOne) Mutation() *GroupMutation + func (guo *GroupUpdateOne) RemoveUserIDs(ids ...pulid.ID) *GroupUpdateOne + func (guo *GroupUpdateOne) RemoveUsers(u ...*User) *GroupUpdateOne + func (guo *GroupUpdateOne) Save(ctx context.Context) (*Group, error) + func (guo *GroupUpdateOne) SaveX(ctx context.Context) *Group + func (guo *GroupUpdateOne) Select(field string, fields ...string) *GroupUpdateOne + func (guo *GroupUpdateOne) SetName(s string) *GroupUpdateOne + func (guo *GroupUpdateOne) SetNillableName(s *string) *GroupUpdateOne + func (guo *GroupUpdateOne) Where(ps ...predicate.Group) *GroupUpdateOne + type GroupWhereInput struct + And []*GroupWhereInput + HasUsers *bool + HasUsersWith []*UserWhereInput + ID *pulid.ID + IDGT *pulid.ID + IDGTE *pulid.ID + IDIn []pulid.ID + IDLT *pulid.ID + IDLTE *pulid.ID + IDNEQ *pulid.ID + IDNotIn []pulid.ID + Name *string + NameContains *string + NameContainsFold *string + NameEqualFold *string + NameGT *string + NameGTE *string + NameHasPrefix *string + NameHasSuffix *string + NameIn []string + NameLT *string + NameLTE *string + NameNEQ *string + NameNotIn []string + Not *GroupWhereInput + Or []*GroupWhereInput + Predicates []predicate.Group + func (i *GroupWhereInput) AddPredicates(predicates ...predicate.Group) + func (i *GroupWhereInput) Filter(q *GroupQuery) (*GroupQuery, error) + func (i *GroupWhereInput) P() (predicate.Group, error) + type Groups []*Group + type Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NodeOption func(*nodeOptions) + func WithFixedNodeType(t string) NodeOption + func WithNodeType(f func(context.Context, pulid.ID) (string, error)) NodeOption + type Noder interface + IsNode func() + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...any)) Option + type OrderDirection = entgql.OrderDirection + type OrderFunc func(*sql.Selector) + type PageInfo = entgql.PageInfo[pulid.ID] + type Policy = ent.Policy + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type Todo struct + Blob []byte + CategoryID pulid.ID + CreatedAt time.Time + Custom []customstruct.Custom + Customp []*customstruct.Custom + Edges TodoEdges + ID pulid.ID + Init map[string]interface{} + Priority int + Status todo.Status + Text string + func (*Todo) IsNode() + func (t *Todo) Category(ctx context.Context) (*Category, error) + func (t *Todo) Children(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*TodoConnection, error) + func (t *Todo) NamedChildren(name string) ([]*Todo, error) + func (t *Todo) Parent(ctx context.Context) (*Todo, error) + func (t *Todo) QueryCategory() *CategoryQuery + func (t *Todo) QueryChildren() *TodoQuery + func (t *Todo) QueryParent() *TodoQuery + func (t *Todo) QuerySecret() *VerySecretQuery + func (t *Todo) String() string + func (t *Todo) ToEdge(order *TodoOrder) *TodoEdge + func (t *Todo) Unwrap() *Todo + func (t *Todo) Update() *TodoUpdateOne + func (t *Todo) Value(name string) (ent.Value, error) + type TodoClient struct + func NewTodoClient(c config) *TodoClient + func (c *TodoClient) Create() *TodoCreate + func (c *TodoClient) CreateBulk(builders ...*TodoCreate) *TodoCreateBulk + func (c *TodoClient) Delete() *TodoDelete + func (c *TodoClient) DeleteOne(t *Todo) *TodoDeleteOne + func (c *TodoClient) DeleteOneID(id pulid.ID) *TodoDeleteOne + func (c *TodoClient) Get(ctx context.Context, id pulid.ID) (*Todo, error) + func (c *TodoClient) GetX(ctx context.Context, id pulid.ID) *Todo + func (c *TodoClient) Hooks() []Hook + func (c *TodoClient) Intercept(interceptors ...Interceptor) + func (c *TodoClient) Interceptors() []Interceptor + func (c *TodoClient) MapCreateBulk(slice any, setFunc func(*TodoCreate, int)) *TodoCreateBulk + func (c *TodoClient) Query() *TodoQuery + func (c *TodoClient) QueryCategory(t *Todo) *CategoryQuery + func (c *TodoClient) QueryChildren(t *Todo) *TodoQuery + func (c *TodoClient) QueryParent(t *Todo) *TodoQuery + func (c *TodoClient) QuerySecret(t *Todo) *VerySecretQuery + func (c *TodoClient) Update() *TodoUpdate + func (c *TodoClient) UpdateOne(t *Todo) *TodoUpdateOne + func (c *TodoClient) UpdateOneID(id pulid.ID) *TodoUpdateOne + func (c *TodoClient) Use(hooks ...Hook) + type TodoConnection struct + Edges []*TodoEdge + PageInfo PageInfo + TotalCount int + type TodoCreate struct + func (c *TodoCreate) SetInput(i CreateTodoInput) *TodoCreate + func (tc *TodoCreate) AddChildIDs(ids ...pulid.ID) *TodoCreate + func (tc *TodoCreate) AddChildren(t ...*Todo) *TodoCreate + func (tc *TodoCreate) Exec(ctx context.Context) error + func (tc *TodoCreate) ExecX(ctx context.Context) + func (tc *TodoCreate) Mutation() *TodoMutation + func (tc *TodoCreate) Save(ctx context.Context) (*Todo, error) + func (tc *TodoCreate) SaveX(ctx context.Context) *Todo + func (tc *TodoCreate) SetBlob(b []byte) *TodoCreate + func (tc *TodoCreate) SetCategory(c *Category) *TodoCreate + func (tc *TodoCreate) SetCategoryID(pu pulid.ID) *TodoCreate + func (tc *TodoCreate) SetCreatedAt(t time.Time) *TodoCreate + func (tc *TodoCreate) SetCustom(c []customstruct.Custom) *TodoCreate + func (tc *TodoCreate) SetCustomp(c []*customstruct.Custom) *TodoCreate + func (tc *TodoCreate) SetID(pu pulid.ID) *TodoCreate + func (tc *TodoCreate) SetInit(m map[string]interface{}) *TodoCreate + func (tc *TodoCreate) SetNillableCategoryID(pu *pulid.ID) *TodoCreate + func (tc *TodoCreate) SetNillableCreatedAt(t *time.Time) *TodoCreate + func (tc *TodoCreate) SetNillableID(pu *pulid.ID) *TodoCreate + func (tc *TodoCreate) SetNillableParentID(id *pulid.ID) *TodoCreate + func (tc *TodoCreate) SetNillablePriority(i *int) *TodoCreate + func (tc *TodoCreate) SetNillableSecretID(id *pulid.ID) *TodoCreate + func (tc *TodoCreate) SetParent(t *Todo) *TodoCreate + func (tc *TodoCreate) SetParentID(id pulid.ID) *TodoCreate + func (tc *TodoCreate) SetPriority(i int) *TodoCreate + func (tc *TodoCreate) SetSecret(v *VerySecret) *TodoCreate + func (tc *TodoCreate) SetSecretID(id pulid.ID) *TodoCreate + func (tc *TodoCreate) SetStatus(t todo.Status) *TodoCreate + func (tc *TodoCreate) SetText(s string) *TodoCreate + type TodoCreateBulk struct + func (tcb *TodoCreateBulk) Exec(ctx context.Context) error + func (tcb *TodoCreateBulk) ExecX(ctx context.Context) + func (tcb *TodoCreateBulk) Save(ctx context.Context) ([]*Todo, error) + func (tcb *TodoCreateBulk) SaveX(ctx context.Context) []*Todo + type TodoDelete struct + func (td *TodoDelete) Exec(ctx context.Context) (int, error) + func (td *TodoDelete) ExecX(ctx context.Context) int + func (td *TodoDelete) Where(ps ...predicate.Todo) *TodoDelete + type TodoDeleteOne struct + func (tdo *TodoDeleteOne) Exec(ctx context.Context) error + func (tdo *TodoDeleteOne) ExecX(ctx context.Context) + func (tdo *TodoDeleteOne) Where(ps ...predicate.Todo) *TodoDeleteOne + type TodoEdge struct + Cursor Cursor + Node *Todo + type TodoEdges struct + Category *Category + Children []*Todo + Parent *Todo + Secret *VerySecret + func (e TodoEdges) CategoryOrErr() (*Category, error) + func (e TodoEdges) ChildrenOrErr() ([]*Todo, error) + func (e TodoEdges) ParentOrErr() (*Todo, error) + func (e TodoEdges) SecretOrErr() (*VerySecret, error) + type TodoGroupBy struct + func (s *TodoGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TodoGroupBy) BoolX(ctx context.Context) bool + func (s *TodoGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TodoGroupBy) BoolsX(ctx context.Context) []bool + func (s *TodoGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TodoGroupBy) Float64X(ctx context.Context) float64 + func (s *TodoGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TodoGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TodoGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TodoGroupBy) IntX(ctx context.Context) int + func (s *TodoGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TodoGroupBy) IntsX(ctx context.Context) []int + func (s *TodoGroupBy) ScanX(ctx context.Context, v any) + func (s *TodoGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TodoGroupBy) StringX(ctx context.Context) string + func (s *TodoGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TodoGroupBy) StringsX(ctx context.Context) []string + func (tgb *TodoGroupBy) Aggregate(fns ...AggregateFunc) *TodoGroupBy + func (tgb *TodoGroupBy) Scan(ctx context.Context, v any) error + type TodoMutation struct + func (m *TodoMutation) AddChildIDs(ids ...pulid.ID) + func (m *TodoMutation) AddField(name string, value ent.Value) error + func (m *TodoMutation) AddPriority(i int) + func (m *TodoMutation) AddedEdges() []string + func (m *TodoMutation) AddedField(name string) (ent.Value, bool) + func (m *TodoMutation) AddedFields() []string + func (m *TodoMutation) AddedIDs(name string) []ent.Value + func (m *TodoMutation) AddedPriority() (r int, exists bool) + func (m *TodoMutation) AppendCustom(c []customstruct.Custom) + func (m *TodoMutation) AppendCustomp(c []*customstruct.Custom) + func (m *TodoMutation) AppendedCustom() ([]customstruct.Custom, bool) + func (m *TodoMutation) AppendedCustomp() ([]*customstruct.Custom, bool) + func (m *TodoMutation) Blob() (r []byte, exists bool) + func (m *TodoMutation) BlobCleared() bool + func (m *TodoMutation) CategoryCleared() bool + func (m *TodoMutation) CategoryID() (r pulid.ID, exists bool) + func (m *TodoMutation) CategoryIDCleared() bool + func (m *TodoMutation) CategoryIDs() (ids []pulid.ID) + func (m *TodoMutation) ChildrenCleared() bool + func (m *TodoMutation) ChildrenIDs() (ids []pulid.ID) + func (m *TodoMutation) ClearBlob() + func (m *TodoMutation) ClearCategory() + func (m *TodoMutation) ClearCategoryID() + func (m *TodoMutation) ClearChildren() + func (m *TodoMutation) ClearCustom() + func (m *TodoMutation) ClearCustomp() + func (m *TodoMutation) ClearEdge(name string) error + func (m *TodoMutation) ClearField(name string) error + func (m *TodoMutation) ClearInit() + func (m *TodoMutation) ClearParent() + func (m *TodoMutation) ClearSecret() + func (m *TodoMutation) ClearedEdges() []string + func (m *TodoMutation) ClearedFields() []string + func (m *TodoMutation) CreatedAt() (r time.Time, exists bool) + func (m *TodoMutation) Custom() (r []customstruct.Custom, exists bool) + func (m *TodoMutation) CustomCleared() bool + func (m *TodoMutation) Customp() (r []*customstruct.Custom, exists bool) + func (m *TodoMutation) CustompCleared() bool + func (m *TodoMutation) EdgeCleared(name string) bool + func (m *TodoMutation) Field(name string) (ent.Value, bool) + func (m *TodoMutation) FieldCleared(name string) bool + func (m *TodoMutation) Fields() []string + func (m *TodoMutation) ID() (id pulid.ID, exists bool) + func (m *TodoMutation) IDs(ctx context.Context) ([]pulid.ID, error) + func (m *TodoMutation) Init() (r map[string]interface{}, exists bool) + func (m *TodoMutation) InitCleared() bool + func (m *TodoMutation) OldBlob(ctx context.Context) (v []byte, err error) + func (m *TodoMutation) OldCategoryID(ctx context.Context) (v pulid.ID, err error) + func (m *TodoMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *TodoMutation) OldCustom(ctx context.Context) (v []customstruct.Custom, err error) + func (m *TodoMutation) OldCustomp(ctx context.Context) (v []*customstruct.Custom, err error) + func (m *TodoMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TodoMutation) OldInit(ctx context.Context) (v map[string]interface{}, err error) + func (m *TodoMutation) OldPriority(ctx context.Context) (v int, err error) + func (m *TodoMutation) OldStatus(ctx context.Context) (v todo.Status, err error) + func (m *TodoMutation) OldText(ctx context.Context) (v string, err error) + func (m *TodoMutation) Op() Op + func (m *TodoMutation) ParentCleared() bool + func (m *TodoMutation) ParentID() (id pulid.ID, exists bool) + func (m *TodoMutation) ParentIDs() (ids []pulid.ID) + func (m *TodoMutation) Priority() (r int, exists bool) + func (m *TodoMutation) RemoveChildIDs(ids ...pulid.ID) + func (m *TodoMutation) RemovedChildrenIDs() (ids []pulid.ID) + func (m *TodoMutation) RemovedEdges() []string + func (m *TodoMutation) RemovedIDs(name string) []ent.Value + func (m *TodoMutation) ResetBlob() + func (m *TodoMutation) ResetCategory() + func (m *TodoMutation) ResetCategoryID() + func (m *TodoMutation) ResetChildren() + func (m *TodoMutation) ResetCreatedAt() + func (m *TodoMutation) ResetCustom() + func (m *TodoMutation) ResetCustomp() + func (m *TodoMutation) ResetEdge(name string) error + func (m *TodoMutation) ResetField(name string) error + func (m *TodoMutation) ResetInit() + func (m *TodoMutation) ResetParent() + func (m *TodoMutation) ResetPriority() + func (m *TodoMutation) ResetSecret() + func (m *TodoMutation) ResetStatus() + func (m *TodoMutation) ResetText() + func (m *TodoMutation) SecretCleared() bool + func (m *TodoMutation) SecretID() (id pulid.ID, exists bool) + func (m *TodoMutation) SecretIDs() (ids []pulid.ID) + func (m *TodoMutation) SetBlob(b []byte) + func (m *TodoMutation) SetCategoryID(pu pulid.ID) + func (m *TodoMutation) SetCreatedAt(t time.Time) + func (m *TodoMutation) SetCustom(c []customstruct.Custom) + func (m *TodoMutation) SetCustomp(c []*customstruct.Custom) + func (m *TodoMutation) SetField(name string, value ent.Value) error + func (m *TodoMutation) SetID(id pulid.ID) + func (m *TodoMutation) SetInit(value map[string]interface{}) + func (m *TodoMutation) SetOp(op Op) + func (m *TodoMutation) SetParentID(id pulid.ID) + func (m *TodoMutation) SetPriority(i int) + func (m *TodoMutation) SetSecretID(id pulid.ID) + func (m *TodoMutation) SetStatus(t todo.Status) + func (m *TodoMutation) SetText(s string) + func (m *TodoMutation) Status() (r todo.Status, exists bool) + func (m *TodoMutation) Text() (r string, exists bool) + func (m *TodoMutation) Type() string + func (m *TodoMutation) Where(ps ...predicate.Todo) + func (m *TodoMutation) WhereP(ps ...func(*sql.Selector)) + func (m TodoMutation) Client() *Client + func (m TodoMutation) Tx() (*Tx, error) + type TodoOrder struct + Direction OrderDirection + Field *TodoOrderField + type TodoOrderField struct + Value func(*Todo) (ent.Value, error) + func (f *TodoOrderField) UnmarshalGQL(v interface{}) error + func (f TodoOrderField) MarshalGQL(w io.Writer) + func (f TodoOrderField) String() string + type TodoPaginateOption func(*todoPager) error + func WithTodoFilter(filter func(*TodoQuery) (*TodoQuery, error)) TodoPaginateOption + func WithTodoOrder(order []*TodoOrder) TodoPaginateOption + type TodoQuery struct + func (t *TodoQuery) CollectFields(ctx context.Context, satisfies ...string) (*TodoQuery, error) + func (t *TodoQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*TodoConnection, error) + func (tq *TodoQuery) Aggregate(fns ...AggregateFunc) *TodoSelect + func (tq *TodoQuery) All(ctx context.Context) ([]*Todo, error) + func (tq *TodoQuery) AllX(ctx context.Context) []*Todo + func (tq *TodoQuery) Clone() *TodoQuery + func (tq *TodoQuery) Count(ctx context.Context) (int, error) + func (tq *TodoQuery) CountX(ctx context.Context) int + func (tq *TodoQuery) Exist(ctx context.Context) (bool, error) + func (tq *TodoQuery) ExistX(ctx context.Context) bool + func (tq *TodoQuery) First(ctx context.Context) (*Todo, error) + func (tq *TodoQuery) FirstID(ctx context.Context) (id pulid.ID, err error) + func (tq *TodoQuery) FirstIDX(ctx context.Context) pulid.ID + func (tq *TodoQuery) FirstX(ctx context.Context) *Todo + func (tq *TodoQuery) GroupBy(field string, fields ...string) *TodoGroupBy + func (tq *TodoQuery) IDs(ctx context.Context) (ids []pulid.ID, err error) + func (tq *TodoQuery) IDsX(ctx context.Context) []pulid.ID + func (tq *TodoQuery) Limit(limit int) *TodoQuery + func (tq *TodoQuery) Offset(offset int) *TodoQuery + func (tq *TodoQuery) Only(ctx context.Context) (*Todo, error) + func (tq *TodoQuery) OnlyID(ctx context.Context) (id pulid.ID, err error) + func (tq *TodoQuery) OnlyIDX(ctx context.Context) pulid.ID + func (tq *TodoQuery) OnlyX(ctx context.Context) *Todo + func (tq *TodoQuery) Order(o ...todo.OrderOption) *TodoQuery + func (tq *TodoQuery) QueryCategory() *CategoryQuery + func (tq *TodoQuery) QueryChildren() *TodoQuery + func (tq *TodoQuery) QueryParent() *TodoQuery + func (tq *TodoQuery) QuerySecret() *VerySecretQuery + func (tq *TodoQuery) Select(fields ...string) *TodoSelect + func (tq *TodoQuery) Unique(unique bool) *TodoQuery + func (tq *TodoQuery) Where(ps ...predicate.Todo) *TodoQuery + func (tq *TodoQuery) WithCategory(opts ...func(*CategoryQuery)) *TodoQuery + func (tq *TodoQuery) WithChildren(opts ...func(*TodoQuery)) *TodoQuery + func (tq *TodoQuery) WithNamedChildren(name string, opts ...func(*TodoQuery)) *TodoQuery + func (tq *TodoQuery) WithParent(opts ...func(*TodoQuery)) *TodoQuery + func (tq *TodoQuery) WithSecret(opts ...func(*VerySecretQuery)) *TodoQuery + type TodoSelect struct + func (s *TodoSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TodoSelect) BoolX(ctx context.Context) bool + func (s *TodoSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TodoSelect) BoolsX(ctx context.Context) []bool + func (s *TodoSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TodoSelect) Float64X(ctx context.Context) float64 + func (s *TodoSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TodoSelect) Float64sX(ctx context.Context) []float64 + func (s *TodoSelect) Int(ctx context.Context) (_ int, err error) + func (s *TodoSelect) IntX(ctx context.Context) int + func (s *TodoSelect) Ints(ctx context.Context) ([]int, error) + func (s *TodoSelect) IntsX(ctx context.Context) []int + func (s *TodoSelect) ScanX(ctx context.Context, v any) + func (s *TodoSelect) String(ctx context.Context) (_ string, err error) + func (s *TodoSelect) StringX(ctx context.Context) string + func (s *TodoSelect) Strings(ctx context.Context) ([]string, error) + func (s *TodoSelect) StringsX(ctx context.Context) []string + func (ts *TodoSelect) Aggregate(fns ...AggregateFunc) *TodoSelect + func (ts *TodoSelect) Scan(ctx context.Context, v any) error + type TodoUpdate struct + func (c *TodoUpdate) SetInput(i UpdateTodoInput) *TodoUpdate + func (tu *TodoUpdate) AddChildIDs(ids ...pulid.ID) *TodoUpdate + func (tu *TodoUpdate) AddChildren(t ...*Todo) *TodoUpdate + func (tu *TodoUpdate) AddPriority(i int) *TodoUpdate + func (tu *TodoUpdate) AppendCustom(c []customstruct.Custom) *TodoUpdate + func (tu *TodoUpdate) AppendCustomp(c []*customstruct.Custom) *TodoUpdate + func (tu *TodoUpdate) ClearBlob() *TodoUpdate + func (tu *TodoUpdate) ClearChildren() *TodoUpdate + func (tu *TodoUpdate) ClearCustom() *TodoUpdate + func (tu *TodoUpdate) ClearCustomp() *TodoUpdate + func (tu *TodoUpdate) ClearInit() *TodoUpdate + func (tu *TodoUpdate) ClearParent() *TodoUpdate + func (tu *TodoUpdate) ClearSecret() *TodoUpdate + func (tu *TodoUpdate) Exec(ctx context.Context) error + func (tu *TodoUpdate) ExecX(ctx context.Context) + func (tu *TodoUpdate) Mutation() *TodoMutation + func (tu *TodoUpdate) RemoveChildIDs(ids ...pulid.ID) *TodoUpdate + func (tu *TodoUpdate) RemoveChildren(t ...*Todo) *TodoUpdate + func (tu *TodoUpdate) Save(ctx context.Context) (int, error) + func (tu *TodoUpdate) SaveX(ctx context.Context) int + func (tu *TodoUpdate) SetBlob(b []byte) *TodoUpdate + func (tu *TodoUpdate) SetCustom(c []customstruct.Custom) *TodoUpdate + func (tu *TodoUpdate) SetCustomp(c []*customstruct.Custom) *TodoUpdate + func (tu *TodoUpdate) SetInit(m map[string]interface{}) *TodoUpdate + func (tu *TodoUpdate) SetNillableParentID(id *pulid.ID) *TodoUpdate + func (tu *TodoUpdate) SetNillablePriority(i *int) *TodoUpdate + func (tu *TodoUpdate) SetNillableSecretID(id *pulid.ID) *TodoUpdate + func (tu *TodoUpdate) SetNillableStatus(t *todo.Status) *TodoUpdate + func (tu *TodoUpdate) SetNillableText(s *string) *TodoUpdate + func (tu *TodoUpdate) SetParent(t *Todo) *TodoUpdate + func (tu *TodoUpdate) SetParentID(id pulid.ID) *TodoUpdate + func (tu *TodoUpdate) SetPriority(i int) *TodoUpdate + func (tu *TodoUpdate) SetSecret(v *VerySecret) *TodoUpdate + func (tu *TodoUpdate) SetSecretID(id pulid.ID) *TodoUpdate + func (tu *TodoUpdate) SetStatus(t todo.Status) *TodoUpdate + func (tu *TodoUpdate) SetText(s string) *TodoUpdate + func (tu *TodoUpdate) Where(ps ...predicate.Todo) *TodoUpdate + type TodoUpdateOne struct + func (c *TodoUpdateOne) SetInput(i UpdateTodoInput) *TodoUpdateOne + func (tuo *TodoUpdateOne) AddChildIDs(ids ...pulid.ID) *TodoUpdateOne + func (tuo *TodoUpdateOne) AddChildren(t ...*Todo) *TodoUpdateOne + func (tuo *TodoUpdateOne) AddPriority(i int) *TodoUpdateOne + func (tuo *TodoUpdateOne) AppendCustom(c []customstruct.Custom) *TodoUpdateOne + func (tuo *TodoUpdateOne) AppendCustomp(c []*customstruct.Custom) *TodoUpdateOne + func (tuo *TodoUpdateOne) ClearBlob() *TodoUpdateOne + func (tuo *TodoUpdateOne) ClearChildren() *TodoUpdateOne + func (tuo *TodoUpdateOne) ClearCustom() *TodoUpdateOne + func (tuo *TodoUpdateOne) ClearCustomp() *TodoUpdateOne + func (tuo *TodoUpdateOne) ClearInit() *TodoUpdateOne + func (tuo *TodoUpdateOne) ClearParent() *TodoUpdateOne + func (tuo *TodoUpdateOne) ClearSecret() *TodoUpdateOne + func (tuo *TodoUpdateOne) Exec(ctx context.Context) error + func (tuo *TodoUpdateOne) ExecX(ctx context.Context) + func (tuo *TodoUpdateOne) Mutation() *TodoMutation + func (tuo *TodoUpdateOne) RemoveChildIDs(ids ...pulid.ID) *TodoUpdateOne + func (tuo *TodoUpdateOne) RemoveChildren(t ...*Todo) *TodoUpdateOne + func (tuo *TodoUpdateOne) Save(ctx context.Context) (*Todo, error) + func (tuo *TodoUpdateOne) SaveX(ctx context.Context) *Todo + func (tuo *TodoUpdateOne) Select(field string, fields ...string) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetBlob(b []byte) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetCustom(c []customstruct.Custom) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetCustomp(c []*customstruct.Custom) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetInit(m map[string]interface{}) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetNillableParentID(id *pulid.ID) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetNillablePriority(i *int) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetNillableSecretID(id *pulid.ID) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetNillableStatus(t *todo.Status) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetNillableText(s *string) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetParent(t *Todo) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetParentID(id pulid.ID) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetPriority(i int) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetSecret(v *VerySecret) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetSecretID(id pulid.ID) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetStatus(t todo.Status) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetText(s string) *TodoUpdateOne + func (tuo *TodoUpdateOne) Where(ps ...predicate.Todo) *TodoUpdateOne + type TodoWhereInput struct + And []*TodoWhereInput + CategoryID *pulid.ID + CategoryIDContains *pulid.ID + CategoryIDContainsFold *pulid.ID + CategoryIDEqualFold *pulid.ID + CategoryIDGT *pulid.ID + CategoryIDGTE *pulid.ID + CategoryIDHasPrefix *pulid.ID + CategoryIDHasSuffix *pulid.ID + CategoryIDIn []pulid.ID + CategoryIDIsNil bool + CategoryIDLT *pulid.ID + CategoryIDLTE *pulid.ID + CategoryIDNEQ *pulid.ID + CategoryIDNotIn []pulid.ID + CategoryIDNotNil bool + CreatedAt *time.Time + CreatedAtGT *time.Time + CreatedAtGTE *time.Time + CreatedAtIn []time.Time + CreatedAtLT *time.Time + CreatedAtLTE *time.Time + CreatedAtNEQ *time.Time + CreatedAtNotIn []time.Time + HasCategory *bool + HasCategoryWith []*CategoryWhereInput + HasChildren *bool + HasChildrenWith []*TodoWhereInput + HasParent *bool + HasParentWith []*TodoWhereInput + ID *pulid.ID + IDGT *pulid.ID + IDGTE *pulid.ID + IDIn []pulid.ID + IDLT *pulid.ID + IDLTE *pulid.ID + IDNEQ *pulid.ID + IDNotIn []pulid.ID + Not *TodoWhereInput + Or []*TodoWhereInput + Predicates []predicate.Todo + Priority *int + PriorityGT *int + PriorityGTE *int + PriorityIn []int + PriorityLT *int + PriorityLTE *int + PriorityNEQ *int + PriorityNotIn []int + Status *todo.Status + StatusIn []todo.Status + StatusNEQ *todo.Status + StatusNotIn []todo.Status + Text *string + TextContains *string + TextContainsFold *string + TextEqualFold *string + TextGT *string + TextGTE *string + TextHasPrefix *string + TextHasSuffix *string + TextIn []string + TextLT *string + TextLTE *string + TextNEQ *string + TextNotIn []string + func (i *TodoWhereInput) AddPredicates(predicates ...predicate.Todo) + func (i *TodoWhereInput) Filter(q *TodoQuery) (*TodoQuery, error) + func (i *TodoWhereInput) P() (predicate.Todo, error) + type Todos []*Todo + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + BillProduct *BillProductClient + Category *CategoryClient + Friendship *FriendshipClient + Group *GroupClient + Todo *TodoClient + User *UserClient + VerySecret *VerySecretClient + func TxFromContext(ctx context.Context) *Tx + func (tx *Tx) Client() *Client + func (tx *Tx) Commit() error + func (tx *Tx) OnCommit(f CommitHook) + func (tx *Tx) OnRollback(f RollbackHook) + func (tx *Tx) Rollback() error + type UpdateCategoryInput struct + AddSubCategoryIDs []pulid.ID + AddTodoIDs []pulid.ID + AppendStrings []string + ClearConfig bool + ClearCount bool + ClearDuration bool + ClearStrings bool + ClearSubCategories bool + ClearTodos bool + ClearTypes bool + Config *schematype.CategoryConfig + Count *uint64 + Duration *time.Duration + RemoveSubCategoryIDs []pulid.ID + RemoveTodoIDs []pulid.ID + Status *category.Status + Strings []string + Text *string + Types *schematype.CategoryTypes + func (i *UpdateCategoryInput) Mutate(m *CategoryMutation) + type UpdateTodoInput struct + AddChildIDs []pulid.ID + ClearChildren bool + ClearInit bool + ClearParent bool + ClearSecret bool + Init map[string]interface{} + ParentID *pulid.ID + Priority *int + RemoveChildIDs []pulid.ID + SecretID *pulid.ID + Status *todo.Status + Text *string + func (i *UpdateTodoInput) Mutate(m *TodoMutation) + type UpdateUserInput struct + AddFriendIDs []pulid.ID + AddGroupIDs []pulid.ID + ClearFriends bool + ClearGroups bool + ClearMetadata bool + ClearPassword bool + Metadata map[string]interface{} + Name *string + Password *string + RemoveFriendIDs []pulid.ID + RemoveGroupIDs []pulid.ID + RequiredMetadata map[string]interface{} + Username *uuid.UUID + func (i *UpdateUserInput) Mutate(m *UserMutation) + type User struct + Edges UserEdges + ID pulid.ID + Metadata map[string]interface{} + Name string + Password string + RequiredMetadata map[string]interface{} + Username uuid.UUID + func (*User) IsNode() + func (u *User) Friends(ctx context.Context) (result []*User, err error) + func (u *User) Friendships(ctx context.Context) (result []*Friendship, err error) + func (u *User) Groups(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*GroupConnection, error) + func (u *User) NamedFriends(name string) ([]*User, error) + func (u *User) NamedFriendships(name string) ([]*Friendship, error) + func (u *User) NamedGroups(name string) ([]*Group, error) + func (u *User) QueryFriends() *UserQuery + func (u *User) QueryFriendships() *FriendshipQuery + func (u *User) QueryGroups() *GroupQuery + func (u *User) String() string + func (u *User) ToEdge(order *UserOrder) *UserEdge + func (u *User) Unwrap() *User + func (u *User) Update() *UserUpdateOne + func (u *User) Value(name string) (ent.Value, error) + type UserClient struct + func NewUserClient(c config) *UserClient + func (c *UserClient) Create() *UserCreate + func (c *UserClient) CreateBulk(builders ...*UserCreate) *UserCreateBulk + func (c *UserClient) Delete() *UserDelete + func (c *UserClient) DeleteOne(u *User) *UserDeleteOne + func (c *UserClient) DeleteOneID(id pulid.ID) *UserDeleteOne + func (c *UserClient) Get(ctx context.Context, id pulid.ID) (*User, error) + func (c *UserClient) GetX(ctx context.Context, id pulid.ID) *User + func (c *UserClient) Hooks() []Hook + func (c *UserClient) Intercept(interceptors ...Interceptor) + func (c *UserClient) Interceptors() []Interceptor + func (c *UserClient) MapCreateBulk(slice any, setFunc func(*UserCreate, int)) *UserCreateBulk + func (c *UserClient) Query() *UserQuery + func (c *UserClient) QueryFriends(u *User) *UserQuery + func (c *UserClient) QueryFriendships(u *User) *FriendshipQuery + func (c *UserClient) QueryGroups(u *User) *GroupQuery + func (c *UserClient) Update() *UserUpdate + func (c *UserClient) UpdateOne(u *User) *UserUpdateOne + func (c *UserClient) UpdateOneID(id pulid.ID) *UserUpdateOne + func (c *UserClient) Use(hooks ...Hook) + type UserConnection struct + Edges []*UserEdge + PageInfo PageInfo + TotalCount int + type UserCreate struct + func (c *UserCreate) SetInput(i CreateUserInput) *UserCreate + func (uc *UserCreate) AddFriendIDs(ids ...pulid.ID) *UserCreate + func (uc *UserCreate) AddFriends(u ...*User) *UserCreate + func (uc *UserCreate) AddFriendshipIDs(ids ...pulid.ID) *UserCreate + func (uc *UserCreate) AddFriendships(f ...*Friendship) *UserCreate + func (uc *UserCreate) AddGroupIDs(ids ...pulid.ID) *UserCreate + func (uc *UserCreate) AddGroups(g ...*Group) *UserCreate + func (uc *UserCreate) Exec(ctx context.Context) error + func (uc *UserCreate) ExecX(ctx context.Context) + func (uc *UserCreate) Mutation() *UserMutation + func (uc *UserCreate) Save(ctx context.Context) (*User, error) + func (uc *UserCreate) SaveX(ctx context.Context) *User + func (uc *UserCreate) SetID(pu pulid.ID) *UserCreate + func (uc *UserCreate) SetMetadata(m map[string]interface{}) *UserCreate + func (uc *UserCreate) SetName(s string) *UserCreate + func (uc *UserCreate) SetNillableID(pu *pulid.ID) *UserCreate + func (uc *UserCreate) SetNillableName(s *string) *UserCreate + func (uc *UserCreate) SetNillablePassword(s *string) *UserCreate + func (uc *UserCreate) SetNillableUsername(u *uuid.UUID) *UserCreate + func (uc *UserCreate) SetPassword(s string) *UserCreate + func (uc *UserCreate) SetRequiredMetadata(m map[string]interface{}) *UserCreate + func (uc *UserCreate) SetUsername(u uuid.UUID) *UserCreate + type UserCreateBulk struct + func (ucb *UserCreateBulk) Exec(ctx context.Context) error + func (ucb *UserCreateBulk) ExecX(ctx context.Context) + func (ucb *UserCreateBulk) Save(ctx context.Context) ([]*User, error) + func (ucb *UserCreateBulk) SaveX(ctx context.Context) []*User + type UserDelete struct + func (ud *UserDelete) Exec(ctx context.Context) (int, error) + func (ud *UserDelete) ExecX(ctx context.Context) int + func (ud *UserDelete) Where(ps ...predicate.User) *UserDelete + type UserDeleteOne struct + func (udo *UserDeleteOne) Exec(ctx context.Context) error + func (udo *UserDeleteOne) ExecX(ctx context.Context) + func (udo *UserDeleteOne) Where(ps ...predicate.User) *UserDeleteOne + type UserEdge struct + Cursor Cursor + Node *User + type UserEdges struct + Friends []*User + Friendships []*Friendship + Groups []*Group + func (e UserEdges) FriendsOrErr() ([]*User, error) + func (e UserEdges) FriendshipsOrErr() ([]*Friendship, error) + func (e UserEdges) GroupsOrErr() ([]*Group, error) + type UserGroupBy struct + func (s *UserGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *UserGroupBy) BoolX(ctx context.Context) bool + func (s *UserGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *UserGroupBy) BoolsX(ctx context.Context) []bool + func (s *UserGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *UserGroupBy) Float64X(ctx context.Context) float64 + func (s *UserGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *UserGroupBy) Float64sX(ctx context.Context) []float64 + func (s *UserGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *UserGroupBy) IntX(ctx context.Context) int + func (s *UserGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *UserGroupBy) IntsX(ctx context.Context) []int + func (s *UserGroupBy) ScanX(ctx context.Context, v any) + func (s *UserGroupBy) String(ctx context.Context) (_ string, err error) + func (s *UserGroupBy) StringX(ctx context.Context) string + func (s *UserGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *UserGroupBy) StringsX(ctx context.Context) []string + func (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy + func (ugb *UserGroupBy) Scan(ctx context.Context, v any) error + type UserMutation struct + func (m *UserMutation) AddField(name string, value ent.Value) error + func (m *UserMutation) AddFriendIDs(ids ...pulid.ID) + func (m *UserMutation) AddFriendshipIDs(ids ...pulid.ID) + func (m *UserMutation) AddGroupIDs(ids ...pulid.ID) + func (m *UserMutation) AddedEdges() []string + func (m *UserMutation) AddedField(name string) (ent.Value, bool) + func (m *UserMutation) AddedFields() []string + func (m *UserMutation) AddedIDs(name string) []ent.Value + func (m *UserMutation) ClearEdge(name string) error + func (m *UserMutation) ClearField(name string) error + func (m *UserMutation) ClearFriends() + func (m *UserMutation) ClearFriendships() + func (m *UserMutation) ClearGroups() + func (m *UserMutation) ClearMetadata() + func (m *UserMutation) ClearPassword() + func (m *UserMutation) ClearedEdges() []string + func (m *UserMutation) ClearedFields() []string + func (m *UserMutation) EdgeCleared(name string) bool + func (m *UserMutation) Field(name string) (ent.Value, bool) + func (m *UserMutation) FieldCleared(name string) bool + func (m *UserMutation) Fields() []string + func (m *UserMutation) FriendsCleared() bool + func (m *UserMutation) FriendsIDs() (ids []pulid.ID) + func (m *UserMutation) FriendshipsCleared() bool + func (m *UserMutation) FriendshipsIDs() (ids []pulid.ID) + func (m *UserMutation) GroupsCleared() bool + func (m *UserMutation) GroupsIDs() (ids []pulid.ID) + func (m *UserMutation) ID() (id pulid.ID, exists bool) + func (m *UserMutation) IDs(ctx context.Context) ([]pulid.ID, error) + func (m *UserMutation) Metadata() (r map[string]interface{}, exists bool) + func (m *UserMutation) MetadataCleared() bool + func (m *UserMutation) Name() (r string, exists bool) + func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserMutation) OldMetadata(ctx context.Context) (v map[string]interface{}, err error) + func (m *UserMutation) OldName(ctx context.Context) (v string, err error) + func (m *UserMutation) OldPassword(ctx context.Context) (v string, err error) + func (m *UserMutation) OldRequiredMetadata(ctx context.Context) (v map[string]interface{}, err error) + func (m *UserMutation) OldUsername(ctx context.Context) (v uuid.UUID, err error) + func (m *UserMutation) Op() Op + func (m *UserMutation) Password() (r string, exists bool) + func (m *UserMutation) PasswordCleared() bool + func (m *UserMutation) RemoveFriendIDs(ids ...pulid.ID) + func (m *UserMutation) RemoveFriendshipIDs(ids ...pulid.ID) + func (m *UserMutation) RemoveGroupIDs(ids ...pulid.ID) + func (m *UserMutation) RemovedEdges() []string + func (m *UserMutation) RemovedFriendsIDs() (ids []pulid.ID) + func (m *UserMutation) RemovedFriendshipsIDs() (ids []pulid.ID) + func (m *UserMutation) RemovedGroupsIDs() (ids []pulid.ID) + func (m *UserMutation) RemovedIDs(name string) []ent.Value + func (m *UserMutation) RequiredMetadata() (r map[string]interface{}, exists bool) + func (m *UserMutation) ResetEdge(name string) error + func (m *UserMutation) ResetField(name string) error + func (m *UserMutation) ResetFriends() + func (m *UserMutation) ResetFriendships() + func (m *UserMutation) ResetGroups() + func (m *UserMutation) ResetMetadata() + func (m *UserMutation) ResetName() + func (m *UserMutation) ResetPassword() + func (m *UserMutation) ResetRequiredMetadata() + func (m *UserMutation) ResetUsername() + func (m *UserMutation) SetField(name string, value ent.Value) error + func (m *UserMutation) SetID(id pulid.ID) + func (m *UserMutation) SetMetadata(value map[string]interface{}) + func (m *UserMutation) SetName(s string) + func (m *UserMutation) SetOp(op Op) + func (m *UserMutation) SetPassword(s string) + func (m *UserMutation) SetRequiredMetadata(value map[string]interface{}) + func (m *UserMutation) SetUsername(u uuid.UUID) + func (m *UserMutation) Type() string + func (m *UserMutation) Username() (r uuid.UUID, exists bool) + func (m *UserMutation) Where(ps ...predicate.User) + func (m *UserMutation) WhereP(ps ...func(*sql.Selector)) + func (m UserMutation) Client() *Client + func (m UserMutation) Tx() (*Tx, error) + type UserOrder struct + Direction OrderDirection + Field *UserOrderField + type UserOrderField struct + Value func(*User) (ent.Value, error) + func (f *UserOrderField) UnmarshalGQL(v interface{}) error + func (f UserOrderField) MarshalGQL(w io.Writer) + func (f UserOrderField) String() string + type UserPaginateOption func(*userPager) error + func WithUserFilter(filter func(*UserQuery) (*UserQuery, error)) UserPaginateOption + func WithUserOrder(order *UserOrder) UserPaginateOption + type UserQuery struct + func (u *UserQuery) CollectFields(ctx context.Context, satisfies ...string) (*UserQuery, error) + func (u *UserQuery) Paginate(ctx context.Context, after *Cursor, first *int, before *Cursor, last *int, ...) (*UserConnection, error) + func (uq *UserQuery) Aggregate(fns ...AggregateFunc) *UserSelect + func (uq *UserQuery) All(ctx context.Context) ([]*User, error) + func (uq *UserQuery) AllX(ctx context.Context) []*User + func (uq *UserQuery) Clone() *UserQuery + func (uq *UserQuery) Count(ctx context.Context) (int, error) + func (uq *UserQuery) CountX(ctx context.Context) int + func (uq *UserQuery) Exist(ctx context.Context) (bool, error) + func (uq *UserQuery) ExistX(ctx context.Context) bool + func (uq *UserQuery) First(ctx context.Context) (*User, error) + func (uq *UserQuery) FirstID(ctx context.Context) (id pulid.ID, err error) + func (uq *UserQuery) FirstIDX(ctx context.Context) pulid.ID + func (uq *UserQuery) FirstX(ctx context.Context) *User + func (uq *UserQuery) GroupBy(field string, fields ...string) *UserGroupBy + func (uq *UserQuery) IDs(ctx context.Context) (ids []pulid.ID, err error) + func (uq *UserQuery) IDsX(ctx context.Context) []pulid.ID + func (uq *UserQuery) Limit(limit int) *UserQuery + func (uq *UserQuery) Offset(offset int) *UserQuery + func (uq *UserQuery) Only(ctx context.Context) (*User, error) + func (uq *UserQuery) OnlyID(ctx context.Context) (id pulid.ID, err error) + func (uq *UserQuery) OnlyIDX(ctx context.Context) pulid.ID + func (uq *UserQuery) OnlyX(ctx context.Context) *User + func (uq *UserQuery) Order(o ...user.OrderOption) *UserQuery + func (uq *UserQuery) QueryFriends() *UserQuery + func (uq *UserQuery) QueryFriendships() *FriendshipQuery + func (uq *UserQuery) QueryGroups() *GroupQuery + func (uq *UserQuery) Select(fields ...string) *UserSelect + func (uq *UserQuery) Unique(unique bool) *UserQuery + func (uq *UserQuery) Where(ps ...predicate.User) *UserQuery + func (uq *UserQuery) WithFriends(opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithFriendships(opts ...func(*FriendshipQuery)) *UserQuery + func (uq *UserQuery) WithGroups(opts ...func(*GroupQuery)) *UserQuery + func (uq *UserQuery) WithNamedFriends(name string, opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithNamedFriendships(name string, opts ...func(*FriendshipQuery)) *UserQuery + func (uq *UserQuery) WithNamedGroups(name string, opts ...func(*GroupQuery)) *UserQuery + type UserSelect struct + func (s *UserSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *UserSelect) BoolX(ctx context.Context) bool + func (s *UserSelect) Bools(ctx context.Context) ([]bool, error) + func (s *UserSelect) BoolsX(ctx context.Context) []bool + func (s *UserSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *UserSelect) Float64X(ctx context.Context) float64 + func (s *UserSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *UserSelect) Float64sX(ctx context.Context) []float64 + func (s *UserSelect) Int(ctx context.Context) (_ int, err error) + func (s *UserSelect) IntX(ctx context.Context) int + func (s *UserSelect) Ints(ctx context.Context) ([]int, error) + func (s *UserSelect) IntsX(ctx context.Context) []int + func (s *UserSelect) ScanX(ctx context.Context, v any) + func (s *UserSelect) String(ctx context.Context) (_ string, err error) + func (s *UserSelect) StringX(ctx context.Context) string + func (s *UserSelect) Strings(ctx context.Context) ([]string, error) + func (s *UserSelect) StringsX(ctx context.Context) []string + func (us *UserSelect) Aggregate(fns ...AggregateFunc) *UserSelect + func (us *UserSelect) Scan(ctx context.Context, v any) error + type UserUpdate struct + func (c *UserUpdate) SetInput(i UpdateUserInput) *UserUpdate + func (uu *UserUpdate) AddFriendIDs(ids ...pulid.ID) *UserUpdate + func (uu *UserUpdate) AddFriends(u ...*User) *UserUpdate + func (uu *UserUpdate) AddFriendshipIDs(ids ...pulid.ID) *UserUpdate + func (uu *UserUpdate) AddFriendships(f ...*Friendship) *UserUpdate + func (uu *UserUpdate) AddGroupIDs(ids ...pulid.ID) *UserUpdate + func (uu *UserUpdate) AddGroups(g ...*Group) *UserUpdate + func (uu *UserUpdate) ClearFriends() *UserUpdate + func (uu *UserUpdate) ClearFriendships() *UserUpdate + func (uu *UserUpdate) ClearGroups() *UserUpdate + func (uu *UserUpdate) ClearMetadata() *UserUpdate + func (uu *UserUpdate) ClearPassword() *UserUpdate + func (uu *UserUpdate) Exec(ctx context.Context) error + func (uu *UserUpdate) ExecX(ctx context.Context) + func (uu *UserUpdate) Mutation() *UserMutation + func (uu *UserUpdate) RemoveFriendIDs(ids ...pulid.ID) *UserUpdate + func (uu *UserUpdate) RemoveFriends(u ...*User) *UserUpdate + func (uu *UserUpdate) RemoveFriendshipIDs(ids ...pulid.ID) *UserUpdate + func (uu *UserUpdate) RemoveFriendships(f ...*Friendship) *UserUpdate + func (uu *UserUpdate) RemoveGroupIDs(ids ...pulid.ID) *UserUpdate + func (uu *UserUpdate) RemoveGroups(g ...*Group) *UserUpdate + func (uu *UserUpdate) Save(ctx context.Context) (int, error) + func (uu *UserUpdate) SaveX(ctx context.Context) int + func (uu *UserUpdate) SetMetadata(m map[string]interface{}) *UserUpdate + func (uu *UserUpdate) SetName(s string) *UserUpdate + func (uu *UserUpdate) SetNillableName(s *string) *UserUpdate + func (uu *UserUpdate) SetNillablePassword(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableUsername(u *uuid.UUID) *UserUpdate + func (uu *UserUpdate) SetPassword(s string) *UserUpdate + func (uu *UserUpdate) SetRequiredMetadata(m map[string]interface{}) *UserUpdate + func (uu *UserUpdate) SetUsername(u uuid.UUID) *UserUpdate + func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate + type UserUpdateOne struct + func (c *UserUpdateOne) SetInput(i UpdateUserInput) *UserUpdateOne + func (uuo *UserUpdateOne) AddFriendIDs(ids ...pulid.ID) *UserUpdateOne + func (uuo *UserUpdateOne) AddFriends(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) AddFriendshipIDs(ids ...pulid.ID) *UserUpdateOne + func (uuo *UserUpdateOne) AddFriendships(f ...*Friendship) *UserUpdateOne + func (uuo *UserUpdateOne) AddGroupIDs(ids ...pulid.ID) *UserUpdateOne + func (uuo *UserUpdateOne) AddGroups(g ...*Group) *UserUpdateOne + func (uuo *UserUpdateOne) ClearFriends() *UserUpdateOne + func (uuo *UserUpdateOne) ClearFriendships() *UserUpdateOne + func (uuo *UserUpdateOne) ClearGroups() *UserUpdateOne + func (uuo *UserUpdateOne) ClearMetadata() *UserUpdateOne + func (uuo *UserUpdateOne) ClearPassword() *UserUpdateOne + func (uuo *UserUpdateOne) Exec(ctx context.Context) error + func (uuo *UserUpdateOne) ExecX(ctx context.Context) + func (uuo *UserUpdateOne) Mutation() *UserMutation + func (uuo *UserUpdateOne) RemoveFriendIDs(ids ...pulid.ID) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFriends(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFriendshipIDs(ids ...pulid.ID) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFriendships(f ...*Friendship) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveGroupIDs(ids ...pulid.ID) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveGroups(g ...*Group) *UserUpdateOne + func (uuo *UserUpdateOne) Save(ctx context.Context) (*User, error) + func (uuo *UserUpdateOne) SaveX(ctx context.Context) *User + func (uuo *UserUpdateOne) Select(field string, fields ...string) *UserUpdateOne + func (uuo *UserUpdateOne) SetMetadata(m map[string]interface{}) *UserUpdateOne + func (uuo *UserUpdateOne) SetName(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableName(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillablePassword(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableUsername(u *uuid.UUID) *UserUpdateOne + func (uuo *UserUpdateOne) SetPassword(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetRequiredMetadata(m map[string]interface{}) *UserUpdateOne + func (uuo *UserUpdateOne) SetUsername(u uuid.UUID) *UserUpdateOne + func (uuo *UserUpdateOne) Where(ps ...predicate.User) *UserUpdateOne + type UserWhereInput struct + And []*UserWhereInput + HasFriends *bool + HasFriendsWith []*UserWhereInput + HasFriendships *bool + HasFriendshipsWith []*FriendshipWhereInput + HasGroups *bool + HasGroupsWith []*GroupWhereInput + ID *pulid.ID + IDGT *pulid.ID + IDGTE *pulid.ID + IDIn []pulid.ID + IDLT *pulid.ID + IDLTE *pulid.ID + IDNEQ *pulid.ID + IDNotIn []pulid.ID + Name *string + NameContains *string + NameContainsFold *string + NameEqualFold *string + NameGT *string + NameGTE *string + NameHasPrefix *string + NameHasSuffix *string + NameIn []string + NameLT *string + NameLTE *string + NameNEQ *string + NameNotIn []string + Not *UserWhereInput + Or []*UserWhereInput + Password *string + PasswordContains *string + PasswordContainsFold *string + PasswordEqualFold *string + PasswordGT *string + PasswordGTE *string + PasswordHasPrefix *string + PasswordHasSuffix *string + PasswordIn []string + PasswordIsNil bool + PasswordLT *string + PasswordLTE *string + PasswordNEQ *string + PasswordNotIn []string + PasswordNotNil bool + Predicates []predicate.User + Username *uuid.UUID + UsernameGT *uuid.UUID + UsernameGTE *uuid.UUID + UsernameIn []uuid.UUID + UsernameLT *uuid.UUID + UsernameLTE *uuid.UUID + UsernameNEQ *uuid.UUID + UsernameNotIn []uuid.UUID + func (i *UserWhereInput) AddPredicates(predicates ...predicate.User) + func (i *UserWhereInput) Filter(q *UserQuery) (*UserQuery, error) + func (i *UserWhereInput) P() (predicate.User, error) + type Users []*User + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value + type VerySecret struct + ID pulid.ID + Password string + func (vs *VerySecret) String() string + func (vs *VerySecret) Unwrap() *VerySecret + func (vs *VerySecret) Update() *VerySecretUpdateOne + func (vs *VerySecret) Value(name string) (ent.Value, error) + type VerySecretClient struct + func NewVerySecretClient(c config) *VerySecretClient + func (c *VerySecretClient) Create() *VerySecretCreate + func (c *VerySecretClient) CreateBulk(builders ...*VerySecretCreate) *VerySecretCreateBulk + func (c *VerySecretClient) Delete() *VerySecretDelete + func (c *VerySecretClient) DeleteOne(vs *VerySecret) *VerySecretDeleteOne + func (c *VerySecretClient) DeleteOneID(id pulid.ID) *VerySecretDeleteOne + func (c *VerySecretClient) Get(ctx context.Context, id pulid.ID) (*VerySecret, error) + func (c *VerySecretClient) GetX(ctx context.Context, id pulid.ID) *VerySecret + func (c *VerySecretClient) Hooks() []Hook + func (c *VerySecretClient) Intercept(interceptors ...Interceptor) + func (c *VerySecretClient) Interceptors() []Interceptor + func (c *VerySecretClient) MapCreateBulk(slice any, setFunc func(*VerySecretCreate, int)) *VerySecretCreateBulk + func (c *VerySecretClient) Query() *VerySecretQuery + func (c *VerySecretClient) Update() *VerySecretUpdate + func (c *VerySecretClient) UpdateOne(vs *VerySecret) *VerySecretUpdateOne + func (c *VerySecretClient) UpdateOneID(id pulid.ID) *VerySecretUpdateOne + func (c *VerySecretClient) Use(hooks ...Hook) + type VerySecretCreate struct + func (vsc *VerySecretCreate) Exec(ctx context.Context) error + func (vsc *VerySecretCreate) ExecX(ctx context.Context) + func (vsc *VerySecretCreate) Mutation() *VerySecretMutation + func (vsc *VerySecretCreate) Save(ctx context.Context) (*VerySecret, error) + func (vsc *VerySecretCreate) SaveX(ctx context.Context) *VerySecret + func (vsc *VerySecretCreate) SetID(pu pulid.ID) *VerySecretCreate + func (vsc *VerySecretCreate) SetNillableID(pu *pulid.ID) *VerySecretCreate + func (vsc *VerySecretCreate) SetPassword(s string) *VerySecretCreate + type VerySecretCreateBulk struct + func (vscb *VerySecretCreateBulk) Exec(ctx context.Context) error + func (vscb *VerySecretCreateBulk) ExecX(ctx context.Context) + func (vscb *VerySecretCreateBulk) Save(ctx context.Context) ([]*VerySecret, error) + func (vscb *VerySecretCreateBulk) SaveX(ctx context.Context) []*VerySecret + type VerySecretDelete struct + func (vsd *VerySecretDelete) Exec(ctx context.Context) (int, error) + func (vsd *VerySecretDelete) ExecX(ctx context.Context) int + func (vsd *VerySecretDelete) Where(ps ...predicate.VerySecret) *VerySecretDelete + type VerySecretDeleteOne struct + func (vsdo *VerySecretDeleteOne) Exec(ctx context.Context) error + func (vsdo *VerySecretDeleteOne) ExecX(ctx context.Context) + func (vsdo *VerySecretDeleteOne) Where(ps ...predicate.VerySecret) *VerySecretDeleteOne + type VerySecretGroupBy struct + func (s *VerySecretGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *VerySecretGroupBy) BoolX(ctx context.Context) bool + func (s *VerySecretGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *VerySecretGroupBy) BoolsX(ctx context.Context) []bool + func (s *VerySecretGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *VerySecretGroupBy) Float64X(ctx context.Context) float64 + func (s *VerySecretGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *VerySecretGroupBy) Float64sX(ctx context.Context) []float64 + func (s *VerySecretGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *VerySecretGroupBy) IntX(ctx context.Context) int + func (s *VerySecretGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *VerySecretGroupBy) IntsX(ctx context.Context) []int + func (s *VerySecretGroupBy) ScanX(ctx context.Context, v any) + func (s *VerySecretGroupBy) String(ctx context.Context) (_ string, err error) + func (s *VerySecretGroupBy) StringX(ctx context.Context) string + func (s *VerySecretGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *VerySecretGroupBy) StringsX(ctx context.Context) []string + func (vsgb *VerySecretGroupBy) Aggregate(fns ...AggregateFunc) *VerySecretGroupBy + func (vsgb *VerySecretGroupBy) Scan(ctx context.Context, v any) error + type VerySecretMutation struct + func (m *VerySecretMutation) AddField(name string, value ent.Value) error + func (m *VerySecretMutation) AddedEdges() []string + func (m *VerySecretMutation) AddedField(name string) (ent.Value, bool) + func (m *VerySecretMutation) AddedFields() []string + func (m *VerySecretMutation) AddedIDs(name string) []ent.Value + func (m *VerySecretMutation) ClearEdge(name string) error + func (m *VerySecretMutation) ClearField(name string) error + func (m *VerySecretMutation) ClearedEdges() []string + func (m *VerySecretMutation) ClearedFields() []string + func (m *VerySecretMutation) EdgeCleared(name string) bool + func (m *VerySecretMutation) Field(name string) (ent.Value, bool) + func (m *VerySecretMutation) FieldCleared(name string) bool + func (m *VerySecretMutation) Fields() []string + func (m *VerySecretMutation) ID() (id pulid.ID, exists bool) + func (m *VerySecretMutation) IDs(ctx context.Context) ([]pulid.ID, error) + func (m *VerySecretMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *VerySecretMutation) OldPassword(ctx context.Context) (v string, err error) + func (m *VerySecretMutation) Op() Op + func (m *VerySecretMutation) Password() (r string, exists bool) + func (m *VerySecretMutation) RemovedEdges() []string + func (m *VerySecretMutation) RemovedIDs(name string) []ent.Value + func (m *VerySecretMutation) ResetEdge(name string) error + func (m *VerySecretMutation) ResetField(name string) error + func (m *VerySecretMutation) ResetPassword() + func (m *VerySecretMutation) SetField(name string, value ent.Value) error + func (m *VerySecretMutation) SetID(id pulid.ID) + func (m *VerySecretMutation) SetOp(op Op) + func (m *VerySecretMutation) SetPassword(s string) + func (m *VerySecretMutation) Type() string + func (m *VerySecretMutation) Where(ps ...predicate.VerySecret) + func (m *VerySecretMutation) WhereP(ps ...func(*sql.Selector)) + func (m VerySecretMutation) Client() *Client + func (m VerySecretMutation) Tx() (*Tx, error) + type VerySecretQuery struct + func (vsq *VerySecretQuery) Aggregate(fns ...AggregateFunc) *VerySecretSelect + func (vsq *VerySecretQuery) All(ctx context.Context) ([]*VerySecret, error) + func (vsq *VerySecretQuery) AllX(ctx context.Context) []*VerySecret + func (vsq *VerySecretQuery) Clone() *VerySecretQuery + func (vsq *VerySecretQuery) Count(ctx context.Context) (int, error) + func (vsq *VerySecretQuery) CountX(ctx context.Context) int + func (vsq *VerySecretQuery) Exist(ctx context.Context) (bool, error) + func (vsq *VerySecretQuery) ExistX(ctx context.Context) bool + func (vsq *VerySecretQuery) First(ctx context.Context) (*VerySecret, error) + func (vsq *VerySecretQuery) FirstID(ctx context.Context) (id pulid.ID, err error) + func (vsq *VerySecretQuery) FirstIDX(ctx context.Context) pulid.ID + func (vsq *VerySecretQuery) FirstX(ctx context.Context) *VerySecret + func (vsq *VerySecretQuery) GroupBy(field string, fields ...string) *VerySecretGroupBy + func (vsq *VerySecretQuery) IDs(ctx context.Context) (ids []pulid.ID, err error) + func (vsq *VerySecretQuery) IDsX(ctx context.Context) []pulid.ID + func (vsq *VerySecretQuery) Limit(limit int) *VerySecretQuery + func (vsq *VerySecretQuery) Offset(offset int) *VerySecretQuery + func (vsq *VerySecretQuery) Only(ctx context.Context) (*VerySecret, error) + func (vsq *VerySecretQuery) OnlyID(ctx context.Context) (id pulid.ID, err error) + func (vsq *VerySecretQuery) OnlyIDX(ctx context.Context) pulid.ID + func (vsq *VerySecretQuery) OnlyX(ctx context.Context) *VerySecret + func (vsq *VerySecretQuery) Order(o ...verysecret.OrderOption) *VerySecretQuery + func (vsq *VerySecretQuery) Select(fields ...string) *VerySecretSelect + func (vsq *VerySecretQuery) Unique(unique bool) *VerySecretQuery + func (vsq *VerySecretQuery) Where(ps ...predicate.VerySecret) *VerySecretQuery + type VerySecretSelect struct + func (s *VerySecretSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *VerySecretSelect) BoolX(ctx context.Context) bool + func (s *VerySecretSelect) Bools(ctx context.Context) ([]bool, error) + func (s *VerySecretSelect) BoolsX(ctx context.Context) []bool + func (s *VerySecretSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *VerySecretSelect) Float64X(ctx context.Context) float64 + func (s *VerySecretSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *VerySecretSelect) Float64sX(ctx context.Context) []float64 + func (s *VerySecretSelect) Int(ctx context.Context) (_ int, err error) + func (s *VerySecretSelect) IntX(ctx context.Context) int + func (s *VerySecretSelect) Ints(ctx context.Context) ([]int, error) + func (s *VerySecretSelect) IntsX(ctx context.Context) []int + func (s *VerySecretSelect) ScanX(ctx context.Context, v any) + func (s *VerySecretSelect) String(ctx context.Context) (_ string, err error) + func (s *VerySecretSelect) StringX(ctx context.Context) string + func (s *VerySecretSelect) Strings(ctx context.Context) ([]string, error) + func (s *VerySecretSelect) StringsX(ctx context.Context) []string + func (vss *VerySecretSelect) Aggregate(fns ...AggregateFunc) *VerySecretSelect + func (vss *VerySecretSelect) Scan(ctx context.Context, v any) error + type VerySecretUpdate struct + func (vsu *VerySecretUpdate) Exec(ctx context.Context) error + func (vsu *VerySecretUpdate) ExecX(ctx context.Context) + func (vsu *VerySecretUpdate) Mutation() *VerySecretMutation + func (vsu *VerySecretUpdate) Save(ctx context.Context) (int, error) + func (vsu *VerySecretUpdate) SaveX(ctx context.Context) int + func (vsu *VerySecretUpdate) SetNillablePassword(s *string) *VerySecretUpdate + func (vsu *VerySecretUpdate) SetPassword(s string) *VerySecretUpdate + func (vsu *VerySecretUpdate) Where(ps ...predicate.VerySecret) *VerySecretUpdate + type VerySecretUpdateOne struct + func (vsuo *VerySecretUpdateOne) Exec(ctx context.Context) error + func (vsuo *VerySecretUpdateOne) ExecX(ctx context.Context) + func (vsuo *VerySecretUpdateOne) Mutation() *VerySecretMutation + func (vsuo *VerySecretUpdateOne) Save(ctx context.Context) (*VerySecret, error) + func (vsuo *VerySecretUpdateOne) SaveX(ctx context.Context) *VerySecret + func (vsuo *VerySecretUpdateOne) Select(field string, fields ...string) *VerySecretUpdateOne + func (vsuo *VerySecretUpdateOne) SetNillablePassword(s *string) *VerySecretUpdateOne + func (vsuo *VerySecretUpdateOne) SetPassword(s string) *VerySecretUpdateOne + func (vsuo *VerySecretUpdateOne) Where(ps ...predicate.VerySecret) *VerySecretUpdateOne + type VerySecrets []*VerySecret