Versions in this module Expand all Collapse all v0 v0.8.4 Jul 24, 2021 v0.8.3 Jul 24, 2021 v0.8.2 Jul 22, 2021 v0.8.1 Jul 22, 2021 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeCard + const TypeComment + const TypeFieldType + const TypeFile + const TypeFileType + const TypeGoods + const TypeGroup + const TypeGroupInfo + const TypeItem + const TypeNode + const TypePet + const TypeSpec + const TypeTask + const TypeUser + 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 + 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 Card struct + Balance float64 + CreateTime time.Time + Edges CardEdges + ID int + Name string + Number string + StaticField string + UpdateTime time.Time + func (c *Card) QueryOwner() *UserQuery + func (c *Card) QuerySpec() *SpecQuery + func (c *Card) String() string + func (c *Card) Unwrap() *Card + func (c *Card) Update() *CardUpdateOne + type CardClient struct + func NewCardClient(c config) *CardClient + func (c *CardClient) Create() *CardCreate + func (c *CardClient) CreateBulk(builders ...*CardCreate) *CardCreateBulk + func (c *CardClient) Delete() *CardDelete + func (c *CardClient) DeleteOne(ca *Card) *CardDeleteOne + func (c *CardClient) DeleteOneID(id int) *CardDeleteOne + func (c *CardClient) Get(ctx context.Context, id int) (*Card, error) + func (c *CardClient) GetX(ctx context.Context, id int) *Card + func (c *CardClient) Hooks() []Hook + func (c *CardClient) Query() *CardQuery + func (c *CardClient) QueryOwner(ca *Card) *UserQuery + func (c *CardClient) QuerySpec(ca *Card) *SpecQuery + func (c *CardClient) Update() *CardUpdate + func (c *CardClient) UpdateOne(ca *Card) *CardUpdateOne + func (c *CardClient) UpdateOneID(id int) *CardUpdateOne + func (c *CardClient) Use(hooks ...Hook) + type CardCreate struct + func (cc *CardCreate) AddSpec(s ...*Spec) *CardCreate + func (cc *CardCreate) AddSpecIDs(ids ...int) *CardCreate + func (cc *CardCreate) Mutation() *CardMutation + func (cc *CardCreate) Save(ctx context.Context) (*Card, error) + func (cc *CardCreate) SaveX(ctx context.Context) *Card + func (cc *CardCreate) SetBalance(f float64) *CardCreate + func (cc *CardCreate) SetCreateTime(t time.Time) *CardCreate + func (cc *CardCreate) SetName(s string) *CardCreate + func (cc *CardCreate) SetNillableBalance(f *float64) *CardCreate + func (cc *CardCreate) SetNillableCreateTime(t *time.Time) *CardCreate + func (cc *CardCreate) SetNillableName(s *string) *CardCreate + func (cc *CardCreate) SetNillableOwnerID(id *int) *CardCreate + func (cc *CardCreate) SetNillableUpdateTime(t *time.Time) *CardCreate + func (cc *CardCreate) SetNumber(s string) *CardCreate + func (cc *CardCreate) SetOwner(u *User) *CardCreate + func (cc *CardCreate) SetOwnerID(id int) *CardCreate + func (cc *CardCreate) SetUpdateTime(t time.Time) *CardCreate + type CardCreateBulk struct + func (ccb *CardCreateBulk) Save(ctx context.Context) ([]*Card, error) + func (ccb *CardCreateBulk) SaveX(ctx context.Context) []*Card + type CardDelete struct + func (cd *CardDelete) Exec(ctx context.Context) (int, error) + func (cd *CardDelete) ExecX(ctx context.Context) int + func (cd *CardDelete) Where(ps ...predicate.Card) *CardDelete + type CardDeleteOne struct + func (cdo *CardDeleteOne) Exec(ctx context.Context) error + func (cdo *CardDeleteOne) ExecX(ctx context.Context) + type CardEdges struct + Owner *User + Spec []*Spec + func (e CardEdges) OwnerOrErr() (*User, error) + func (e CardEdges) SpecOrErr() ([]*Spec, error) + type CardExtension struct + Name string + Number string + Spec int + type CardFilter struct + func (f *CardFilter) Where(p entql.P) + func (f *CardFilter) WhereBalance(p entql.Float64P) + func (f *CardFilter) WhereCreateTime(p entql.TimeP) + func (f *CardFilter) WhereHasOwner() + func (f *CardFilter) WhereHasOwnerWith(preds ...predicate.User) + func (f *CardFilter) WhereHasSpec() + func (f *CardFilter) WhereHasSpecWith(preds ...predicate.Spec) + func (f *CardFilter) WhereID(p entql.IntP) + func (f *CardFilter) WhereName(p entql.StringP) + func (f *CardFilter) WhereNumber(p entql.StringP) + func (f *CardFilter) WhereUpdateTime(p entql.TimeP) + type CardGroupBy struct + func (cgb *CardGroupBy) Aggregate(fns ...AggregateFunc) *CardGroupBy + func (cgb *CardGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (cgb *CardGroupBy) BoolX(ctx context.Context) bool + func (cgb *CardGroupBy) Bools(ctx context.Context) ([]bool, error) + func (cgb *CardGroupBy) BoolsX(ctx context.Context) []bool + func (cgb *CardGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (cgb *CardGroupBy) Float64X(ctx context.Context) float64 + func (cgb *CardGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (cgb *CardGroupBy) Float64sX(ctx context.Context) []float64 + func (cgb *CardGroupBy) Int(ctx context.Context) (_ int, err error) + func (cgb *CardGroupBy) IntX(ctx context.Context) int + func (cgb *CardGroupBy) Ints(ctx context.Context) ([]int, error) + func (cgb *CardGroupBy) IntsX(ctx context.Context) []int + func (cgb *CardGroupBy) Scan(ctx context.Context, v interface{}) error + func (cgb *CardGroupBy) ScanX(ctx context.Context, v interface{}) + func (cgb *CardGroupBy) String(ctx context.Context) (_ string, err error) + func (cgb *CardGroupBy) StringX(ctx context.Context) string + func (cgb *CardGroupBy) Strings(ctx context.Context) ([]string, error) + func (cgb *CardGroupBy) StringsX(ctx context.Context) []string + type CardMutation struct + func (m *CardMutation) AddBalance(f float64) + func (m *CardMutation) AddField(name string, value ent.Value) error + func (m *CardMutation) AddSpecIDs(ids ...int) + func (m *CardMutation) AddedBalance() (r float64, exists bool) + func (m *CardMutation) AddedEdges() []string + func (m *CardMutation) AddedField(name string) (ent.Value, bool) + func (m *CardMutation) AddedFields() []string + func (m *CardMutation) AddedIDs(name string) []ent.Value + func (m *CardMutation) Balance() (r float64, exists bool) + func (m *CardMutation) ClearEdge(name string) error + func (m *CardMutation) ClearField(name string) error + func (m *CardMutation) ClearName() + func (m *CardMutation) ClearOwner() + func (m *CardMutation) ClearSpec() + func (m *CardMutation) ClearedEdges() []string + func (m *CardMutation) ClearedFields() []string + func (m *CardMutation) CreateTime() (r time.Time, exists bool) + func (m *CardMutation) EdgeCleared(name string) bool + func (m *CardMutation) Field(name string) (ent.Value, bool) + func (m *CardMutation) FieldCleared(name string) bool + func (m *CardMutation) Fields() []string + func (m *CardMutation) Filter() *CardFilter + func (m *CardMutation) ID() (id int, exists bool) + func (m *CardMutation) Name() (r string, exists bool) + func (m *CardMutation) NameCleared() bool + func (m *CardMutation) Number() (r string, exists bool) + func (m *CardMutation) OldBalance(ctx context.Context) (v float64, err error) + func (m *CardMutation) OldCreateTime(ctx context.Context) (v time.Time, err error) + func (m *CardMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CardMutation) OldName(ctx context.Context) (v string, err error) + func (m *CardMutation) OldNumber(ctx context.Context) (v string, err error) + func (m *CardMutation) OldUpdateTime(ctx context.Context) (v time.Time, err error) + func (m *CardMutation) Op() Op + func (m *CardMutation) OwnerCleared() bool + func (m *CardMutation) OwnerID() (id int, exists bool) + func (m *CardMutation) OwnerIDs() (ids []int) + func (m *CardMutation) RemoveSpecIDs(ids ...int) + func (m *CardMutation) RemovedEdges() []string + func (m *CardMutation) RemovedIDs(name string) []ent.Value + func (m *CardMutation) RemovedSpecIDs() (ids []int) + func (m *CardMutation) ResetBalance() + func (m *CardMutation) ResetCreateTime() + func (m *CardMutation) ResetEdge(name string) error + func (m *CardMutation) ResetField(name string) error + func (m *CardMutation) ResetName() + func (m *CardMutation) ResetNumber() + func (m *CardMutation) ResetOwner() + func (m *CardMutation) ResetSpec() + func (m *CardMutation) ResetUpdateTime() + func (m *CardMutation) SetBalance(f float64) + func (m *CardMutation) SetCreateTime(t time.Time) + func (m *CardMutation) SetField(name string, value ent.Value) error + func (m *CardMutation) SetName(s string) + func (m *CardMutation) SetNumber(s string) + func (m *CardMutation) SetOwnerID(id int) + func (m *CardMutation) SetUpdateTime(t time.Time) + func (m *CardMutation) SpecCleared() bool + func (m *CardMutation) SpecIDs() (ids []int) + func (m *CardMutation) Type() string + func (m *CardMutation) UpdateTime() (r time.Time, exists bool) + func (m *CardMutation) Where(ps ...predicate.Card) + func (m CardMutation) Client() *Client + func (m CardMutation) Tx() (*Tx, error) + type CardQuery struct + func (cq *CardQuery) All(ctx context.Context) ([]*Card, error) + func (cq *CardQuery) AllX(ctx context.Context) []*Card + func (cq *CardQuery) Clone() *CardQuery + func (cq *CardQuery) Count(ctx context.Context) (int, error) + func (cq *CardQuery) CountX(ctx context.Context) int + func (cq *CardQuery) Exist(ctx context.Context) (bool, error) + func (cq *CardQuery) ExistX(ctx context.Context) bool + func (cq *CardQuery) Filter() *CardFilter + func (cq *CardQuery) First(ctx context.Context) (*Card, error) + func (cq *CardQuery) FirstID(ctx context.Context) (id int, err error) + func (cq *CardQuery) FirstIDX(ctx context.Context) int + func (cq *CardQuery) FirstX(ctx context.Context) *Card + func (cq *CardQuery) ForShare(opts ...sql.LockOption) *CardQuery + func (cq *CardQuery) ForUpdate(opts ...sql.LockOption) *CardQuery + func (cq *CardQuery) GroupBy(field string, fields ...string) *CardGroupBy + func (cq *CardQuery) IDs(ctx context.Context) ([]int, error) + func (cq *CardQuery) IDsX(ctx context.Context) []int + func (cq *CardQuery) Limit(limit int) *CardQuery + func (cq *CardQuery) Modify(modifiers ...func(s *sql.Selector)) *CardSelect + func (cq *CardQuery) Offset(offset int) *CardQuery + func (cq *CardQuery) Only(ctx context.Context) (*Card, error) + func (cq *CardQuery) OnlyID(ctx context.Context) (id int, err error) + func (cq *CardQuery) OnlyIDX(ctx context.Context) int + func (cq *CardQuery) OnlyX(ctx context.Context) *Card + func (cq *CardQuery) Order(o ...OrderFunc) *CardQuery + func (cq *CardQuery) QueryOwner() *UserQuery + func (cq *CardQuery) QuerySpec() *SpecQuery + func (cq *CardQuery) Select(fields ...string) *CardSelect + func (cq *CardQuery) Unique(unique bool) *CardQuery + func (cq *CardQuery) Where(ps ...predicate.Card) *CardQuery + func (cq *CardQuery) WithOwner(opts ...func(*UserQuery)) *CardQuery + func (cq *CardQuery) WithSpec(opts ...func(*SpecQuery)) *CardQuery + type CardSelect struct + func (cs *CardSelect) Bool(ctx context.Context) (_ bool, err error) + func (cs *CardSelect) BoolX(ctx context.Context) bool + func (cs *CardSelect) Bools(ctx context.Context) ([]bool, error) + func (cs *CardSelect) BoolsX(ctx context.Context) []bool + func (cs *CardSelect) Float64(ctx context.Context) (_ float64, err error) + func (cs *CardSelect) Float64X(ctx context.Context) float64 + func (cs *CardSelect) Float64s(ctx context.Context) ([]float64, error) + func (cs *CardSelect) Float64sX(ctx context.Context) []float64 + func (cs *CardSelect) Int(ctx context.Context) (_ int, err error) + func (cs *CardSelect) IntX(ctx context.Context) int + func (cs *CardSelect) Ints(ctx context.Context) ([]int, error) + func (cs *CardSelect) IntsX(ctx context.Context) []int + func (cs *CardSelect) Modify(modifiers ...func(s *sql.Selector)) *CardSelect + func (cs *CardSelect) Scan(ctx context.Context, v interface{}) error + func (cs *CardSelect) ScanX(ctx context.Context, v interface{}) + func (cs *CardSelect) String(ctx context.Context) (_ string, err error) + func (cs *CardSelect) StringX(ctx context.Context) string + func (cs *CardSelect) Strings(ctx context.Context) ([]string, error) + func (cs *CardSelect) StringsX(ctx context.Context) []string + type CardUpdate struct + func (cu *CardUpdate) AddBalance(f float64) *CardUpdate + func (cu *CardUpdate) AddSpec(s ...*Spec) *CardUpdate + func (cu *CardUpdate) AddSpecIDs(ids ...int) *CardUpdate + func (cu *CardUpdate) ClearName() *CardUpdate + func (cu *CardUpdate) ClearOwner() *CardUpdate + func (cu *CardUpdate) ClearSpec() *CardUpdate + func (cu *CardUpdate) Exec(ctx context.Context) error + func (cu *CardUpdate) ExecX(ctx context.Context) + func (cu *CardUpdate) Mutation() *CardMutation + func (cu *CardUpdate) RemoveSpec(s ...*Spec) *CardUpdate + func (cu *CardUpdate) RemoveSpecIDs(ids ...int) *CardUpdate + func (cu *CardUpdate) Save(ctx context.Context) (int, error) + func (cu *CardUpdate) SaveX(ctx context.Context) int + func (cu *CardUpdate) SetBalance(f float64) *CardUpdate + func (cu *CardUpdate) SetName(s string) *CardUpdate + func (cu *CardUpdate) SetNillableBalance(f *float64) *CardUpdate + func (cu *CardUpdate) SetNillableName(s *string) *CardUpdate + func (cu *CardUpdate) SetNillableOwnerID(id *int) *CardUpdate + func (cu *CardUpdate) SetOwner(u *User) *CardUpdate + func (cu *CardUpdate) SetOwnerID(id int) *CardUpdate + func (cu *CardUpdate) Where(ps ...predicate.Card) *CardUpdate + type CardUpdateOne struct + func (cuo *CardUpdateOne) AddBalance(f float64) *CardUpdateOne + func (cuo *CardUpdateOne) AddSpec(s ...*Spec) *CardUpdateOne + func (cuo *CardUpdateOne) AddSpecIDs(ids ...int) *CardUpdateOne + func (cuo *CardUpdateOne) ClearName() *CardUpdateOne + func (cuo *CardUpdateOne) ClearOwner() *CardUpdateOne + func (cuo *CardUpdateOne) ClearSpec() *CardUpdateOne + func (cuo *CardUpdateOne) Exec(ctx context.Context) error + func (cuo *CardUpdateOne) ExecX(ctx context.Context) + func (cuo *CardUpdateOne) Mutation() *CardMutation + func (cuo *CardUpdateOne) RemoveSpec(s ...*Spec) *CardUpdateOne + func (cuo *CardUpdateOne) RemoveSpecIDs(ids ...int) *CardUpdateOne + func (cuo *CardUpdateOne) Save(ctx context.Context) (*Card, error) + func (cuo *CardUpdateOne) SaveX(ctx context.Context) *Card + func (cuo *CardUpdateOne) Select(field string, fields ...string) *CardUpdateOne + func (cuo *CardUpdateOne) SetBalance(f float64) *CardUpdateOne + func (cuo *CardUpdateOne) SetName(s string) *CardUpdateOne + func (cuo *CardUpdateOne) SetNillableBalance(f *float64) *CardUpdateOne + func (cuo *CardUpdateOne) SetNillableName(s *string) *CardUpdateOne + func (cuo *CardUpdateOne) SetNillableOwnerID(id *int) *CardUpdateOne + func (cuo *CardUpdateOne) SetOwner(u *User) *CardUpdateOne + func (cuo *CardUpdateOne) SetOwnerID(id int) *CardUpdateOne + type Cards []*Card + type Client struct + Card *CardClient + Comment *CommentClient + FieldType *FieldTypeClient + File *FileClient + FileType *FileTypeClient + Goods *GoodsClient + Group *GroupClient + GroupInfo *GroupInfoClient + Item *ItemClient + Node *NodeClient + Pet *PetClient + Schema *migrate.Schema + Spec *SpecClient + Task *TaskClient + TemplateField struct{} + User *UserClient + 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) Dialect() string + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type Comment struct + ID int + NillableInt *int + UniqueFloat float64 + UniqueInt int + func (c *Comment) String() string + func (c *Comment) Unwrap() *Comment + func (c *Comment) Update() *CommentUpdateOne + type CommentClient struct + func NewCommentClient(c config) *CommentClient + func (c *CommentClient) Create() *CommentCreate + func (c *CommentClient) CreateBulk(builders ...*CommentCreate) *CommentCreateBulk + func (c *CommentClient) Delete() *CommentDelete + func (c *CommentClient) DeleteOne(co *Comment) *CommentDeleteOne + func (c *CommentClient) DeleteOneID(id int) *CommentDeleteOne + func (c *CommentClient) Get(ctx context.Context, id int) (*Comment, error) + func (c *CommentClient) GetX(ctx context.Context, id int) *Comment + func (c *CommentClient) Hooks() []Hook + func (c *CommentClient) Query() *CommentQuery + func (c *CommentClient) Update() *CommentUpdate + func (c *CommentClient) UpdateOne(co *Comment) *CommentUpdateOne + func (c *CommentClient) UpdateOneID(id int) *CommentUpdateOne + func (c *CommentClient) Use(hooks ...Hook) + type CommentCreate struct + func (cc *CommentCreate) Mutation() *CommentMutation + func (cc *CommentCreate) Save(ctx context.Context) (*Comment, error) + func (cc *CommentCreate) SaveX(ctx context.Context) *Comment + func (cc *CommentCreate) SetNillableInt(i int) *CommentCreate + func (cc *CommentCreate) SetNillableNillableInt(i *int) *CommentCreate + func (cc *CommentCreate) SetUniqueFloat(f float64) *CommentCreate + func (cc *CommentCreate) SetUniqueInt(i int) *CommentCreate + type CommentCreateBulk struct + func (ccb *CommentCreateBulk) Save(ctx context.Context) ([]*Comment, error) + func (ccb *CommentCreateBulk) SaveX(ctx context.Context) []*Comment + type CommentDelete struct + func (cd *CommentDelete) Exec(ctx context.Context) (int, error) + func (cd *CommentDelete) ExecX(ctx context.Context) int + func (cd *CommentDelete) Where(ps ...predicate.Comment) *CommentDelete + type CommentDeleteOne struct + func (cdo *CommentDeleteOne) Exec(ctx context.Context) error + func (cdo *CommentDeleteOne) ExecX(ctx context.Context) + type CommentFilter struct + func (f *CommentFilter) Where(p entql.P) + func (f *CommentFilter) WhereID(p entql.IntP) + func (f *CommentFilter) WhereNillableInt(p entql.IntP) + func (f *CommentFilter) WhereUniqueFloat(p entql.Float64P) + func (f *CommentFilter) WhereUniqueInt(p entql.IntP) + type CommentGroupBy struct + func (cgb *CommentGroupBy) Aggregate(fns ...AggregateFunc) *CommentGroupBy + func (cgb *CommentGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (cgb *CommentGroupBy) BoolX(ctx context.Context) bool + func (cgb *CommentGroupBy) Bools(ctx context.Context) ([]bool, error) + func (cgb *CommentGroupBy) BoolsX(ctx context.Context) []bool + func (cgb *CommentGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (cgb *CommentGroupBy) Float64X(ctx context.Context) float64 + func (cgb *CommentGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (cgb *CommentGroupBy) Float64sX(ctx context.Context) []float64 + func (cgb *CommentGroupBy) Int(ctx context.Context) (_ int, err error) + func (cgb *CommentGroupBy) IntX(ctx context.Context) int + func (cgb *CommentGroupBy) Ints(ctx context.Context) ([]int, error) + func (cgb *CommentGroupBy) IntsX(ctx context.Context) []int + func (cgb *CommentGroupBy) Scan(ctx context.Context, v interface{}) error + func (cgb *CommentGroupBy) ScanX(ctx context.Context, v interface{}) + func (cgb *CommentGroupBy) String(ctx context.Context) (_ string, err error) + func (cgb *CommentGroupBy) StringX(ctx context.Context) string + func (cgb *CommentGroupBy) Strings(ctx context.Context) ([]string, error) + func (cgb *CommentGroupBy) StringsX(ctx context.Context) []string + type CommentMutation struct + func (m *CommentMutation) AddField(name string, value ent.Value) error + func (m *CommentMutation) AddNillableInt(i int) + func (m *CommentMutation) AddUniqueFloat(f float64) + func (m *CommentMutation) AddUniqueInt(i int) + func (m *CommentMutation) AddedEdges() []string + func (m *CommentMutation) AddedField(name string) (ent.Value, bool) + func (m *CommentMutation) AddedFields() []string + func (m *CommentMutation) AddedIDs(name string) []ent.Value + func (m *CommentMutation) AddedNillableInt() (r int, exists bool) + func (m *CommentMutation) AddedUniqueFloat() (r float64, exists bool) + func (m *CommentMutation) AddedUniqueInt() (r int, exists bool) + func (m *CommentMutation) ClearEdge(name string) error + func (m *CommentMutation) ClearField(name string) error + func (m *CommentMutation) ClearNillableInt() + func (m *CommentMutation) ClearedEdges() []string + func (m *CommentMutation) ClearedFields() []string + func (m *CommentMutation) EdgeCleared(name string) bool + func (m *CommentMutation) Field(name string) (ent.Value, bool) + func (m *CommentMutation) FieldCleared(name string) bool + func (m *CommentMutation) Fields() []string + func (m *CommentMutation) Filter() *CommentFilter + func (m *CommentMutation) ID() (id int, exists bool) + func (m *CommentMutation) NillableInt() (r int, exists bool) + func (m *CommentMutation) NillableIntCleared() bool + func (m *CommentMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CommentMutation) OldNillableInt(ctx context.Context) (v *int, err error) + func (m *CommentMutation) OldUniqueFloat(ctx context.Context) (v float64, err error) + func (m *CommentMutation) OldUniqueInt(ctx context.Context) (v int, err error) + func (m *CommentMutation) Op() Op + func (m *CommentMutation) RemovedEdges() []string + func (m *CommentMutation) RemovedIDs(name string) []ent.Value + func (m *CommentMutation) ResetEdge(name string) error + func (m *CommentMutation) ResetField(name string) error + func (m *CommentMutation) ResetNillableInt() + func (m *CommentMutation) ResetUniqueFloat() + func (m *CommentMutation) ResetUniqueInt() + func (m *CommentMutation) SetField(name string, value ent.Value) error + func (m *CommentMutation) SetNillableInt(i int) + func (m *CommentMutation) SetUniqueFloat(f float64) + func (m *CommentMutation) SetUniqueInt(i int) + func (m *CommentMutation) Type() string + func (m *CommentMutation) UniqueFloat() (r float64, exists bool) + func (m *CommentMutation) UniqueInt() (r int, exists bool) + func (m *CommentMutation) Where(ps ...predicate.Comment) + func (m CommentMutation) Client() *Client + func (m CommentMutation) Tx() (*Tx, error) + type CommentQuery struct + func (cq *CommentQuery) All(ctx context.Context) ([]*Comment, error) + func (cq *CommentQuery) AllX(ctx context.Context) []*Comment + func (cq *CommentQuery) Clone() *CommentQuery + func (cq *CommentQuery) Count(ctx context.Context) (int, error) + func (cq *CommentQuery) CountX(ctx context.Context) int + func (cq *CommentQuery) Exist(ctx context.Context) (bool, error) + func (cq *CommentQuery) ExistX(ctx context.Context) bool + func (cq *CommentQuery) Filter() *CommentFilter + func (cq *CommentQuery) First(ctx context.Context) (*Comment, error) + func (cq *CommentQuery) FirstID(ctx context.Context) (id int, err error) + func (cq *CommentQuery) FirstIDX(ctx context.Context) int + func (cq *CommentQuery) FirstX(ctx context.Context) *Comment + func (cq *CommentQuery) ForShare(opts ...sql.LockOption) *CommentQuery + func (cq *CommentQuery) ForUpdate(opts ...sql.LockOption) *CommentQuery + func (cq *CommentQuery) GroupBy(field string, fields ...string) *CommentGroupBy + func (cq *CommentQuery) IDs(ctx context.Context) ([]int, error) + func (cq *CommentQuery) IDsX(ctx context.Context) []int + func (cq *CommentQuery) Limit(limit int) *CommentQuery + func (cq *CommentQuery) Modify(modifiers ...func(s *sql.Selector)) *CommentSelect + func (cq *CommentQuery) Offset(offset int) *CommentQuery + func (cq *CommentQuery) Only(ctx context.Context) (*Comment, error) + func (cq *CommentQuery) OnlyID(ctx context.Context) (id int, err error) + func (cq *CommentQuery) OnlyIDX(ctx context.Context) int + func (cq *CommentQuery) OnlyX(ctx context.Context) *Comment + func (cq *CommentQuery) Order(o ...OrderFunc) *CommentQuery + func (cq *CommentQuery) Select(fields ...string) *CommentSelect + func (cq *CommentQuery) Unique(unique bool) *CommentQuery + func (cq *CommentQuery) Where(ps ...predicate.Comment) *CommentQuery + type CommentSelect struct + func (cs *CommentSelect) Bool(ctx context.Context) (_ bool, err error) + func (cs *CommentSelect) BoolX(ctx context.Context) bool + func (cs *CommentSelect) Bools(ctx context.Context) ([]bool, error) + func (cs *CommentSelect) BoolsX(ctx context.Context) []bool + func (cs *CommentSelect) Float64(ctx context.Context) (_ float64, err error) + func (cs *CommentSelect) Float64X(ctx context.Context) float64 + func (cs *CommentSelect) Float64s(ctx context.Context) ([]float64, error) + func (cs *CommentSelect) Float64sX(ctx context.Context) []float64 + func (cs *CommentSelect) Int(ctx context.Context) (_ int, err error) + func (cs *CommentSelect) IntX(ctx context.Context) int + func (cs *CommentSelect) Ints(ctx context.Context) ([]int, error) + func (cs *CommentSelect) IntsX(ctx context.Context) []int + func (cs *CommentSelect) Modify(modifiers ...func(s *sql.Selector)) *CommentSelect + func (cs *CommentSelect) Scan(ctx context.Context, v interface{}) error + func (cs *CommentSelect) ScanX(ctx context.Context, v interface{}) + func (cs *CommentSelect) String(ctx context.Context) (_ string, err error) + func (cs *CommentSelect) StringX(ctx context.Context) string + func (cs *CommentSelect) Strings(ctx context.Context) ([]string, error) + func (cs *CommentSelect) StringsX(ctx context.Context) []string + type CommentUpdate struct + func (cu *CommentUpdate) AddNillableInt(i int) *CommentUpdate + func (cu *CommentUpdate) AddUniqueFloat(f float64) *CommentUpdate + func (cu *CommentUpdate) AddUniqueInt(i int) *CommentUpdate + func (cu *CommentUpdate) ClearNillableInt() *CommentUpdate + func (cu *CommentUpdate) Exec(ctx context.Context) error + func (cu *CommentUpdate) ExecX(ctx context.Context) + func (cu *CommentUpdate) Mutation() *CommentMutation + func (cu *CommentUpdate) Save(ctx context.Context) (int, error) + func (cu *CommentUpdate) SaveX(ctx context.Context) int + func (cu *CommentUpdate) SetNillableInt(i int) *CommentUpdate + func (cu *CommentUpdate) SetNillableNillableInt(i *int) *CommentUpdate + func (cu *CommentUpdate) SetUniqueFloat(f float64) *CommentUpdate + func (cu *CommentUpdate) SetUniqueInt(i int) *CommentUpdate + func (cu *CommentUpdate) Where(ps ...predicate.Comment) *CommentUpdate + type CommentUpdateOne struct + func (cuo *CommentUpdateOne) AddNillableInt(i int) *CommentUpdateOne + func (cuo *CommentUpdateOne) AddUniqueFloat(f float64) *CommentUpdateOne + func (cuo *CommentUpdateOne) AddUniqueInt(i int) *CommentUpdateOne + func (cuo *CommentUpdateOne) ClearNillableInt() *CommentUpdateOne + func (cuo *CommentUpdateOne) Exec(ctx context.Context) error + func (cuo *CommentUpdateOne) ExecX(ctx context.Context) + func (cuo *CommentUpdateOne) Mutation() *CommentMutation + func (cuo *CommentUpdateOne) Save(ctx context.Context) (*Comment, error) + func (cuo *CommentUpdateOne) SaveX(ctx context.Context) *Comment + func (cuo *CommentUpdateOne) Select(field string, fields ...string) *CommentUpdateOne + func (cuo *CommentUpdateOne) SetNillableInt(i int) *CommentUpdateOne + func (cuo *CommentUpdateOne) SetNillableNillableInt(i *int) *CommentUpdateOne + func (cuo *CommentUpdateOne) SetUniqueFloat(f float64) *CommentUpdateOne + func (cuo *CommentUpdateOne) SetUniqueInt(i int) *CommentUpdateOne + type Comments []*Comment + 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 FieldType struct + Active schema.Status + BigInt schema.BigInt + Datetime time.Time + Decimal float64 + Deleted *sql.NullBool + DeletedAt *sql.NullTime + Dir http.Dir + Duration time.Duration + ID int + IP net.IP + Int int + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Link schema.Link + LinkOther *schema.Link + MAC schema.MAC + Ndir *http.Dir + NilPair *schema.Pair + NillableInt *int + NillableInt16 *int16 + NillableInt32 *int32 + NillableInt64 *int64 + NillableInt8 *int8 + NillableUUID *uuid.UUID + NullActive *schema.Status + NullFloat *sql.NullFloat64 + NullInt64 *sql.NullInt64 + NullLink *schema.Link + NullStr *sql.NullString + OptionalFloat float64 + OptionalFloat32 float32 + OptionalInt int + OptionalInt16 int16 + OptionalInt32 int32 + OptionalInt64 int64 + OptionalInt8 int8 + OptionalUint uint + OptionalUint16 uint16 + OptionalUint32 uint32 + OptionalUint64 uint64 + OptionalUint8 uint8 + Pair schema.Pair + Password string + PasswordOther schema.Password + Priority role.Priority + Role role.Role + SchemaFloat schema.Float64 + SchemaFloat32 schema.Float32 + SchemaInt schema.Int + SchemaInt64 schema.Int64 + SchemaInt8 schema.Int8 + State fieldtype.State + Str sql.NullString + StringArray schema.Strings + StringScanner *schema.StringScanner + Strings []string + Triple schema.Triple + UUID uuid.UUID + ValidateOptionalInt32 int32 + Vstring schema.VString + func (ft *FieldType) String() string + func (ft *FieldType) Unwrap() *FieldType + func (ft *FieldType) Update() *FieldTypeUpdateOne + type FieldTypeClient struct + func NewFieldTypeClient(c config) *FieldTypeClient + func (c *FieldTypeClient) Create() *FieldTypeCreate + func (c *FieldTypeClient) CreateBulk(builders ...*FieldTypeCreate) *FieldTypeCreateBulk + func (c *FieldTypeClient) Delete() *FieldTypeDelete + func (c *FieldTypeClient) DeleteOne(ft *FieldType) *FieldTypeDeleteOne + func (c *FieldTypeClient) DeleteOneID(id int) *FieldTypeDeleteOne + func (c *FieldTypeClient) Get(ctx context.Context, id int) (*FieldType, error) + func (c *FieldTypeClient) GetX(ctx context.Context, id int) *FieldType + func (c *FieldTypeClient) Hooks() []Hook + func (c *FieldTypeClient) Query() *FieldTypeQuery + func (c *FieldTypeClient) Update() *FieldTypeUpdate + func (c *FieldTypeClient) UpdateOne(ft *FieldType) *FieldTypeUpdateOne + func (c *FieldTypeClient) UpdateOneID(id int) *FieldTypeUpdateOne + func (c *FieldTypeClient) Use(hooks ...Hook) + type FieldTypeCreate struct + func (ftc *FieldTypeCreate) Mutation() *FieldTypeMutation + func (ftc *FieldTypeCreate) Save(ctx context.Context) (*FieldType, error) + func (ftc *FieldTypeCreate) SaveX(ctx context.Context) *FieldType + func (ftc *FieldTypeCreate) SetActive(s schema.Status) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetBigInt(si schema.BigInt) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetDatetime(t time.Time) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetDecimal(f float64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetDeleted(sb *sql.NullBool) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetDeletedAt(st *sql.NullTime) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetDir(h http.Dir) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetDuration(t time.Duration) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetIP(n net.IP) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetInt(i int) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetInt16(i int16) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetInt32(i int32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetInt64(i int64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetInt8(i int8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetLink(s schema.Link) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetLinkOther(s *schema.Link) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetMAC(s schema.MAC) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNdir(h http.Dir) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNilPair(s *schema.Pair) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableActive(s *schema.Status) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableBigInt(si *schema.BigInt) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableDatetime(t *time.Time) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableDecimal(f *float64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableDir(h *http.Dir) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableDuration(t *time.Duration) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableInt(i int) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableInt16(i int16) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableInt32(i int32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableInt64(i int64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableInt8(i int8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableLink(s *schema.Link) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableMAC(s *schema.MAC) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableNdir(h *http.Dir) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableNillableInt(i *int) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableNillableInt16(i *int16) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableNillableInt32(i *int32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableNillableInt64(i *int64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableNillableInt8(i *int8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableNullActive(s *schema.Status) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalFloat(f *float64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalFloat32(f *float32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalInt(i *int) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalInt16(i *int16) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalInt32(i *int32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalInt64(i *int64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalInt8(i *int8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalUint(u *uint) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalUint16(u *uint16) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalUint32(u *uint32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalUint64(u *uint64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableOptionalUint8(u *uint8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillablePair(s *schema.Pair) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillablePassword(s *string) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillablePasswordOther(s *schema.Password) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillablePriority(r *role.Priority) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableRole(r *role.Role) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableSchemaFloat(s *schema.Float64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableSchemaFloat32(s *schema.Float32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableSchemaInt(s *schema.Int) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableSchemaInt64(s *schema.Int64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableSchemaInt8(s *schema.Int8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableState(f *fieldtype.State) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableStr(ss *sql.NullString) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableStringScanner(ss *schema.StringScanner) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableTriple(s *schema.Triple) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableUUID(u uuid.UUID) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableValidateOptionalInt32(i *int32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNillableVstring(ss *schema.VString) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNullActive(s schema.Status) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNullFloat(sf *sql.NullFloat64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNullInt64(si *sql.NullInt64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNullLink(s *schema.Link) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetNullStr(ss *sql.NullString) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalFloat(f float64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalFloat32(f float32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalInt(i int) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalInt16(i int16) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalInt32(i int32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalInt64(i int64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalInt8(i int8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalUint(u uint) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalUint16(u uint16) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalUint32(u uint32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalUint64(u uint64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetOptionalUint8(u uint8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetPair(s schema.Pair) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetPassword(s string) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetPasswordOther(s schema.Password) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetPriority(r role.Priority) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetRole(r role.Role) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetSchemaFloat(s schema.Float64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetSchemaFloat32(s schema.Float32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetSchemaInt(s schema.Int) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetSchemaInt64(s schema.Int64) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetSchemaInt8(s schema.Int8) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetState(f fieldtype.State) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetStr(ss sql.NullString) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetStringArray(s schema.Strings) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetStringScanner(ss schema.StringScanner) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetStrings(s []string) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetTriple(s schema.Triple) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetUUID(u uuid.UUID) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetValidateOptionalInt32(i int32) *FieldTypeCreate + func (ftc *FieldTypeCreate) SetVstring(ss schema.VString) *FieldTypeCreate + type FieldTypeCreateBulk struct + func (ftcb *FieldTypeCreateBulk) Save(ctx context.Context) ([]*FieldType, error) + func (ftcb *FieldTypeCreateBulk) SaveX(ctx context.Context) []*FieldType + type FieldTypeDelete struct + func (ftd *FieldTypeDelete) Exec(ctx context.Context) (int, error) + func (ftd *FieldTypeDelete) ExecX(ctx context.Context) int + func (ftd *FieldTypeDelete) Where(ps ...predicate.FieldType) *FieldTypeDelete + type FieldTypeDeleteOne struct + func (ftdo *FieldTypeDeleteOne) Exec(ctx context.Context) error + func (ftdo *FieldTypeDeleteOne) ExecX(ctx context.Context) + type FieldTypeFilter struct + func (f *FieldTypeFilter) Where(p entql.P) + func (f *FieldTypeFilter) WhereActive(p entql.BoolP) + func (f *FieldTypeFilter) WhereBigInt(p entql.IntP) + func (f *FieldTypeFilter) WhereDatetime(p entql.TimeP) + func (f *FieldTypeFilter) WhereDecimal(p entql.Float64P) + func (f *FieldTypeFilter) WhereDeleted(p entql.BoolP) + func (f *FieldTypeFilter) WhereDeletedAt(p entql.TimeP) + func (f *FieldTypeFilter) WhereDir(p entql.StringP) + func (f *FieldTypeFilter) WhereDuration(p entql.Int64P) + func (f *FieldTypeFilter) WhereID(p entql.IntP) + func (f *FieldTypeFilter) WhereIP(p entql.BytesP) + func (f *FieldTypeFilter) WhereInt(p entql.IntP) + func (f *FieldTypeFilter) WhereInt16(p entql.Int16P) + func (f *FieldTypeFilter) WhereInt32(p entql.Int32P) + func (f *FieldTypeFilter) WhereInt64(p entql.Int64P) + func (f *FieldTypeFilter) WhereInt8(p entql.Int8P) + func (f *FieldTypeFilter) WhereLink(p entql.StringP) + func (f *FieldTypeFilter) WhereLinkOther(p entql.OtherP) + func (f *FieldTypeFilter) WhereMAC(p entql.StringP) + func (f *FieldTypeFilter) WhereNdir(p entql.StringP) + func (f *FieldTypeFilter) WhereNilPair(p entql.BytesP) + func (f *FieldTypeFilter) WhereNillableInt(p entql.IntP) + func (f *FieldTypeFilter) WhereNillableInt16(p entql.Int16P) + func (f *FieldTypeFilter) WhereNillableInt32(p entql.Int32P) + func (f *FieldTypeFilter) WhereNillableInt64(p entql.Int64P) + func (f *FieldTypeFilter) WhereNillableInt8(p entql.Int8P) + func (f *FieldTypeFilter) WhereNillableUUID(p entql.ValueP) + func (f *FieldTypeFilter) WhereNullActive(p entql.BoolP) + func (f *FieldTypeFilter) WhereNullFloat(p entql.Float64P) + func (f *FieldTypeFilter) WhereNullInt64(p entql.IntP) + func (f *FieldTypeFilter) WhereNullLink(p entql.StringP) + func (f *FieldTypeFilter) WhereNullStr(p entql.StringP) + func (f *FieldTypeFilter) WhereOptionalFloat(p entql.Float64P) + func (f *FieldTypeFilter) WhereOptionalFloat32(p entql.Float32P) + func (f *FieldTypeFilter) WhereOptionalInt(p entql.IntP) + func (f *FieldTypeFilter) WhereOptionalInt16(p entql.Int16P) + func (f *FieldTypeFilter) WhereOptionalInt32(p entql.Int32P) + func (f *FieldTypeFilter) WhereOptionalInt64(p entql.Int64P) + func (f *FieldTypeFilter) WhereOptionalInt8(p entql.Int8P) + func (f *FieldTypeFilter) WhereOptionalUint(p entql.UintP) + func (f *FieldTypeFilter) WhereOptionalUint16(p entql.Uint16P) + func (f *FieldTypeFilter) WhereOptionalUint32(p entql.Uint32P) + func (f *FieldTypeFilter) WhereOptionalUint64(p entql.Uint64P) + func (f *FieldTypeFilter) WhereOptionalUint8(p entql.Uint8P) + func (f *FieldTypeFilter) WherePair(p entql.BytesP) + func (f *FieldTypeFilter) WherePassword(p entql.StringP) + func (f *FieldTypeFilter) WherePasswordOther(p entql.OtherP) + func (f *FieldTypeFilter) WherePriority(p entql.StringP) + func (f *FieldTypeFilter) WhereRole(p entql.StringP) + func (f *FieldTypeFilter) WhereSchemaFloat(p entql.Float64P) + func (f *FieldTypeFilter) WhereSchemaFloat32(p entql.Float32P) + func (f *FieldTypeFilter) WhereSchemaInt(p entql.IntP) + func (f *FieldTypeFilter) WhereSchemaInt64(p entql.Int64P) + func (f *FieldTypeFilter) WhereSchemaInt8(p entql.Int8P) + func (f *FieldTypeFilter) WhereState(p entql.StringP) + func (f *FieldTypeFilter) WhereStr(p entql.StringP) + func (f *FieldTypeFilter) WhereStringArray(p entql.OtherP) + func (f *FieldTypeFilter) WhereStringScanner(p entql.StringP) + func (f *FieldTypeFilter) WhereStrings(p entql.BytesP) + func (f *FieldTypeFilter) WhereTriple(p entql.StringP) + func (f *FieldTypeFilter) WhereUUID(p entql.ValueP) + func (f *FieldTypeFilter) WhereValidateOptionalInt32(p entql.Int32P) + func (f *FieldTypeFilter) WhereVstring(p entql.StringP) + type FieldTypeGroupBy struct + func (ftgb *FieldTypeGroupBy) Aggregate(fns ...AggregateFunc) *FieldTypeGroupBy + func (ftgb *FieldTypeGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ftgb *FieldTypeGroupBy) BoolX(ctx context.Context) bool + func (ftgb *FieldTypeGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ftgb *FieldTypeGroupBy) BoolsX(ctx context.Context) []bool + func (ftgb *FieldTypeGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ftgb *FieldTypeGroupBy) Float64X(ctx context.Context) float64 + func (ftgb *FieldTypeGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ftgb *FieldTypeGroupBy) Float64sX(ctx context.Context) []float64 + func (ftgb *FieldTypeGroupBy) Int(ctx context.Context) (_ int, err error) + func (ftgb *FieldTypeGroupBy) IntX(ctx context.Context) int + func (ftgb *FieldTypeGroupBy) Ints(ctx context.Context) ([]int, error) + func (ftgb *FieldTypeGroupBy) IntsX(ctx context.Context) []int + func (ftgb *FieldTypeGroupBy) Scan(ctx context.Context, v interface{}) error + func (ftgb *FieldTypeGroupBy) ScanX(ctx context.Context, v interface{}) + func (ftgb *FieldTypeGroupBy) String(ctx context.Context) (_ string, err error) + func (ftgb *FieldTypeGroupBy) StringX(ctx context.Context) string + func (ftgb *FieldTypeGroupBy) Strings(ctx context.Context) ([]string, error) + func (ftgb *FieldTypeGroupBy) StringsX(ctx context.Context) []string + type FieldTypeMutation struct + func (m *FieldTypeMutation) Active() (r schema.Status, exists bool) + func (m *FieldTypeMutation) ActiveCleared() bool + func (m *FieldTypeMutation) AddBigInt(si schema.BigInt) + func (m *FieldTypeMutation) AddDecimal(f float64) + func (m *FieldTypeMutation) AddDuration(t time.Duration) + func (m *FieldTypeMutation) AddField(name string, value ent.Value) error + func (m *FieldTypeMutation) AddInt(i int) + func (m *FieldTypeMutation) AddInt16(i int16) + func (m *FieldTypeMutation) AddInt32(i int32) + func (m *FieldTypeMutation) AddInt64(i int64) + func (m *FieldTypeMutation) AddInt8(i int8) + func (m *FieldTypeMutation) AddNillableInt(i int) + func (m *FieldTypeMutation) AddNillableInt16(i int16) + func (m *FieldTypeMutation) AddNillableInt32(i int32) + func (m *FieldTypeMutation) AddNillableInt64(i int64) + func (m *FieldTypeMutation) AddNillableInt8(i int8) + func (m *FieldTypeMutation) AddOptionalFloat(f float64) + func (m *FieldTypeMutation) AddOptionalFloat32(f float32) + func (m *FieldTypeMutation) AddOptionalInt(i int) + func (m *FieldTypeMutation) AddOptionalInt16(i int16) + func (m *FieldTypeMutation) AddOptionalInt32(i int32) + func (m *FieldTypeMutation) AddOptionalInt64(i int64) + func (m *FieldTypeMutation) AddOptionalInt8(i int8) + func (m *FieldTypeMutation) AddOptionalUint(u uint) + func (m *FieldTypeMutation) AddOptionalUint16(u uint16) + func (m *FieldTypeMutation) AddOptionalUint32(u uint32) + func (m *FieldTypeMutation) AddOptionalUint64(u uint64) + func (m *FieldTypeMutation) AddOptionalUint8(u uint8) + func (m *FieldTypeMutation) AddSchemaFloat(s schema.Float64) + func (m *FieldTypeMutation) AddSchemaFloat32(s schema.Float32) + func (m *FieldTypeMutation) AddSchemaInt(s schema.Int) + func (m *FieldTypeMutation) AddSchemaInt64(s schema.Int64) + func (m *FieldTypeMutation) AddSchemaInt8(s schema.Int8) + func (m *FieldTypeMutation) AddValidateOptionalInt32(i int32) + func (m *FieldTypeMutation) AddedBigInt() (r schema.BigInt, exists bool) + func (m *FieldTypeMutation) AddedDecimal() (r float64, exists bool) + func (m *FieldTypeMutation) AddedDuration() (r time.Duration, exists bool) + func (m *FieldTypeMutation) AddedEdges() []string + func (m *FieldTypeMutation) AddedField(name string) (ent.Value, bool) + func (m *FieldTypeMutation) AddedFields() []string + func (m *FieldTypeMutation) AddedIDs(name string) []ent.Value + func (m *FieldTypeMutation) AddedInt() (r int, exists bool) + func (m *FieldTypeMutation) AddedInt16() (r int16, exists bool) + func (m *FieldTypeMutation) AddedInt32() (r int32, exists bool) + func (m *FieldTypeMutation) AddedInt64() (r int64, exists bool) + func (m *FieldTypeMutation) AddedInt8() (r int8, exists bool) + func (m *FieldTypeMutation) AddedNillableInt() (r int, exists bool) + func (m *FieldTypeMutation) AddedNillableInt16() (r int16, exists bool) + func (m *FieldTypeMutation) AddedNillableInt32() (r int32, exists bool) + func (m *FieldTypeMutation) AddedNillableInt64() (r int64, exists bool) + func (m *FieldTypeMutation) AddedNillableInt8() (r int8, exists bool) + func (m *FieldTypeMutation) AddedOptionalFloat() (r float64, exists bool) + func (m *FieldTypeMutation) AddedOptionalFloat32() (r float32, exists bool) + func (m *FieldTypeMutation) AddedOptionalInt() (r int, exists bool) + func (m *FieldTypeMutation) AddedOptionalInt16() (r int16, exists bool) + func (m *FieldTypeMutation) AddedOptionalInt32() (r int32, exists bool) + func (m *FieldTypeMutation) AddedOptionalInt64() (r int64, exists bool) + func (m *FieldTypeMutation) AddedOptionalInt8() (r int8, exists bool) + func (m *FieldTypeMutation) AddedOptionalUint() (r uint, exists bool) + func (m *FieldTypeMutation) AddedOptionalUint16() (r uint16, exists bool) + func (m *FieldTypeMutation) AddedOptionalUint32() (r uint32, exists bool) + func (m *FieldTypeMutation) AddedOptionalUint64() (r uint64, exists bool) + func (m *FieldTypeMutation) AddedOptionalUint8() (r uint8, exists bool) + func (m *FieldTypeMutation) AddedSchemaFloat() (r schema.Float64, exists bool) + func (m *FieldTypeMutation) AddedSchemaFloat32() (r schema.Float32, exists bool) + func (m *FieldTypeMutation) AddedSchemaInt() (r schema.Int, exists bool) + func (m *FieldTypeMutation) AddedSchemaInt64() (r schema.Int64, exists bool) + func (m *FieldTypeMutation) AddedSchemaInt8() (r schema.Int8, exists bool) + func (m *FieldTypeMutation) AddedValidateOptionalInt32() (r int32, exists bool) + func (m *FieldTypeMutation) BigInt() (r schema.BigInt, exists bool) + func (m *FieldTypeMutation) BigIntCleared() bool + func (m *FieldTypeMutation) ClearActive() + func (m *FieldTypeMutation) ClearBigInt() + func (m *FieldTypeMutation) ClearDatetime() + func (m *FieldTypeMutation) ClearDecimal() + func (m *FieldTypeMutation) ClearDeleted() + func (m *FieldTypeMutation) ClearDeletedAt() + func (m *FieldTypeMutation) ClearDuration() + func (m *FieldTypeMutation) ClearEdge(name string) error + func (m *FieldTypeMutation) ClearField(name string) error + func (m *FieldTypeMutation) ClearIP() + func (m *FieldTypeMutation) ClearLink() + func (m *FieldTypeMutation) ClearLinkOther() + func (m *FieldTypeMutation) ClearMAC() + func (m *FieldTypeMutation) ClearNdir() + func (m *FieldTypeMutation) ClearNilPair() + func (m *FieldTypeMutation) ClearNillableInt() + func (m *FieldTypeMutation) ClearNillableInt16() + func (m *FieldTypeMutation) ClearNillableInt32() + func (m *FieldTypeMutation) ClearNillableInt64() + func (m *FieldTypeMutation) ClearNillableInt8() + func (m *FieldTypeMutation) ClearNillableUUID() + func (m *FieldTypeMutation) ClearNullActive() + func (m *FieldTypeMutation) ClearNullFloat() + func (m *FieldTypeMutation) ClearNullInt64() + func (m *FieldTypeMutation) ClearNullLink() + func (m *FieldTypeMutation) ClearNullStr() + func (m *FieldTypeMutation) ClearOptionalFloat() + func (m *FieldTypeMutation) ClearOptionalFloat32() + func (m *FieldTypeMutation) ClearOptionalInt() + func (m *FieldTypeMutation) ClearOptionalInt16() + func (m *FieldTypeMutation) ClearOptionalInt32() + func (m *FieldTypeMutation) ClearOptionalInt64() + func (m *FieldTypeMutation) ClearOptionalInt8() + func (m *FieldTypeMutation) ClearOptionalUint() + func (m *FieldTypeMutation) ClearOptionalUint16() + func (m *FieldTypeMutation) ClearOptionalUint32() + func (m *FieldTypeMutation) ClearOptionalUint64() + func (m *FieldTypeMutation) ClearOptionalUint8() + func (m *FieldTypeMutation) ClearPassword() + func (m *FieldTypeMutation) ClearPasswordOther() + func (m *FieldTypeMutation) ClearPriority() + func (m *FieldTypeMutation) ClearSchemaFloat() + func (m *FieldTypeMutation) ClearSchemaFloat32() + func (m *FieldTypeMutation) ClearSchemaInt() + func (m *FieldTypeMutation) ClearSchemaInt64() + func (m *FieldTypeMutation) ClearSchemaInt8() + func (m *FieldTypeMutation) ClearState() + func (m *FieldTypeMutation) ClearStr() + func (m *FieldTypeMutation) ClearStringArray() + func (m *FieldTypeMutation) ClearStringScanner() + func (m *FieldTypeMutation) ClearStrings() + func (m *FieldTypeMutation) ClearUUID() + func (m *FieldTypeMutation) ClearValidateOptionalInt32() + func (m *FieldTypeMutation) ClearedEdges() []string + func (m *FieldTypeMutation) ClearedFields() []string + func (m *FieldTypeMutation) Datetime() (r time.Time, exists bool) + func (m *FieldTypeMutation) DatetimeCleared() bool + func (m *FieldTypeMutation) Decimal() (r float64, exists bool) + func (m *FieldTypeMutation) DecimalCleared() bool + func (m *FieldTypeMutation) Deleted() (r *sql.NullBool, exists bool) + func (m *FieldTypeMutation) DeletedAt() (r *sql.NullTime, exists bool) + func (m *FieldTypeMutation) DeletedAtCleared() bool + func (m *FieldTypeMutation) DeletedCleared() bool + func (m *FieldTypeMutation) Dir() (r http.Dir, exists bool) + func (m *FieldTypeMutation) Duration() (r time.Duration, exists bool) + func (m *FieldTypeMutation) DurationCleared() bool + func (m *FieldTypeMutation) EdgeCleared(name string) bool + func (m *FieldTypeMutation) Field(name string) (ent.Value, bool) + func (m *FieldTypeMutation) FieldCleared(name string) bool + func (m *FieldTypeMutation) Fields() []string + func (m *FieldTypeMutation) Filter() *FieldTypeFilter + func (m *FieldTypeMutation) ID() (id int, exists bool) + func (m *FieldTypeMutation) IP() (r net.IP, exists bool) + func (m *FieldTypeMutation) IPCleared() bool + func (m *FieldTypeMutation) Int() (r int, exists bool) + func (m *FieldTypeMutation) Int16() (r int16, exists bool) + func (m *FieldTypeMutation) Int32() (r int32, exists bool) + func (m *FieldTypeMutation) Int64() (r int64, exists bool) + func (m *FieldTypeMutation) Int8() (r int8, exists bool) + func (m *FieldTypeMutation) Link() (r schema.Link, exists bool) + func (m *FieldTypeMutation) LinkCleared() bool + func (m *FieldTypeMutation) LinkOther() (r *schema.Link, exists bool) + func (m *FieldTypeMutation) LinkOtherCleared() bool + func (m *FieldTypeMutation) MAC() (r schema.MAC, exists bool) + func (m *FieldTypeMutation) MACCleared() bool + func (m *FieldTypeMutation) Ndir() (r http.Dir, exists bool) + func (m *FieldTypeMutation) NdirCleared() bool + func (m *FieldTypeMutation) NilPair() (r *schema.Pair, exists bool) + func (m *FieldTypeMutation) NilPairCleared() bool + func (m *FieldTypeMutation) NillableInt() (r int, exists bool) + func (m *FieldTypeMutation) NillableInt16() (r int16, exists bool) + func (m *FieldTypeMutation) NillableInt16Cleared() bool + func (m *FieldTypeMutation) NillableInt32() (r int32, exists bool) + func (m *FieldTypeMutation) NillableInt32Cleared() bool + func (m *FieldTypeMutation) NillableInt64() (r int64, exists bool) + func (m *FieldTypeMutation) NillableInt64Cleared() bool + func (m *FieldTypeMutation) NillableInt8() (r int8, exists bool) + func (m *FieldTypeMutation) NillableInt8Cleared() bool + func (m *FieldTypeMutation) NillableIntCleared() bool + func (m *FieldTypeMutation) NillableUUID() (r uuid.UUID, exists bool) + func (m *FieldTypeMutation) NillableUUIDCleared() bool + func (m *FieldTypeMutation) NullActive() (r schema.Status, exists bool) + func (m *FieldTypeMutation) NullActiveCleared() bool + func (m *FieldTypeMutation) NullFloat() (r *sql.NullFloat64, exists bool) + func (m *FieldTypeMutation) NullFloatCleared() bool + func (m *FieldTypeMutation) NullInt64() (r *sql.NullInt64, exists bool) + func (m *FieldTypeMutation) NullInt64Cleared() bool + func (m *FieldTypeMutation) NullLink() (r *schema.Link, exists bool) + func (m *FieldTypeMutation) NullLinkCleared() bool + func (m *FieldTypeMutation) NullStr() (r *sql.NullString, exists bool) + func (m *FieldTypeMutation) NullStrCleared() bool + func (m *FieldTypeMutation) OldActive(ctx context.Context) (v schema.Status, err error) + func (m *FieldTypeMutation) OldBigInt(ctx context.Context) (v schema.BigInt, err error) + func (m *FieldTypeMutation) OldDatetime(ctx context.Context) (v time.Time, err error) + func (m *FieldTypeMutation) OldDecimal(ctx context.Context) (v float64, err error) + func (m *FieldTypeMutation) OldDeleted(ctx context.Context) (v *sql.NullBool, err error) + func (m *FieldTypeMutation) OldDeletedAt(ctx context.Context) (v *sql.NullTime, err error) + func (m *FieldTypeMutation) OldDir(ctx context.Context) (v http.Dir, err error) + func (m *FieldTypeMutation) OldDuration(ctx context.Context) (v time.Duration, err error) + func (m *FieldTypeMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *FieldTypeMutation) OldIP(ctx context.Context) (v net.IP, err error) + func (m *FieldTypeMutation) OldInt(ctx context.Context) (v int, err error) + func (m *FieldTypeMutation) OldInt16(ctx context.Context) (v int16, err error) + func (m *FieldTypeMutation) OldInt32(ctx context.Context) (v int32, err error) + func (m *FieldTypeMutation) OldInt64(ctx context.Context) (v int64, err error) + func (m *FieldTypeMutation) OldInt8(ctx context.Context) (v int8, err error) + func (m *FieldTypeMutation) OldLink(ctx context.Context) (v schema.Link, err error) + func (m *FieldTypeMutation) OldLinkOther(ctx context.Context) (v *schema.Link, err error) + func (m *FieldTypeMutation) OldMAC(ctx context.Context) (v schema.MAC, err error) + func (m *FieldTypeMutation) OldNdir(ctx context.Context) (v *http.Dir, err error) + func (m *FieldTypeMutation) OldNilPair(ctx context.Context) (v *schema.Pair, err error) + func (m *FieldTypeMutation) OldNillableInt(ctx context.Context) (v *int, err error) + func (m *FieldTypeMutation) OldNillableInt16(ctx context.Context) (v *int16, err error) + func (m *FieldTypeMutation) OldNillableInt32(ctx context.Context) (v *int32, err error) + func (m *FieldTypeMutation) OldNillableInt64(ctx context.Context) (v *int64, err error) + func (m *FieldTypeMutation) OldNillableInt8(ctx context.Context) (v *int8, err error) + func (m *FieldTypeMutation) OldNillableUUID(ctx context.Context) (v *uuid.UUID, err error) + func (m *FieldTypeMutation) OldNullActive(ctx context.Context) (v *schema.Status, err error) + func (m *FieldTypeMutation) OldNullFloat(ctx context.Context) (v *sql.NullFloat64, err error) + func (m *FieldTypeMutation) OldNullInt64(ctx context.Context) (v *sql.NullInt64, err error) + func (m *FieldTypeMutation) OldNullLink(ctx context.Context) (v *schema.Link, err error) + func (m *FieldTypeMutation) OldNullStr(ctx context.Context) (v *sql.NullString, err error) + func (m *FieldTypeMutation) OldOptionalFloat(ctx context.Context) (v float64, err error) + func (m *FieldTypeMutation) OldOptionalFloat32(ctx context.Context) (v float32, err error) + func (m *FieldTypeMutation) OldOptionalInt(ctx context.Context) (v int, err error) + func (m *FieldTypeMutation) OldOptionalInt16(ctx context.Context) (v int16, err error) + func (m *FieldTypeMutation) OldOptionalInt32(ctx context.Context) (v int32, err error) + func (m *FieldTypeMutation) OldOptionalInt64(ctx context.Context) (v int64, err error) + func (m *FieldTypeMutation) OldOptionalInt8(ctx context.Context) (v int8, err error) + func (m *FieldTypeMutation) OldOptionalUint(ctx context.Context) (v uint, err error) + func (m *FieldTypeMutation) OldOptionalUint16(ctx context.Context) (v uint16, err error) + func (m *FieldTypeMutation) OldOptionalUint32(ctx context.Context) (v uint32, err error) + func (m *FieldTypeMutation) OldOptionalUint64(ctx context.Context) (v uint64, err error) + func (m *FieldTypeMutation) OldOptionalUint8(ctx context.Context) (v uint8, err error) + func (m *FieldTypeMutation) OldPair(ctx context.Context) (v schema.Pair, err error) + func (m *FieldTypeMutation) OldPassword(ctx context.Context) (v string, err error) + func (m *FieldTypeMutation) OldPasswordOther(ctx context.Context) (v schema.Password, err error) + func (m *FieldTypeMutation) OldPriority(ctx context.Context) (v role.Priority, err error) + func (m *FieldTypeMutation) OldRole(ctx context.Context) (v role.Role, err error) + func (m *FieldTypeMutation) OldSchemaFloat(ctx context.Context) (v schema.Float64, err error) + func (m *FieldTypeMutation) OldSchemaFloat32(ctx context.Context) (v schema.Float32, err error) + func (m *FieldTypeMutation) OldSchemaInt(ctx context.Context) (v schema.Int, err error) + func (m *FieldTypeMutation) OldSchemaInt64(ctx context.Context) (v schema.Int64, err error) + func (m *FieldTypeMutation) OldSchemaInt8(ctx context.Context) (v schema.Int8, err error) + func (m *FieldTypeMutation) OldState(ctx context.Context) (v fieldtype.State, err error) + func (m *FieldTypeMutation) OldStr(ctx context.Context) (v sql.NullString, err error) + func (m *FieldTypeMutation) OldStringArray(ctx context.Context) (v schema.Strings, err error) + func (m *FieldTypeMutation) OldStringScanner(ctx context.Context) (v *schema.StringScanner, err error) + func (m *FieldTypeMutation) OldStrings(ctx context.Context) (v []string, err error) + func (m *FieldTypeMutation) OldTriple(ctx context.Context) (v schema.Triple, err error) + func (m *FieldTypeMutation) OldUUID(ctx context.Context) (v uuid.UUID, err error) + func (m *FieldTypeMutation) OldValidateOptionalInt32(ctx context.Context) (v int32, err error) + func (m *FieldTypeMutation) OldVstring(ctx context.Context) (v schema.VString, err error) + func (m *FieldTypeMutation) Op() Op + func (m *FieldTypeMutation) OptionalFloat() (r float64, exists bool) + func (m *FieldTypeMutation) OptionalFloat32() (r float32, exists bool) + func (m *FieldTypeMutation) OptionalFloat32Cleared() bool + func (m *FieldTypeMutation) OptionalFloatCleared() bool + func (m *FieldTypeMutation) OptionalInt() (r int, exists bool) + func (m *FieldTypeMutation) OptionalInt16() (r int16, exists bool) + func (m *FieldTypeMutation) OptionalInt16Cleared() bool + func (m *FieldTypeMutation) OptionalInt32() (r int32, exists bool) + func (m *FieldTypeMutation) OptionalInt32Cleared() bool + func (m *FieldTypeMutation) OptionalInt64() (r int64, exists bool) + func (m *FieldTypeMutation) OptionalInt64Cleared() bool + func (m *FieldTypeMutation) OptionalInt8() (r int8, exists bool) + func (m *FieldTypeMutation) OptionalInt8Cleared() bool + func (m *FieldTypeMutation) OptionalIntCleared() bool + func (m *FieldTypeMutation) OptionalUint() (r uint, exists bool) + func (m *FieldTypeMutation) OptionalUint16() (r uint16, exists bool) + func (m *FieldTypeMutation) OptionalUint16Cleared() bool + func (m *FieldTypeMutation) OptionalUint32() (r uint32, exists bool) + func (m *FieldTypeMutation) OptionalUint32Cleared() bool + func (m *FieldTypeMutation) OptionalUint64() (r uint64, exists bool) + func (m *FieldTypeMutation) OptionalUint64Cleared() bool + func (m *FieldTypeMutation) OptionalUint8() (r uint8, exists bool) + func (m *FieldTypeMutation) OptionalUint8Cleared() bool + func (m *FieldTypeMutation) OptionalUintCleared() bool + func (m *FieldTypeMutation) Pair() (r schema.Pair, exists bool) + func (m *FieldTypeMutation) Password() (r string, exists bool) + func (m *FieldTypeMutation) PasswordCleared() bool + func (m *FieldTypeMutation) PasswordOther() (r schema.Password, exists bool) + func (m *FieldTypeMutation) PasswordOtherCleared() bool + func (m *FieldTypeMutation) Priority() (r role.Priority, exists bool) + func (m *FieldTypeMutation) PriorityCleared() bool + func (m *FieldTypeMutation) RemovedEdges() []string + func (m *FieldTypeMutation) RemovedIDs(name string) []ent.Value + func (m *FieldTypeMutation) ResetActive() + func (m *FieldTypeMutation) ResetBigInt() + func (m *FieldTypeMutation) ResetDatetime() + func (m *FieldTypeMutation) ResetDecimal() + func (m *FieldTypeMutation) ResetDeleted() + func (m *FieldTypeMutation) ResetDeletedAt() + func (m *FieldTypeMutation) ResetDir() + func (m *FieldTypeMutation) ResetDuration() + func (m *FieldTypeMutation) ResetEdge(name string) error + func (m *FieldTypeMutation) ResetField(name string) error + func (m *FieldTypeMutation) ResetIP() + func (m *FieldTypeMutation) ResetInt() + func (m *FieldTypeMutation) ResetInt16() + func (m *FieldTypeMutation) ResetInt32() + func (m *FieldTypeMutation) ResetInt64() + func (m *FieldTypeMutation) ResetInt8() + func (m *FieldTypeMutation) ResetLink() + func (m *FieldTypeMutation) ResetLinkOther() + func (m *FieldTypeMutation) ResetMAC() + func (m *FieldTypeMutation) ResetNdir() + func (m *FieldTypeMutation) ResetNilPair() + func (m *FieldTypeMutation) ResetNillableInt() + func (m *FieldTypeMutation) ResetNillableInt16() + func (m *FieldTypeMutation) ResetNillableInt32() + func (m *FieldTypeMutation) ResetNillableInt64() + func (m *FieldTypeMutation) ResetNillableInt8() + func (m *FieldTypeMutation) ResetNillableUUID() + func (m *FieldTypeMutation) ResetNullActive() + func (m *FieldTypeMutation) ResetNullFloat() + func (m *FieldTypeMutation) ResetNullInt64() + func (m *FieldTypeMutation) ResetNullLink() + func (m *FieldTypeMutation) ResetNullStr() + func (m *FieldTypeMutation) ResetOptionalFloat() + func (m *FieldTypeMutation) ResetOptionalFloat32() + func (m *FieldTypeMutation) ResetOptionalInt() + func (m *FieldTypeMutation) ResetOptionalInt16() + func (m *FieldTypeMutation) ResetOptionalInt32() + func (m *FieldTypeMutation) ResetOptionalInt64() + func (m *FieldTypeMutation) ResetOptionalInt8() + func (m *FieldTypeMutation) ResetOptionalUint() + func (m *FieldTypeMutation) ResetOptionalUint16() + func (m *FieldTypeMutation) ResetOptionalUint32() + func (m *FieldTypeMutation) ResetOptionalUint64() + func (m *FieldTypeMutation) ResetOptionalUint8() + func (m *FieldTypeMutation) ResetPair() + func (m *FieldTypeMutation) ResetPassword() + func (m *FieldTypeMutation) ResetPasswordOther() + func (m *FieldTypeMutation) ResetPriority() + func (m *FieldTypeMutation) ResetRole() + func (m *FieldTypeMutation) ResetSchemaFloat() + func (m *FieldTypeMutation) ResetSchemaFloat32() + func (m *FieldTypeMutation) ResetSchemaInt() + func (m *FieldTypeMutation) ResetSchemaInt64() + func (m *FieldTypeMutation) ResetSchemaInt8() + func (m *FieldTypeMutation) ResetState() + func (m *FieldTypeMutation) ResetStr() + func (m *FieldTypeMutation) ResetStringArray() + func (m *FieldTypeMutation) ResetStringScanner() + func (m *FieldTypeMutation) ResetStrings() + func (m *FieldTypeMutation) ResetTriple() + func (m *FieldTypeMutation) ResetUUID() + func (m *FieldTypeMutation) ResetValidateOptionalInt32() + func (m *FieldTypeMutation) ResetVstring() + func (m *FieldTypeMutation) Role() (r role.Role, exists bool) + func (m *FieldTypeMutation) SchemaFloat() (r schema.Float64, exists bool) + func (m *FieldTypeMutation) SchemaFloat32() (r schema.Float32, exists bool) + func (m *FieldTypeMutation) SchemaFloat32Cleared() bool + func (m *FieldTypeMutation) SchemaFloatCleared() bool + func (m *FieldTypeMutation) SchemaInt() (r schema.Int, exists bool) + func (m *FieldTypeMutation) SchemaInt64() (r schema.Int64, exists bool) + func (m *FieldTypeMutation) SchemaInt64Cleared() bool + func (m *FieldTypeMutation) SchemaInt8() (r schema.Int8, exists bool) + func (m *FieldTypeMutation) SchemaInt8Cleared() bool + func (m *FieldTypeMutation) SchemaIntCleared() bool + func (m *FieldTypeMutation) SetActive(s schema.Status) + func (m *FieldTypeMutation) SetBigInt(si schema.BigInt) + func (m *FieldTypeMutation) SetDatetime(t time.Time) + func (m *FieldTypeMutation) SetDecimal(f float64) + func (m *FieldTypeMutation) SetDeleted(sb *sql.NullBool) + func (m *FieldTypeMutation) SetDeletedAt(st *sql.NullTime) + func (m *FieldTypeMutation) SetDir(h http.Dir) + func (m *FieldTypeMutation) SetDuration(t time.Duration) + func (m *FieldTypeMutation) SetField(name string, value ent.Value) error + func (m *FieldTypeMutation) SetIP(n net.IP) + func (m *FieldTypeMutation) SetInt(i int) + func (m *FieldTypeMutation) SetInt16(i int16) + func (m *FieldTypeMutation) SetInt32(i int32) + func (m *FieldTypeMutation) SetInt64(i int64) + func (m *FieldTypeMutation) SetInt8(i int8) + func (m *FieldTypeMutation) SetLink(s schema.Link) + func (m *FieldTypeMutation) SetLinkOther(s *schema.Link) + func (m *FieldTypeMutation) SetMAC(s schema.MAC) + func (m *FieldTypeMutation) SetNdir(h http.Dir) + func (m *FieldTypeMutation) SetNilPair(s *schema.Pair) + func (m *FieldTypeMutation) SetNillableInt(i int) + func (m *FieldTypeMutation) SetNillableInt16(i int16) + func (m *FieldTypeMutation) SetNillableInt32(i int32) + func (m *FieldTypeMutation) SetNillableInt64(i int64) + func (m *FieldTypeMutation) SetNillableInt8(i int8) + func (m *FieldTypeMutation) SetNillableUUID(u uuid.UUID) + func (m *FieldTypeMutation) SetNullActive(s schema.Status) + func (m *FieldTypeMutation) SetNullFloat(sf *sql.NullFloat64) + func (m *FieldTypeMutation) SetNullInt64(si *sql.NullInt64) + func (m *FieldTypeMutation) SetNullLink(s *schema.Link) + func (m *FieldTypeMutation) SetNullStr(ss *sql.NullString) + func (m *FieldTypeMutation) SetOptionalFloat(f float64) + func (m *FieldTypeMutation) SetOptionalFloat32(f float32) + func (m *FieldTypeMutation) SetOptionalInt(i int) + func (m *FieldTypeMutation) SetOptionalInt16(i int16) + func (m *FieldTypeMutation) SetOptionalInt32(i int32) + func (m *FieldTypeMutation) SetOptionalInt64(i int64) + func (m *FieldTypeMutation) SetOptionalInt8(i int8) + func (m *FieldTypeMutation) SetOptionalUint(u uint) + func (m *FieldTypeMutation) SetOptionalUint16(u uint16) + func (m *FieldTypeMutation) SetOptionalUint32(u uint32) + func (m *FieldTypeMutation) SetOptionalUint64(u uint64) + func (m *FieldTypeMutation) SetOptionalUint8(u uint8) + func (m *FieldTypeMutation) SetPair(s schema.Pair) + func (m *FieldTypeMutation) SetPassword(s string) + func (m *FieldTypeMutation) SetPasswordOther(s schema.Password) + func (m *FieldTypeMutation) SetPriority(r role.Priority) + func (m *FieldTypeMutation) SetRole(r role.Role) + func (m *FieldTypeMutation) SetSchemaFloat(s schema.Float64) + func (m *FieldTypeMutation) SetSchemaFloat32(s schema.Float32) + func (m *FieldTypeMutation) SetSchemaInt(s schema.Int) + func (m *FieldTypeMutation) SetSchemaInt64(s schema.Int64) + func (m *FieldTypeMutation) SetSchemaInt8(s schema.Int8) + func (m *FieldTypeMutation) SetState(f fieldtype.State) + func (m *FieldTypeMutation) SetStr(ss sql.NullString) + func (m *FieldTypeMutation) SetStringArray(s schema.Strings) + func (m *FieldTypeMutation) SetStringScanner(ss schema.StringScanner) + func (m *FieldTypeMutation) SetStrings(s []string) + func (m *FieldTypeMutation) SetTriple(s schema.Triple) + func (m *FieldTypeMutation) SetUUID(u uuid.UUID) + func (m *FieldTypeMutation) SetValidateOptionalInt32(i int32) + func (m *FieldTypeMutation) SetVstring(ss schema.VString) + func (m *FieldTypeMutation) State() (r fieldtype.State, exists bool) + func (m *FieldTypeMutation) StateCleared() bool + func (m *FieldTypeMutation) Str() (r sql.NullString, exists bool) + func (m *FieldTypeMutation) StrCleared() bool + func (m *FieldTypeMutation) StringArray() (r schema.Strings, exists bool) + func (m *FieldTypeMutation) StringArrayCleared() bool + func (m *FieldTypeMutation) StringScanner() (r schema.StringScanner, exists bool) + func (m *FieldTypeMutation) StringScannerCleared() bool + func (m *FieldTypeMutation) Strings() (r []string, exists bool) + func (m *FieldTypeMutation) StringsCleared() bool + func (m *FieldTypeMutation) Triple() (r schema.Triple, exists bool) + func (m *FieldTypeMutation) Type() string + func (m *FieldTypeMutation) UUID() (r uuid.UUID, exists bool) + func (m *FieldTypeMutation) UUIDCleared() bool + func (m *FieldTypeMutation) ValidateOptionalInt32() (r int32, exists bool) + func (m *FieldTypeMutation) ValidateOptionalInt32Cleared() bool + func (m *FieldTypeMutation) Vstring() (r schema.VString, exists bool) + func (m *FieldTypeMutation) Where(ps ...predicate.FieldType) + func (m FieldTypeMutation) Client() *Client + func (m FieldTypeMutation) Tx() (*Tx, error) + type FieldTypeQuery struct + func (ftq *FieldTypeQuery) All(ctx context.Context) ([]*FieldType, error) + func (ftq *FieldTypeQuery) AllX(ctx context.Context) []*FieldType + func (ftq *FieldTypeQuery) Clone() *FieldTypeQuery + func (ftq *FieldTypeQuery) Count(ctx context.Context) (int, error) + func (ftq *FieldTypeQuery) CountX(ctx context.Context) int + func (ftq *FieldTypeQuery) Exist(ctx context.Context) (bool, error) + func (ftq *FieldTypeQuery) ExistX(ctx context.Context) bool + func (ftq *FieldTypeQuery) Filter() *FieldTypeFilter + func (ftq *FieldTypeQuery) First(ctx context.Context) (*FieldType, error) + func (ftq *FieldTypeQuery) FirstID(ctx context.Context) (id int, err error) + func (ftq *FieldTypeQuery) FirstIDX(ctx context.Context) int + func (ftq *FieldTypeQuery) FirstX(ctx context.Context) *FieldType + func (ftq *FieldTypeQuery) ForShare(opts ...sql.LockOption) *FieldTypeQuery + func (ftq *FieldTypeQuery) ForUpdate(opts ...sql.LockOption) *FieldTypeQuery + func (ftq *FieldTypeQuery) GroupBy(field string, fields ...string) *FieldTypeGroupBy + func (ftq *FieldTypeQuery) IDs(ctx context.Context) ([]int, error) + func (ftq *FieldTypeQuery) IDsX(ctx context.Context) []int + func (ftq *FieldTypeQuery) Limit(limit int) *FieldTypeQuery + func (ftq *FieldTypeQuery) Modify(modifiers ...func(s *sql.Selector)) *FieldTypeSelect + func (ftq *FieldTypeQuery) Offset(offset int) *FieldTypeQuery + func (ftq *FieldTypeQuery) Only(ctx context.Context) (*FieldType, error) + func (ftq *FieldTypeQuery) OnlyID(ctx context.Context) (id int, err error) + func (ftq *FieldTypeQuery) OnlyIDX(ctx context.Context) int + func (ftq *FieldTypeQuery) OnlyX(ctx context.Context) *FieldType + func (ftq *FieldTypeQuery) Order(o ...OrderFunc) *FieldTypeQuery + func (ftq *FieldTypeQuery) Select(fields ...string) *FieldTypeSelect + func (ftq *FieldTypeQuery) Unique(unique bool) *FieldTypeQuery + func (ftq *FieldTypeQuery) Where(ps ...predicate.FieldType) *FieldTypeQuery + type FieldTypeSelect struct + func (fts *FieldTypeSelect) Bool(ctx context.Context) (_ bool, err error) + func (fts *FieldTypeSelect) BoolX(ctx context.Context) bool + func (fts *FieldTypeSelect) Bools(ctx context.Context) ([]bool, error) + func (fts *FieldTypeSelect) BoolsX(ctx context.Context) []bool + func (fts *FieldTypeSelect) Float64(ctx context.Context) (_ float64, err error) + func (fts *FieldTypeSelect) Float64X(ctx context.Context) float64 + func (fts *FieldTypeSelect) Float64s(ctx context.Context) ([]float64, error) + func (fts *FieldTypeSelect) Float64sX(ctx context.Context) []float64 + func (fts *FieldTypeSelect) Int(ctx context.Context) (_ int, err error) + func (fts *FieldTypeSelect) IntX(ctx context.Context) int + func (fts *FieldTypeSelect) Ints(ctx context.Context) ([]int, error) + func (fts *FieldTypeSelect) IntsX(ctx context.Context) []int + func (fts *FieldTypeSelect) Modify(modifiers ...func(s *sql.Selector)) *FieldTypeSelect + func (fts *FieldTypeSelect) Scan(ctx context.Context, v interface{}) error + func (fts *FieldTypeSelect) ScanX(ctx context.Context, v interface{}) + func (fts *FieldTypeSelect) String(ctx context.Context) (_ string, err error) + func (fts *FieldTypeSelect) StringX(ctx context.Context) string + func (fts *FieldTypeSelect) Strings(ctx context.Context) ([]string, error) + func (fts *FieldTypeSelect) StringsX(ctx context.Context) []string + type FieldTypeUpdate struct + func (ftu *FieldTypeUpdate) AddBigInt(si schema.BigInt) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddDecimal(f float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddDuration(t time.Duration) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddInt(i int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddInt16(i int16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddInt32(i int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddInt64(i int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddInt8(i int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddNillableInt(i int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddNillableInt16(i int16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddNillableInt32(i int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddNillableInt64(i int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddNillableInt8(i int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalFloat(f float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalFloat32(f float32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalInt(i int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalInt16(i int16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalInt32(i int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalInt64(i int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalInt8(i int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalUint(u uint) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalUint16(u uint16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalUint32(u uint32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalUint64(u uint64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddOptionalUint8(u uint8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddSchemaFloat(s schema.Float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddSchemaFloat32(s schema.Float32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddSchemaInt(s schema.Int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddSchemaInt64(s schema.Int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddSchemaInt8(s schema.Int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) AddValidateOptionalInt32(i int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearActive() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearBigInt() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearDatetime() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearDecimal() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearDeleted() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearDeletedAt() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearDuration() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearIP() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearLink() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearLinkOther() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearMAC() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNdir() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNilPair() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNillableInt() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNillableInt16() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNillableInt32() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNillableInt64() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNillableInt8() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNillableUUID() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNullActive() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNullFloat() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNullInt64() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNullLink() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearNullStr() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalFloat() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalFloat32() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalInt() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalInt16() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalInt32() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalInt64() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalInt8() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalUint() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalUint16() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalUint32() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalUint64() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearOptionalUint8() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearPassword() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearPasswordOther() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearPriority() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearSchemaFloat() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearSchemaFloat32() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearSchemaInt() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearSchemaInt64() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearSchemaInt8() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearState() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearStr() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearStringArray() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearStringScanner() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearStrings() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearUUID() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) ClearValidateOptionalInt32() *FieldTypeUpdate + func (ftu *FieldTypeUpdate) Exec(ctx context.Context) error + func (ftu *FieldTypeUpdate) ExecX(ctx context.Context) + func (ftu *FieldTypeUpdate) Mutation() *FieldTypeMutation + func (ftu *FieldTypeUpdate) Save(ctx context.Context) (int, error) + func (ftu *FieldTypeUpdate) SaveX(ctx context.Context) int + func (ftu *FieldTypeUpdate) SetActive(s schema.Status) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetBigInt(si schema.BigInt) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetDatetime(t time.Time) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetDecimal(f float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetDeleted(sb *sql.NullBool) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetDeletedAt(st *sql.NullTime) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetDir(h http.Dir) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetDuration(t time.Duration) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetIP(n net.IP) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetInt(i int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetInt16(i int16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetInt32(i int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetInt64(i int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetInt8(i int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetLink(s schema.Link) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetLinkOther(s *schema.Link) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetMAC(s schema.MAC) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNdir(h http.Dir) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNilPair(s *schema.Pair) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableActive(s *schema.Status) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableBigInt(si *schema.BigInt) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableDatetime(t *time.Time) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableDecimal(f *float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableDir(h *http.Dir) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableDuration(t *time.Duration) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableInt(i int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableInt16(i int16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableInt32(i int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableInt64(i int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableInt8(i int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableLink(s *schema.Link) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableMAC(s *schema.MAC) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableNdir(h *http.Dir) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableNillableInt(i *int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableNillableInt16(i *int16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableNillableInt32(i *int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableNillableInt64(i *int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableNillableInt8(i *int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableNullActive(s *schema.Status) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalFloat(f *float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalFloat32(f *float32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalInt(i *int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalInt16(i *int16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalInt32(i *int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalInt64(i *int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalInt8(i *int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalUint(u *uint) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalUint16(u *uint16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalUint32(u *uint32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalUint64(u *uint64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableOptionalUint8(u *uint8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillablePair(s *schema.Pair) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillablePassword(s *string) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillablePasswordOther(s *schema.Password) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillablePriority(r *role.Priority) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableRole(r *role.Role) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableSchemaFloat(s *schema.Float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableSchemaFloat32(s *schema.Float32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableSchemaInt(s *schema.Int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableSchemaInt64(s *schema.Int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableSchemaInt8(s *schema.Int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableState(f *fieldtype.State) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableStr(ss *sql.NullString) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableStringScanner(ss *schema.StringScanner) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableTriple(s *schema.Triple) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableUUID(u uuid.UUID) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableValidateOptionalInt32(i *int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNillableVstring(ss *schema.VString) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNullActive(s schema.Status) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNullFloat(sf *sql.NullFloat64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNullInt64(si *sql.NullInt64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNullLink(s *schema.Link) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetNullStr(ss *sql.NullString) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalFloat(f float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalFloat32(f float32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalInt(i int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalInt16(i int16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalInt32(i int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalInt64(i int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalInt8(i int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalUint(u uint) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalUint16(u uint16) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalUint32(u uint32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalUint64(u uint64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetOptionalUint8(u uint8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetPair(s schema.Pair) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetPassword(s string) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetPasswordOther(s schema.Password) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetPriority(r role.Priority) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetRole(r role.Role) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetSchemaFloat(s schema.Float64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetSchemaFloat32(s schema.Float32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetSchemaInt(s schema.Int) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetSchemaInt64(s schema.Int64) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetSchemaInt8(s schema.Int8) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetState(f fieldtype.State) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetStr(ss sql.NullString) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetStringArray(s schema.Strings) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetStringScanner(ss schema.StringScanner) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetStrings(s []string) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetTriple(s schema.Triple) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetUUID(u uuid.UUID) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetValidateOptionalInt32(i int32) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) SetVstring(ss schema.VString) *FieldTypeUpdate + func (ftu *FieldTypeUpdate) Where(ps ...predicate.FieldType) *FieldTypeUpdate + type FieldTypeUpdateOne struct + func (ftuo *FieldTypeUpdateOne) AddBigInt(si schema.BigInt) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddDecimal(f float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddDuration(t time.Duration) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddInt(i int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddInt16(i int16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddInt32(i int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddInt64(i int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddInt8(i int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddNillableInt(i int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddNillableInt16(i int16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddNillableInt32(i int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddNillableInt64(i int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddNillableInt8(i int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalFloat(f float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalFloat32(f float32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalInt(i int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalInt16(i int16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalInt32(i int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalInt64(i int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalInt8(i int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalUint(u uint) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalUint16(u uint16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalUint32(u uint32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalUint64(u uint64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddOptionalUint8(u uint8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddSchemaFloat(s schema.Float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddSchemaFloat32(s schema.Float32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddSchemaInt(s schema.Int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddSchemaInt64(s schema.Int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddSchemaInt8(s schema.Int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) AddValidateOptionalInt32(i int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearActive() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearBigInt() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearDatetime() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearDecimal() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearDeleted() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearDeletedAt() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearDuration() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearIP() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearLink() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearLinkOther() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearMAC() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNdir() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNilPair() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNillableInt() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNillableInt16() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNillableInt32() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNillableInt64() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNillableInt8() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNillableUUID() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNullActive() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNullFloat() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNullInt64() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNullLink() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearNullStr() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalFloat() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalFloat32() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalInt() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalInt16() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalInt32() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalInt64() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalInt8() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalUint() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalUint16() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalUint32() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalUint64() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearOptionalUint8() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearPassword() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearPasswordOther() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearPriority() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearSchemaFloat() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearSchemaFloat32() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearSchemaInt() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearSchemaInt64() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearSchemaInt8() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearState() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearStr() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearStringArray() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearStringScanner() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearStrings() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearUUID() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) ClearValidateOptionalInt32() *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) Exec(ctx context.Context) error + func (ftuo *FieldTypeUpdateOne) ExecX(ctx context.Context) + func (ftuo *FieldTypeUpdateOne) Mutation() *FieldTypeMutation + func (ftuo *FieldTypeUpdateOne) Save(ctx context.Context) (*FieldType, error) + func (ftuo *FieldTypeUpdateOne) SaveX(ctx context.Context) *FieldType + func (ftuo *FieldTypeUpdateOne) Select(field string, fields ...string) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetActive(s schema.Status) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetBigInt(si schema.BigInt) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetDatetime(t time.Time) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetDecimal(f float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetDeleted(sb *sql.NullBool) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetDeletedAt(st *sql.NullTime) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetDir(h http.Dir) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetDuration(t time.Duration) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetIP(n net.IP) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetInt(i int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetInt16(i int16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetInt32(i int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetInt64(i int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetInt8(i int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetLink(s schema.Link) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetLinkOther(s *schema.Link) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetMAC(s schema.MAC) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNdir(h http.Dir) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNilPair(s *schema.Pair) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableActive(s *schema.Status) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableBigInt(si *schema.BigInt) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableDatetime(t *time.Time) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableDecimal(f *float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableDir(h *http.Dir) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableDuration(t *time.Duration) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableInt(i int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableInt16(i int16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableInt32(i int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableInt64(i int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableInt8(i int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableLink(s *schema.Link) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableMAC(s *schema.MAC) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableNdir(h *http.Dir) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableNillableInt(i *int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableNillableInt16(i *int16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableNillableInt32(i *int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableNillableInt64(i *int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableNillableInt8(i *int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableNullActive(s *schema.Status) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalFloat(f *float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalFloat32(f *float32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalInt(i *int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalInt16(i *int16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalInt32(i *int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalInt64(i *int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalInt8(i *int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalUint(u *uint) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalUint16(u *uint16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalUint32(u *uint32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalUint64(u *uint64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableOptionalUint8(u *uint8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillablePair(s *schema.Pair) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillablePassword(s *string) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillablePasswordOther(s *schema.Password) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillablePriority(r *role.Priority) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableRole(r *role.Role) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableSchemaFloat(s *schema.Float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableSchemaFloat32(s *schema.Float32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableSchemaInt(s *schema.Int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableSchemaInt64(s *schema.Int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableSchemaInt8(s *schema.Int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableState(f *fieldtype.State) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableStr(ss *sql.NullString) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableStringScanner(ss *schema.StringScanner) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableTriple(s *schema.Triple) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableUUID(u uuid.UUID) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableValidateOptionalInt32(i *int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNillableVstring(ss *schema.VString) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNullActive(s schema.Status) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNullFloat(sf *sql.NullFloat64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNullInt64(si *sql.NullInt64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNullLink(s *schema.Link) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetNullStr(ss *sql.NullString) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalFloat(f float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalFloat32(f float32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalInt(i int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalInt16(i int16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalInt32(i int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalInt64(i int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalInt8(i int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalUint(u uint) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalUint16(u uint16) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalUint32(u uint32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalUint64(u uint64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetOptionalUint8(u uint8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetPair(s schema.Pair) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetPassword(s string) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetPasswordOther(s schema.Password) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetPriority(r role.Priority) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetRole(r role.Role) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetSchemaFloat(s schema.Float64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetSchemaFloat32(s schema.Float32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetSchemaInt(s schema.Int) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetSchemaInt64(s schema.Int64) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetSchemaInt8(s schema.Int8) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetState(f fieldtype.State) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetStr(ss sql.NullString) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetStringArray(s schema.Strings) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetStringScanner(ss schema.StringScanner) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetStrings(s []string) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetTriple(s schema.Triple) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetUUID(u uuid.UUID) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetValidateOptionalInt32(i int32) *FieldTypeUpdateOne + func (ftuo *FieldTypeUpdateOne) SetVstring(ss schema.VString) *FieldTypeUpdateOne + type FieldTypes []*FieldType + type File struct + Edges FileEdges + Group string + ID int + Name string + Op bool + Size int + User *string + func (f *File) QueryField() *FieldTypeQuery + func (f *File) QueryOwner() *UserQuery + func (f *File) QueryType() *FileTypeQuery + func (f *File) String() string + func (f *File) Unwrap() *File + func (f *File) Update() *FileUpdateOne + type FileClient struct + func NewFileClient(c config) *FileClient + func (c *FileClient) Create() *FileCreate + func (c *FileClient) CreateBulk(builders ...*FileCreate) *FileCreateBulk + func (c *FileClient) Delete() *FileDelete + func (c *FileClient) DeleteOne(f *File) *FileDeleteOne + func (c *FileClient) DeleteOneID(id int) *FileDeleteOne + func (c *FileClient) Get(ctx context.Context, id int) (*File, error) + func (c *FileClient) GetX(ctx context.Context, id int) *File + func (c *FileClient) Hooks() []Hook + func (c *FileClient) Query() *FileQuery + func (c *FileClient) QueryField(f *File) *FieldTypeQuery + func (c *FileClient) QueryOwner(f *File) *UserQuery + func (c *FileClient) QueryType(f *File) *FileTypeQuery + func (c *FileClient) Update() *FileUpdate + func (c *FileClient) UpdateOne(f *File) *FileUpdateOne + func (c *FileClient) UpdateOneID(id int) *FileUpdateOne + func (c *FileClient) Use(hooks ...Hook) + type FileCreate struct + func (fc *FileCreate) AddField(f ...*FieldType) *FileCreate + func (fc *FileCreate) AddFieldIDs(ids ...int) *FileCreate + func (fc *FileCreate) Mutation() *FileMutation + func (fc *FileCreate) Save(ctx context.Context) (*File, error) + func (fc *FileCreate) SaveX(ctx context.Context) *File + func (fc *FileCreate) SetGroup(s string) *FileCreate + func (fc *FileCreate) SetName(s string) *FileCreate + func (fc *FileCreate) SetNillableGroup(s *string) *FileCreate + func (fc *FileCreate) SetNillableOp(b *bool) *FileCreate + func (fc *FileCreate) SetNillableOwnerID(id *int) *FileCreate + func (fc *FileCreate) SetNillableSize(i *int) *FileCreate + func (fc *FileCreate) SetNillableTypeID(id *int) *FileCreate + func (fc *FileCreate) SetNillableUser(s *string) *FileCreate + func (fc *FileCreate) SetOp(b bool) *FileCreate + func (fc *FileCreate) SetOwner(u *User) *FileCreate + func (fc *FileCreate) SetOwnerID(id int) *FileCreate + func (fc *FileCreate) SetSize(i int) *FileCreate + func (fc *FileCreate) SetType(f *FileType) *FileCreate + func (fc *FileCreate) SetTypeID(id int) *FileCreate + func (fc *FileCreate) SetUser(s string) *FileCreate + type FileCreateBulk struct + func (fcb *FileCreateBulk) Save(ctx context.Context) ([]*File, error) + func (fcb *FileCreateBulk) SaveX(ctx context.Context) []*File + type FileDelete struct + func (fd *FileDelete) Exec(ctx context.Context) (int, error) + func (fd *FileDelete) ExecX(ctx context.Context) int + func (fd *FileDelete) Where(ps ...predicate.File) *FileDelete + type FileDeleteOne struct + func (fdo *FileDeleteOne) Exec(ctx context.Context) error + func (fdo *FileDeleteOne) ExecX(ctx context.Context) + type FileEdges struct + Field []*FieldType + Owner *User + Type *FileType + func (e FileEdges) FieldOrErr() ([]*FieldType, error) + func (e FileEdges) OwnerOrErr() (*User, error) + func (e FileEdges) TypeOrErr() (*FileType, error) + type FileFilter struct + func (f *FileFilter) Where(p entql.P) + func (f *FileFilter) WhereGroup(p entql.StringP) + func (f *FileFilter) WhereHasField() + func (f *FileFilter) WhereHasFieldWith(preds ...predicate.FieldType) + func (f *FileFilter) WhereHasOwner() + func (f *FileFilter) WhereHasOwnerWith(preds ...predicate.User) + func (f *FileFilter) WhereHasType() + func (f *FileFilter) WhereHasTypeWith(preds ...predicate.FileType) + func (f *FileFilter) WhereID(p entql.IntP) + func (f *FileFilter) WhereName(p entql.StringP) + func (f *FileFilter) WhereOp(p entql.BoolP) + func (f *FileFilter) WhereSize(p entql.IntP) + func (f *FileFilter) WhereUser(p entql.StringP) + type FileGroupBy struct + func (fgb *FileGroupBy) Aggregate(fns ...AggregateFunc) *FileGroupBy + func (fgb *FileGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (fgb *FileGroupBy) BoolX(ctx context.Context) bool + func (fgb *FileGroupBy) Bools(ctx context.Context) ([]bool, error) + func (fgb *FileGroupBy) BoolsX(ctx context.Context) []bool + func (fgb *FileGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (fgb *FileGroupBy) Float64X(ctx context.Context) float64 + func (fgb *FileGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (fgb *FileGroupBy) Float64sX(ctx context.Context) []float64 + func (fgb *FileGroupBy) Int(ctx context.Context) (_ int, err error) + func (fgb *FileGroupBy) IntX(ctx context.Context) int + func (fgb *FileGroupBy) Ints(ctx context.Context) ([]int, error) + func (fgb *FileGroupBy) IntsX(ctx context.Context) []int + func (fgb *FileGroupBy) Scan(ctx context.Context, v interface{}) error + func (fgb *FileGroupBy) ScanX(ctx context.Context, v interface{}) + func (fgb *FileGroupBy) String(ctx context.Context) (_ string, err error) + func (fgb *FileGroupBy) StringX(ctx context.Context) string + func (fgb *FileGroupBy) Strings(ctx context.Context) ([]string, error) + func (fgb *FileGroupBy) StringsX(ctx context.Context) []string + type FileMutation struct + func (m *FileMutation) AddField(name string, value ent.Value) error + func (m *FileMutation) AddFieldIDs(ids ...int) + func (m *FileMutation) AddSize(i int) + func (m *FileMutation) AddedEdges() []string + func (m *FileMutation) AddedField(name string) (ent.Value, bool) + func (m *FileMutation) AddedFields() []string + func (m *FileMutation) AddedIDs(name string) []ent.Value + func (m *FileMutation) AddedSize() (r int, exists bool) + func (m *FileMutation) ClearEdge(name string) error + func (m *FileMutation) ClearField(name string) error + func (m *FileMutation) ClearFieldEdge() + func (m *FileMutation) ClearGroup() + func (m *FileMutation) ClearOp() + func (m *FileMutation) ClearOwner() + func (m *FileMutation) ClearType() + func (m *FileMutation) ClearUser() + func (m *FileMutation) ClearedEdges() []string + func (m *FileMutation) ClearedFields() []string + func (m *FileMutation) EdgeCleared(name string) bool + func (m *FileMutation) Field(name string) (ent.Value, bool) + func (m *FileMutation) FieldCleared(name string) bool + func (m *FileMutation) FieldEdgeCleared() bool + func (m *FileMutation) FieldIDs() (ids []int) + func (m *FileMutation) Fields() []string + func (m *FileMutation) Filter() *FileFilter + func (m *FileMutation) GetOp() (r bool, exists bool) + func (m *FileMutation) Group() (r string, exists bool) + func (m *FileMutation) GroupCleared() bool + func (m *FileMutation) ID() (id int, exists bool) + func (m *FileMutation) Name() (r string, exists bool) + func (m *FileMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *FileMutation) OldGroup(ctx context.Context) (v string, err error) + func (m *FileMutation) OldName(ctx context.Context) (v string, err error) + func (m *FileMutation) OldOp(ctx context.Context) (v bool, err error) + func (m *FileMutation) OldSize(ctx context.Context) (v int, err error) + func (m *FileMutation) OldUser(ctx context.Context) (v *string, err error) + func (m *FileMutation) Op() Op + func (m *FileMutation) OpCleared() bool + func (m *FileMutation) OwnerCleared() bool + func (m *FileMutation) OwnerID() (id int, exists bool) + func (m *FileMutation) OwnerIDs() (ids []int) + func (m *FileMutation) RemoveFieldIDs(ids ...int) + func (m *FileMutation) RemovedEdges() []string + func (m *FileMutation) RemovedFieldIDs() (ids []int) + func (m *FileMutation) RemovedIDs(name string) []ent.Value + func (m *FileMutation) ResetEdge(name string) error + func (m *FileMutation) ResetField(name string) error + func (m *FileMutation) ResetFieldEdge() + func (m *FileMutation) ResetGroup() + func (m *FileMutation) ResetName() + func (m *FileMutation) ResetOp() + func (m *FileMutation) ResetOwner() + func (m *FileMutation) ResetSize() + func (m *FileMutation) ResetType() + func (m *FileMutation) ResetUser() + func (m *FileMutation) SetField(name string, value ent.Value) error + func (m *FileMutation) SetGroup(s string) + func (m *FileMutation) SetName(s string) + func (m *FileMutation) SetOp(b bool) + func (m *FileMutation) SetOwnerID(id int) + func (m *FileMutation) SetSize(i int) + func (m *FileMutation) SetTypeID(id int) + func (m *FileMutation) SetUser(s string) + func (m *FileMutation) Size() (r int, exists bool) + func (m *FileMutation) Type() string + func (m *FileMutation) TypeCleared() bool + func (m *FileMutation) TypeID() (id int, exists bool) + func (m *FileMutation) TypeIDs() (ids []int) + func (m *FileMutation) User() (r string, exists bool) + func (m *FileMutation) UserCleared() bool + func (m *FileMutation) Where(ps ...predicate.File) + func (m FileMutation) Client() *Client + func (m FileMutation) Tx() (*Tx, error) + type FileQuery struct + func (fq *FileQuery) All(ctx context.Context) ([]*File, error) + func (fq *FileQuery) AllX(ctx context.Context) []*File + func (fq *FileQuery) Clone() *FileQuery + func (fq *FileQuery) Count(ctx context.Context) (int, error) + func (fq *FileQuery) CountX(ctx context.Context) int + func (fq *FileQuery) Exist(ctx context.Context) (bool, error) + func (fq *FileQuery) ExistX(ctx context.Context) bool + func (fq *FileQuery) Filter() *FileFilter + func (fq *FileQuery) First(ctx context.Context) (*File, error) + func (fq *FileQuery) FirstID(ctx context.Context) (id int, err error) + func (fq *FileQuery) FirstIDX(ctx context.Context) int + func (fq *FileQuery) FirstX(ctx context.Context) *File + func (fq *FileQuery) ForShare(opts ...sql.LockOption) *FileQuery + func (fq *FileQuery) ForUpdate(opts ...sql.LockOption) *FileQuery + func (fq *FileQuery) GroupBy(field string, fields ...string) *FileGroupBy + func (fq *FileQuery) IDs(ctx context.Context) ([]int, error) + func (fq *FileQuery) IDsX(ctx context.Context) []int + func (fq *FileQuery) Limit(limit int) *FileQuery + func (fq *FileQuery) Modify(modifiers ...func(s *sql.Selector)) *FileSelect + func (fq *FileQuery) Offset(offset int) *FileQuery + func (fq *FileQuery) Only(ctx context.Context) (*File, error) + func (fq *FileQuery) OnlyID(ctx context.Context) (id int, err error) + func (fq *FileQuery) OnlyIDX(ctx context.Context) int + func (fq *FileQuery) OnlyX(ctx context.Context) *File + func (fq *FileQuery) Order(o ...OrderFunc) *FileQuery + func (fq *FileQuery) QueryField() *FieldTypeQuery + func (fq *FileQuery) QueryOwner() *UserQuery + func (fq *FileQuery) QueryType() *FileTypeQuery + func (fq *FileQuery) Select(fields ...string) *FileSelect + func (fq *FileQuery) Unique(unique bool) *FileQuery + func (fq *FileQuery) Where(ps ...predicate.File) *FileQuery + func (fq *FileQuery) WithField(opts ...func(*FieldTypeQuery)) *FileQuery + func (fq *FileQuery) WithOwner(opts ...func(*UserQuery)) *FileQuery + func (fq *FileQuery) WithType(opts ...func(*FileTypeQuery)) *FileQuery + type FileSelect struct + func (fs *FileSelect) Bool(ctx context.Context) (_ bool, err error) + func (fs *FileSelect) BoolX(ctx context.Context) bool + func (fs *FileSelect) Bools(ctx context.Context) ([]bool, error) + func (fs *FileSelect) BoolsX(ctx context.Context) []bool + func (fs *FileSelect) Float64(ctx context.Context) (_ float64, err error) + func (fs *FileSelect) Float64X(ctx context.Context) float64 + func (fs *FileSelect) Float64s(ctx context.Context) ([]float64, error) + func (fs *FileSelect) Float64sX(ctx context.Context) []float64 + func (fs *FileSelect) Int(ctx context.Context) (_ int, err error) + func (fs *FileSelect) IntX(ctx context.Context) int + func (fs *FileSelect) Ints(ctx context.Context) ([]int, error) + func (fs *FileSelect) IntsX(ctx context.Context) []int + func (fs *FileSelect) Modify(modifiers ...func(s *sql.Selector)) *FileSelect + func (fs *FileSelect) Scan(ctx context.Context, v interface{}) error + func (fs *FileSelect) ScanX(ctx context.Context, v interface{}) + func (fs *FileSelect) String(ctx context.Context) (_ string, err error) + func (fs *FileSelect) StringX(ctx context.Context) string + func (fs *FileSelect) Strings(ctx context.Context) ([]string, error) + func (fs *FileSelect) StringsX(ctx context.Context) []string + type FileType struct + Edges FileTypeEdges + ID int + Name string + State filetype.State + Type filetype.Type + func (ft *FileType) QueryFiles() *FileQuery + func (ft *FileType) String() string + func (ft *FileType) Unwrap() *FileType + func (ft *FileType) Update() *FileTypeUpdateOne + type FileTypeClient struct + func NewFileTypeClient(c config) *FileTypeClient + func (c *FileTypeClient) Create() *FileTypeCreate + func (c *FileTypeClient) CreateBulk(builders ...*FileTypeCreate) *FileTypeCreateBulk + func (c *FileTypeClient) Delete() *FileTypeDelete + func (c *FileTypeClient) DeleteOne(ft *FileType) *FileTypeDeleteOne + func (c *FileTypeClient) DeleteOneID(id int) *FileTypeDeleteOne + func (c *FileTypeClient) Get(ctx context.Context, id int) (*FileType, error) + func (c *FileTypeClient) GetX(ctx context.Context, id int) *FileType + func (c *FileTypeClient) Hooks() []Hook + func (c *FileTypeClient) Query() *FileTypeQuery + func (c *FileTypeClient) QueryFiles(ft *FileType) *FileQuery + func (c *FileTypeClient) Update() *FileTypeUpdate + func (c *FileTypeClient) UpdateOne(ft *FileType) *FileTypeUpdateOne + func (c *FileTypeClient) UpdateOneID(id int) *FileTypeUpdateOne + func (c *FileTypeClient) Use(hooks ...Hook) + type FileTypeCreate struct + func (ftc *FileTypeCreate) AddFileIDs(ids ...int) *FileTypeCreate + func (ftc *FileTypeCreate) AddFiles(f ...*File) *FileTypeCreate + func (ftc *FileTypeCreate) Mutation() *FileTypeMutation + func (ftc *FileTypeCreate) Save(ctx context.Context) (*FileType, error) + func (ftc *FileTypeCreate) SaveX(ctx context.Context) *FileType + func (ftc *FileTypeCreate) SetName(s string) *FileTypeCreate + func (ftc *FileTypeCreate) SetNillableState(f *filetype.State) *FileTypeCreate + func (ftc *FileTypeCreate) SetNillableType(f *filetype.Type) *FileTypeCreate + func (ftc *FileTypeCreate) SetState(f filetype.State) *FileTypeCreate + func (ftc *FileTypeCreate) SetType(f filetype.Type) *FileTypeCreate + type FileTypeCreateBulk struct + func (ftcb *FileTypeCreateBulk) Save(ctx context.Context) ([]*FileType, error) + func (ftcb *FileTypeCreateBulk) SaveX(ctx context.Context) []*FileType + type FileTypeDelete struct + func (ftd *FileTypeDelete) Exec(ctx context.Context) (int, error) + func (ftd *FileTypeDelete) ExecX(ctx context.Context) int + func (ftd *FileTypeDelete) Where(ps ...predicate.FileType) *FileTypeDelete + type FileTypeDeleteOne struct + func (ftdo *FileTypeDeleteOne) Exec(ctx context.Context) error + func (ftdo *FileTypeDeleteOne) ExecX(ctx context.Context) + type FileTypeEdges struct + Files []*File + func (e FileTypeEdges) FilesOrErr() ([]*File, error) + type FileTypeFilter struct + func (f *FileTypeFilter) Where(p entql.P) + func (f *FileTypeFilter) WhereHasFiles() + func (f *FileTypeFilter) WhereHasFilesWith(preds ...predicate.File) + func (f *FileTypeFilter) WhereID(p entql.IntP) + func (f *FileTypeFilter) WhereName(p entql.StringP) + func (f *FileTypeFilter) WhereState(p entql.StringP) + func (f *FileTypeFilter) WhereType(p entql.StringP) + type FileTypeGroupBy struct + func (ftgb *FileTypeGroupBy) Aggregate(fns ...AggregateFunc) *FileTypeGroupBy + func (ftgb *FileTypeGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ftgb *FileTypeGroupBy) BoolX(ctx context.Context) bool + func (ftgb *FileTypeGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ftgb *FileTypeGroupBy) BoolsX(ctx context.Context) []bool + func (ftgb *FileTypeGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ftgb *FileTypeGroupBy) Float64X(ctx context.Context) float64 + func (ftgb *FileTypeGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ftgb *FileTypeGroupBy) Float64sX(ctx context.Context) []float64 + func (ftgb *FileTypeGroupBy) Int(ctx context.Context) (_ int, err error) + func (ftgb *FileTypeGroupBy) IntX(ctx context.Context) int + func (ftgb *FileTypeGroupBy) Ints(ctx context.Context) ([]int, error) + func (ftgb *FileTypeGroupBy) IntsX(ctx context.Context) []int + func (ftgb *FileTypeGroupBy) Scan(ctx context.Context, v interface{}) error + func (ftgb *FileTypeGroupBy) ScanX(ctx context.Context, v interface{}) + func (ftgb *FileTypeGroupBy) String(ctx context.Context) (_ string, err error) + func (ftgb *FileTypeGroupBy) StringX(ctx context.Context) string + func (ftgb *FileTypeGroupBy) Strings(ctx context.Context) ([]string, error) + func (ftgb *FileTypeGroupBy) StringsX(ctx context.Context) []string + type FileTypeMutation struct + func (m *FileTypeMutation) AddField(name string, value ent.Value) error + func (m *FileTypeMutation) AddFileIDs(ids ...int) + func (m *FileTypeMutation) AddedEdges() []string + func (m *FileTypeMutation) AddedField(name string) (ent.Value, bool) + func (m *FileTypeMutation) AddedFields() []string + func (m *FileTypeMutation) AddedIDs(name string) []ent.Value + func (m *FileTypeMutation) ClearEdge(name string) error + func (m *FileTypeMutation) ClearField(name string) error + func (m *FileTypeMutation) ClearFiles() + func (m *FileTypeMutation) ClearedEdges() []string + func (m *FileTypeMutation) ClearedFields() []string + func (m *FileTypeMutation) EdgeCleared(name string) bool + func (m *FileTypeMutation) Field(name string) (ent.Value, bool) + func (m *FileTypeMutation) FieldCleared(name string) bool + func (m *FileTypeMutation) Fields() []string + func (m *FileTypeMutation) FilesCleared() bool + func (m *FileTypeMutation) FilesIDs() (ids []int) + func (m *FileTypeMutation) Filter() *FileTypeFilter + func (m *FileTypeMutation) GetType() (r filetype.Type, exists bool) + func (m *FileTypeMutation) ID() (id int, exists bool) + func (m *FileTypeMutation) Name() (r string, exists bool) + func (m *FileTypeMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *FileTypeMutation) OldName(ctx context.Context) (v string, err error) + func (m *FileTypeMutation) OldState(ctx context.Context) (v filetype.State, err error) + func (m *FileTypeMutation) OldType(ctx context.Context) (v filetype.Type, err error) + func (m *FileTypeMutation) Op() Op + func (m *FileTypeMutation) RemoveFileIDs(ids ...int) + func (m *FileTypeMutation) RemovedEdges() []string + func (m *FileTypeMutation) RemovedFilesIDs() (ids []int) + func (m *FileTypeMutation) RemovedIDs(name string) []ent.Value + func (m *FileTypeMutation) ResetEdge(name string) error + func (m *FileTypeMutation) ResetField(name string) error + func (m *FileTypeMutation) ResetFiles() + func (m *FileTypeMutation) ResetName() + func (m *FileTypeMutation) ResetState() + func (m *FileTypeMutation) ResetType() + func (m *FileTypeMutation) SetField(name string, value ent.Value) error + func (m *FileTypeMutation) SetName(s string) + func (m *FileTypeMutation) SetState(f filetype.State) + func (m *FileTypeMutation) SetType(f filetype.Type) + func (m *FileTypeMutation) State() (r filetype.State, exists bool) + func (m *FileTypeMutation) Type() string + func (m *FileTypeMutation) Where(ps ...predicate.FileType) + func (m FileTypeMutation) Client() *Client + func (m FileTypeMutation) Tx() (*Tx, error) + type FileTypeQuery struct + func (ftq *FileTypeQuery) All(ctx context.Context) ([]*FileType, error) + func (ftq *FileTypeQuery) AllX(ctx context.Context) []*FileType + func (ftq *FileTypeQuery) Clone() *FileTypeQuery + func (ftq *FileTypeQuery) Count(ctx context.Context) (int, error) + func (ftq *FileTypeQuery) CountX(ctx context.Context) int + func (ftq *FileTypeQuery) Exist(ctx context.Context) (bool, error) + func (ftq *FileTypeQuery) ExistX(ctx context.Context) bool + func (ftq *FileTypeQuery) Filter() *FileTypeFilter + func (ftq *FileTypeQuery) First(ctx context.Context) (*FileType, error) + func (ftq *FileTypeQuery) FirstID(ctx context.Context) (id int, err error) + func (ftq *FileTypeQuery) FirstIDX(ctx context.Context) int + func (ftq *FileTypeQuery) FirstX(ctx context.Context) *FileType + func (ftq *FileTypeQuery) ForShare(opts ...sql.LockOption) *FileTypeQuery + func (ftq *FileTypeQuery) ForUpdate(opts ...sql.LockOption) *FileTypeQuery + func (ftq *FileTypeQuery) GroupBy(field string, fields ...string) *FileTypeGroupBy + func (ftq *FileTypeQuery) IDs(ctx context.Context) ([]int, error) + func (ftq *FileTypeQuery) IDsX(ctx context.Context) []int + func (ftq *FileTypeQuery) Limit(limit int) *FileTypeQuery + func (ftq *FileTypeQuery) Modify(modifiers ...func(s *sql.Selector)) *FileTypeSelect + func (ftq *FileTypeQuery) Offset(offset int) *FileTypeQuery + func (ftq *FileTypeQuery) Only(ctx context.Context) (*FileType, error) + func (ftq *FileTypeQuery) OnlyID(ctx context.Context) (id int, err error) + func (ftq *FileTypeQuery) OnlyIDX(ctx context.Context) int + func (ftq *FileTypeQuery) OnlyX(ctx context.Context) *FileType + func (ftq *FileTypeQuery) Order(o ...OrderFunc) *FileTypeQuery + func (ftq *FileTypeQuery) QueryFiles() *FileQuery + func (ftq *FileTypeQuery) Select(fields ...string) *FileTypeSelect + func (ftq *FileTypeQuery) Unique(unique bool) *FileTypeQuery + func (ftq *FileTypeQuery) Where(ps ...predicate.FileType) *FileTypeQuery + func (ftq *FileTypeQuery) WithFiles(opts ...func(*FileQuery)) *FileTypeQuery + type FileTypeSelect struct + func (fts *FileTypeSelect) Bool(ctx context.Context) (_ bool, err error) + func (fts *FileTypeSelect) BoolX(ctx context.Context) bool + func (fts *FileTypeSelect) Bools(ctx context.Context) ([]bool, error) + func (fts *FileTypeSelect) BoolsX(ctx context.Context) []bool + func (fts *FileTypeSelect) Float64(ctx context.Context) (_ float64, err error) + func (fts *FileTypeSelect) Float64X(ctx context.Context) float64 + func (fts *FileTypeSelect) Float64s(ctx context.Context) ([]float64, error) + func (fts *FileTypeSelect) Float64sX(ctx context.Context) []float64 + func (fts *FileTypeSelect) Int(ctx context.Context) (_ int, err error) + func (fts *FileTypeSelect) IntX(ctx context.Context) int + func (fts *FileTypeSelect) Ints(ctx context.Context) ([]int, error) + func (fts *FileTypeSelect) IntsX(ctx context.Context) []int + func (fts *FileTypeSelect) Modify(modifiers ...func(s *sql.Selector)) *FileTypeSelect + func (fts *FileTypeSelect) Scan(ctx context.Context, v interface{}) error + func (fts *FileTypeSelect) ScanX(ctx context.Context, v interface{}) + func (fts *FileTypeSelect) String(ctx context.Context) (_ string, err error) + func (fts *FileTypeSelect) StringX(ctx context.Context) string + func (fts *FileTypeSelect) Strings(ctx context.Context) ([]string, error) + func (fts *FileTypeSelect) StringsX(ctx context.Context) []string + type FileTypeUpdate struct + func (ftu *FileTypeUpdate) AddFileIDs(ids ...int) *FileTypeUpdate + func (ftu *FileTypeUpdate) AddFiles(f ...*File) *FileTypeUpdate + func (ftu *FileTypeUpdate) ClearFiles() *FileTypeUpdate + func (ftu *FileTypeUpdate) Exec(ctx context.Context) error + func (ftu *FileTypeUpdate) ExecX(ctx context.Context) + func (ftu *FileTypeUpdate) Mutation() *FileTypeMutation + func (ftu *FileTypeUpdate) RemoveFileIDs(ids ...int) *FileTypeUpdate + func (ftu *FileTypeUpdate) RemoveFiles(f ...*File) *FileTypeUpdate + func (ftu *FileTypeUpdate) Save(ctx context.Context) (int, error) + func (ftu *FileTypeUpdate) SaveX(ctx context.Context) int + func (ftu *FileTypeUpdate) SetName(s string) *FileTypeUpdate + func (ftu *FileTypeUpdate) SetNillableState(f *filetype.State) *FileTypeUpdate + func (ftu *FileTypeUpdate) SetNillableType(f *filetype.Type) *FileTypeUpdate + func (ftu *FileTypeUpdate) SetState(f filetype.State) *FileTypeUpdate + func (ftu *FileTypeUpdate) SetType(f filetype.Type) *FileTypeUpdate + func (ftu *FileTypeUpdate) Where(ps ...predicate.FileType) *FileTypeUpdate + type FileTypeUpdateOne struct + func (ftuo *FileTypeUpdateOne) AddFileIDs(ids ...int) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) AddFiles(f ...*File) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) ClearFiles() *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) Exec(ctx context.Context) error + func (ftuo *FileTypeUpdateOne) ExecX(ctx context.Context) + func (ftuo *FileTypeUpdateOne) Mutation() *FileTypeMutation + func (ftuo *FileTypeUpdateOne) RemoveFileIDs(ids ...int) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) RemoveFiles(f ...*File) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) Save(ctx context.Context) (*FileType, error) + func (ftuo *FileTypeUpdateOne) SaveX(ctx context.Context) *FileType + func (ftuo *FileTypeUpdateOne) Select(field string, fields ...string) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) SetName(s string) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) SetNillableState(f *filetype.State) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) SetNillableType(f *filetype.Type) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) SetState(f filetype.State) *FileTypeUpdateOne + func (ftuo *FileTypeUpdateOne) SetType(f filetype.Type) *FileTypeUpdateOne + type FileTypes []*FileType + type FileUpdate struct + func (fu *FileUpdate) AddField(f ...*FieldType) *FileUpdate + func (fu *FileUpdate) AddFieldIDs(ids ...int) *FileUpdate + func (fu *FileUpdate) AddSize(i int) *FileUpdate + func (fu *FileUpdate) ClearFieldEdge() *FileUpdate + func (fu *FileUpdate) ClearGroup() *FileUpdate + func (fu *FileUpdate) ClearOp() *FileUpdate + func (fu *FileUpdate) ClearOwner() *FileUpdate + func (fu *FileUpdate) ClearType() *FileUpdate + func (fu *FileUpdate) ClearUser() *FileUpdate + func (fu *FileUpdate) Exec(ctx context.Context) error + func (fu *FileUpdate) ExecX(ctx context.Context) + func (fu *FileUpdate) Mutation() *FileMutation + func (fu *FileUpdate) RemoveField(f ...*FieldType) *FileUpdate + func (fu *FileUpdate) RemoveFieldIDs(ids ...int) *FileUpdate + func (fu *FileUpdate) Save(ctx context.Context) (int, error) + func (fu *FileUpdate) SaveX(ctx context.Context) int + func (fu *FileUpdate) SetGroup(s string) *FileUpdate + func (fu *FileUpdate) SetName(s string) *FileUpdate + func (fu *FileUpdate) SetNillableGroup(s *string) *FileUpdate + func (fu *FileUpdate) SetNillableOp(b *bool) *FileUpdate + func (fu *FileUpdate) SetNillableOwnerID(id *int) *FileUpdate + func (fu *FileUpdate) SetNillableSize(i *int) *FileUpdate + func (fu *FileUpdate) SetNillableTypeID(id *int) *FileUpdate + func (fu *FileUpdate) SetNillableUser(s *string) *FileUpdate + func (fu *FileUpdate) SetOp(b bool) *FileUpdate + func (fu *FileUpdate) SetOwner(u *User) *FileUpdate + func (fu *FileUpdate) SetOwnerID(id int) *FileUpdate + func (fu *FileUpdate) SetSize(i int) *FileUpdate + func (fu *FileUpdate) SetType(f *FileType) *FileUpdate + func (fu *FileUpdate) SetTypeID(id int) *FileUpdate + func (fu *FileUpdate) SetUser(s string) *FileUpdate + func (fu *FileUpdate) Where(ps ...predicate.File) *FileUpdate + type FileUpdateOne struct + func (fuo *FileUpdateOne) AddField(f ...*FieldType) *FileUpdateOne + func (fuo *FileUpdateOne) AddFieldIDs(ids ...int) *FileUpdateOne + func (fuo *FileUpdateOne) AddSize(i int) *FileUpdateOne + func (fuo *FileUpdateOne) ClearFieldEdge() *FileUpdateOne + func (fuo *FileUpdateOne) ClearGroup() *FileUpdateOne + func (fuo *FileUpdateOne) ClearOp() *FileUpdateOne + func (fuo *FileUpdateOne) ClearOwner() *FileUpdateOne + func (fuo *FileUpdateOne) ClearType() *FileUpdateOne + func (fuo *FileUpdateOne) ClearUser() *FileUpdateOne + func (fuo *FileUpdateOne) Exec(ctx context.Context) error + func (fuo *FileUpdateOne) ExecX(ctx context.Context) + func (fuo *FileUpdateOne) Mutation() *FileMutation + func (fuo *FileUpdateOne) RemoveField(f ...*FieldType) *FileUpdateOne + func (fuo *FileUpdateOne) RemoveFieldIDs(ids ...int) *FileUpdateOne + func (fuo *FileUpdateOne) Save(ctx context.Context) (*File, error) + func (fuo *FileUpdateOne) SaveX(ctx context.Context) *File + func (fuo *FileUpdateOne) Select(field string, fields ...string) *FileUpdateOne + func (fuo *FileUpdateOne) SetGroup(s string) *FileUpdateOne + func (fuo *FileUpdateOne) SetName(s string) *FileUpdateOne + func (fuo *FileUpdateOne) SetNillableGroup(s *string) *FileUpdateOne + func (fuo *FileUpdateOne) SetNillableOp(b *bool) *FileUpdateOne + func (fuo *FileUpdateOne) SetNillableOwnerID(id *int) *FileUpdateOne + func (fuo *FileUpdateOne) SetNillableSize(i *int) *FileUpdateOne + func (fuo *FileUpdateOne) SetNillableTypeID(id *int) *FileUpdateOne + func (fuo *FileUpdateOne) SetNillableUser(s *string) *FileUpdateOne + func (fuo *FileUpdateOne) SetOp(b bool) *FileUpdateOne + func (fuo *FileUpdateOne) SetOwner(u *User) *FileUpdateOne + func (fuo *FileUpdateOne) SetOwnerID(id int) *FileUpdateOne + func (fuo *FileUpdateOne) SetSize(i int) *FileUpdateOne + func (fuo *FileUpdateOne) SetType(f *FileType) *FileUpdateOne + func (fuo *FileUpdateOne) SetTypeID(id int) *FileUpdateOne + func (fuo *FileUpdateOne) SetUser(s string) *FileUpdateOne + type Files []*File + type Goods struct + ID int + func (_go *Goods) String() string + func (_go *Goods) Unwrap() *Goods + func (_go *Goods) Update() *GoodsUpdateOne + type GoodsClient struct + func NewGoodsClient(c config) *GoodsClient + func (c *GoodsClient) Create() *GoodsCreate + func (c *GoodsClient) CreateBulk(builders ...*GoodsCreate) *GoodsCreateBulk + func (c *GoodsClient) Delete() *GoodsDelete + func (c *GoodsClient) DeleteOne(_go *Goods) *GoodsDeleteOne + func (c *GoodsClient) DeleteOneID(id int) *GoodsDeleteOne + func (c *GoodsClient) Get(ctx context.Context, id int) (*Goods, error) + func (c *GoodsClient) GetX(ctx context.Context, id int) *Goods + func (c *GoodsClient) Hooks() []Hook + func (c *GoodsClient) Query() *GoodsQuery + func (c *GoodsClient) Update() *GoodsUpdate + func (c *GoodsClient) UpdateOne(_go *Goods) *GoodsUpdateOne + func (c *GoodsClient) UpdateOneID(id int) *GoodsUpdateOne + func (c *GoodsClient) Use(hooks ...Hook) + type GoodsCreate struct + func (gc *GoodsCreate) Mutation() *GoodsMutation + func (gc *GoodsCreate) Save(ctx context.Context) (*Goods, error) + func (gc *GoodsCreate) SaveX(ctx context.Context) *Goods + type GoodsCreateBulk struct + func (gcb *GoodsCreateBulk) Save(ctx context.Context) ([]*Goods, error) + func (gcb *GoodsCreateBulk) SaveX(ctx context.Context) []*Goods + type GoodsDelete struct + func (gd *GoodsDelete) Exec(ctx context.Context) (int, error) + func (gd *GoodsDelete) ExecX(ctx context.Context) int + func (gd *GoodsDelete) Where(ps ...predicate.Goods) *GoodsDelete + type GoodsDeleteOne struct + func (gdo *GoodsDeleteOne) Exec(ctx context.Context) error + func (gdo *GoodsDeleteOne) ExecX(ctx context.Context) + type GoodsFilter struct + func (f *GoodsFilter) Where(p entql.P) + func (f *GoodsFilter) WhereID(p entql.IntP) + type GoodsGroupBy struct + func (ggb *GoodsGroupBy) Aggregate(fns ...AggregateFunc) *GoodsGroupBy + func (ggb *GoodsGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ggb *GoodsGroupBy) BoolX(ctx context.Context) bool + func (ggb *GoodsGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ggb *GoodsGroupBy) BoolsX(ctx context.Context) []bool + func (ggb *GoodsGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ggb *GoodsGroupBy) Float64X(ctx context.Context) float64 + func (ggb *GoodsGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ggb *GoodsGroupBy) Float64sX(ctx context.Context) []float64 + func (ggb *GoodsGroupBy) Int(ctx context.Context) (_ int, err error) + func (ggb *GoodsGroupBy) IntX(ctx context.Context) int + func (ggb *GoodsGroupBy) Ints(ctx context.Context) ([]int, error) + func (ggb *GoodsGroupBy) IntsX(ctx context.Context) []int + func (ggb *GoodsGroupBy) Scan(ctx context.Context, v interface{}) error + func (ggb *GoodsGroupBy) ScanX(ctx context.Context, v interface{}) + func (ggb *GoodsGroupBy) String(ctx context.Context) (_ string, err error) + func (ggb *GoodsGroupBy) StringX(ctx context.Context) string + func (ggb *GoodsGroupBy) Strings(ctx context.Context) ([]string, error) + func (ggb *GoodsGroupBy) StringsX(ctx context.Context) []string + type GoodsMutation struct + func (m *GoodsMutation) AddField(name string, value ent.Value) error + func (m *GoodsMutation) AddedEdges() []string + func (m *GoodsMutation) AddedField(name string) (ent.Value, bool) + func (m *GoodsMutation) AddedFields() []string + func (m *GoodsMutation) AddedIDs(name string) []ent.Value + func (m *GoodsMutation) ClearEdge(name string) error + func (m *GoodsMutation) ClearField(name string) error + func (m *GoodsMutation) ClearedEdges() []string + func (m *GoodsMutation) ClearedFields() []string + func (m *GoodsMutation) EdgeCleared(name string) bool + func (m *GoodsMutation) Field(name string) (ent.Value, bool) + func (m *GoodsMutation) FieldCleared(name string) bool + func (m *GoodsMutation) Fields() []string + func (m *GoodsMutation) Filter() *GoodsFilter + func (m *GoodsMutation) ID() (id int, exists bool) + func (m *GoodsMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *GoodsMutation) Op() Op + func (m *GoodsMutation) RemovedEdges() []string + func (m *GoodsMutation) RemovedIDs(name string) []ent.Value + func (m *GoodsMutation) ResetEdge(name string) error + func (m *GoodsMutation) ResetField(name string) error + func (m *GoodsMutation) SetField(name string, value ent.Value) error + func (m *GoodsMutation) Type() string + func (m *GoodsMutation) Where(ps ...predicate.Goods) + func (m GoodsMutation) Client() *Client + func (m GoodsMutation) Tx() (*Tx, error) + type GoodsQuery struct + func (gq *GoodsQuery) All(ctx context.Context) ([]*Goods, error) + func (gq *GoodsQuery) AllX(ctx context.Context) []*Goods + func (gq *GoodsQuery) Clone() *GoodsQuery + func (gq *GoodsQuery) Count(ctx context.Context) (int, error) + func (gq *GoodsQuery) CountX(ctx context.Context) int + func (gq *GoodsQuery) Exist(ctx context.Context) (bool, error) + func (gq *GoodsQuery) ExistX(ctx context.Context) bool + func (gq *GoodsQuery) Filter() *GoodsFilter + func (gq *GoodsQuery) First(ctx context.Context) (*Goods, error) + func (gq *GoodsQuery) FirstID(ctx context.Context) (id int, err error) + func (gq *GoodsQuery) FirstIDX(ctx context.Context) int + func (gq *GoodsQuery) FirstX(ctx context.Context) *Goods + func (gq *GoodsQuery) ForShare(opts ...sql.LockOption) *GoodsQuery + func (gq *GoodsQuery) ForUpdate(opts ...sql.LockOption) *GoodsQuery + func (gq *GoodsQuery) GroupBy(field string, fields ...string) *GoodsGroupBy + func (gq *GoodsQuery) IDs(ctx context.Context) ([]int, error) + func (gq *GoodsQuery) IDsX(ctx context.Context) []int + func (gq *GoodsQuery) Limit(limit int) *GoodsQuery + func (gq *GoodsQuery) Modify(modifiers ...func(s *sql.Selector)) *GoodsSelect + func (gq *GoodsQuery) Offset(offset int) *GoodsQuery + func (gq *GoodsQuery) Only(ctx context.Context) (*Goods, error) + func (gq *GoodsQuery) OnlyID(ctx context.Context) (id int, err error) + func (gq *GoodsQuery) OnlyIDX(ctx context.Context) int + func (gq *GoodsQuery) OnlyX(ctx context.Context) *Goods + func (gq *GoodsQuery) Order(o ...OrderFunc) *GoodsQuery + func (gq *GoodsQuery) Select(fields ...string) *GoodsSelect + func (gq *GoodsQuery) Unique(unique bool) *GoodsQuery + func (gq *GoodsQuery) Where(ps ...predicate.Goods) *GoodsQuery + type GoodsSelect struct + func (gs *GoodsSelect) Bool(ctx context.Context) (_ bool, err error) + func (gs *GoodsSelect) BoolX(ctx context.Context) bool + func (gs *GoodsSelect) Bools(ctx context.Context) ([]bool, error) + func (gs *GoodsSelect) BoolsX(ctx context.Context) []bool + func (gs *GoodsSelect) Float64(ctx context.Context) (_ float64, err error) + func (gs *GoodsSelect) Float64X(ctx context.Context) float64 + func (gs *GoodsSelect) Float64s(ctx context.Context) ([]float64, error) + func (gs *GoodsSelect) Float64sX(ctx context.Context) []float64 + func (gs *GoodsSelect) Int(ctx context.Context) (_ int, err error) + func (gs *GoodsSelect) IntX(ctx context.Context) int + func (gs *GoodsSelect) Ints(ctx context.Context) ([]int, error) + func (gs *GoodsSelect) IntsX(ctx context.Context) []int + func (gs *GoodsSelect) Modify(modifiers ...func(s *sql.Selector)) *GoodsSelect + func (gs *GoodsSelect) Scan(ctx context.Context, v interface{}) error + func (gs *GoodsSelect) ScanX(ctx context.Context, v interface{}) + func (gs *GoodsSelect) String(ctx context.Context) (_ string, err error) + func (gs *GoodsSelect) StringX(ctx context.Context) string + func (gs *GoodsSelect) Strings(ctx context.Context) ([]string, error) + func (gs *GoodsSelect) StringsX(ctx context.Context) []string + type GoodsSlice []*Goods + type GoodsUpdate struct + func (gu *GoodsUpdate) Exec(ctx context.Context) error + func (gu *GoodsUpdate) ExecX(ctx context.Context) + func (gu *GoodsUpdate) Mutation() *GoodsMutation + func (gu *GoodsUpdate) Save(ctx context.Context) (int, error) + func (gu *GoodsUpdate) SaveX(ctx context.Context) int + func (gu *GoodsUpdate) Where(ps ...predicate.Goods) *GoodsUpdate + type GoodsUpdateOne struct + func (guo *GoodsUpdateOne) Exec(ctx context.Context) error + func (guo *GoodsUpdateOne) ExecX(ctx context.Context) + func (guo *GoodsUpdateOne) Mutation() *GoodsMutation + func (guo *GoodsUpdateOne) Save(ctx context.Context) (*Goods, error) + func (guo *GoodsUpdateOne) SaveX(ctx context.Context) *Goods + func (guo *GoodsUpdateOne) Select(field string, fields ...string) *GoodsUpdateOne + type Group struct + Active bool + Edges GroupEdges + Expire time.Time + ID int + MaxUsers int + Name string + Type *string + func (gr *Group) QueryBlocked() *UserQuery + func (gr *Group) QueryFiles() *FileQuery + func (gr *Group) QueryInfo() *GroupInfoQuery + func (gr *Group) QueryUsers() *UserQuery + func (gr *Group) String() string + func (gr *Group) Unwrap() *Group + func (gr *Group) Update() *GroupUpdateOne + 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 int) *GroupDeleteOne + func (c *GroupClient) Get(ctx context.Context, id int) (*Group, error) + func (c *GroupClient) GetX(ctx context.Context, id int) *Group + func (c *GroupClient) Hooks() []Hook + func (c *GroupClient) Query() *GroupQuery + func (c *GroupClient) QueryBlocked(gr *Group) *UserQuery + func (c *GroupClient) QueryFiles(gr *Group) *FileQuery + func (c *GroupClient) QueryInfo(gr *Group) *GroupInfoQuery + func (c *GroupClient) QueryUsers(gr *Group) *UserQuery + func (c *GroupClient) Update() *GroupUpdate + func (c *GroupClient) UpdateOne(gr *Group) *GroupUpdateOne + func (c *GroupClient) UpdateOneID(id int) *GroupUpdateOne + func (c *GroupClient) Use(hooks ...Hook) + type GroupCreate struct + func (gc *GroupCreate) AddBlocked(u ...*User) *GroupCreate + func (gc *GroupCreate) AddBlockedIDs(ids ...int) *GroupCreate + func (gc *GroupCreate) AddFileIDs(ids ...int) *GroupCreate + func (gc *GroupCreate) AddFiles(f ...*File) *GroupCreate + func (gc *GroupCreate) AddUserIDs(ids ...int) *GroupCreate + func (gc *GroupCreate) AddUsers(u ...*User) *GroupCreate + 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) SetActive(b bool) *GroupCreate + func (gc *GroupCreate) SetExpire(t time.Time) *GroupCreate + func (gc *GroupCreate) SetInfo(g *GroupInfo) *GroupCreate + func (gc *GroupCreate) SetInfoID(id int) *GroupCreate + func (gc *GroupCreate) SetMaxUsers(i int) *GroupCreate + func (gc *GroupCreate) SetName(s string) *GroupCreate + func (gc *GroupCreate) SetNillableActive(b *bool) *GroupCreate + func (gc *GroupCreate) SetNillableMaxUsers(i *int) *GroupCreate + func (gc *GroupCreate) SetNillableType(s *string) *GroupCreate + func (gc *GroupCreate) SetType(s string) *GroupCreate + type GroupCreateBulk struct + 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) + type GroupEdges struct + Blocked []*User + Files []*File + Info *GroupInfo + Users []*User + func (e GroupEdges) BlockedOrErr() ([]*User, error) + func (e GroupEdges) FilesOrErr() ([]*File, error) + func (e GroupEdges) InfoOrErr() (*GroupInfo, error) + func (e GroupEdges) UsersOrErr() ([]*User, error) + type GroupFilter struct + func (f *GroupFilter) Where(p entql.P) + func (f *GroupFilter) WhereActive(p entql.BoolP) + func (f *GroupFilter) WhereExpire(p entql.TimeP) + func (f *GroupFilter) WhereHasBlocked() + func (f *GroupFilter) WhereHasBlockedWith(preds ...predicate.User) + func (f *GroupFilter) WhereHasFiles() + func (f *GroupFilter) WhereHasFilesWith(preds ...predicate.File) + func (f *GroupFilter) WhereHasInfo() + func (f *GroupFilter) WhereHasInfoWith(preds ...predicate.GroupInfo) + func (f *GroupFilter) WhereHasUsers() + func (f *GroupFilter) WhereHasUsersWith(preds ...predicate.User) + func (f *GroupFilter) WhereID(p entql.IntP) + func (f *GroupFilter) WhereMaxUsers(p entql.IntP) + func (f *GroupFilter) WhereName(p entql.StringP) + func (f *GroupFilter) WhereType(p entql.StringP) + type GroupGroupBy struct + func (ggb *GroupGroupBy) Aggregate(fns ...AggregateFunc) *GroupGroupBy + func (ggb *GroupGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ggb *GroupGroupBy) BoolX(ctx context.Context) bool + func (ggb *GroupGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ggb *GroupGroupBy) BoolsX(ctx context.Context) []bool + func (ggb *GroupGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ggb *GroupGroupBy) Float64X(ctx context.Context) float64 + func (ggb *GroupGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ggb *GroupGroupBy) Float64sX(ctx context.Context) []float64 + func (ggb *GroupGroupBy) Int(ctx context.Context) (_ int, err error) + func (ggb *GroupGroupBy) IntX(ctx context.Context) int + func (ggb *GroupGroupBy) Ints(ctx context.Context) ([]int, error) + func (ggb *GroupGroupBy) IntsX(ctx context.Context) []int + func (ggb *GroupGroupBy) Scan(ctx context.Context, v interface{}) error + func (ggb *GroupGroupBy) ScanX(ctx context.Context, v interface{}) + func (ggb *GroupGroupBy) String(ctx context.Context) (_ string, err error) + func (ggb *GroupGroupBy) StringX(ctx context.Context) string + func (ggb *GroupGroupBy) Strings(ctx context.Context) ([]string, error) + func (ggb *GroupGroupBy) StringsX(ctx context.Context) []string + type GroupInfo struct + Desc string + Edges GroupInfoEdges + ID int + MaxUsers int + func (gi *GroupInfo) QueryGroups() *GroupQuery + func (gi *GroupInfo) String() string + func (gi *GroupInfo) Unwrap() *GroupInfo + func (gi *GroupInfo) Update() *GroupInfoUpdateOne + type GroupInfoClient struct + func NewGroupInfoClient(c config) *GroupInfoClient + func (c *GroupInfoClient) Create() *GroupInfoCreate + func (c *GroupInfoClient) CreateBulk(builders ...*GroupInfoCreate) *GroupInfoCreateBulk + func (c *GroupInfoClient) Delete() *GroupInfoDelete + func (c *GroupInfoClient) DeleteOne(gi *GroupInfo) *GroupInfoDeleteOne + func (c *GroupInfoClient) DeleteOneID(id int) *GroupInfoDeleteOne + func (c *GroupInfoClient) Get(ctx context.Context, id int) (*GroupInfo, error) + func (c *GroupInfoClient) GetX(ctx context.Context, id int) *GroupInfo + func (c *GroupInfoClient) Hooks() []Hook + func (c *GroupInfoClient) Query() *GroupInfoQuery + func (c *GroupInfoClient) QueryGroups(gi *GroupInfo) *GroupQuery + func (c *GroupInfoClient) Update() *GroupInfoUpdate + func (c *GroupInfoClient) UpdateOne(gi *GroupInfo) *GroupInfoUpdateOne + func (c *GroupInfoClient) UpdateOneID(id int) *GroupInfoUpdateOne + func (c *GroupInfoClient) Use(hooks ...Hook) + type GroupInfoCreate struct + func (gic *GroupInfoCreate) AddGroupIDs(ids ...int) *GroupInfoCreate + func (gic *GroupInfoCreate) AddGroups(g ...*Group) *GroupInfoCreate + func (gic *GroupInfoCreate) Mutation() *GroupInfoMutation + func (gic *GroupInfoCreate) Save(ctx context.Context) (*GroupInfo, error) + func (gic *GroupInfoCreate) SaveX(ctx context.Context) *GroupInfo + func (gic *GroupInfoCreate) SetDesc(s string) *GroupInfoCreate + func (gic *GroupInfoCreate) SetMaxUsers(i int) *GroupInfoCreate + func (gic *GroupInfoCreate) SetNillableMaxUsers(i *int) *GroupInfoCreate + type GroupInfoCreateBulk struct + func (gicb *GroupInfoCreateBulk) Save(ctx context.Context) ([]*GroupInfo, error) + func (gicb *GroupInfoCreateBulk) SaveX(ctx context.Context) []*GroupInfo + type GroupInfoDelete struct + func (gid *GroupInfoDelete) Exec(ctx context.Context) (int, error) + func (gid *GroupInfoDelete) ExecX(ctx context.Context) int + func (gid *GroupInfoDelete) Where(ps ...predicate.GroupInfo) *GroupInfoDelete + type GroupInfoDeleteOne struct + func (gido *GroupInfoDeleteOne) Exec(ctx context.Context) error + func (gido *GroupInfoDeleteOne) ExecX(ctx context.Context) + type GroupInfoEdges struct + Groups []*Group + func (e GroupInfoEdges) GroupsOrErr() ([]*Group, error) + type GroupInfoFilter struct + func (f *GroupInfoFilter) Where(p entql.P) + func (f *GroupInfoFilter) WhereDesc(p entql.StringP) + func (f *GroupInfoFilter) WhereHasGroups() + func (f *GroupInfoFilter) WhereHasGroupsWith(preds ...predicate.Group) + func (f *GroupInfoFilter) WhereID(p entql.IntP) + func (f *GroupInfoFilter) WhereMaxUsers(p entql.IntP) + type GroupInfoGroupBy struct + func (gigb *GroupInfoGroupBy) Aggregate(fns ...AggregateFunc) *GroupInfoGroupBy + func (gigb *GroupInfoGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (gigb *GroupInfoGroupBy) BoolX(ctx context.Context) bool + func (gigb *GroupInfoGroupBy) Bools(ctx context.Context) ([]bool, error) + func (gigb *GroupInfoGroupBy) BoolsX(ctx context.Context) []bool + func (gigb *GroupInfoGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (gigb *GroupInfoGroupBy) Float64X(ctx context.Context) float64 + func (gigb *GroupInfoGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (gigb *GroupInfoGroupBy) Float64sX(ctx context.Context) []float64 + func (gigb *GroupInfoGroupBy) Int(ctx context.Context) (_ int, err error) + func (gigb *GroupInfoGroupBy) IntX(ctx context.Context) int + func (gigb *GroupInfoGroupBy) Ints(ctx context.Context) ([]int, error) + func (gigb *GroupInfoGroupBy) IntsX(ctx context.Context) []int + func (gigb *GroupInfoGroupBy) Scan(ctx context.Context, v interface{}) error + func (gigb *GroupInfoGroupBy) ScanX(ctx context.Context, v interface{}) + func (gigb *GroupInfoGroupBy) String(ctx context.Context) (_ string, err error) + func (gigb *GroupInfoGroupBy) StringX(ctx context.Context) string + func (gigb *GroupInfoGroupBy) Strings(ctx context.Context) ([]string, error) + func (gigb *GroupInfoGroupBy) StringsX(ctx context.Context) []string + type GroupInfoMutation struct + func (m *GroupInfoMutation) AddField(name string, value ent.Value) error + func (m *GroupInfoMutation) AddGroupIDs(ids ...int) + func (m *GroupInfoMutation) AddMaxUsers(i int) + func (m *GroupInfoMutation) AddedEdges() []string + func (m *GroupInfoMutation) AddedField(name string) (ent.Value, bool) + func (m *GroupInfoMutation) AddedFields() []string + func (m *GroupInfoMutation) AddedIDs(name string) []ent.Value + func (m *GroupInfoMutation) AddedMaxUsers() (r int, exists bool) + func (m *GroupInfoMutation) ClearEdge(name string) error + func (m *GroupInfoMutation) ClearField(name string) error + func (m *GroupInfoMutation) ClearGroups() + func (m *GroupInfoMutation) ClearedEdges() []string + func (m *GroupInfoMutation) ClearedFields() []string + func (m *GroupInfoMutation) Desc() (r string, exists bool) + func (m *GroupInfoMutation) EdgeCleared(name string) bool + func (m *GroupInfoMutation) Field(name string) (ent.Value, bool) + func (m *GroupInfoMutation) FieldCleared(name string) bool + func (m *GroupInfoMutation) Fields() []string + func (m *GroupInfoMutation) Filter() *GroupInfoFilter + func (m *GroupInfoMutation) GroupsCleared() bool + func (m *GroupInfoMutation) GroupsIDs() (ids []int) + func (m *GroupInfoMutation) ID() (id int, exists bool) + func (m *GroupInfoMutation) MaxUsers() (r int, exists bool) + func (m *GroupInfoMutation) OldDesc(ctx context.Context) (v string, err error) + func (m *GroupInfoMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *GroupInfoMutation) OldMaxUsers(ctx context.Context) (v int, err error) + func (m *GroupInfoMutation) Op() Op + func (m *GroupInfoMutation) RemoveGroupIDs(ids ...int) + func (m *GroupInfoMutation) RemovedEdges() []string + func (m *GroupInfoMutation) RemovedGroupsIDs() (ids []int) + func (m *GroupInfoMutation) RemovedIDs(name string) []ent.Value + func (m *GroupInfoMutation) ResetDesc() + func (m *GroupInfoMutation) ResetEdge(name string) error + func (m *GroupInfoMutation) ResetField(name string) error + func (m *GroupInfoMutation) ResetGroups() + func (m *GroupInfoMutation) ResetMaxUsers() + func (m *GroupInfoMutation) SetDesc(s string) + func (m *GroupInfoMutation) SetField(name string, value ent.Value) error + func (m *GroupInfoMutation) SetMaxUsers(i int) + func (m *GroupInfoMutation) Type() string + func (m *GroupInfoMutation) Where(ps ...predicate.GroupInfo) + func (m GroupInfoMutation) Client() *Client + func (m GroupInfoMutation) Tx() (*Tx, error) + type GroupInfoQuery struct + func (giq *GroupInfoQuery) All(ctx context.Context) ([]*GroupInfo, error) + func (giq *GroupInfoQuery) AllX(ctx context.Context) []*GroupInfo + func (giq *GroupInfoQuery) Clone() *GroupInfoQuery + func (giq *GroupInfoQuery) Count(ctx context.Context) (int, error) + func (giq *GroupInfoQuery) CountX(ctx context.Context) int + func (giq *GroupInfoQuery) Exist(ctx context.Context) (bool, error) + func (giq *GroupInfoQuery) ExistX(ctx context.Context) bool + func (giq *GroupInfoQuery) Filter() *GroupInfoFilter + func (giq *GroupInfoQuery) First(ctx context.Context) (*GroupInfo, error) + func (giq *GroupInfoQuery) FirstID(ctx context.Context) (id int, err error) + func (giq *GroupInfoQuery) FirstIDX(ctx context.Context) int + func (giq *GroupInfoQuery) FirstX(ctx context.Context) *GroupInfo + func (giq *GroupInfoQuery) ForShare(opts ...sql.LockOption) *GroupInfoQuery + func (giq *GroupInfoQuery) ForUpdate(opts ...sql.LockOption) *GroupInfoQuery + func (giq *GroupInfoQuery) GroupBy(field string, fields ...string) *GroupInfoGroupBy + func (giq *GroupInfoQuery) IDs(ctx context.Context) ([]int, error) + func (giq *GroupInfoQuery) IDsX(ctx context.Context) []int + func (giq *GroupInfoQuery) Limit(limit int) *GroupInfoQuery + func (giq *GroupInfoQuery) Modify(modifiers ...func(s *sql.Selector)) *GroupInfoSelect + func (giq *GroupInfoQuery) Offset(offset int) *GroupInfoQuery + func (giq *GroupInfoQuery) Only(ctx context.Context) (*GroupInfo, error) + func (giq *GroupInfoQuery) OnlyID(ctx context.Context) (id int, err error) + func (giq *GroupInfoQuery) OnlyIDX(ctx context.Context) int + func (giq *GroupInfoQuery) OnlyX(ctx context.Context) *GroupInfo + func (giq *GroupInfoQuery) Order(o ...OrderFunc) *GroupInfoQuery + func (giq *GroupInfoQuery) QueryGroups() *GroupQuery + func (giq *GroupInfoQuery) Select(fields ...string) *GroupInfoSelect + func (giq *GroupInfoQuery) Unique(unique bool) *GroupInfoQuery + func (giq *GroupInfoQuery) Where(ps ...predicate.GroupInfo) *GroupInfoQuery + func (giq *GroupInfoQuery) WithGroups(opts ...func(*GroupQuery)) *GroupInfoQuery + type GroupInfoSelect struct + func (gis *GroupInfoSelect) Bool(ctx context.Context) (_ bool, err error) + func (gis *GroupInfoSelect) BoolX(ctx context.Context) bool + func (gis *GroupInfoSelect) Bools(ctx context.Context) ([]bool, error) + func (gis *GroupInfoSelect) BoolsX(ctx context.Context) []bool + func (gis *GroupInfoSelect) Float64(ctx context.Context) (_ float64, err error) + func (gis *GroupInfoSelect) Float64X(ctx context.Context) float64 + func (gis *GroupInfoSelect) Float64s(ctx context.Context) ([]float64, error) + func (gis *GroupInfoSelect) Float64sX(ctx context.Context) []float64 + func (gis *GroupInfoSelect) Int(ctx context.Context) (_ int, err error) + func (gis *GroupInfoSelect) IntX(ctx context.Context) int + func (gis *GroupInfoSelect) Ints(ctx context.Context) ([]int, error) + func (gis *GroupInfoSelect) IntsX(ctx context.Context) []int + func (gis *GroupInfoSelect) Modify(modifiers ...func(s *sql.Selector)) *GroupInfoSelect + func (gis *GroupInfoSelect) Scan(ctx context.Context, v interface{}) error + func (gis *GroupInfoSelect) ScanX(ctx context.Context, v interface{}) + func (gis *GroupInfoSelect) String(ctx context.Context) (_ string, err error) + func (gis *GroupInfoSelect) StringX(ctx context.Context) string + func (gis *GroupInfoSelect) Strings(ctx context.Context) ([]string, error) + func (gis *GroupInfoSelect) StringsX(ctx context.Context) []string + type GroupInfoUpdate struct + func (giu *GroupInfoUpdate) AddGroupIDs(ids ...int) *GroupInfoUpdate + func (giu *GroupInfoUpdate) AddGroups(g ...*Group) *GroupInfoUpdate + func (giu *GroupInfoUpdate) AddMaxUsers(i int) *GroupInfoUpdate + func (giu *GroupInfoUpdate) ClearGroups() *GroupInfoUpdate + func (giu *GroupInfoUpdate) Exec(ctx context.Context) error + func (giu *GroupInfoUpdate) ExecX(ctx context.Context) + func (giu *GroupInfoUpdate) Mutation() *GroupInfoMutation + func (giu *GroupInfoUpdate) RemoveGroupIDs(ids ...int) *GroupInfoUpdate + func (giu *GroupInfoUpdate) RemoveGroups(g ...*Group) *GroupInfoUpdate + func (giu *GroupInfoUpdate) Save(ctx context.Context) (int, error) + func (giu *GroupInfoUpdate) SaveX(ctx context.Context) int + func (giu *GroupInfoUpdate) SetDesc(s string) *GroupInfoUpdate + func (giu *GroupInfoUpdate) SetMaxUsers(i int) *GroupInfoUpdate + func (giu *GroupInfoUpdate) SetNillableMaxUsers(i *int) *GroupInfoUpdate + func (giu *GroupInfoUpdate) Where(ps ...predicate.GroupInfo) *GroupInfoUpdate + type GroupInfoUpdateOne struct + func (giuo *GroupInfoUpdateOne) AddGroupIDs(ids ...int) *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) AddGroups(g ...*Group) *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) AddMaxUsers(i int) *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) ClearGroups() *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) Exec(ctx context.Context) error + func (giuo *GroupInfoUpdateOne) ExecX(ctx context.Context) + func (giuo *GroupInfoUpdateOne) Mutation() *GroupInfoMutation + func (giuo *GroupInfoUpdateOne) RemoveGroupIDs(ids ...int) *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) RemoveGroups(g ...*Group) *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) Save(ctx context.Context) (*GroupInfo, error) + func (giuo *GroupInfoUpdateOne) SaveX(ctx context.Context) *GroupInfo + func (giuo *GroupInfoUpdateOne) Select(field string, fields ...string) *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) SetDesc(s string) *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) SetMaxUsers(i int) *GroupInfoUpdateOne + func (giuo *GroupInfoUpdateOne) SetNillableMaxUsers(i *int) *GroupInfoUpdateOne + type GroupInfos []*GroupInfo + type GroupMutation struct + func (m *GroupMutation) Active() (r bool, exists bool) + func (m *GroupMutation) AddBlockedIDs(ids ...int) + func (m *GroupMutation) AddField(name string, value ent.Value) error + func (m *GroupMutation) AddFileIDs(ids ...int) + func (m *GroupMutation) AddMaxUsers(i int) + func (m *GroupMutation) AddUserIDs(ids ...int) + 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) AddedMaxUsers() (r int, exists bool) + func (m *GroupMutation) BlockedCleared() bool + func (m *GroupMutation) BlockedIDs() (ids []int) + func (m *GroupMutation) ClearBlocked() + func (m *GroupMutation) ClearEdge(name string) error + func (m *GroupMutation) ClearField(name string) error + func (m *GroupMutation) ClearFiles() + func (m *GroupMutation) ClearInfo() + func (m *GroupMutation) ClearMaxUsers() + func (m *GroupMutation) ClearType() + func (m *GroupMutation) ClearUsers() + func (m *GroupMutation) ClearedEdges() []string + func (m *GroupMutation) ClearedFields() []string + func (m *GroupMutation) EdgeCleared(name string) bool + func (m *GroupMutation) Expire() (r time.Time, exists 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) FilesCleared() bool + func (m *GroupMutation) FilesIDs() (ids []int) + func (m *GroupMutation) Filter() *GroupFilter + func (m *GroupMutation) GetType() (r string, exists bool) + func (m *GroupMutation) ID() (id int, exists bool) + func (m *GroupMutation) InfoCleared() bool + func (m *GroupMutation) InfoID() (id int, exists bool) + func (m *GroupMutation) InfoIDs() (ids []int) + func (m *GroupMutation) MaxUsers() (r int, exists bool) + func (m *GroupMutation) MaxUsersCleared() bool + func (m *GroupMutation) Name() (r string, exists bool) + func (m *GroupMutation) OldActive(ctx context.Context) (v bool, err error) + func (m *GroupMutation) OldExpire(ctx context.Context) (v time.Time, err error) + func (m *GroupMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *GroupMutation) OldMaxUsers(ctx context.Context) (v int, err error) + func (m *GroupMutation) OldName(ctx context.Context) (v string, err error) + func (m *GroupMutation) OldType(ctx context.Context) (v *string, err error) + func (m *GroupMutation) Op() Op + func (m *GroupMutation) RemoveBlockedIDs(ids ...int) + func (m *GroupMutation) RemoveFileIDs(ids ...int) + func (m *GroupMutation) RemoveUserIDs(ids ...int) + func (m *GroupMutation) RemovedBlockedIDs() (ids []int) + func (m *GroupMutation) RemovedEdges() []string + func (m *GroupMutation) RemovedFilesIDs() (ids []int) + func (m *GroupMutation) RemovedIDs(name string) []ent.Value + func (m *GroupMutation) RemovedUsersIDs() (ids []int) + func (m *GroupMutation) ResetActive() + func (m *GroupMutation) ResetBlocked() + func (m *GroupMutation) ResetEdge(name string) error + func (m *GroupMutation) ResetExpire() + func (m *GroupMutation) ResetField(name string) error + func (m *GroupMutation) ResetFiles() + func (m *GroupMutation) ResetInfo() + func (m *GroupMutation) ResetMaxUsers() + func (m *GroupMutation) ResetName() + func (m *GroupMutation) ResetType() + func (m *GroupMutation) ResetUsers() + func (m *GroupMutation) SetActive(b bool) + func (m *GroupMutation) SetExpire(t time.Time) + func (m *GroupMutation) SetField(name string, value ent.Value) error + func (m *GroupMutation) SetInfoID(id int) + func (m *GroupMutation) SetMaxUsers(i int) + func (m *GroupMutation) SetName(s string) + func (m *GroupMutation) SetType(s string) + func (m *GroupMutation) Type() string + func (m *GroupMutation) TypeCleared() bool + func (m *GroupMutation) UsersCleared() bool + func (m *GroupMutation) UsersIDs() (ids []int) + func (m *GroupMutation) Where(ps ...predicate.Group) + func (m GroupMutation) Client() *Client + func (m GroupMutation) Tx() (*Tx, error) + type GroupQuery struct + 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) Filter() *GroupFilter + func (gq *GroupQuery) First(ctx context.Context) (*Group, error) + func (gq *GroupQuery) FirstID(ctx context.Context) (id int, err error) + func (gq *GroupQuery) FirstIDX(ctx context.Context) int + func (gq *GroupQuery) FirstX(ctx context.Context) *Group + func (gq *GroupQuery) ForShare(opts ...sql.LockOption) *GroupQuery + func (gq *GroupQuery) ForUpdate(opts ...sql.LockOption) *GroupQuery + func (gq *GroupQuery) GroupBy(field string, fields ...string) *GroupGroupBy + func (gq *GroupQuery) IDs(ctx context.Context) ([]int, error) + func (gq *GroupQuery) IDsX(ctx context.Context) []int + func (gq *GroupQuery) Limit(limit int) *GroupQuery + func (gq *GroupQuery) Modify(modifiers ...func(s *sql.Selector)) *GroupSelect + func (gq *GroupQuery) Offset(offset int) *GroupQuery + func (gq *GroupQuery) Only(ctx context.Context) (*Group, error) + func (gq *GroupQuery) OnlyID(ctx context.Context) (id int, err error) + func (gq *GroupQuery) OnlyIDX(ctx context.Context) int + func (gq *GroupQuery) OnlyX(ctx context.Context) *Group + func (gq *GroupQuery) Order(o ...OrderFunc) *GroupQuery + func (gq *GroupQuery) QueryBlocked() *UserQuery + func (gq *GroupQuery) QueryFiles() *FileQuery + func (gq *GroupQuery) QueryInfo() *GroupInfoQuery + 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) WithBlocked(opts ...func(*UserQuery)) *GroupQuery + func (gq *GroupQuery) WithFiles(opts ...func(*FileQuery)) *GroupQuery + func (gq *GroupQuery) WithInfo(opts ...func(*GroupInfoQuery)) *GroupQuery + func (gq *GroupQuery) WithUsers(opts ...func(*UserQuery)) *GroupQuery + type GroupSelect struct + func (gs *GroupSelect) Bool(ctx context.Context) (_ bool, err error) + func (gs *GroupSelect) BoolX(ctx context.Context) bool + func (gs *GroupSelect) Bools(ctx context.Context) ([]bool, error) + func (gs *GroupSelect) BoolsX(ctx context.Context) []bool + func (gs *GroupSelect) Float64(ctx context.Context) (_ float64, err error) + func (gs *GroupSelect) Float64X(ctx context.Context) float64 + func (gs *GroupSelect) Float64s(ctx context.Context) ([]float64, error) + func (gs *GroupSelect) Float64sX(ctx context.Context) []float64 + func (gs *GroupSelect) Int(ctx context.Context) (_ int, err error) + func (gs *GroupSelect) IntX(ctx context.Context) int + func (gs *GroupSelect) Ints(ctx context.Context) ([]int, error) + func (gs *GroupSelect) IntsX(ctx context.Context) []int + func (gs *GroupSelect) Modify(modifiers ...func(s *sql.Selector)) *GroupSelect + func (gs *GroupSelect) Scan(ctx context.Context, v interface{}) error + func (gs *GroupSelect) ScanX(ctx context.Context, v interface{}) + func (gs *GroupSelect) String(ctx context.Context) (_ string, err error) + func (gs *GroupSelect) StringX(ctx context.Context) string + func (gs *GroupSelect) Strings(ctx context.Context) ([]string, error) + func (gs *GroupSelect) StringsX(ctx context.Context) []string + type GroupUpdate struct + func (gu *GroupUpdate) AddBlocked(u ...*User) *GroupUpdate + func (gu *GroupUpdate) AddBlockedIDs(ids ...int) *GroupUpdate + func (gu *GroupUpdate) AddFileIDs(ids ...int) *GroupUpdate + func (gu *GroupUpdate) AddFiles(f ...*File) *GroupUpdate + func (gu *GroupUpdate) AddMaxUsers(i int) *GroupUpdate + func (gu *GroupUpdate) AddUserIDs(ids ...int) *GroupUpdate + func (gu *GroupUpdate) AddUsers(u ...*User) *GroupUpdate + func (gu *GroupUpdate) ClearBlocked() *GroupUpdate + func (gu *GroupUpdate) ClearFiles() *GroupUpdate + func (gu *GroupUpdate) ClearInfo() *GroupUpdate + func (gu *GroupUpdate) ClearMaxUsers() *GroupUpdate + func (gu *GroupUpdate) ClearType() *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) RemoveBlocked(u ...*User) *GroupUpdate + func (gu *GroupUpdate) RemoveBlockedIDs(ids ...int) *GroupUpdate + func (gu *GroupUpdate) RemoveFileIDs(ids ...int) *GroupUpdate + func (gu *GroupUpdate) RemoveFiles(f ...*File) *GroupUpdate + func (gu *GroupUpdate) RemoveUserIDs(ids ...int) *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) SetActive(b bool) *GroupUpdate + func (gu *GroupUpdate) SetExpire(t time.Time) *GroupUpdate + func (gu *GroupUpdate) SetInfo(g *GroupInfo) *GroupUpdate + func (gu *GroupUpdate) SetInfoID(id int) *GroupUpdate + func (gu *GroupUpdate) SetMaxUsers(i int) *GroupUpdate + func (gu *GroupUpdate) SetName(s string) *GroupUpdate + func (gu *GroupUpdate) SetNillableActive(b *bool) *GroupUpdate + func (gu *GroupUpdate) SetNillableMaxUsers(i *int) *GroupUpdate + func (gu *GroupUpdate) SetNillableType(s *string) *GroupUpdate + func (gu *GroupUpdate) SetType(s string) *GroupUpdate + func (gu *GroupUpdate) Where(ps ...predicate.Group) *GroupUpdate + type GroupUpdateOne struct + func (guo *GroupUpdateOne) AddBlocked(u ...*User) *GroupUpdateOne + func (guo *GroupUpdateOne) AddBlockedIDs(ids ...int) *GroupUpdateOne + func (guo *GroupUpdateOne) AddFileIDs(ids ...int) *GroupUpdateOne + func (guo *GroupUpdateOne) AddFiles(f ...*File) *GroupUpdateOne + func (guo *GroupUpdateOne) AddMaxUsers(i int) *GroupUpdateOne + func (guo *GroupUpdateOne) AddUserIDs(ids ...int) *GroupUpdateOne + func (guo *GroupUpdateOne) AddUsers(u ...*User) *GroupUpdateOne + func (guo *GroupUpdateOne) ClearBlocked() *GroupUpdateOne + func (guo *GroupUpdateOne) ClearFiles() *GroupUpdateOne + func (guo *GroupUpdateOne) ClearInfo() *GroupUpdateOne + func (guo *GroupUpdateOne) ClearMaxUsers() *GroupUpdateOne + func (guo *GroupUpdateOne) ClearType() *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) RemoveBlocked(u ...*User) *GroupUpdateOne + func (guo *GroupUpdateOne) RemoveBlockedIDs(ids ...int) *GroupUpdateOne + func (guo *GroupUpdateOne) RemoveFileIDs(ids ...int) *GroupUpdateOne + func (guo *GroupUpdateOne) RemoveFiles(f ...*File) *GroupUpdateOne + func (guo *GroupUpdateOne) RemoveUserIDs(ids ...int) *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) SetActive(b bool) *GroupUpdateOne + func (guo *GroupUpdateOne) SetExpire(t time.Time) *GroupUpdateOne + func (guo *GroupUpdateOne) SetInfo(g *GroupInfo) *GroupUpdateOne + func (guo *GroupUpdateOne) SetInfoID(id int) *GroupUpdateOne + func (guo *GroupUpdateOne) SetMaxUsers(i int) *GroupUpdateOne + func (guo *GroupUpdateOne) SetName(s string) *GroupUpdateOne + func (guo *GroupUpdateOne) SetNillableActive(b *bool) *GroupUpdateOne + func (guo *GroupUpdateOne) SetNillableMaxUsers(i *int) *GroupUpdateOne + func (guo *GroupUpdateOne) SetNillableType(s *string) *GroupUpdateOne + func (guo *GroupUpdateOne) SetType(s string) *GroupUpdateOne + type Groups []*Group + type Hook = ent.Hook + type Item struct + ID string + func (i *Item) String() string + func (i *Item) Unwrap() *Item + func (i *Item) Update() *ItemUpdateOne + type ItemClient struct + func NewItemClient(c config) *ItemClient + func (c *ItemClient) Create() *ItemCreate + func (c *ItemClient) CreateBulk(builders ...*ItemCreate) *ItemCreateBulk + func (c *ItemClient) Delete() *ItemDelete + func (c *ItemClient) DeleteOne(i *Item) *ItemDeleteOne + func (c *ItemClient) DeleteOneID(id string) *ItemDeleteOne + func (c *ItemClient) Get(ctx context.Context, id string) (*Item, error) + func (c *ItemClient) GetX(ctx context.Context, id string) *Item + func (c *ItemClient) Hooks() []Hook + func (c *ItemClient) Query() *ItemQuery + func (c *ItemClient) Update() *ItemUpdate + func (c *ItemClient) UpdateOne(i *Item) *ItemUpdateOne + func (c *ItemClient) UpdateOneID(id string) *ItemUpdateOne + func (c *ItemClient) Use(hooks ...Hook) + type ItemCreate struct + func (ic *ItemCreate) Mutation() *ItemMutation + func (ic *ItemCreate) Save(ctx context.Context) (*Item, error) + func (ic *ItemCreate) SaveX(ctx context.Context) *Item + func (ic *ItemCreate) SetID(s string) *ItemCreate + type ItemCreateBulk struct + func (icb *ItemCreateBulk) Save(ctx context.Context) ([]*Item, error) + func (icb *ItemCreateBulk) SaveX(ctx context.Context) []*Item + type ItemDelete struct + func (id *ItemDelete) Exec(ctx context.Context) (int, error) + func (id *ItemDelete) ExecX(ctx context.Context) int + func (id *ItemDelete) Where(ps ...predicate.Item) *ItemDelete + type ItemDeleteOne struct + func (ido *ItemDeleteOne) Exec(ctx context.Context) error + func (ido *ItemDeleteOne) ExecX(ctx context.Context) + type ItemFilter struct + func (f *ItemFilter) Where(p entql.P) + func (f *ItemFilter) WhereID(p entql.StringP) + type ItemGroupBy struct + func (igb *ItemGroupBy) Aggregate(fns ...AggregateFunc) *ItemGroupBy + func (igb *ItemGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (igb *ItemGroupBy) BoolX(ctx context.Context) bool + func (igb *ItemGroupBy) Bools(ctx context.Context) ([]bool, error) + func (igb *ItemGroupBy) BoolsX(ctx context.Context) []bool + func (igb *ItemGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (igb *ItemGroupBy) Float64X(ctx context.Context) float64 + func (igb *ItemGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (igb *ItemGroupBy) Float64sX(ctx context.Context) []float64 + func (igb *ItemGroupBy) Int(ctx context.Context) (_ int, err error) + func (igb *ItemGroupBy) IntX(ctx context.Context) int + func (igb *ItemGroupBy) Ints(ctx context.Context) ([]int, error) + func (igb *ItemGroupBy) IntsX(ctx context.Context) []int + func (igb *ItemGroupBy) Scan(ctx context.Context, v interface{}) error + func (igb *ItemGroupBy) ScanX(ctx context.Context, v interface{}) + func (igb *ItemGroupBy) String(ctx context.Context) (_ string, err error) + func (igb *ItemGroupBy) StringX(ctx context.Context) string + func (igb *ItemGroupBy) Strings(ctx context.Context) ([]string, error) + func (igb *ItemGroupBy) StringsX(ctx context.Context) []string + type ItemMutation struct + func (m *ItemMutation) AddField(name string, value ent.Value) error + func (m *ItemMutation) AddedEdges() []string + func (m *ItemMutation) AddedField(name string) (ent.Value, bool) + func (m *ItemMutation) AddedFields() []string + func (m *ItemMutation) AddedIDs(name string) []ent.Value + func (m *ItemMutation) ClearEdge(name string) error + func (m *ItemMutation) ClearField(name string) error + func (m *ItemMutation) ClearedEdges() []string + func (m *ItemMutation) ClearedFields() []string + func (m *ItemMutation) EdgeCleared(name string) bool + func (m *ItemMutation) Field(name string) (ent.Value, bool) + func (m *ItemMutation) FieldCleared(name string) bool + func (m *ItemMutation) Fields() []string + func (m *ItemMutation) Filter() *ItemFilter + func (m *ItemMutation) ID() (id string, exists bool) + func (m *ItemMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ItemMutation) Op() Op + func (m *ItemMutation) RemovedEdges() []string + func (m *ItemMutation) RemovedIDs(name string) []ent.Value + func (m *ItemMutation) ResetEdge(name string) error + func (m *ItemMutation) ResetField(name string) error + func (m *ItemMutation) SetField(name string, value ent.Value) error + func (m *ItemMutation) SetID(id string) + func (m *ItemMutation) Type() string + func (m *ItemMutation) Where(ps ...predicate.Item) + func (m ItemMutation) Client() *Client + func (m ItemMutation) Tx() (*Tx, error) + type ItemQuery struct + func (iq *ItemQuery) All(ctx context.Context) ([]*Item, error) + func (iq *ItemQuery) AllX(ctx context.Context) []*Item + func (iq *ItemQuery) Clone() *ItemQuery + func (iq *ItemQuery) Count(ctx context.Context) (int, error) + func (iq *ItemQuery) CountX(ctx context.Context) int + func (iq *ItemQuery) Exist(ctx context.Context) (bool, error) + func (iq *ItemQuery) ExistX(ctx context.Context) bool + func (iq *ItemQuery) Filter() *ItemFilter + func (iq *ItemQuery) First(ctx context.Context) (*Item, error) + func (iq *ItemQuery) FirstID(ctx context.Context) (id string, err error) + func (iq *ItemQuery) FirstIDX(ctx context.Context) string + func (iq *ItemQuery) FirstX(ctx context.Context) *Item + func (iq *ItemQuery) ForShare(opts ...sql.LockOption) *ItemQuery + func (iq *ItemQuery) ForUpdate(opts ...sql.LockOption) *ItemQuery + func (iq *ItemQuery) GroupBy(field string, fields ...string) *ItemGroupBy + func (iq *ItemQuery) IDs(ctx context.Context) ([]string, error) + func (iq *ItemQuery) IDsX(ctx context.Context) []string + func (iq *ItemQuery) Limit(limit int) *ItemQuery + func (iq *ItemQuery) Modify(modifiers ...func(s *sql.Selector)) *ItemSelect + func (iq *ItemQuery) Offset(offset int) *ItemQuery + func (iq *ItemQuery) Only(ctx context.Context) (*Item, error) + func (iq *ItemQuery) OnlyID(ctx context.Context) (id string, err error) + func (iq *ItemQuery) OnlyIDX(ctx context.Context) string + func (iq *ItemQuery) OnlyX(ctx context.Context) *Item + func (iq *ItemQuery) Order(o ...OrderFunc) *ItemQuery + func (iq *ItemQuery) Select(fields ...string) *ItemSelect + func (iq *ItemQuery) Unique(unique bool) *ItemQuery + func (iq *ItemQuery) Where(ps ...predicate.Item) *ItemQuery + type ItemSelect struct + func (is *ItemSelect) Bool(ctx context.Context) (_ bool, err error) + func (is *ItemSelect) BoolX(ctx context.Context) bool + func (is *ItemSelect) Bools(ctx context.Context) ([]bool, error) + func (is *ItemSelect) BoolsX(ctx context.Context) []bool + func (is *ItemSelect) Float64(ctx context.Context) (_ float64, err error) + func (is *ItemSelect) Float64X(ctx context.Context) float64 + func (is *ItemSelect) Float64s(ctx context.Context) ([]float64, error) + func (is *ItemSelect) Float64sX(ctx context.Context) []float64 + func (is *ItemSelect) Int(ctx context.Context) (_ int, err error) + func (is *ItemSelect) IntX(ctx context.Context) int + func (is *ItemSelect) Ints(ctx context.Context) ([]int, error) + func (is *ItemSelect) IntsX(ctx context.Context) []int + func (is *ItemSelect) Modify(modifiers ...func(s *sql.Selector)) *ItemSelect + func (is *ItemSelect) Scan(ctx context.Context, v interface{}) error + func (is *ItemSelect) ScanX(ctx context.Context, v interface{}) + func (is *ItemSelect) String(ctx context.Context) (_ string, err error) + func (is *ItemSelect) StringX(ctx context.Context) string + func (is *ItemSelect) Strings(ctx context.Context) ([]string, error) + func (is *ItemSelect) StringsX(ctx context.Context) []string + type ItemUpdate struct + func (iu *ItemUpdate) Exec(ctx context.Context) error + func (iu *ItemUpdate) ExecX(ctx context.Context) + func (iu *ItemUpdate) Mutation() *ItemMutation + func (iu *ItemUpdate) Save(ctx context.Context) (int, error) + func (iu *ItemUpdate) SaveX(ctx context.Context) int + func (iu *ItemUpdate) Where(ps ...predicate.Item) *ItemUpdate + type ItemUpdateOne struct + func (iuo *ItemUpdateOne) Exec(ctx context.Context) error + func (iuo *ItemUpdateOne) ExecX(ctx context.Context) + func (iuo *ItemUpdateOne) Mutation() *ItemMutation + func (iuo *ItemUpdateOne) Save(ctx context.Context) (*Item, error) + func (iuo *ItemUpdateOne) SaveX(ctx context.Context) *Item + func (iuo *ItemUpdateOne) Select(field string, fields ...string) *ItemUpdateOne + type Items []*Item + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type Node struct + Edges NodeEdges + ID int + Value int + func (n *Node) QueryNext() *NodeQuery + func (n *Node) QueryPrev() *NodeQuery + func (n *Node) String() string + func (n *Node) Unwrap() *Node + func (n *Node) Update() *NodeUpdateOne + type NodeClient struct + func NewNodeClient(c config) *NodeClient + func (c *NodeClient) Create() *NodeCreate + func (c *NodeClient) CreateBulk(builders ...*NodeCreate) *NodeCreateBulk + func (c *NodeClient) Delete() *NodeDelete + func (c *NodeClient) DeleteOne(n *Node) *NodeDeleteOne + func (c *NodeClient) DeleteOneID(id int) *NodeDeleteOne + func (c *NodeClient) Get(ctx context.Context, id int) (*Node, error) + func (c *NodeClient) GetX(ctx context.Context, id int) *Node + func (c *NodeClient) Hooks() []Hook + func (c *NodeClient) Query() *NodeQuery + func (c *NodeClient) QueryNext(n *Node) *NodeQuery + func (c *NodeClient) QueryPrev(n *Node) *NodeQuery + func (c *NodeClient) Update() *NodeUpdate + func (c *NodeClient) UpdateOne(n *Node) *NodeUpdateOne + func (c *NodeClient) UpdateOneID(id int) *NodeUpdateOne + func (c *NodeClient) Use(hooks ...Hook) + type NodeCreate struct + func (nc *NodeCreate) Mutation() *NodeMutation + func (nc *NodeCreate) Save(ctx context.Context) (*Node, error) + func (nc *NodeCreate) SaveX(ctx context.Context) *Node + func (nc *NodeCreate) SetNext(n *Node) *NodeCreate + func (nc *NodeCreate) SetNextID(id int) *NodeCreate + func (nc *NodeCreate) SetNillableNextID(id *int) *NodeCreate + func (nc *NodeCreate) SetNillablePrevID(id *int) *NodeCreate + func (nc *NodeCreate) SetNillableValue(i *int) *NodeCreate + func (nc *NodeCreate) SetPrev(n *Node) *NodeCreate + func (nc *NodeCreate) SetPrevID(id int) *NodeCreate + func (nc *NodeCreate) SetValue(i int) *NodeCreate + type NodeCreateBulk struct + func (ncb *NodeCreateBulk) Save(ctx context.Context) ([]*Node, error) + func (ncb *NodeCreateBulk) SaveX(ctx context.Context) []*Node + type NodeDelete struct + func (nd *NodeDelete) Exec(ctx context.Context) (int, error) + func (nd *NodeDelete) ExecX(ctx context.Context) int + func (nd *NodeDelete) Where(ps ...predicate.Node) *NodeDelete + type NodeDeleteOne struct + func (ndo *NodeDeleteOne) Exec(ctx context.Context) error + func (ndo *NodeDeleteOne) ExecX(ctx context.Context) + type NodeEdges struct + Next *Node + Prev *Node + func (e NodeEdges) NextOrErr() (*Node, error) + func (e NodeEdges) PrevOrErr() (*Node, error) + type NodeFilter struct + func (f *NodeFilter) Where(p entql.P) + func (f *NodeFilter) WhereHasNext() + func (f *NodeFilter) WhereHasNextWith(preds ...predicate.Node) + func (f *NodeFilter) WhereHasPrev() + func (f *NodeFilter) WhereHasPrevWith(preds ...predicate.Node) + func (f *NodeFilter) WhereID(p entql.IntP) + func (f *NodeFilter) WhereValue(p entql.IntP) + type NodeGroupBy struct + func (ngb *NodeGroupBy) Aggregate(fns ...AggregateFunc) *NodeGroupBy + func (ngb *NodeGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ngb *NodeGroupBy) BoolX(ctx context.Context) bool + func (ngb *NodeGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ngb *NodeGroupBy) BoolsX(ctx context.Context) []bool + func (ngb *NodeGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ngb *NodeGroupBy) Float64X(ctx context.Context) float64 + func (ngb *NodeGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ngb *NodeGroupBy) Float64sX(ctx context.Context) []float64 + func (ngb *NodeGroupBy) Int(ctx context.Context) (_ int, err error) + func (ngb *NodeGroupBy) IntX(ctx context.Context) int + func (ngb *NodeGroupBy) Ints(ctx context.Context) ([]int, error) + func (ngb *NodeGroupBy) IntsX(ctx context.Context) []int + func (ngb *NodeGroupBy) Scan(ctx context.Context, v interface{}) error + func (ngb *NodeGroupBy) ScanX(ctx context.Context, v interface{}) + func (ngb *NodeGroupBy) String(ctx context.Context) (_ string, err error) + func (ngb *NodeGroupBy) StringX(ctx context.Context) string + func (ngb *NodeGroupBy) Strings(ctx context.Context) ([]string, error) + func (ngb *NodeGroupBy) StringsX(ctx context.Context) []string + type NodeMutation struct + func (m *NodeMutation) AddField(name string, value ent.Value) error + func (m *NodeMutation) AddValue(i int) + func (m *NodeMutation) AddedEdges() []string + func (m *NodeMutation) AddedField(name string) (ent.Value, bool) + func (m *NodeMutation) AddedFields() []string + func (m *NodeMutation) AddedIDs(name string) []ent.Value + func (m *NodeMutation) AddedValue() (r int, exists bool) + func (m *NodeMutation) ClearEdge(name string) error + func (m *NodeMutation) ClearField(name string) error + func (m *NodeMutation) ClearNext() + func (m *NodeMutation) ClearPrev() + func (m *NodeMutation) ClearValue() + func (m *NodeMutation) ClearedEdges() []string + func (m *NodeMutation) ClearedFields() []string + func (m *NodeMutation) EdgeCleared(name string) bool + func (m *NodeMutation) Field(name string) (ent.Value, bool) + func (m *NodeMutation) FieldCleared(name string) bool + func (m *NodeMutation) Fields() []string + func (m *NodeMutation) Filter() *NodeFilter + func (m *NodeMutation) ID() (id int, exists bool) + func (m *NodeMutation) NextCleared() bool + func (m *NodeMutation) NextID() (id int, exists bool) + func (m *NodeMutation) NextIDs() (ids []int) + func (m *NodeMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *NodeMutation) OldValue(ctx context.Context) (v int, err error) + func (m *NodeMutation) Op() Op + func (m *NodeMutation) PrevCleared() bool + func (m *NodeMutation) PrevID() (id int, exists bool) + func (m *NodeMutation) PrevIDs() (ids []int) + func (m *NodeMutation) RemovedEdges() []string + func (m *NodeMutation) RemovedIDs(name string) []ent.Value + func (m *NodeMutation) ResetEdge(name string) error + func (m *NodeMutation) ResetField(name string) error + func (m *NodeMutation) ResetNext() + func (m *NodeMutation) ResetPrev() + func (m *NodeMutation) ResetValue() + func (m *NodeMutation) SetField(name string, value ent.Value) error + func (m *NodeMutation) SetNextID(id int) + func (m *NodeMutation) SetPrevID(id int) + func (m *NodeMutation) SetValue(i int) + func (m *NodeMutation) Type() string + func (m *NodeMutation) Value() (r int, exists bool) + func (m *NodeMutation) ValueCleared() bool + func (m *NodeMutation) Where(ps ...predicate.Node) + func (m NodeMutation) Client() *Client + func (m NodeMutation) Tx() (*Tx, error) + type NodeQuery struct + func (nq *NodeQuery) All(ctx context.Context) ([]*Node, error) + func (nq *NodeQuery) AllX(ctx context.Context) []*Node + func (nq *NodeQuery) Clone() *NodeQuery + func (nq *NodeQuery) Count(ctx context.Context) (int, error) + func (nq *NodeQuery) CountX(ctx context.Context) int + func (nq *NodeQuery) Exist(ctx context.Context) (bool, error) + func (nq *NodeQuery) ExistX(ctx context.Context) bool + func (nq *NodeQuery) Filter() *NodeFilter + func (nq *NodeQuery) First(ctx context.Context) (*Node, error) + func (nq *NodeQuery) FirstID(ctx context.Context) (id int, err error) + func (nq *NodeQuery) FirstIDX(ctx context.Context) int + func (nq *NodeQuery) FirstX(ctx context.Context) *Node + func (nq *NodeQuery) ForShare(opts ...sql.LockOption) *NodeQuery + func (nq *NodeQuery) ForUpdate(opts ...sql.LockOption) *NodeQuery + func (nq *NodeQuery) GroupBy(field string, fields ...string) *NodeGroupBy + func (nq *NodeQuery) IDs(ctx context.Context) ([]int, error) + func (nq *NodeQuery) IDsX(ctx context.Context) []int + func (nq *NodeQuery) Limit(limit int) *NodeQuery + func (nq *NodeQuery) Modify(modifiers ...func(s *sql.Selector)) *NodeSelect + func (nq *NodeQuery) Offset(offset int) *NodeQuery + func (nq *NodeQuery) Only(ctx context.Context) (*Node, error) + func (nq *NodeQuery) OnlyID(ctx context.Context) (id int, err error) + func (nq *NodeQuery) OnlyIDX(ctx context.Context) int + func (nq *NodeQuery) OnlyX(ctx context.Context) *Node + func (nq *NodeQuery) Order(o ...OrderFunc) *NodeQuery + func (nq *NodeQuery) QueryNext() *NodeQuery + func (nq *NodeQuery) QueryPrev() *NodeQuery + func (nq *NodeQuery) Select(fields ...string) *NodeSelect + func (nq *NodeQuery) Unique(unique bool) *NodeQuery + func (nq *NodeQuery) Where(ps ...predicate.Node) *NodeQuery + func (nq *NodeQuery) WithNext(opts ...func(*NodeQuery)) *NodeQuery + func (nq *NodeQuery) WithPrev(opts ...func(*NodeQuery)) *NodeQuery + type NodeSelect struct + func (ns *NodeSelect) Bool(ctx context.Context) (_ bool, err error) + func (ns *NodeSelect) BoolX(ctx context.Context) bool + func (ns *NodeSelect) Bools(ctx context.Context) ([]bool, error) + func (ns *NodeSelect) BoolsX(ctx context.Context) []bool + func (ns *NodeSelect) Float64(ctx context.Context) (_ float64, err error) + func (ns *NodeSelect) Float64X(ctx context.Context) float64 + func (ns *NodeSelect) Float64s(ctx context.Context) ([]float64, error) + func (ns *NodeSelect) Float64sX(ctx context.Context) []float64 + func (ns *NodeSelect) Int(ctx context.Context) (_ int, err error) + func (ns *NodeSelect) IntX(ctx context.Context) int + func (ns *NodeSelect) Ints(ctx context.Context) ([]int, error) + func (ns *NodeSelect) IntsX(ctx context.Context) []int + func (ns *NodeSelect) Modify(modifiers ...func(s *sql.Selector)) *NodeSelect + func (ns *NodeSelect) Scan(ctx context.Context, v interface{}) error + func (ns *NodeSelect) ScanX(ctx context.Context, v interface{}) + func (ns *NodeSelect) String(ctx context.Context) (_ string, err error) + func (ns *NodeSelect) StringX(ctx context.Context) string + func (ns *NodeSelect) Strings(ctx context.Context) ([]string, error) + func (ns *NodeSelect) StringsX(ctx context.Context) []string + type NodeUpdate struct + func (nu *NodeUpdate) AddValue(i int) *NodeUpdate + func (nu *NodeUpdate) ClearNext() *NodeUpdate + func (nu *NodeUpdate) ClearPrev() *NodeUpdate + func (nu *NodeUpdate) ClearValue() *NodeUpdate + func (nu *NodeUpdate) Exec(ctx context.Context) error + func (nu *NodeUpdate) ExecX(ctx context.Context) + func (nu *NodeUpdate) Mutation() *NodeMutation + func (nu *NodeUpdate) Save(ctx context.Context) (int, error) + func (nu *NodeUpdate) SaveX(ctx context.Context) int + func (nu *NodeUpdate) SetNext(n *Node) *NodeUpdate + func (nu *NodeUpdate) SetNextID(id int) *NodeUpdate + func (nu *NodeUpdate) SetNillableNextID(id *int) *NodeUpdate + func (nu *NodeUpdate) SetNillablePrevID(id *int) *NodeUpdate + func (nu *NodeUpdate) SetNillableValue(i *int) *NodeUpdate + func (nu *NodeUpdate) SetPrev(n *Node) *NodeUpdate + func (nu *NodeUpdate) SetPrevID(id int) *NodeUpdate + func (nu *NodeUpdate) SetValue(i int) *NodeUpdate + func (nu *NodeUpdate) Where(ps ...predicate.Node) *NodeUpdate + type NodeUpdateOne struct + func (nuo *NodeUpdateOne) AddValue(i int) *NodeUpdateOne + func (nuo *NodeUpdateOne) ClearNext() *NodeUpdateOne + func (nuo *NodeUpdateOne) ClearPrev() *NodeUpdateOne + func (nuo *NodeUpdateOne) ClearValue() *NodeUpdateOne + func (nuo *NodeUpdateOne) Exec(ctx context.Context) error + func (nuo *NodeUpdateOne) ExecX(ctx context.Context) + func (nuo *NodeUpdateOne) Mutation() *NodeMutation + func (nuo *NodeUpdateOne) Save(ctx context.Context) (*Node, error) + func (nuo *NodeUpdateOne) SaveX(ctx context.Context) *Node + func (nuo *NodeUpdateOne) Select(field string, fields ...string) *NodeUpdateOne + func (nuo *NodeUpdateOne) SetNext(n *Node) *NodeUpdateOne + func (nuo *NodeUpdateOne) SetNextID(id int) *NodeUpdateOne + func (nuo *NodeUpdateOne) SetNillableNextID(id *int) *NodeUpdateOne + func (nuo *NodeUpdateOne) SetNillablePrevID(id *int) *NodeUpdateOne + func (nuo *NodeUpdateOne) SetNillableValue(i *int) *NodeUpdateOne + func (nuo *NodeUpdateOne) SetPrev(n *Node) *NodeUpdateOne + func (nuo *NodeUpdateOne) SetPrevID(id int) *NodeUpdateOne + func (nuo *NodeUpdateOne) SetValue(i int) *NodeUpdateOne + type Nodes []*Node + 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(...interface{})) Option + type OrderFunc func(*sql.Selector) + func Asc(fields ...string) OrderFunc + func Desc(fields ...string) OrderFunc + type Pet struct + Age float64 + Edges PetEdges + ID int + Name string + UUID uuid.UUID + func (pe *Pet) QueryOwner() *UserQuery + func (pe *Pet) QueryTeam() *UserQuery + func (pe *Pet) String() string + func (pe *Pet) Unwrap() *Pet + func (pe *Pet) Update() *PetUpdateOne + type PetClient struct + func NewPetClient(c config) *PetClient + func (c *PetClient) Create() *PetCreate + func (c *PetClient) CreateBulk(builders ...*PetCreate) *PetCreateBulk + func (c *PetClient) Delete() *PetDelete + func (c *PetClient) DeleteOne(pe *Pet) *PetDeleteOne + func (c *PetClient) DeleteOneID(id int) *PetDeleteOne + func (c *PetClient) Get(ctx context.Context, id int) (*Pet, error) + func (c *PetClient) GetX(ctx context.Context, id int) *Pet + func (c *PetClient) Hooks() []Hook + func (c *PetClient) Query() *PetQuery + func (c *PetClient) QueryOwner(pe *Pet) *UserQuery + func (c *PetClient) QueryTeam(pe *Pet) *UserQuery + func (c *PetClient) Update() *PetUpdate + func (c *PetClient) UpdateOne(pe *Pet) *PetUpdateOne + func (c *PetClient) UpdateOneID(id int) *PetUpdateOne + func (c *PetClient) Use(hooks ...Hook) + type PetCreate struct + func (pc *PetCreate) Mutation() *PetMutation + func (pc *PetCreate) Save(ctx context.Context) (*Pet, error) + func (pc *PetCreate) SaveX(ctx context.Context) *Pet + func (pc *PetCreate) SetAge(f float64) *PetCreate + func (pc *PetCreate) SetName(s string) *PetCreate + func (pc *PetCreate) SetNillableAge(f *float64) *PetCreate + func (pc *PetCreate) SetNillableOwnerID(id *int) *PetCreate + func (pc *PetCreate) SetNillableTeamID(id *int) *PetCreate + func (pc *PetCreate) SetOwner(u *User) *PetCreate + func (pc *PetCreate) SetOwnerID(id int) *PetCreate + func (pc *PetCreate) SetTeam(u *User) *PetCreate + func (pc *PetCreate) SetTeamID(id int) *PetCreate + func (pc *PetCreate) SetUUID(u uuid.UUID) *PetCreate + type PetCreateBulk struct + func (pcb *PetCreateBulk) Save(ctx context.Context) ([]*Pet, error) + func (pcb *PetCreateBulk) SaveX(ctx context.Context) []*Pet + type PetDelete struct + func (pd *PetDelete) Exec(ctx context.Context) (int, error) + func (pd *PetDelete) ExecX(ctx context.Context) int + func (pd *PetDelete) Where(ps ...predicate.Pet) *PetDelete + type PetDeleteOne struct + func (pdo *PetDeleteOne) Exec(ctx context.Context) error + func (pdo *PetDeleteOne) ExecX(ctx context.Context) + type PetEdges struct + Owner *User + Team *User + func (e PetEdges) OwnerOrErr() (*User, error) + func (e PetEdges) TeamOrErr() (*User, error) + type PetFilter struct + func (f *PetFilter) Where(p entql.P) + func (f *PetFilter) WhereAge(p entql.Float64P) + func (f *PetFilter) WhereHasOwner() + func (f *PetFilter) WhereHasOwnerWith(preds ...predicate.User) + func (f *PetFilter) WhereHasTeam() + func (f *PetFilter) WhereHasTeamWith(preds ...predicate.User) + func (f *PetFilter) WhereID(p entql.IntP) + func (f *PetFilter) WhereName(p entql.StringP) + func (f *PetFilter) WhereUUID(p entql.ValueP) + type PetGroupBy struct + func (pgb *PetGroupBy) Aggregate(fns ...AggregateFunc) *PetGroupBy + func (pgb *PetGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (pgb *PetGroupBy) BoolX(ctx context.Context) bool + func (pgb *PetGroupBy) Bools(ctx context.Context) ([]bool, error) + func (pgb *PetGroupBy) BoolsX(ctx context.Context) []bool + func (pgb *PetGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (pgb *PetGroupBy) Float64X(ctx context.Context) float64 + func (pgb *PetGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (pgb *PetGroupBy) Float64sX(ctx context.Context) []float64 + func (pgb *PetGroupBy) Int(ctx context.Context) (_ int, err error) + func (pgb *PetGroupBy) IntX(ctx context.Context) int + func (pgb *PetGroupBy) Ints(ctx context.Context) ([]int, error) + func (pgb *PetGroupBy) IntsX(ctx context.Context) []int + func (pgb *PetGroupBy) Scan(ctx context.Context, v interface{}) error + func (pgb *PetGroupBy) ScanX(ctx context.Context, v interface{}) + func (pgb *PetGroupBy) String(ctx context.Context) (_ string, err error) + func (pgb *PetGroupBy) StringX(ctx context.Context) string + func (pgb *PetGroupBy) Strings(ctx context.Context) ([]string, error) + func (pgb *PetGroupBy) StringsX(ctx context.Context) []string + type PetMutation struct + func (m *PetMutation) AddAge(f float64) + func (m *PetMutation) AddField(name string, value ent.Value) error + func (m *PetMutation) AddedAge() (r float64, exists bool) + func (m *PetMutation) AddedEdges() []string + func (m *PetMutation) AddedField(name string) (ent.Value, bool) + func (m *PetMutation) AddedFields() []string + func (m *PetMutation) AddedIDs(name string) []ent.Value + func (m *PetMutation) Age() (r float64, exists bool) + func (m *PetMutation) ClearEdge(name string) error + func (m *PetMutation) ClearField(name string) error + func (m *PetMutation) ClearOwner() + func (m *PetMutation) ClearTeam() + func (m *PetMutation) ClearUUID() + func (m *PetMutation) ClearedEdges() []string + func (m *PetMutation) ClearedFields() []string + func (m *PetMutation) EdgeCleared(name string) bool + func (m *PetMutation) Field(name string) (ent.Value, bool) + func (m *PetMutation) FieldCleared(name string) bool + func (m *PetMutation) Fields() []string + func (m *PetMutation) Filter() *PetFilter + func (m *PetMutation) ID() (id int, exists bool) + func (m *PetMutation) Name() (r string, exists bool) + func (m *PetMutation) OldAge(ctx context.Context) (v float64, err error) + func (m *PetMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *PetMutation) OldName(ctx context.Context) (v string, err error) + func (m *PetMutation) OldUUID(ctx context.Context) (v uuid.UUID, err error) + func (m *PetMutation) Op() Op + func (m *PetMutation) OwnerCleared() bool + func (m *PetMutation) OwnerID() (id int, exists bool) + func (m *PetMutation) OwnerIDs() (ids []int) + func (m *PetMutation) RemovedEdges() []string + func (m *PetMutation) RemovedIDs(name string) []ent.Value + func (m *PetMutation) ResetAge() + func (m *PetMutation) ResetEdge(name string) error + func (m *PetMutation) ResetField(name string) error + func (m *PetMutation) ResetName() + func (m *PetMutation) ResetOwner() + func (m *PetMutation) ResetTeam() + func (m *PetMutation) ResetUUID() + func (m *PetMutation) SetAge(f float64) + func (m *PetMutation) SetField(name string, value ent.Value) error + func (m *PetMutation) SetName(s string) + func (m *PetMutation) SetOwnerID(id int) + func (m *PetMutation) SetTeamID(id int) + func (m *PetMutation) SetUUID(u uuid.UUID) + func (m *PetMutation) TeamCleared() bool + func (m *PetMutation) TeamID() (id int, exists bool) + func (m *PetMutation) TeamIDs() (ids []int) + func (m *PetMutation) Type() string + func (m *PetMutation) UUID() (r uuid.UUID, exists bool) + func (m *PetMutation) UUIDCleared() bool + func (m *PetMutation) Where(ps ...predicate.Pet) + func (m PetMutation) Client() *Client + func (m PetMutation) Tx() (*Tx, error) + type PetQuery struct + func (pq *PetQuery) All(ctx context.Context) ([]*Pet, error) + func (pq *PetQuery) AllX(ctx context.Context) []*Pet + func (pq *PetQuery) Clone() *PetQuery + func (pq *PetQuery) Count(ctx context.Context) (int, error) + func (pq *PetQuery) CountX(ctx context.Context) int + func (pq *PetQuery) Exist(ctx context.Context) (bool, error) + func (pq *PetQuery) ExistX(ctx context.Context) bool + func (pq *PetQuery) Filter() *PetFilter + func (pq *PetQuery) First(ctx context.Context) (*Pet, error) + func (pq *PetQuery) FirstID(ctx context.Context) (id int, err error) + func (pq *PetQuery) FirstIDX(ctx context.Context) int + func (pq *PetQuery) FirstX(ctx context.Context) *Pet + func (pq *PetQuery) ForShare(opts ...sql.LockOption) *PetQuery + func (pq *PetQuery) ForUpdate(opts ...sql.LockOption) *PetQuery + func (pq *PetQuery) GroupBy(field string, fields ...string) *PetGroupBy + func (pq *PetQuery) IDs(ctx context.Context) ([]int, error) + func (pq *PetQuery) IDsX(ctx context.Context) []int + func (pq *PetQuery) Limit(limit int) *PetQuery + func (pq *PetQuery) Modify(modifiers ...func(s *sql.Selector)) *PetSelect + func (pq *PetQuery) Offset(offset int) *PetQuery + func (pq *PetQuery) Only(ctx context.Context) (*Pet, error) + func (pq *PetQuery) OnlyID(ctx context.Context) (id int, err error) + func (pq *PetQuery) OnlyIDX(ctx context.Context) int + func (pq *PetQuery) OnlyX(ctx context.Context) *Pet + func (pq *PetQuery) Order(o ...OrderFunc) *PetQuery + func (pq *PetQuery) QueryOwner() *UserQuery + func (pq *PetQuery) QueryTeam() *UserQuery + func (pq *PetQuery) Select(fields ...string) *PetSelect + func (pq *PetQuery) Unique(unique bool) *PetQuery + func (pq *PetQuery) Where(ps ...predicate.Pet) *PetQuery + func (pq *PetQuery) WithOwner(opts ...func(*UserQuery)) *PetQuery + func (pq *PetQuery) WithTeam(opts ...func(*UserQuery)) *PetQuery + type PetSelect struct + func (ps *PetSelect) Bool(ctx context.Context) (_ bool, err error) + func (ps *PetSelect) BoolX(ctx context.Context) bool + func (ps *PetSelect) Bools(ctx context.Context) ([]bool, error) + func (ps *PetSelect) BoolsX(ctx context.Context) []bool + func (ps *PetSelect) Float64(ctx context.Context) (_ float64, err error) + func (ps *PetSelect) Float64X(ctx context.Context) float64 + func (ps *PetSelect) Float64s(ctx context.Context) ([]float64, error) + func (ps *PetSelect) Float64sX(ctx context.Context) []float64 + func (ps *PetSelect) Int(ctx context.Context) (_ int, err error) + func (ps *PetSelect) IntX(ctx context.Context) int + func (ps *PetSelect) Ints(ctx context.Context) ([]int, error) + func (ps *PetSelect) IntsX(ctx context.Context) []int + func (ps *PetSelect) Modify(modifiers ...func(s *sql.Selector)) *PetSelect + func (ps *PetSelect) Scan(ctx context.Context, v interface{}) error + func (ps *PetSelect) ScanX(ctx context.Context, v interface{}) + func (ps *PetSelect) String(ctx context.Context) (_ string, err error) + func (ps *PetSelect) StringX(ctx context.Context) string + func (ps *PetSelect) Strings(ctx context.Context) ([]string, error) + func (ps *PetSelect) StringsX(ctx context.Context) []string + type PetUpdate struct + func (pu *PetUpdate) AddAge(f float64) *PetUpdate + func (pu *PetUpdate) ClearOwner() *PetUpdate + func (pu *PetUpdate) ClearTeam() *PetUpdate + func (pu *PetUpdate) ClearUUID() *PetUpdate + func (pu *PetUpdate) Exec(ctx context.Context) error + func (pu *PetUpdate) ExecX(ctx context.Context) + func (pu *PetUpdate) Mutation() *PetMutation + func (pu *PetUpdate) Save(ctx context.Context) (int, error) + func (pu *PetUpdate) SaveX(ctx context.Context) int + func (pu *PetUpdate) SetAge(f float64) *PetUpdate + func (pu *PetUpdate) SetName(s string) *PetUpdate + func (pu *PetUpdate) SetNillableAge(f *float64) *PetUpdate + func (pu *PetUpdate) SetNillableOwnerID(id *int) *PetUpdate + func (pu *PetUpdate) SetNillableTeamID(id *int) *PetUpdate + func (pu *PetUpdate) SetOwner(u *User) *PetUpdate + func (pu *PetUpdate) SetOwnerID(id int) *PetUpdate + func (pu *PetUpdate) SetTeam(u *User) *PetUpdate + func (pu *PetUpdate) SetTeamID(id int) *PetUpdate + func (pu *PetUpdate) SetUUID(u uuid.UUID) *PetUpdate + func (pu *PetUpdate) Where(ps ...predicate.Pet) *PetUpdate + type PetUpdateOne struct + func (puo *PetUpdateOne) AddAge(f float64) *PetUpdateOne + func (puo *PetUpdateOne) ClearOwner() *PetUpdateOne + func (puo *PetUpdateOne) ClearTeam() *PetUpdateOne + func (puo *PetUpdateOne) ClearUUID() *PetUpdateOne + func (puo *PetUpdateOne) Exec(ctx context.Context) error + func (puo *PetUpdateOne) ExecX(ctx context.Context) + func (puo *PetUpdateOne) Mutation() *PetMutation + func (puo *PetUpdateOne) Save(ctx context.Context) (*Pet, error) + func (puo *PetUpdateOne) SaveX(ctx context.Context) *Pet + func (puo *PetUpdateOne) Select(field string, fields ...string) *PetUpdateOne + func (puo *PetUpdateOne) SetAge(f float64) *PetUpdateOne + func (puo *PetUpdateOne) SetName(s string) *PetUpdateOne + func (puo *PetUpdateOne) SetNillableAge(f *float64) *PetUpdateOne + func (puo *PetUpdateOne) SetNillableOwnerID(id *int) *PetUpdateOne + func (puo *PetUpdateOne) SetNillableTeamID(id *int) *PetUpdateOne + func (puo *PetUpdateOne) SetOwner(u *User) *PetUpdateOne + func (puo *PetUpdateOne) SetOwnerID(id int) *PetUpdateOne + func (puo *PetUpdateOne) SetTeam(u *User) *PetUpdateOne + func (puo *PetUpdateOne) SetTeamID(id int) *PetUpdateOne + func (puo *PetUpdateOne) SetUUID(u uuid.UUID) *PetUpdateOne + type Pets []*Pet + type Policy = ent.Policy + type Query = ent.Query + 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 Spec struct + Edges SpecEdges + ID int + func (s *Spec) QueryCard() *CardQuery + func (s *Spec) String() string + func (s *Spec) Unwrap() *Spec + func (s *Spec) Update() *SpecUpdateOne + type SpecClient struct + func NewSpecClient(c config) *SpecClient + func (c *SpecClient) Create() *SpecCreate + func (c *SpecClient) CreateBulk(builders ...*SpecCreate) *SpecCreateBulk + func (c *SpecClient) Delete() *SpecDelete + func (c *SpecClient) DeleteOne(s *Spec) *SpecDeleteOne + func (c *SpecClient) DeleteOneID(id int) *SpecDeleteOne + func (c *SpecClient) Get(ctx context.Context, id int) (*Spec, error) + func (c *SpecClient) GetX(ctx context.Context, id int) *Spec + func (c *SpecClient) Hooks() []Hook + func (c *SpecClient) Query() *SpecQuery + func (c *SpecClient) QueryCard(s *Spec) *CardQuery + func (c *SpecClient) Update() *SpecUpdate + func (c *SpecClient) UpdateOne(s *Spec) *SpecUpdateOne + func (c *SpecClient) UpdateOneID(id int) *SpecUpdateOne + func (c *SpecClient) Use(hooks ...Hook) + type SpecCreate struct + func (sc *SpecCreate) AddCard(c ...*Card) *SpecCreate + func (sc *SpecCreate) AddCardIDs(ids ...int) *SpecCreate + func (sc *SpecCreate) Mutation() *SpecMutation + func (sc *SpecCreate) Save(ctx context.Context) (*Spec, error) + func (sc *SpecCreate) SaveX(ctx context.Context) *Spec + type SpecCreateBulk struct + func (scb *SpecCreateBulk) Save(ctx context.Context) ([]*Spec, error) + func (scb *SpecCreateBulk) SaveX(ctx context.Context) []*Spec + type SpecDelete struct + func (sd *SpecDelete) Exec(ctx context.Context) (int, error) + func (sd *SpecDelete) ExecX(ctx context.Context) int + func (sd *SpecDelete) Where(ps ...predicate.Spec) *SpecDelete + type SpecDeleteOne struct + func (sdo *SpecDeleteOne) Exec(ctx context.Context) error + func (sdo *SpecDeleteOne) ExecX(ctx context.Context) + type SpecEdges struct + Card []*Card + func (e SpecEdges) CardOrErr() ([]*Card, error) + type SpecFilter struct + func (f *SpecFilter) Where(p entql.P) + func (f *SpecFilter) WhereHasCard() + func (f *SpecFilter) WhereHasCardWith(preds ...predicate.Card) + func (f *SpecFilter) WhereID(p entql.IntP) + type SpecGroupBy struct + func (sgb *SpecGroupBy) Aggregate(fns ...AggregateFunc) *SpecGroupBy + func (sgb *SpecGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (sgb *SpecGroupBy) BoolX(ctx context.Context) bool + func (sgb *SpecGroupBy) Bools(ctx context.Context) ([]bool, error) + func (sgb *SpecGroupBy) BoolsX(ctx context.Context) []bool + func (sgb *SpecGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (sgb *SpecGroupBy) Float64X(ctx context.Context) float64 + func (sgb *SpecGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (sgb *SpecGroupBy) Float64sX(ctx context.Context) []float64 + func (sgb *SpecGroupBy) Int(ctx context.Context) (_ int, err error) + func (sgb *SpecGroupBy) IntX(ctx context.Context) int + func (sgb *SpecGroupBy) Ints(ctx context.Context) ([]int, error) + func (sgb *SpecGroupBy) IntsX(ctx context.Context) []int + func (sgb *SpecGroupBy) Scan(ctx context.Context, v interface{}) error + func (sgb *SpecGroupBy) ScanX(ctx context.Context, v interface{}) + func (sgb *SpecGroupBy) String(ctx context.Context) (_ string, err error) + func (sgb *SpecGroupBy) StringX(ctx context.Context) string + func (sgb *SpecGroupBy) Strings(ctx context.Context) ([]string, error) + func (sgb *SpecGroupBy) StringsX(ctx context.Context) []string + type SpecMutation struct + func (m *SpecMutation) AddCardIDs(ids ...int) + func (m *SpecMutation) AddField(name string, value ent.Value) error + func (m *SpecMutation) AddedEdges() []string + func (m *SpecMutation) AddedField(name string) (ent.Value, bool) + func (m *SpecMutation) AddedFields() []string + func (m *SpecMutation) AddedIDs(name string) []ent.Value + func (m *SpecMutation) CardCleared() bool + func (m *SpecMutation) CardIDs() (ids []int) + func (m *SpecMutation) ClearCard() + func (m *SpecMutation) ClearEdge(name string) error + func (m *SpecMutation) ClearField(name string) error + func (m *SpecMutation) ClearedEdges() []string + func (m *SpecMutation) ClearedFields() []string + func (m *SpecMutation) EdgeCleared(name string) bool + func (m *SpecMutation) Field(name string) (ent.Value, bool) + func (m *SpecMutation) FieldCleared(name string) bool + func (m *SpecMutation) Fields() []string + func (m *SpecMutation) Filter() *SpecFilter + func (m *SpecMutation) ID() (id int, exists bool) + func (m *SpecMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *SpecMutation) Op() Op + func (m *SpecMutation) RemoveCardIDs(ids ...int) + func (m *SpecMutation) RemovedCardIDs() (ids []int) + func (m *SpecMutation) RemovedEdges() []string + func (m *SpecMutation) RemovedIDs(name string) []ent.Value + func (m *SpecMutation) ResetCard() + func (m *SpecMutation) ResetEdge(name string) error + func (m *SpecMutation) ResetField(name string) error + func (m *SpecMutation) SetField(name string, value ent.Value) error + func (m *SpecMutation) Type() string + func (m *SpecMutation) Where(ps ...predicate.Spec) + func (m SpecMutation) Client() *Client + func (m SpecMutation) Tx() (*Tx, error) + type SpecQuery struct + func (sq *SpecQuery) All(ctx context.Context) ([]*Spec, error) + func (sq *SpecQuery) AllX(ctx context.Context) []*Spec + func (sq *SpecQuery) Clone() *SpecQuery + func (sq *SpecQuery) Count(ctx context.Context) (int, error) + func (sq *SpecQuery) CountX(ctx context.Context) int + func (sq *SpecQuery) Exist(ctx context.Context) (bool, error) + func (sq *SpecQuery) ExistX(ctx context.Context) bool + func (sq *SpecQuery) Filter() *SpecFilter + func (sq *SpecQuery) First(ctx context.Context) (*Spec, error) + func (sq *SpecQuery) FirstID(ctx context.Context) (id int, err error) + func (sq *SpecQuery) FirstIDX(ctx context.Context) int + func (sq *SpecQuery) FirstX(ctx context.Context) *Spec + func (sq *SpecQuery) ForShare(opts ...sql.LockOption) *SpecQuery + func (sq *SpecQuery) ForUpdate(opts ...sql.LockOption) *SpecQuery + func (sq *SpecQuery) GroupBy(field string, fields ...string) *SpecGroupBy + func (sq *SpecQuery) IDs(ctx context.Context) ([]int, error) + func (sq *SpecQuery) IDsX(ctx context.Context) []int + func (sq *SpecQuery) Limit(limit int) *SpecQuery + func (sq *SpecQuery) Modify(modifiers ...func(s *sql.Selector)) *SpecSelect + func (sq *SpecQuery) Offset(offset int) *SpecQuery + func (sq *SpecQuery) Only(ctx context.Context) (*Spec, error) + func (sq *SpecQuery) OnlyID(ctx context.Context) (id int, err error) + func (sq *SpecQuery) OnlyIDX(ctx context.Context) int + func (sq *SpecQuery) OnlyX(ctx context.Context) *Spec + func (sq *SpecQuery) Order(o ...OrderFunc) *SpecQuery + func (sq *SpecQuery) QueryCard() *CardQuery + func (sq *SpecQuery) Select(fields ...string) *SpecSelect + func (sq *SpecQuery) Unique(unique bool) *SpecQuery + func (sq *SpecQuery) Where(ps ...predicate.Spec) *SpecQuery + func (sq *SpecQuery) WithCard(opts ...func(*CardQuery)) *SpecQuery + type SpecSelect struct + func (ss *SpecSelect) Bool(ctx context.Context) (_ bool, err error) + func (ss *SpecSelect) BoolX(ctx context.Context) bool + func (ss *SpecSelect) Bools(ctx context.Context) ([]bool, error) + func (ss *SpecSelect) BoolsX(ctx context.Context) []bool + func (ss *SpecSelect) Float64(ctx context.Context) (_ float64, err error) + func (ss *SpecSelect) Float64X(ctx context.Context) float64 + func (ss *SpecSelect) Float64s(ctx context.Context) ([]float64, error) + func (ss *SpecSelect) Float64sX(ctx context.Context) []float64 + func (ss *SpecSelect) Int(ctx context.Context) (_ int, err error) + func (ss *SpecSelect) IntX(ctx context.Context) int + func (ss *SpecSelect) Ints(ctx context.Context) ([]int, error) + func (ss *SpecSelect) IntsX(ctx context.Context) []int + func (ss *SpecSelect) Modify(modifiers ...func(s *sql.Selector)) *SpecSelect + func (ss *SpecSelect) Scan(ctx context.Context, v interface{}) error + func (ss *SpecSelect) ScanX(ctx context.Context, v interface{}) + func (ss *SpecSelect) String(ctx context.Context) (_ string, err error) + func (ss *SpecSelect) StringX(ctx context.Context) string + func (ss *SpecSelect) Strings(ctx context.Context) ([]string, error) + func (ss *SpecSelect) StringsX(ctx context.Context) []string + type SpecUpdate struct + func (su *SpecUpdate) AddCard(c ...*Card) *SpecUpdate + func (su *SpecUpdate) AddCardIDs(ids ...int) *SpecUpdate + func (su *SpecUpdate) ClearCard() *SpecUpdate + func (su *SpecUpdate) Exec(ctx context.Context) error + func (su *SpecUpdate) ExecX(ctx context.Context) + func (su *SpecUpdate) Mutation() *SpecMutation + func (su *SpecUpdate) RemoveCard(c ...*Card) *SpecUpdate + func (su *SpecUpdate) RemoveCardIDs(ids ...int) *SpecUpdate + func (su *SpecUpdate) Save(ctx context.Context) (int, error) + func (su *SpecUpdate) SaveX(ctx context.Context) int + func (su *SpecUpdate) Where(ps ...predicate.Spec) *SpecUpdate + type SpecUpdateOne struct + func (suo *SpecUpdateOne) AddCard(c ...*Card) *SpecUpdateOne + func (suo *SpecUpdateOne) AddCardIDs(ids ...int) *SpecUpdateOne + func (suo *SpecUpdateOne) ClearCard() *SpecUpdateOne + func (suo *SpecUpdateOne) Exec(ctx context.Context) error + func (suo *SpecUpdateOne) ExecX(ctx context.Context) + func (suo *SpecUpdateOne) Mutation() *SpecMutation + func (suo *SpecUpdateOne) RemoveCard(c ...*Card) *SpecUpdateOne + func (suo *SpecUpdateOne) RemoveCardIDs(ids ...int) *SpecUpdateOne + func (suo *SpecUpdateOne) Save(ctx context.Context) (*Spec, error) + func (suo *SpecUpdateOne) SaveX(ctx context.Context) *Spec + func (suo *SpecUpdateOne) Select(field string, fields ...string) *SpecUpdateOne + type Specs []*Spec + type Task struct + ID int + Priority schema.Priority + func (t *Task) String() string + func (t *Task) Unwrap() *Task + func (t *Task) Update() *TaskUpdateOne + type TaskClient struct + func NewTaskClient(c config) *TaskClient + func (c *TaskClient) Create() *TaskCreate + func (c *TaskClient) CreateBulk(builders ...*TaskCreate) *TaskCreateBulk + func (c *TaskClient) Delete() *TaskDelete + func (c *TaskClient) DeleteOne(t *Task) *TaskDeleteOne + func (c *TaskClient) DeleteOneID(id int) *TaskDeleteOne + func (c *TaskClient) Get(ctx context.Context, id int) (*Task, error) + func (c *TaskClient) GetX(ctx context.Context, id int) *Task + func (c *TaskClient) Hooks() []Hook + func (c *TaskClient) Query() *TaskQuery + func (c *TaskClient) Update() *TaskUpdate + func (c *TaskClient) UpdateOne(t *Task) *TaskUpdateOne + func (c *TaskClient) UpdateOneID(id int) *TaskUpdateOne + func (c *TaskClient) Use(hooks ...Hook) + type TaskCreate struct + func (tc *TaskCreate) Mutation() *TaskMutation + func (tc *TaskCreate) Save(ctx context.Context) (*Task, error) + func (tc *TaskCreate) SaveX(ctx context.Context) *Task + func (tc *TaskCreate) SetNillablePriority(s *schema.Priority) *TaskCreate + func (tc *TaskCreate) SetPriority(s schema.Priority) *TaskCreate + type TaskCreateBulk struct + func (tcb *TaskCreateBulk) Save(ctx context.Context) ([]*Task, error) + func (tcb *TaskCreateBulk) SaveX(ctx context.Context) []*Task + type TaskDelete struct + func (td *TaskDelete) Exec(ctx context.Context) (int, error) + func (td *TaskDelete) ExecX(ctx context.Context) int + func (td *TaskDelete) Where(ps ...predicate.Task) *TaskDelete + type TaskDeleteOne struct + func (tdo *TaskDeleteOne) Exec(ctx context.Context) error + func (tdo *TaskDeleteOne) ExecX(ctx context.Context) + type TaskFilter struct + func (f *TaskFilter) Where(p entql.P) + func (f *TaskFilter) WhereID(p entql.IntP) + func (f *TaskFilter) WherePriority(p entql.IntP) + type TaskGroupBy struct + func (tgb *TaskGroupBy) Aggregate(fns ...AggregateFunc) *TaskGroupBy + func (tgb *TaskGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (tgb *TaskGroupBy) BoolX(ctx context.Context) bool + func (tgb *TaskGroupBy) Bools(ctx context.Context) ([]bool, error) + func (tgb *TaskGroupBy) BoolsX(ctx context.Context) []bool + func (tgb *TaskGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (tgb *TaskGroupBy) Float64X(ctx context.Context) float64 + func (tgb *TaskGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (tgb *TaskGroupBy) Float64sX(ctx context.Context) []float64 + func (tgb *TaskGroupBy) Int(ctx context.Context) (_ int, err error) + func (tgb *TaskGroupBy) IntX(ctx context.Context) int + func (tgb *TaskGroupBy) Ints(ctx context.Context) ([]int, error) + func (tgb *TaskGroupBy) IntsX(ctx context.Context) []int + func (tgb *TaskGroupBy) Scan(ctx context.Context, v interface{}) error + func (tgb *TaskGroupBy) ScanX(ctx context.Context, v interface{}) + func (tgb *TaskGroupBy) String(ctx context.Context) (_ string, err error) + func (tgb *TaskGroupBy) StringX(ctx context.Context) string + func (tgb *TaskGroupBy) Strings(ctx context.Context) ([]string, error) + func (tgb *TaskGroupBy) StringsX(ctx context.Context) []string + type TaskMutation struct + func (m *TaskMutation) AddField(name string, value ent.Value) error + func (m *TaskMutation) AddPriority(s schema.Priority) + func (m *TaskMutation) AddedEdges() []string + func (m *TaskMutation) AddedField(name string) (ent.Value, bool) + func (m *TaskMutation) AddedFields() []string + func (m *TaskMutation) AddedIDs(name string) []ent.Value + func (m *TaskMutation) AddedPriority() (r schema.Priority, exists bool) + func (m *TaskMutation) ClearEdge(name string) error + func (m *TaskMutation) ClearField(name string) error + func (m *TaskMutation) ClearedEdges() []string + func (m *TaskMutation) ClearedFields() []string + func (m *TaskMutation) EdgeCleared(name string) bool + func (m *TaskMutation) Field(name string) (ent.Value, bool) + func (m *TaskMutation) FieldCleared(name string) bool + func (m *TaskMutation) Fields() []string + func (m *TaskMutation) Filter() *TaskFilter + func (m *TaskMutation) ID() (id int, exists bool) + func (m *TaskMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TaskMutation) OldPriority(ctx context.Context) (v schema.Priority, err error) + func (m *TaskMutation) Op() Op + func (m *TaskMutation) Priority() (r schema.Priority, exists bool) + func (m *TaskMutation) RemovedEdges() []string + func (m *TaskMutation) RemovedIDs(name string) []ent.Value + func (m *TaskMutation) ResetEdge(name string) error + func (m *TaskMutation) ResetField(name string) error + func (m *TaskMutation) ResetPriority() + func (m *TaskMutation) SetField(name string, value ent.Value) error + func (m *TaskMutation) SetPriority(s schema.Priority) + func (m *TaskMutation) Type() string + func (m *TaskMutation) Where(ps ...predicate.Task) + func (m TaskMutation) Client() *Client + func (m TaskMutation) Tx() (*Tx, error) + type TaskQuery struct + func (tq *TaskQuery) All(ctx context.Context) ([]*Task, error) + func (tq *TaskQuery) AllX(ctx context.Context) []*Task + func (tq *TaskQuery) Clone() *TaskQuery + func (tq *TaskQuery) Count(ctx context.Context) (int, error) + func (tq *TaskQuery) CountX(ctx context.Context) int + func (tq *TaskQuery) Exist(ctx context.Context) (bool, error) + func (tq *TaskQuery) ExistX(ctx context.Context) bool + func (tq *TaskQuery) Filter() *TaskFilter + func (tq *TaskQuery) First(ctx context.Context) (*Task, error) + func (tq *TaskQuery) FirstID(ctx context.Context) (id int, err error) + func (tq *TaskQuery) FirstIDX(ctx context.Context) int + func (tq *TaskQuery) FirstX(ctx context.Context) *Task + func (tq *TaskQuery) ForShare(opts ...sql.LockOption) *TaskQuery + func (tq *TaskQuery) ForUpdate(opts ...sql.LockOption) *TaskQuery + func (tq *TaskQuery) GroupBy(field string, fields ...string) *TaskGroupBy + func (tq *TaskQuery) IDs(ctx context.Context) ([]int, error) + func (tq *TaskQuery) IDsX(ctx context.Context) []int + func (tq *TaskQuery) Limit(limit int) *TaskQuery + func (tq *TaskQuery) Modify(modifiers ...func(s *sql.Selector)) *TaskSelect + func (tq *TaskQuery) Offset(offset int) *TaskQuery + func (tq *TaskQuery) Only(ctx context.Context) (*Task, error) + func (tq *TaskQuery) OnlyID(ctx context.Context) (id int, err error) + func (tq *TaskQuery) OnlyIDX(ctx context.Context) int + func (tq *TaskQuery) OnlyX(ctx context.Context) *Task + func (tq *TaskQuery) Order(o ...OrderFunc) *TaskQuery + func (tq *TaskQuery) Select(fields ...string) *TaskSelect + func (tq *TaskQuery) Unique(unique bool) *TaskQuery + func (tq *TaskQuery) Where(ps ...predicate.Task) *TaskQuery + type TaskSelect struct + func (ts *TaskSelect) Bool(ctx context.Context) (_ bool, err error) + func (ts *TaskSelect) BoolX(ctx context.Context) bool + func (ts *TaskSelect) Bools(ctx context.Context) ([]bool, error) + func (ts *TaskSelect) BoolsX(ctx context.Context) []bool + func (ts *TaskSelect) Float64(ctx context.Context) (_ float64, err error) + func (ts *TaskSelect) Float64X(ctx context.Context) float64 + func (ts *TaskSelect) Float64s(ctx context.Context) ([]float64, error) + func (ts *TaskSelect) Float64sX(ctx context.Context) []float64 + func (ts *TaskSelect) Int(ctx context.Context) (_ int, err error) + func (ts *TaskSelect) IntX(ctx context.Context) int + func (ts *TaskSelect) Ints(ctx context.Context) ([]int, error) + func (ts *TaskSelect) IntsX(ctx context.Context) []int + func (ts *TaskSelect) Modify(modifiers ...func(s *sql.Selector)) *TaskSelect + func (ts *TaskSelect) Scan(ctx context.Context, v interface{}) error + func (ts *TaskSelect) ScanX(ctx context.Context, v interface{}) + func (ts *TaskSelect) String(ctx context.Context) (_ string, err error) + func (ts *TaskSelect) StringX(ctx context.Context) string + func (ts *TaskSelect) Strings(ctx context.Context) ([]string, error) + func (ts *TaskSelect) StringsX(ctx context.Context) []string + type TaskUpdate struct + func (tu *TaskUpdate) AddPriority(s schema.Priority) *TaskUpdate + func (tu *TaskUpdate) Exec(ctx context.Context) error + func (tu *TaskUpdate) ExecX(ctx context.Context) + func (tu *TaskUpdate) Mutation() *TaskMutation + func (tu *TaskUpdate) Save(ctx context.Context) (int, error) + func (tu *TaskUpdate) SaveX(ctx context.Context) int + func (tu *TaskUpdate) SetNillablePriority(s *schema.Priority) *TaskUpdate + func (tu *TaskUpdate) SetPriority(s schema.Priority) *TaskUpdate + func (tu *TaskUpdate) Where(ps ...predicate.Task) *TaskUpdate + type TaskUpdateOne struct + func (tuo *TaskUpdateOne) AddPriority(s schema.Priority) *TaskUpdateOne + func (tuo *TaskUpdateOne) Exec(ctx context.Context) error + func (tuo *TaskUpdateOne) ExecX(ctx context.Context) + func (tuo *TaskUpdateOne) Mutation() *TaskMutation + func (tuo *TaskUpdateOne) Save(ctx context.Context) (*Task, error) + func (tuo *TaskUpdateOne) SaveX(ctx context.Context) *Task + func (tuo *TaskUpdateOne) Select(field string, fields ...string) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetNillablePriority(s *schema.Priority) *TaskUpdateOne + func (tuo *TaskUpdateOne) SetPriority(s schema.Priority) *TaskUpdateOne + type Tasks []*Task + type Tx struct + Card *CardClient + Comment *CommentClient + FieldType *FieldTypeClient + File *FileClient + FileType *FileTypeClient + Goods *GoodsClient + Group *GroupClient + GroupInfo *GroupInfoClient + Item *ItemClient + Node *NodeClient + Pet *PetClient + Spec *SpecClient + Task *TaskClient + User *UserClient + 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 User struct + Address string + Age int + Edges UserEdges + ID int + Last string + Name string + Nickname string + OptionalInt int + Password string + Phone string + Role user.Role + SSOCert string + func (u *User) QueryCard() *CardQuery + func (u *User) QueryChildren() *UserQuery + func (u *User) QueryFiles() *FileQuery + func (u *User) QueryFollowers() *UserQuery + func (u *User) QueryFollowing() *UserQuery + func (u *User) QueryFriends() *UserQuery + func (u *User) QueryGroups() *GroupQuery + func (u *User) QueryParent() *UserQuery + func (u *User) QueryPets() *PetQuery + func (u *User) QuerySpouse() *UserQuery + func (u *User) QueryTeam() *PetQuery + func (u *User) String() string + func (u *User) Unwrap() *User + func (u *User) Update() *UserUpdateOne + 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 int) *UserDeleteOne + func (c *UserClient) Get(ctx context.Context, id int) (*User, error) + func (c *UserClient) GetX(ctx context.Context, id int) *User + func (c *UserClient) Hooks() []Hook + func (c *UserClient) Query() *UserQuery + func (c *UserClient) QueryCard(u *User) *CardQuery + func (c *UserClient) QueryChildren(u *User) *UserQuery + func (c *UserClient) QueryFiles(u *User) *FileQuery + func (c *UserClient) QueryFollowers(u *User) *UserQuery + func (c *UserClient) QueryFollowing(u *User) *UserQuery + func (c *UserClient) QueryFriends(u *User) *UserQuery + func (c *UserClient) QueryGroups(u *User) *GroupQuery + func (c *UserClient) QueryParent(u *User) *UserQuery + func (c *UserClient) QueryPets(u *User) *PetQuery + func (c *UserClient) QuerySpouse(u *User) *UserQuery + func (c *UserClient) QueryTeam(u *User) *PetQuery + func (c *UserClient) Update() *UserUpdate + func (c *UserClient) UpdateOne(u *User) *UserUpdateOne + func (c *UserClient) UpdateOneID(id int) *UserUpdateOne + func (c *UserClient) Use(hooks ...Hook) + type UserCreate struct + func (uc *UserCreate) AddChildIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddChildren(u ...*User) *UserCreate + func (uc *UserCreate) AddFileIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddFiles(f ...*File) *UserCreate + func (uc *UserCreate) AddFollowerIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddFollowers(u ...*User) *UserCreate + func (uc *UserCreate) AddFollowing(u ...*User) *UserCreate + func (uc *UserCreate) AddFollowingIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddFriendIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddFriends(u ...*User) *UserCreate + func (uc *UserCreate) AddGroupIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddGroups(g ...*Group) *UserCreate + func (uc *UserCreate) AddPetIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddPets(p ...*Pet) *UserCreate + 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) SetAddress(s string) *UserCreate + func (uc *UserCreate) SetAge(i int) *UserCreate + func (uc *UserCreate) SetCard(c *Card) *UserCreate + func (uc *UserCreate) SetCardID(id int) *UserCreate + func (uc *UserCreate) SetLast(s string) *UserCreate + func (uc *UserCreate) SetName(s string) *UserCreate + func (uc *UserCreate) SetNickname(s string) *UserCreate + func (uc *UserCreate) SetNillableAddress(s *string) *UserCreate + func (uc *UserCreate) SetNillableCardID(id *int) *UserCreate + func (uc *UserCreate) SetNillableLast(s *string) *UserCreate + func (uc *UserCreate) SetNillableNickname(s *string) *UserCreate + func (uc *UserCreate) SetNillableOptionalInt(i *int) *UserCreate + func (uc *UserCreate) SetNillableParentID(id *int) *UserCreate + func (uc *UserCreate) SetNillablePassword(s *string) *UserCreate + func (uc *UserCreate) SetNillablePhone(s *string) *UserCreate + func (uc *UserCreate) SetNillableRole(u *user.Role) *UserCreate + func (uc *UserCreate) SetNillableSSOCert(s *string) *UserCreate + func (uc *UserCreate) SetNillableSpouseID(id *int) *UserCreate + func (uc *UserCreate) SetNillableTeamID(id *int) *UserCreate + func (uc *UserCreate) SetOptionalInt(i int) *UserCreate + func (uc *UserCreate) SetParent(u *User) *UserCreate + func (uc *UserCreate) SetParentID(id int) *UserCreate + func (uc *UserCreate) SetPassword(s string) *UserCreate + func (uc *UserCreate) SetPhone(s string) *UserCreate + func (uc *UserCreate) SetRole(u user.Role) *UserCreate + func (uc *UserCreate) SetSSOCert(s string) *UserCreate + func (uc *UserCreate) SetSpouse(u *User) *UserCreate + func (uc *UserCreate) SetSpouseID(id int) *UserCreate + func (uc *UserCreate) SetTeam(p *Pet) *UserCreate + func (uc *UserCreate) SetTeamID(id int) *UserCreate + type UserCreateBulk struct + 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) + type UserEdges struct + Card *Card + Children []*User + Files []*File + Followers []*User + Following []*User + Friends []*User + Groups []*Group + Parent *User + Pets []*Pet + Spouse *User + Team *Pet + func (e UserEdges) CardOrErr() (*Card, error) + func (e UserEdges) ChildrenOrErr() ([]*User, error) + func (e UserEdges) FilesOrErr() ([]*File, error) + func (e UserEdges) FollowersOrErr() ([]*User, error) + func (e UserEdges) FollowingOrErr() ([]*User, error) + func (e UserEdges) FriendsOrErr() ([]*User, error) + func (e UserEdges) GroupsOrErr() ([]*Group, error) + func (e UserEdges) ParentOrErr() (*User, error) + func (e UserEdges) PetsOrErr() ([]*Pet, error) + func (e UserEdges) SpouseOrErr() (*User, error) + func (e UserEdges) TeamOrErr() (*Pet, error) + type UserFilter struct + func (f *UserFilter) Where(p entql.P) + func (f *UserFilter) WhereAddress(p entql.StringP) + func (f *UserFilter) WhereAge(p entql.IntP) + func (f *UserFilter) WhereHasCard() + func (f *UserFilter) WhereHasCardWith(preds ...predicate.Card) + func (f *UserFilter) WhereHasChildren() + func (f *UserFilter) WhereHasChildrenWith(preds ...predicate.User) + func (f *UserFilter) WhereHasFiles() + func (f *UserFilter) WhereHasFilesWith(preds ...predicate.File) + func (f *UserFilter) WhereHasFollowers() + func (f *UserFilter) WhereHasFollowersWith(preds ...predicate.User) + func (f *UserFilter) WhereHasFollowing() + func (f *UserFilter) WhereHasFollowingWith(preds ...predicate.User) + func (f *UserFilter) WhereHasFriends() + func (f *UserFilter) WhereHasFriendsWith(preds ...predicate.User) + func (f *UserFilter) WhereHasGroups() + func (f *UserFilter) WhereHasGroupsWith(preds ...predicate.Group) + func (f *UserFilter) WhereHasParent() + func (f *UserFilter) WhereHasParentWith(preds ...predicate.User) + func (f *UserFilter) WhereHasPets() + func (f *UserFilter) WhereHasPetsWith(preds ...predicate.Pet) + func (f *UserFilter) WhereHasSpouse() + func (f *UserFilter) WhereHasSpouseWith(preds ...predicate.User) + func (f *UserFilter) WhereHasTeam() + func (f *UserFilter) WhereHasTeamWith(preds ...predicate.Pet) + func (f *UserFilter) WhereID(p entql.IntP) + func (f *UserFilter) WhereLast(p entql.StringP) + func (f *UserFilter) WhereName(p entql.StringP) + func (f *UserFilter) WhereNickname(p entql.StringP) + func (f *UserFilter) WhereOptionalInt(p entql.IntP) + func (f *UserFilter) WherePassword(p entql.StringP) + func (f *UserFilter) WherePhone(p entql.StringP) + func (f *UserFilter) WhereRole(p entql.StringP) + func (f *UserFilter) WhereSSOCert(p entql.StringP) + type UserGroupBy struct + func (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy + func (ugb *UserGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ugb *UserGroupBy) BoolX(ctx context.Context) bool + func (ugb *UserGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ugb *UserGroupBy) BoolsX(ctx context.Context) []bool + func (ugb *UserGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ugb *UserGroupBy) Float64X(ctx context.Context) float64 + func (ugb *UserGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ugb *UserGroupBy) Float64sX(ctx context.Context) []float64 + func (ugb *UserGroupBy) Int(ctx context.Context) (_ int, err error) + func (ugb *UserGroupBy) IntX(ctx context.Context) int + func (ugb *UserGroupBy) Ints(ctx context.Context) ([]int, error) + func (ugb *UserGroupBy) IntsX(ctx context.Context) []int + func (ugb *UserGroupBy) Scan(ctx context.Context, v interface{}) error + func (ugb *UserGroupBy) ScanX(ctx context.Context, v interface{}) + func (ugb *UserGroupBy) String(ctx context.Context) (_ string, err error) + func (ugb *UserGroupBy) StringX(ctx context.Context) string + func (ugb *UserGroupBy) Strings(ctx context.Context) ([]string, error) + func (ugb *UserGroupBy) StringsX(ctx context.Context) []string + type UserMutation struct + func (m *UserMutation) AddAge(i int) + func (m *UserMutation) AddChildIDs(ids ...int) + func (m *UserMutation) AddField(name string, value ent.Value) error + func (m *UserMutation) AddFileIDs(ids ...int) + func (m *UserMutation) AddFollowerIDs(ids ...int) + func (m *UserMutation) AddFollowingIDs(ids ...int) + func (m *UserMutation) AddFriendIDs(ids ...int) + func (m *UserMutation) AddGroupIDs(ids ...int) + func (m *UserMutation) AddOptionalInt(i int) + func (m *UserMutation) AddPetIDs(ids ...int) + func (m *UserMutation) AddedAge() (r int, exists bool) + 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) AddedOptionalInt() (r int, exists bool) + func (m *UserMutation) Address() (r string, exists bool) + func (m *UserMutation) AddressCleared() bool + func (m *UserMutation) Age() (r int, exists bool) + func (m *UserMutation) CardCleared() bool + func (m *UserMutation) CardID() (id int, exists bool) + func (m *UserMutation) CardIDs() (ids []int) + func (m *UserMutation) ChildrenCleared() bool + func (m *UserMutation) ChildrenIDs() (ids []int) + func (m *UserMutation) ClearAddress() + func (m *UserMutation) ClearCard() + func (m *UserMutation) ClearChildren() + func (m *UserMutation) ClearEdge(name string) error + func (m *UserMutation) ClearField(name string) error + func (m *UserMutation) ClearFiles() + func (m *UserMutation) ClearFollowers() + func (m *UserMutation) ClearFollowing() + func (m *UserMutation) ClearFriends() + func (m *UserMutation) ClearGroups() + func (m *UserMutation) ClearNickname() + func (m *UserMutation) ClearOptionalInt() + func (m *UserMutation) ClearParent() + func (m *UserMutation) ClearPassword() + func (m *UserMutation) ClearPets() + func (m *UserMutation) ClearPhone() + func (m *UserMutation) ClearSSOCert() + func (m *UserMutation) ClearSpouse() + func (m *UserMutation) ClearTeam() + 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) FilesCleared() bool + func (m *UserMutation) FilesIDs() (ids []int) + func (m *UserMutation) Filter() *UserFilter + func (m *UserMutation) FollowersCleared() bool + func (m *UserMutation) FollowersIDs() (ids []int) + func (m *UserMutation) FollowingCleared() bool + func (m *UserMutation) FollowingIDs() (ids []int) + func (m *UserMutation) FriendsCleared() bool + func (m *UserMutation) FriendsIDs() (ids []int) + func (m *UserMutation) GroupsCleared() bool + func (m *UserMutation) GroupsIDs() (ids []int) + func (m *UserMutation) ID() (id int, exists bool) + func (m *UserMutation) Last() (r string, exists bool) + func (m *UserMutation) Name() (r string, exists bool) + func (m *UserMutation) Nickname() (r string, exists bool) + func (m *UserMutation) NicknameCleared() bool + func (m *UserMutation) OldAddress(ctx context.Context) (v string, err error) + func (m *UserMutation) OldAge(ctx context.Context) (v int, err error) + func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserMutation) OldLast(ctx context.Context) (v string, err error) + func (m *UserMutation) OldName(ctx context.Context) (v string, err error) + func (m *UserMutation) OldNickname(ctx context.Context) (v string, err error) + func (m *UserMutation) OldOptionalInt(ctx context.Context) (v int, err error) + func (m *UserMutation) OldPassword(ctx context.Context) (v string, err error) + func (m *UserMutation) OldPhone(ctx context.Context) (v string, err error) + func (m *UserMutation) OldRole(ctx context.Context) (v user.Role, err error) + func (m *UserMutation) OldSSOCert(ctx context.Context) (v string, err error) + func (m *UserMutation) Op() Op + func (m *UserMutation) OptionalInt() (r int, exists bool) + func (m *UserMutation) OptionalIntCleared() bool + func (m *UserMutation) ParentCleared() bool + func (m *UserMutation) ParentID() (id int, exists bool) + func (m *UserMutation) ParentIDs() (ids []int) + func (m *UserMutation) Password() (r string, exists bool) + func (m *UserMutation) PasswordCleared() bool + func (m *UserMutation) PetsCleared() bool + func (m *UserMutation) PetsIDs() (ids []int) + func (m *UserMutation) Phone() (r string, exists bool) + func (m *UserMutation) PhoneCleared() bool + func (m *UserMutation) RemoveChildIDs(ids ...int) + func (m *UserMutation) RemoveFileIDs(ids ...int) + func (m *UserMutation) RemoveFollowerIDs(ids ...int) + func (m *UserMutation) RemoveFollowingIDs(ids ...int) + func (m *UserMutation) RemoveFriendIDs(ids ...int) + func (m *UserMutation) RemoveGroupIDs(ids ...int) + func (m *UserMutation) RemovePetIDs(ids ...int) + func (m *UserMutation) RemovedChildrenIDs() (ids []int) + func (m *UserMutation) RemovedEdges() []string + func (m *UserMutation) RemovedFilesIDs() (ids []int) + func (m *UserMutation) RemovedFollowersIDs() (ids []int) + func (m *UserMutation) RemovedFollowingIDs() (ids []int) + func (m *UserMutation) RemovedFriendsIDs() (ids []int) + func (m *UserMutation) RemovedGroupsIDs() (ids []int) + func (m *UserMutation) RemovedIDs(name string) []ent.Value + func (m *UserMutation) RemovedPetsIDs() (ids []int) + func (m *UserMutation) ResetAddress() + func (m *UserMutation) ResetAge() + func (m *UserMutation) ResetCard() + func (m *UserMutation) ResetChildren() + func (m *UserMutation) ResetEdge(name string) error + func (m *UserMutation) ResetField(name string) error + func (m *UserMutation) ResetFiles() + func (m *UserMutation) ResetFollowers() + func (m *UserMutation) ResetFollowing() + func (m *UserMutation) ResetFriends() + func (m *UserMutation) ResetGroups() + func (m *UserMutation) ResetLast() + func (m *UserMutation) ResetName() + func (m *UserMutation) ResetNickname() + func (m *UserMutation) ResetOptionalInt() + func (m *UserMutation) ResetParent() + func (m *UserMutation) ResetPassword() + func (m *UserMutation) ResetPets() + func (m *UserMutation) ResetPhone() + func (m *UserMutation) ResetRole() + func (m *UserMutation) ResetSSOCert() + func (m *UserMutation) ResetSpouse() + func (m *UserMutation) ResetTeam() + func (m *UserMutation) Role() (r user.Role, exists bool) + func (m *UserMutation) SSOCert() (r string, exists bool) + func (m *UserMutation) SSOCertCleared() bool + func (m *UserMutation) SetAddress(s string) + func (m *UserMutation) SetAge(i int) + func (m *UserMutation) SetCardID(id int) + func (m *UserMutation) SetField(name string, value ent.Value) error + func (m *UserMutation) SetLast(s string) + func (m *UserMutation) SetName(s string) + func (m *UserMutation) SetNickname(s string) + func (m *UserMutation) SetOptionalInt(i int) + func (m *UserMutation) SetParentID(id int) + func (m *UserMutation) SetPassword(s string) + func (m *UserMutation) SetPhone(s string) + func (m *UserMutation) SetRole(u user.Role) + func (m *UserMutation) SetSSOCert(s string) + func (m *UserMutation) SetSpouseID(id int) + func (m *UserMutation) SetTeamID(id int) + func (m *UserMutation) SpouseCleared() bool + func (m *UserMutation) SpouseID() (id int, exists bool) + func (m *UserMutation) SpouseIDs() (ids []int) + func (m *UserMutation) TeamCleared() bool + func (m *UserMutation) TeamID() (id int, exists bool) + func (m *UserMutation) TeamIDs() (ids []int) + func (m *UserMutation) Type() string + func (m *UserMutation) Where(ps ...predicate.User) + func (m UserMutation) Client() *Client + func (m UserMutation) Tx() (*Tx, error) + type UserQuery struct + 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) Filter() *UserFilter + func (uq *UserQuery) First(ctx context.Context) (*User, error) + func (uq *UserQuery) FirstID(ctx context.Context) (id int, err error) + func (uq *UserQuery) FirstIDX(ctx context.Context) int + func (uq *UserQuery) FirstX(ctx context.Context) *User + func (uq *UserQuery) ForShare(opts ...sql.LockOption) *UserQuery + func (uq *UserQuery) ForUpdate(opts ...sql.LockOption) *UserQuery + func (uq *UserQuery) GroupBy(field string, fields ...string) *UserGroupBy + func (uq *UserQuery) IDs(ctx context.Context) ([]int, error) + func (uq *UserQuery) IDsX(ctx context.Context) []int + func (uq *UserQuery) Limit(limit int) *UserQuery + func (uq *UserQuery) Modify(modifiers ...func(s *sql.Selector)) *UserSelect + func (uq *UserQuery) Offset(offset int) *UserQuery + func (uq *UserQuery) Only(ctx context.Context) (*User, error) + func (uq *UserQuery) OnlyID(ctx context.Context) (id int, err error) + func (uq *UserQuery) OnlyIDX(ctx context.Context) int + func (uq *UserQuery) OnlyX(ctx context.Context) *User + func (uq *UserQuery) Order(o ...OrderFunc) *UserQuery + func (uq *UserQuery) QueryCard() *CardQuery + func (uq *UserQuery) QueryChildren() *UserQuery + func (uq *UserQuery) QueryFiles() *FileQuery + func (uq *UserQuery) QueryFollowers() *UserQuery + func (uq *UserQuery) QueryFollowing() *UserQuery + func (uq *UserQuery) QueryFriends() *UserQuery + func (uq *UserQuery) QueryGroups() *GroupQuery + func (uq *UserQuery) QueryParent() *UserQuery + func (uq *UserQuery) QueryPets() *PetQuery + func (uq *UserQuery) QuerySpouse() *UserQuery + func (uq *UserQuery) QueryTeam() *PetQuery + 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) WithCard(opts ...func(*CardQuery)) *UserQuery + func (uq *UserQuery) WithChildren(opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithFiles(opts ...func(*FileQuery)) *UserQuery + func (uq *UserQuery) WithFollowers(opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithFollowing(opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithFriends(opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithGroups(opts ...func(*GroupQuery)) *UserQuery + func (uq *UserQuery) WithParent(opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithPets(opts ...func(*PetQuery)) *UserQuery + func (uq *UserQuery) WithSpouse(opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithTeam(opts ...func(*PetQuery)) *UserQuery + type UserSelect struct + func (us *UserSelect) Bool(ctx context.Context) (_ bool, err error) + func (us *UserSelect) BoolX(ctx context.Context) bool + func (us *UserSelect) Bools(ctx context.Context) ([]bool, error) + func (us *UserSelect) BoolsX(ctx context.Context) []bool + func (us *UserSelect) Float64(ctx context.Context) (_ float64, err error) + func (us *UserSelect) Float64X(ctx context.Context) float64 + func (us *UserSelect) Float64s(ctx context.Context) ([]float64, error) + func (us *UserSelect) Float64sX(ctx context.Context) []float64 + func (us *UserSelect) Int(ctx context.Context) (_ int, err error) + func (us *UserSelect) IntX(ctx context.Context) int + func (us *UserSelect) Ints(ctx context.Context) ([]int, error) + func (us *UserSelect) IntsX(ctx context.Context) []int + func (us *UserSelect) Modify(modifiers ...func(s *sql.Selector)) *UserSelect + func (us *UserSelect) Scan(ctx context.Context, v interface{}) error + func (us *UserSelect) ScanX(ctx context.Context, v interface{}) + func (us *UserSelect) String(ctx context.Context) (_ string, err error) + func (us *UserSelect) StringX(ctx context.Context) string + func (us *UserSelect) Strings(ctx context.Context) ([]string, error) + func (us *UserSelect) StringsX(ctx context.Context) []string + type UserUpdate struct + func (uu *UserUpdate) AddAge(i int) *UserUpdate + func (uu *UserUpdate) AddChildIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddChildren(u ...*User) *UserUpdate + func (uu *UserUpdate) AddFileIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddFiles(f ...*File) *UserUpdate + func (uu *UserUpdate) AddFollowerIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddFollowers(u ...*User) *UserUpdate + func (uu *UserUpdate) AddFollowing(u ...*User) *UserUpdate + func (uu *UserUpdate) AddFollowingIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddFriendIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddFriends(u ...*User) *UserUpdate + func (uu *UserUpdate) AddGroupIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddGroups(g ...*Group) *UserUpdate + func (uu *UserUpdate) AddOptionalInt(i int) *UserUpdate + func (uu *UserUpdate) AddPetIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddPets(p ...*Pet) *UserUpdate + func (uu *UserUpdate) ClearAddress() *UserUpdate + func (uu *UserUpdate) ClearCard() *UserUpdate + func (uu *UserUpdate) ClearChildren() *UserUpdate + func (uu *UserUpdate) ClearFiles() *UserUpdate + func (uu *UserUpdate) ClearFollowers() *UserUpdate + func (uu *UserUpdate) ClearFollowing() *UserUpdate + func (uu *UserUpdate) ClearFriends() *UserUpdate + func (uu *UserUpdate) ClearGroups() *UserUpdate + func (uu *UserUpdate) ClearNickname() *UserUpdate + func (uu *UserUpdate) ClearOptionalInt() *UserUpdate + func (uu *UserUpdate) ClearParent() *UserUpdate + func (uu *UserUpdate) ClearPassword() *UserUpdate + func (uu *UserUpdate) ClearPets() *UserUpdate + func (uu *UserUpdate) ClearPhone() *UserUpdate + func (uu *UserUpdate) ClearSSOCert() *UserUpdate + func (uu *UserUpdate) ClearSpouse() *UserUpdate + func (uu *UserUpdate) ClearTeam() *UserUpdate + func (uu *UserUpdate) Exec(ctx context.Context) error + func (uu *UserUpdate) ExecX(ctx context.Context) + func (uu *UserUpdate) Mutation() *UserMutation + func (uu *UserUpdate) RemoveChildIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveChildren(u ...*User) *UserUpdate + func (uu *UserUpdate) RemoveFileIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveFiles(f ...*File) *UserUpdate + func (uu *UserUpdate) RemoveFollowerIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveFollowers(u ...*User) *UserUpdate + func (uu *UserUpdate) RemoveFollowing(u ...*User) *UserUpdate + func (uu *UserUpdate) RemoveFollowingIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveFriendIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveFriends(u ...*User) *UserUpdate + func (uu *UserUpdate) RemoveGroupIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveGroups(g ...*Group) *UserUpdate + func (uu *UserUpdate) RemovePetIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemovePets(p ...*Pet) *UserUpdate + func (uu *UserUpdate) Save(ctx context.Context) (int, error) + func (uu *UserUpdate) SaveX(ctx context.Context) int + func (uu *UserUpdate) SetAddress(s string) *UserUpdate + func (uu *UserUpdate) SetAge(i int) *UserUpdate + func (uu *UserUpdate) SetCard(c *Card) *UserUpdate + func (uu *UserUpdate) SetCardID(id int) *UserUpdate + func (uu *UserUpdate) SetLast(s string) *UserUpdate + func (uu *UserUpdate) SetName(s string) *UserUpdate + func (uu *UserUpdate) SetNickname(s string) *UserUpdate + func (uu *UserUpdate) SetNillableAddress(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableCardID(id *int) *UserUpdate + func (uu *UserUpdate) SetNillableLast(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableNickname(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableOptionalInt(i *int) *UserUpdate + func (uu *UserUpdate) SetNillableParentID(id *int) *UserUpdate + func (uu *UserUpdate) SetNillablePassword(s *string) *UserUpdate + func (uu *UserUpdate) SetNillablePhone(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableRole(u *user.Role) *UserUpdate + func (uu *UserUpdate) SetNillableSSOCert(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableSpouseID(id *int) *UserUpdate + func (uu *UserUpdate) SetNillableTeamID(id *int) *UserUpdate + func (uu *UserUpdate) SetOptionalInt(i int) *UserUpdate + func (uu *UserUpdate) SetParent(u *User) *UserUpdate + func (uu *UserUpdate) SetParentID(id int) *UserUpdate + func (uu *UserUpdate) SetPassword(s string) *UserUpdate + func (uu *UserUpdate) SetPhone(s string) *UserUpdate + func (uu *UserUpdate) SetRole(u user.Role) *UserUpdate + func (uu *UserUpdate) SetSSOCert(s string) *UserUpdate + func (uu *UserUpdate) SetSpouse(u *User) *UserUpdate + func (uu *UserUpdate) SetSpouseID(id int) *UserUpdate + func (uu *UserUpdate) SetTeam(p *Pet) *UserUpdate + func (uu *UserUpdate) SetTeamID(id int) *UserUpdate + func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate + type UserUpdateOne struct + func (uuo *UserUpdateOne) AddAge(i int) *UserUpdateOne + func (uuo *UserUpdateOne) AddChildIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddChildren(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) AddFileIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddFiles(f ...*File) *UserUpdateOne + func (uuo *UserUpdateOne) AddFollowerIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddFollowers(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) AddFollowing(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) AddFollowingIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddFriendIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddFriends(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) AddGroupIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddGroups(g ...*Group) *UserUpdateOne + func (uuo *UserUpdateOne) AddOptionalInt(i int) *UserUpdateOne + func (uuo *UserUpdateOne) AddPetIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddPets(p ...*Pet) *UserUpdateOne + func (uuo *UserUpdateOne) ClearAddress() *UserUpdateOne + func (uuo *UserUpdateOne) ClearCard() *UserUpdateOne + func (uuo *UserUpdateOne) ClearChildren() *UserUpdateOne + func (uuo *UserUpdateOne) ClearFiles() *UserUpdateOne + func (uuo *UserUpdateOne) ClearFollowers() *UserUpdateOne + func (uuo *UserUpdateOne) ClearFollowing() *UserUpdateOne + func (uuo *UserUpdateOne) ClearFriends() *UserUpdateOne + func (uuo *UserUpdateOne) ClearGroups() *UserUpdateOne + func (uuo *UserUpdateOne) ClearNickname() *UserUpdateOne + func (uuo *UserUpdateOne) ClearOptionalInt() *UserUpdateOne + func (uuo *UserUpdateOne) ClearParent() *UserUpdateOne + func (uuo *UserUpdateOne) ClearPassword() *UserUpdateOne + func (uuo *UserUpdateOne) ClearPets() *UserUpdateOne + func (uuo *UserUpdateOne) ClearPhone() *UserUpdateOne + func (uuo *UserUpdateOne) ClearSSOCert() *UserUpdateOne + func (uuo *UserUpdateOne) ClearSpouse() *UserUpdateOne + func (uuo *UserUpdateOne) ClearTeam() *UserUpdateOne + func (uuo *UserUpdateOne) Exec(ctx context.Context) error + func (uuo *UserUpdateOne) ExecX(ctx context.Context) + func (uuo *UserUpdateOne) Mutation() *UserMutation + func (uuo *UserUpdateOne) RemoveChildIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveChildren(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFileIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFiles(f ...*File) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFollowerIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFollowers(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFollowing(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFollowingIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFriendIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFriends(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveGroupIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveGroups(g ...*Group) *UserUpdateOne + func (uuo *UserUpdateOne) RemovePetIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemovePets(p ...*Pet) *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) SetAddress(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetAge(i int) *UserUpdateOne + func (uuo *UserUpdateOne) SetCard(c *Card) *UserUpdateOne + func (uuo *UserUpdateOne) SetCardID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) SetLast(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetName(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNickname(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableAddress(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableCardID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableLast(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableNickname(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableOptionalInt(i *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableParentID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillablePassword(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillablePhone(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableRole(u *user.Role) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableSSOCert(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableSpouseID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableTeamID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetOptionalInt(i int) *UserUpdateOne + func (uuo *UserUpdateOne) SetParent(u *User) *UserUpdateOne + func (uuo *UserUpdateOne) SetParentID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) SetPassword(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetPhone(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetRole(u user.Role) *UserUpdateOne + func (uuo *UserUpdateOne) SetSSOCert(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetSpouse(u *User) *UserUpdateOne + func (uuo *UserUpdateOne) SetSpouseID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) SetTeam(p *Pet) *UserUpdateOne + func (uuo *UserUpdateOne) SetTeamID(id int) *UserUpdateOne + type Users []*User + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value