Versions in this module Expand all Collapse all v0 v0.0.2 Nov 9, 2022 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeAttachment + const TypeGroup + const TypeMultiWordSchema + const TypeNilExample + const TypePet + const TypePony + const TypeSkipEdgeExample + const TypeTodo + 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 Attachment struct + Edges AttachmentEdges + ID uuid.UUID + func (a *Attachment) QueryRecipients() *UserQuery + func (a *Attachment) QueryUser() *UserQuery + func (a *Attachment) String() string + func (a *Attachment) Unwrap() *Attachment + func (a *Attachment) Update() *AttachmentUpdateOne + type AttachmentClient struct + func NewAttachmentClient(c config) *AttachmentClient + func (c *AttachmentClient) Create() *AttachmentCreate + func (c *AttachmentClient) CreateBulk(builders ...*AttachmentCreate) *AttachmentCreateBulk + func (c *AttachmentClient) Delete() *AttachmentDelete + func (c *AttachmentClient) DeleteOne(a *Attachment) *AttachmentDeleteOne + func (c *AttachmentClient) DeleteOneID(id uuid.UUID) *AttachmentDeleteOne + func (c *AttachmentClient) Get(ctx context.Context, id uuid.UUID) (*Attachment, error) + func (c *AttachmentClient) GetX(ctx context.Context, id uuid.UUID) *Attachment + func (c *AttachmentClient) Hooks() []Hook + func (c *AttachmentClient) Query() *AttachmentQuery + func (c *AttachmentClient) QueryRecipients(a *Attachment) *UserQuery + func (c *AttachmentClient) QueryUser(a *Attachment) *UserQuery + func (c *AttachmentClient) Update() *AttachmentUpdate + func (c *AttachmentClient) UpdateOne(a *Attachment) *AttachmentUpdateOne + func (c *AttachmentClient) UpdateOneID(id uuid.UUID) *AttachmentUpdateOne + func (c *AttachmentClient) Use(hooks ...Hook) + type AttachmentCreate struct + func (ac *AttachmentCreate) AddRecipientIDs(ids ...int) *AttachmentCreate + func (ac *AttachmentCreate) AddRecipients(u ...*User) *AttachmentCreate + func (ac *AttachmentCreate) Exec(ctx context.Context) error + func (ac *AttachmentCreate) ExecX(ctx context.Context) + func (ac *AttachmentCreate) Mutation() *AttachmentMutation + func (ac *AttachmentCreate) Save(ctx context.Context) (*Attachment, error) + func (ac *AttachmentCreate) SaveX(ctx context.Context) *Attachment + func (ac *AttachmentCreate) SetID(u uuid.UUID) *AttachmentCreate + func (ac *AttachmentCreate) SetNillableID(u *uuid.UUID) *AttachmentCreate + func (ac *AttachmentCreate) SetNillableUserID(id *int) *AttachmentCreate + func (ac *AttachmentCreate) SetUser(u *User) *AttachmentCreate + func (ac *AttachmentCreate) SetUserID(id int) *AttachmentCreate + type AttachmentCreateBulk struct + func (acb *AttachmentCreateBulk) Exec(ctx context.Context) error + func (acb *AttachmentCreateBulk) ExecX(ctx context.Context) + func (acb *AttachmentCreateBulk) Save(ctx context.Context) ([]*Attachment, error) + func (acb *AttachmentCreateBulk) SaveX(ctx context.Context) []*Attachment + type AttachmentDelete struct + func (ad *AttachmentDelete) Exec(ctx context.Context) (int, error) + func (ad *AttachmentDelete) ExecX(ctx context.Context) int + func (ad *AttachmentDelete) Where(ps ...predicate.Attachment) *AttachmentDelete + type AttachmentDeleteOne struct + func (ado *AttachmentDeleteOne) Exec(ctx context.Context) error + func (ado *AttachmentDeleteOne) ExecX(ctx context.Context) + type AttachmentEdges struct + Recipients []*User + User *User + func (e AttachmentEdges) RecipientsOrErr() ([]*User, error) + func (e AttachmentEdges) UserOrErr() (*User, error) + type AttachmentGroupBy struct + func (agb *AttachmentGroupBy) Aggregate(fns ...AggregateFunc) *AttachmentGroupBy + func (agb *AttachmentGroupBy) Scan(ctx context.Context, v any) error + func (s *AttachmentGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *AttachmentGroupBy) BoolX(ctx context.Context) bool + func (s *AttachmentGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *AttachmentGroupBy) BoolsX(ctx context.Context) []bool + func (s *AttachmentGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *AttachmentGroupBy) Float64X(ctx context.Context) float64 + func (s *AttachmentGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *AttachmentGroupBy) Float64sX(ctx context.Context) []float64 + func (s *AttachmentGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *AttachmentGroupBy) IntX(ctx context.Context) int + func (s *AttachmentGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *AttachmentGroupBy) IntsX(ctx context.Context) []int + func (s *AttachmentGroupBy) ScanX(ctx context.Context, v any) + func (s *AttachmentGroupBy) String(ctx context.Context) (_ string, err error) + func (s *AttachmentGroupBy) StringX(ctx context.Context) string + func (s *AttachmentGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *AttachmentGroupBy) StringsX(ctx context.Context) []string + type AttachmentMutation struct + func (m *AttachmentMutation) AddField(name string, value ent.Value) error + func (m *AttachmentMutation) AddRecipientIDs(ids ...int) + func (m *AttachmentMutation) AddedEdges() []string + func (m *AttachmentMutation) AddedField(name string) (ent.Value, bool) + func (m *AttachmentMutation) AddedFields() []string + func (m *AttachmentMutation) AddedIDs(name string) []ent.Value + func (m *AttachmentMutation) ClearEdge(name string) error + func (m *AttachmentMutation) ClearField(name string) error + func (m *AttachmentMutation) ClearRecipients() + func (m *AttachmentMutation) ClearUser() + func (m *AttachmentMutation) ClearedEdges() []string + func (m *AttachmentMutation) ClearedFields() []string + func (m *AttachmentMutation) EdgeCleared(name string) bool + func (m *AttachmentMutation) Field(name string) (ent.Value, bool) + func (m *AttachmentMutation) FieldCleared(name string) bool + func (m *AttachmentMutation) Fields() []string + func (m *AttachmentMutation) ID() (id uuid.UUID, exists bool) + func (m *AttachmentMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *AttachmentMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *AttachmentMutation) Op() Op + func (m *AttachmentMutation) RecipientsCleared() bool + func (m *AttachmentMutation) RecipientsIDs() (ids []int) + func (m *AttachmentMutation) RemoveRecipientIDs(ids ...int) + func (m *AttachmentMutation) RemovedEdges() []string + func (m *AttachmentMutation) RemovedIDs(name string) []ent.Value + func (m *AttachmentMutation) RemovedRecipientsIDs() (ids []int) + func (m *AttachmentMutation) ResetEdge(name string) error + func (m *AttachmentMutation) ResetField(name string) error + func (m *AttachmentMutation) ResetRecipients() + func (m *AttachmentMutation) ResetUser() + func (m *AttachmentMutation) SetField(name string, value ent.Value) error + func (m *AttachmentMutation) SetID(id uuid.UUID) + func (m *AttachmentMutation) SetUserID(id int) + func (m *AttachmentMutation) Type() string + func (m *AttachmentMutation) UserCleared() bool + func (m *AttachmentMutation) UserID() (id int, exists bool) + func (m *AttachmentMutation) UserIDs() (ids []int) + func (m *AttachmentMutation) Where(ps ...predicate.Attachment) + func (m AttachmentMutation) Client() *Client + func (m AttachmentMutation) Tx() (*Tx, error) + type AttachmentQuery struct + func (aq *AttachmentQuery) Aggregate(fns ...AggregateFunc) *AttachmentSelect + func (aq *AttachmentQuery) All(ctx context.Context) ([]*Attachment, error) + func (aq *AttachmentQuery) AllX(ctx context.Context) []*Attachment + func (aq *AttachmentQuery) Clone() *AttachmentQuery + func (aq *AttachmentQuery) Count(ctx context.Context) (int, error) + func (aq *AttachmentQuery) CountX(ctx context.Context) int + func (aq *AttachmentQuery) Exist(ctx context.Context) (bool, error) + func (aq *AttachmentQuery) ExistX(ctx context.Context) bool + func (aq *AttachmentQuery) First(ctx context.Context) (*Attachment, error) + func (aq *AttachmentQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (aq *AttachmentQuery) FirstIDX(ctx context.Context) uuid.UUID + func (aq *AttachmentQuery) FirstX(ctx context.Context) *Attachment + func (aq *AttachmentQuery) GroupBy(field string, fields ...string) *AttachmentGroupBy + func (aq *AttachmentQuery) IDs(ctx context.Context) ([]uuid.UUID, error) + func (aq *AttachmentQuery) IDsX(ctx context.Context) []uuid.UUID + func (aq *AttachmentQuery) Limit(limit int) *AttachmentQuery + func (aq *AttachmentQuery) Offset(offset int) *AttachmentQuery + func (aq *AttachmentQuery) Only(ctx context.Context) (*Attachment, error) + func (aq *AttachmentQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (aq *AttachmentQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (aq *AttachmentQuery) OnlyX(ctx context.Context) *Attachment + func (aq *AttachmentQuery) Order(o ...OrderFunc) *AttachmentQuery + func (aq *AttachmentQuery) QueryRecipients() *UserQuery + func (aq *AttachmentQuery) QueryUser() *UserQuery + func (aq *AttachmentQuery) Select(fields ...string) *AttachmentSelect + func (aq *AttachmentQuery) Unique(unique bool) *AttachmentQuery + func (aq *AttachmentQuery) Where(ps ...predicate.Attachment) *AttachmentQuery + func (aq *AttachmentQuery) WithRecipients(opts ...func(*UserQuery)) *AttachmentQuery + func (aq *AttachmentQuery) WithUser(opts ...func(*UserQuery)) *AttachmentQuery + type AttachmentSelect struct + func (as *AttachmentSelect) Aggregate(fns ...AggregateFunc) *AttachmentSelect + func (as *AttachmentSelect) Scan(ctx context.Context, v any) error + func (s *AttachmentSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *AttachmentSelect) BoolX(ctx context.Context) bool + func (s *AttachmentSelect) Bools(ctx context.Context) ([]bool, error) + func (s *AttachmentSelect) BoolsX(ctx context.Context) []bool + func (s *AttachmentSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *AttachmentSelect) Float64X(ctx context.Context) float64 + func (s *AttachmentSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *AttachmentSelect) Float64sX(ctx context.Context) []float64 + func (s *AttachmentSelect) Int(ctx context.Context) (_ int, err error) + func (s *AttachmentSelect) IntX(ctx context.Context) int + func (s *AttachmentSelect) Ints(ctx context.Context) ([]int, error) + func (s *AttachmentSelect) IntsX(ctx context.Context) []int + func (s *AttachmentSelect) ScanX(ctx context.Context, v any) + func (s *AttachmentSelect) String(ctx context.Context) (_ string, err error) + func (s *AttachmentSelect) StringX(ctx context.Context) string + func (s *AttachmentSelect) Strings(ctx context.Context) ([]string, error) + func (s *AttachmentSelect) StringsX(ctx context.Context) []string + type AttachmentUpdate struct + func (au *AttachmentUpdate) AddRecipientIDs(ids ...int) *AttachmentUpdate + func (au *AttachmentUpdate) AddRecipients(u ...*User) *AttachmentUpdate + func (au *AttachmentUpdate) ClearRecipients() *AttachmentUpdate + func (au *AttachmentUpdate) ClearUser() *AttachmentUpdate + func (au *AttachmentUpdate) Exec(ctx context.Context) error + func (au *AttachmentUpdate) ExecX(ctx context.Context) + func (au *AttachmentUpdate) Mutation() *AttachmentMutation + func (au *AttachmentUpdate) RemoveRecipientIDs(ids ...int) *AttachmentUpdate + func (au *AttachmentUpdate) RemoveRecipients(u ...*User) *AttachmentUpdate + func (au *AttachmentUpdate) Save(ctx context.Context) (int, error) + func (au *AttachmentUpdate) SaveX(ctx context.Context) int + func (au *AttachmentUpdate) SetNillableUserID(id *int) *AttachmentUpdate + func (au *AttachmentUpdate) SetUser(u *User) *AttachmentUpdate + func (au *AttachmentUpdate) SetUserID(id int) *AttachmentUpdate + func (au *AttachmentUpdate) Where(ps ...predicate.Attachment) *AttachmentUpdate + type AttachmentUpdateOne struct + func (auo *AttachmentUpdateOne) AddRecipientIDs(ids ...int) *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) AddRecipients(u ...*User) *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) ClearRecipients() *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) ClearUser() *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) Exec(ctx context.Context) error + func (auo *AttachmentUpdateOne) ExecX(ctx context.Context) + func (auo *AttachmentUpdateOne) Mutation() *AttachmentMutation + func (auo *AttachmentUpdateOne) RemoveRecipientIDs(ids ...int) *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) RemoveRecipients(u ...*User) *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) Save(ctx context.Context) (*Attachment, error) + func (auo *AttachmentUpdateOne) SaveX(ctx context.Context) *Attachment + func (auo *AttachmentUpdateOne) Select(field string, fields ...string) *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) SetNillableUserID(id *int) *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) SetUser(u *User) *AttachmentUpdateOne + func (auo *AttachmentUpdateOne) SetUserID(id int) *AttachmentUpdateOne + type Attachments []*Attachment + type Client struct + Attachment *AttachmentClient + Group *GroupClient + MultiWordSchema *MultiWordSchemaClient + NilExample *NilExampleClient + Pet *PetClient + Pony *PonyClient + Schema *migrate.Schema + SkipEdgeExample *SkipEdgeExampleClient + Todo *TodoClient + 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) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type Group struct + Edges GroupEdges + ID int + Name string + 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) 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) AddUserIDs(ids ...int) *GroupCreate + func (gc *GroupCreate) AddUsers(u ...*User) *GroupCreate + func (gc *GroupCreate) Exec(ctx context.Context) error + func (gc *GroupCreate) ExecX(ctx context.Context) + func (gc *GroupCreate) Mutation() *GroupMutation + func (gc *GroupCreate) Save(ctx context.Context) (*Group, error) + func (gc *GroupCreate) SaveX(ctx context.Context) *Group + func (gc *GroupCreate) SetName(s string) *GroupCreate + type GroupCreateBulk struct + func (gcb *GroupCreateBulk) Exec(ctx context.Context) error + func (gcb *GroupCreateBulk) ExecX(ctx context.Context) + func (gcb *GroupCreateBulk) Save(ctx context.Context) ([]*Group, error) + func (gcb *GroupCreateBulk) SaveX(ctx context.Context) []*Group + type GroupDelete struct + func (gd *GroupDelete) Exec(ctx context.Context) (int, error) + func (gd *GroupDelete) ExecX(ctx context.Context) int + func (gd *GroupDelete) Where(ps ...predicate.Group) *GroupDelete + type GroupDeleteOne struct + func (gdo *GroupDeleteOne) Exec(ctx context.Context) error + func (gdo *GroupDeleteOne) ExecX(ctx context.Context) + type GroupEdges struct + Users []*User + func (e GroupEdges) UsersOrErr() ([]*User, error) + type GroupGroupBy struct + func (ggb *GroupGroupBy) Aggregate(fns ...AggregateFunc) *GroupGroupBy + func (ggb *GroupGroupBy) Scan(ctx context.Context, v any) error + func (s *GroupGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *GroupGroupBy) BoolX(ctx context.Context) bool + func (s *GroupGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *GroupGroupBy) BoolsX(ctx context.Context) []bool + func (s *GroupGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *GroupGroupBy) Float64X(ctx context.Context) float64 + func (s *GroupGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *GroupGroupBy) Float64sX(ctx context.Context) []float64 + func (s *GroupGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *GroupGroupBy) IntX(ctx context.Context) int + func (s *GroupGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *GroupGroupBy) IntsX(ctx context.Context) []int + func (s *GroupGroupBy) ScanX(ctx context.Context, v any) + func (s *GroupGroupBy) String(ctx context.Context) (_ string, err error) + func (s *GroupGroupBy) StringX(ctx context.Context) string + func (s *GroupGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *GroupGroupBy) StringsX(ctx context.Context) []string + type GroupMutation struct + func (m *GroupMutation) AddField(name string, value ent.Value) error + func (m *GroupMutation) AddUserIDs(ids ...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) ClearEdge(name string) error + func (m *GroupMutation) ClearField(name string) error + func (m *GroupMutation) ClearUsers() + func (m *GroupMutation) ClearedEdges() []string + func (m *GroupMutation) ClearedFields() []string + func (m *GroupMutation) EdgeCleared(name string) bool + func (m *GroupMutation) Field(name string) (ent.Value, bool) + func (m *GroupMutation) FieldCleared(name string) bool + func (m *GroupMutation) Fields() []string + func (m *GroupMutation) ID() (id int, exists bool) + func (m *GroupMutation) IDs(ctx context.Context) ([]int, error) + func (m *GroupMutation) Name() (r string, exists bool) + func (m *GroupMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *GroupMutation) OldName(ctx context.Context) (v string, err error) + func (m *GroupMutation) Op() Op + func (m *GroupMutation) RemoveUserIDs(ids ...int) + func (m *GroupMutation) RemovedEdges() []string + func (m *GroupMutation) RemovedIDs(name string) []ent.Value + func (m *GroupMutation) RemovedUsersIDs() (ids []int) + func (m *GroupMutation) ResetEdge(name string) error + func (m *GroupMutation) ResetField(name string) error + func (m *GroupMutation) ResetName() + func (m *GroupMutation) ResetUsers() + func (m *GroupMutation) SetField(name string, value ent.Value) error + func (m *GroupMutation) SetName(s string) + func (m *GroupMutation) Type() string + 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) Aggregate(fns ...AggregateFunc) *GroupSelect + func (gq *GroupQuery) All(ctx context.Context) ([]*Group, error) + func (gq *GroupQuery) AllX(ctx context.Context) []*Group + func (gq *GroupQuery) Clone() *GroupQuery + func (gq *GroupQuery) Count(ctx context.Context) (int, error) + func (gq *GroupQuery) CountX(ctx context.Context) int + func (gq *GroupQuery) Exist(ctx context.Context) (bool, error) + func (gq *GroupQuery) ExistX(ctx context.Context) bool + func (gq *GroupQuery) First(ctx context.Context) (*Group, error) + func (gq *GroupQuery) FirstID(ctx context.Context) (id int, err error) + func (gq *GroupQuery) FirstIDX(ctx context.Context) int + func (gq *GroupQuery) FirstX(ctx context.Context) *Group + 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) 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) 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) WithUsers(opts ...func(*UserQuery)) *GroupQuery + type GroupSelect struct + func (gs *GroupSelect) Aggregate(fns ...AggregateFunc) *GroupSelect + func (gs *GroupSelect) Scan(ctx context.Context, v any) error + func (s *GroupSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *GroupSelect) BoolX(ctx context.Context) bool + func (s *GroupSelect) Bools(ctx context.Context) ([]bool, error) + func (s *GroupSelect) BoolsX(ctx context.Context) []bool + func (s *GroupSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *GroupSelect) Float64X(ctx context.Context) float64 + func (s *GroupSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *GroupSelect) Float64sX(ctx context.Context) []float64 + func (s *GroupSelect) Int(ctx context.Context) (_ int, err error) + func (s *GroupSelect) IntX(ctx context.Context) int + func (s *GroupSelect) Ints(ctx context.Context) ([]int, error) + func (s *GroupSelect) IntsX(ctx context.Context) []int + func (s *GroupSelect) ScanX(ctx context.Context, v any) + func (s *GroupSelect) String(ctx context.Context) (_ string, err error) + func (s *GroupSelect) StringX(ctx context.Context) string + func (s *GroupSelect) Strings(ctx context.Context) ([]string, error) + func (s *GroupSelect) StringsX(ctx context.Context) []string + type GroupUpdate struct + func (gu *GroupUpdate) AddUserIDs(ids ...int) *GroupUpdate + func (gu *GroupUpdate) AddUsers(u ...*User) *GroupUpdate + func (gu *GroupUpdate) ClearUsers() *GroupUpdate + func (gu *GroupUpdate) Exec(ctx context.Context) error + func (gu *GroupUpdate) ExecX(ctx context.Context) + func (gu *GroupUpdate) Mutation() *GroupMutation + func (gu *GroupUpdate) RemoveUserIDs(ids ...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) SetName(s string) *GroupUpdate + func (gu *GroupUpdate) Where(ps ...predicate.Group) *GroupUpdate + type GroupUpdateOne struct + func (guo *GroupUpdateOne) AddUserIDs(ids ...int) *GroupUpdateOne + func (guo *GroupUpdateOne) AddUsers(u ...*User) *GroupUpdateOne + func (guo *GroupUpdateOne) ClearUsers() *GroupUpdateOne + func (guo *GroupUpdateOne) Exec(ctx context.Context) error + func (guo *GroupUpdateOne) ExecX(ctx context.Context) + func (guo *GroupUpdateOne) Mutation() *GroupMutation + func (guo *GroupUpdateOne) RemoveUserIDs(ids ...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) SetName(s string) *GroupUpdateOne + type Groups []*Group + type Hook = ent.Hook + type MultiWordSchema struct + ID int + Unit multiwordschema.Unit + func (mws *MultiWordSchema) String() string + func (mws *MultiWordSchema) Unwrap() *MultiWordSchema + func (mws *MultiWordSchema) Update() *MultiWordSchemaUpdateOne + type MultiWordSchemaClient struct + func NewMultiWordSchemaClient(c config) *MultiWordSchemaClient + func (c *MultiWordSchemaClient) Create() *MultiWordSchemaCreate + func (c *MultiWordSchemaClient) CreateBulk(builders ...*MultiWordSchemaCreate) *MultiWordSchemaCreateBulk + func (c *MultiWordSchemaClient) Delete() *MultiWordSchemaDelete + func (c *MultiWordSchemaClient) DeleteOne(mws *MultiWordSchema) *MultiWordSchemaDeleteOne + func (c *MultiWordSchemaClient) DeleteOneID(id int) *MultiWordSchemaDeleteOne + func (c *MultiWordSchemaClient) Get(ctx context.Context, id int) (*MultiWordSchema, error) + func (c *MultiWordSchemaClient) GetX(ctx context.Context, id int) *MultiWordSchema + func (c *MultiWordSchemaClient) Hooks() []Hook + func (c *MultiWordSchemaClient) Query() *MultiWordSchemaQuery + func (c *MultiWordSchemaClient) Update() *MultiWordSchemaUpdate + func (c *MultiWordSchemaClient) UpdateOne(mws *MultiWordSchema) *MultiWordSchemaUpdateOne + func (c *MultiWordSchemaClient) UpdateOneID(id int) *MultiWordSchemaUpdateOne + func (c *MultiWordSchemaClient) Use(hooks ...Hook) + type MultiWordSchemaCreate struct + func (mwsc *MultiWordSchemaCreate) Exec(ctx context.Context) error + func (mwsc *MultiWordSchemaCreate) ExecX(ctx context.Context) + func (mwsc *MultiWordSchemaCreate) Mutation() *MultiWordSchemaMutation + func (mwsc *MultiWordSchemaCreate) Save(ctx context.Context) (*MultiWordSchema, error) + func (mwsc *MultiWordSchemaCreate) SaveX(ctx context.Context) *MultiWordSchema + func (mwsc *MultiWordSchemaCreate) SetNillableUnit(m *multiwordschema.Unit) *MultiWordSchemaCreate + func (mwsc *MultiWordSchemaCreate) SetUnit(m multiwordschema.Unit) *MultiWordSchemaCreate + type MultiWordSchemaCreateBulk struct + func (mwscb *MultiWordSchemaCreateBulk) Exec(ctx context.Context) error + func (mwscb *MultiWordSchemaCreateBulk) ExecX(ctx context.Context) + func (mwscb *MultiWordSchemaCreateBulk) Save(ctx context.Context) ([]*MultiWordSchema, error) + func (mwscb *MultiWordSchemaCreateBulk) SaveX(ctx context.Context) []*MultiWordSchema + type MultiWordSchemaDelete struct + func (mwsd *MultiWordSchemaDelete) Exec(ctx context.Context) (int, error) + func (mwsd *MultiWordSchemaDelete) ExecX(ctx context.Context) int + func (mwsd *MultiWordSchemaDelete) Where(ps ...predicate.MultiWordSchema) *MultiWordSchemaDelete + type MultiWordSchemaDeleteOne struct + func (mwsdo *MultiWordSchemaDeleteOne) Exec(ctx context.Context) error + func (mwsdo *MultiWordSchemaDeleteOne) ExecX(ctx context.Context) + type MultiWordSchemaGroupBy struct + func (mwsgb *MultiWordSchemaGroupBy) Aggregate(fns ...AggregateFunc) *MultiWordSchemaGroupBy + func (mwsgb *MultiWordSchemaGroupBy) Scan(ctx context.Context, v any) error + func (s *MultiWordSchemaGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *MultiWordSchemaGroupBy) BoolX(ctx context.Context) bool + func (s *MultiWordSchemaGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *MultiWordSchemaGroupBy) BoolsX(ctx context.Context) []bool + func (s *MultiWordSchemaGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *MultiWordSchemaGroupBy) Float64X(ctx context.Context) float64 + func (s *MultiWordSchemaGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *MultiWordSchemaGroupBy) Float64sX(ctx context.Context) []float64 + func (s *MultiWordSchemaGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *MultiWordSchemaGroupBy) IntX(ctx context.Context) int + func (s *MultiWordSchemaGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *MultiWordSchemaGroupBy) IntsX(ctx context.Context) []int + func (s *MultiWordSchemaGroupBy) ScanX(ctx context.Context, v any) + func (s *MultiWordSchemaGroupBy) String(ctx context.Context) (_ string, err error) + func (s *MultiWordSchemaGroupBy) StringX(ctx context.Context) string + func (s *MultiWordSchemaGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *MultiWordSchemaGroupBy) StringsX(ctx context.Context) []string + type MultiWordSchemaMutation struct + func (m *MultiWordSchemaMutation) AddField(name string, value ent.Value) error + func (m *MultiWordSchemaMutation) AddedEdges() []string + func (m *MultiWordSchemaMutation) AddedField(name string) (ent.Value, bool) + func (m *MultiWordSchemaMutation) AddedFields() []string + func (m *MultiWordSchemaMutation) AddedIDs(name string) []ent.Value + func (m *MultiWordSchemaMutation) ClearEdge(name string) error + func (m *MultiWordSchemaMutation) ClearField(name string) error + func (m *MultiWordSchemaMutation) ClearedEdges() []string + func (m *MultiWordSchemaMutation) ClearedFields() []string + func (m *MultiWordSchemaMutation) EdgeCleared(name string) bool + func (m *MultiWordSchemaMutation) Field(name string) (ent.Value, bool) + func (m *MultiWordSchemaMutation) FieldCleared(name string) bool + func (m *MultiWordSchemaMutation) Fields() []string + func (m *MultiWordSchemaMutation) ID() (id int, exists bool) + func (m *MultiWordSchemaMutation) IDs(ctx context.Context) ([]int, error) + func (m *MultiWordSchemaMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MultiWordSchemaMutation) OldUnit(ctx context.Context) (v multiwordschema.Unit, err error) + func (m *MultiWordSchemaMutation) Op() Op + func (m *MultiWordSchemaMutation) RemovedEdges() []string + func (m *MultiWordSchemaMutation) RemovedIDs(name string) []ent.Value + func (m *MultiWordSchemaMutation) ResetEdge(name string) error + func (m *MultiWordSchemaMutation) ResetField(name string) error + func (m *MultiWordSchemaMutation) ResetUnit() + func (m *MultiWordSchemaMutation) SetField(name string, value ent.Value) error + func (m *MultiWordSchemaMutation) SetUnit(value multiwordschema.Unit) + func (m *MultiWordSchemaMutation) Type() string + func (m *MultiWordSchemaMutation) Unit() (r multiwordschema.Unit, exists bool) + func (m *MultiWordSchemaMutation) Where(ps ...predicate.MultiWordSchema) + func (m MultiWordSchemaMutation) Client() *Client + func (m MultiWordSchemaMutation) Tx() (*Tx, error) + type MultiWordSchemaQuery struct + func (mwsq *MultiWordSchemaQuery) Aggregate(fns ...AggregateFunc) *MultiWordSchemaSelect + func (mwsq *MultiWordSchemaQuery) All(ctx context.Context) ([]*MultiWordSchema, error) + func (mwsq *MultiWordSchemaQuery) AllX(ctx context.Context) []*MultiWordSchema + func (mwsq *MultiWordSchemaQuery) Clone() *MultiWordSchemaQuery + func (mwsq *MultiWordSchemaQuery) Count(ctx context.Context) (int, error) + func (mwsq *MultiWordSchemaQuery) CountX(ctx context.Context) int + func (mwsq *MultiWordSchemaQuery) Exist(ctx context.Context) (bool, error) + func (mwsq *MultiWordSchemaQuery) ExistX(ctx context.Context) bool + func (mwsq *MultiWordSchemaQuery) First(ctx context.Context) (*MultiWordSchema, error) + func (mwsq *MultiWordSchemaQuery) FirstID(ctx context.Context) (id int, err error) + func (mwsq *MultiWordSchemaQuery) FirstIDX(ctx context.Context) int + func (mwsq *MultiWordSchemaQuery) FirstX(ctx context.Context) *MultiWordSchema + func (mwsq *MultiWordSchemaQuery) GroupBy(field string, fields ...string) *MultiWordSchemaGroupBy + func (mwsq *MultiWordSchemaQuery) IDs(ctx context.Context) ([]int, error) + func (mwsq *MultiWordSchemaQuery) IDsX(ctx context.Context) []int + func (mwsq *MultiWordSchemaQuery) Limit(limit int) *MultiWordSchemaQuery + func (mwsq *MultiWordSchemaQuery) Offset(offset int) *MultiWordSchemaQuery + func (mwsq *MultiWordSchemaQuery) Only(ctx context.Context) (*MultiWordSchema, error) + func (mwsq *MultiWordSchemaQuery) OnlyID(ctx context.Context) (id int, err error) + func (mwsq *MultiWordSchemaQuery) OnlyIDX(ctx context.Context) int + func (mwsq *MultiWordSchemaQuery) OnlyX(ctx context.Context) *MultiWordSchema + func (mwsq *MultiWordSchemaQuery) Order(o ...OrderFunc) *MultiWordSchemaQuery + func (mwsq *MultiWordSchemaQuery) Select(fields ...string) *MultiWordSchemaSelect + func (mwsq *MultiWordSchemaQuery) Unique(unique bool) *MultiWordSchemaQuery + func (mwsq *MultiWordSchemaQuery) Where(ps ...predicate.MultiWordSchema) *MultiWordSchemaQuery + type MultiWordSchemaSelect struct + func (mwss *MultiWordSchemaSelect) Aggregate(fns ...AggregateFunc) *MultiWordSchemaSelect + func (mwss *MultiWordSchemaSelect) Scan(ctx context.Context, v any) error + func (s *MultiWordSchemaSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *MultiWordSchemaSelect) BoolX(ctx context.Context) bool + func (s *MultiWordSchemaSelect) Bools(ctx context.Context) ([]bool, error) + func (s *MultiWordSchemaSelect) BoolsX(ctx context.Context) []bool + func (s *MultiWordSchemaSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *MultiWordSchemaSelect) Float64X(ctx context.Context) float64 + func (s *MultiWordSchemaSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *MultiWordSchemaSelect) Float64sX(ctx context.Context) []float64 + func (s *MultiWordSchemaSelect) Int(ctx context.Context) (_ int, err error) + func (s *MultiWordSchemaSelect) IntX(ctx context.Context) int + func (s *MultiWordSchemaSelect) Ints(ctx context.Context) ([]int, error) + func (s *MultiWordSchemaSelect) IntsX(ctx context.Context) []int + func (s *MultiWordSchemaSelect) ScanX(ctx context.Context, v any) + func (s *MultiWordSchemaSelect) String(ctx context.Context) (_ string, err error) + func (s *MultiWordSchemaSelect) StringX(ctx context.Context) string + func (s *MultiWordSchemaSelect) Strings(ctx context.Context) ([]string, error) + func (s *MultiWordSchemaSelect) StringsX(ctx context.Context) []string + type MultiWordSchemaUpdate struct + func (mwsu *MultiWordSchemaUpdate) Exec(ctx context.Context) error + func (mwsu *MultiWordSchemaUpdate) ExecX(ctx context.Context) + func (mwsu *MultiWordSchemaUpdate) Mutation() *MultiWordSchemaMutation + func (mwsu *MultiWordSchemaUpdate) Save(ctx context.Context) (int, error) + func (mwsu *MultiWordSchemaUpdate) SaveX(ctx context.Context) int + func (mwsu *MultiWordSchemaUpdate) SetNillableUnit(m *multiwordschema.Unit) *MultiWordSchemaUpdate + func (mwsu *MultiWordSchemaUpdate) SetUnit(m multiwordschema.Unit) *MultiWordSchemaUpdate + func (mwsu *MultiWordSchemaUpdate) Where(ps ...predicate.MultiWordSchema) *MultiWordSchemaUpdate + type MultiWordSchemaUpdateOne struct + func (mwsuo *MultiWordSchemaUpdateOne) Exec(ctx context.Context) error + func (mwsuo *MultiWordSchemaUpdateOne) ExecX(ctx context.Context) + func (mwsuo *MultiWordSchemaUpdateOne) Mutation() *MultiWordSchemaMutation + func (mwsuo *MultiWordSchemaUpdateOne) Save(ctx context.Context) (*MultiWordSchema, error) + func (mwsuo *MultiWordSchemaUpdateOne) SaveX(ctx context.Context) *MultiWordSchema + func (mwsuo *MultiWordSchemaUpdateOne) Select(field string, fields ...string) *MultiWordSchemaUpdateOne + func (mwsuo *MultiWordSchemaUpdateOne) SetNillableUnit(m *multiwordschema.Unit) *MultiWordSchemaUpdateOne + func (mwsuo *MultiWordSchemaUpdateOne) SetUnit(m multiwordschema.Unit) *MultiWordSchemaUpdateOne + type MultiWordSchemas []*MultiWordSchema + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NilExample struct + ID int + StrNil *string + TimeNil *time.Time + func (ne *NilExample) String() string + func (ne *NilExample) Unwrap() *NilExample + func (ne *NilExample) Update() *NilExampleUpdateOne + type NilExampleClient struct + func NewNilExampleClient(c config) *NilExampleClient + func (c *NilExampleClient) Create() *NilExampleCreate + func (c *NilExampleClient) CreateBulk(builders ...*NilExampleCreate) *NilExampleCreateBulk + func (c *NilExampleClient) Delete() *NilExampleDelete + func (c *NilExampleClient) DeleteOne(ne *NilExample) *NilExampleDeleteOne + func (c *NilExampleClient) DeleteOneID(id int) *NilExampleDeleteOne + func (c *NilExampleClient) Get(ctx context.Context, id int) (*NilExample, error) + func (c *NilExampleClient) GetX(ctx context.Context, id int) *NilExample + func (c *NilExampleClient) Hooks() []Hook + func (c *NilExampleClient) Query() *NilExampleQuery + func (c *NilExampleClient) Update() *NilExampleUpdate + func (c *NilExampleClient) UpdateOne(ne *NilExample) *NilExampleUpdateOne + func (c *NilExampleClient) UpdateOneID(id int) *NilExampleUpdateOne + func (c *NilExampleClient) Use(hooks ...Hook) + type NilExampleCreate struct + func (nec *NilExampleCreate) Exec(ctx context.Context) error + func (nec *NilExampleCreate) ExecX(ctx context.Context) + func (nec *NilExampleCreate) Mutation() *NilExampleMutation + func (nec *NilExampleCreate) Save(ctx context.Context) (*NilExample, error) + func (nec *NilExampleCreate) SaveX(ctx context.Context) *NilExample + func (nec *NilExampleCreate) SetNillableStrNil(s *string) *NilExampleCreate + func (nec *NilExampleCreate) SetNillableTimeNil(t *time.Time) *NilExampleCreate + func (nec *NilExampleCreate) SetStrNil(s string) *NilExampleCreate + func (nec *NilExampleCreate) SetTimeNil(t time.Time) *NilExampleCreate + type NilExampleCreateBulk struct + func (necb *NilExampleCreateBulk) Exec(ctx context.Context) error + func (necb *NilExampleCreateBulk) ExecX(ctx context.Context) + func (necb *NilExampleCreateBulk) Save(ctx context.Context) ([]*NilExample, error) + func (necb *NilExampleCreateBulk) SaveX(ctx context.Context) []*NilExample + type NilExampleDelete struct + func (ned *NilExampleDelete) Exec(ctx context.Context) (int, error) + func (ned *NilExampleDelete) ExecX(ctx context.Context) int + func (ned *NilExampleDelete) Where(ps ...predicate.NilExample) *NilExampleDelete + type NilExampleDeleteOne struct + func (nedo *NilExampleDeleteOne) Exec(ctx context.Context) error + func (nedo *NilExampleDeleteOne) ExecX(ctx context.Context) + type NilExampleGroupBy struct + func (negb *NilExampleGroupBy) Aggregate(fns ...AggregateFunc) *NilExampleGroupBy + func (negb *NilExampleGroupBy) Scan(ctx context.Context, v any) error + func (s *NilExampleGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *NilExampleGroupBy) BoolX(ctx context.Context) bool + func (s *NilExampleGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *NilExampleGroupBy) BoolsX(ctx context.Context) []bool + func (s *NilExampleGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *NilExampleGroupBy) Float64X(ctx context.Context) float64 + func (s *NilExampleGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *NilExampleGroupBy) Float64sX(ctx context.Context) []float64 + func (s *NilExampleGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *NilExampleGroupBy) IntX(ctx context.Context) int + func (s *NilExampleGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *NilExampleGroupBy) IntsX(ctx context.Context) []int + func (s *NilExampleGroupBy) ScanX(ctx context.Context, v any) + func (s *NilExampleGroupBy) String(ctx context.Context) (_ string, err error) + func (s *NilExampleGroupBy) StringX(ctx context.Context) string + func (s *NilExampleGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *NilExampleGroupBy) StringsX(ctx context.Context) []string + type NilExampleMutation struct + func (m *NilExampleMutation) AddField(name string, value ent.Value) error + func (m *NilExampleMutation) AddedEdges() []string + func (m *NilExampleMutation) AddedField(name string) (ent.Value, bool) + func (m *NilExampleMutation) AddedFields() []string + func (m *NilExampleMutation) AddedIDs(name string) []ent.Value + func (m *NilExampleMutation) ClearEdge(name string) error + func (m *NilExampleMutation) ClearField(name string) error + func (m *NilExampleMutation) ClearStrNil() + func (m *NilExampleMutation) ClearTimeNil() + func (m *NilExampleMutation) ClearedEdges() []string + func (m *NilExampleMutation) ClearedFields() []string + func (m *NilExampleMutation) EdgeCleared(name string) bool + func (m *NilExampleMutation) Field(name string) (ent.Value, bool) + func (m *NilExampleMutation) FieldCleared(name string) bool + func (m *NilExampleMutation) Fields() []string + func (m *NilExampleMutation) ID() (id int, exists bool) + func (m *NilExampleMutation) IDs(ctx context.Context) ([]int, error) + func (m *NilExampleMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *NilExampleMutation) OldStrNil(ctx context.Context) (v *string, err error) + func (m *NilExampleMutation) OldTimeNil(ctx context.Context) (v *time.Time, err error) + func (m *NilExampleMutation) Op() Op + func (m *NilExampleMutation) RemovedEdges() []string + func (m *NilExampleMutation) RemovedIDs(name string) []ent.Value + func (m *NilExampleMutation) ResetEdge(name string) error + func (m *NilExampleMutation) ResetField(name string) error + func (m *NilExampleMutation) ResetStrNil() + func (m *NilExampleMutation) ResetTimeNil() + func (m *NilExampleMutation) SetField(name string, value ent.Value) error + func (m *NilExampleMutation) SetStrNil(s string) + func (m *NilExampleMutation) SetTimeNil(t time.Time) + func (m *NilExampleMutation) StrNil() (r string, exists bool) + func (m *NilExampleMutation) StrNilCleared() bool + func (m *NilExampleMutation) TimeNil() (r time.Time, exists bool) + func (m *NilExampleMutation) TimeNilCleared() bool + func (m *NilExampleMutation) Type() string + func (m *NilExampleMutation) Where(ps ...predicate.NilExample) + func (m NilExampleMutation) Client() *Client + func (m NilExampleMutation) Tx() (*Tx, error) + type NilExampleQuery struct + func (neq *NilExampleQuery) Aggregate(fns ...AggregateFunc) *NilExampleSelect + func (neq *NilExampleQuery) All(ctx context.Context) ([]*NilExample, error) + func (neq *NilExampleQuery) AllX(ctx context.Context) []*NilExample + func (neq *NilExampleQuery) Clone() *NilExampleQuery + func (neq *NilExampleQuery) Count(ctx context.Context) (int, error) + func (neq *NilExampleQuery) CountX(ctx context.Context) int + func (neq *NilExampleQuery) Exist(ctx context.Context) (bool, error) + func (neq *NilExampleQuery) ExistX(ctx context.Context) bool + func (neq *NilExampleQuery) First(ctx context.Context) (*NilExample, error) + func (neq *NilExampleQuery) FirstID(ctx context.Context) (id int, err error) + func (neq *NilExampleQuery) FirstIDX(ctx context.Context) int + func (neq *NilExampleQuery) FirstX(ctx context.Context) *NilExample + func (neq *NilExampleQuery) GroupBy(field string, fields ...string) *NilExampleGroupBy + func (neq *NilExampleQuery) IDs(ctx context.Context) ([]int, error) + func (neq *NilExampleQuery) IDsX(ctx context.Context) []int + func (neq *NilExampleQuery) Limit(limit int) *NilExampleQuery + func (neq *NilExampleQuery) Offset(offset int) *NilExampleQuery + func (neq *NilExampleQuery) Only(ctx context.Context) (*NilExample, error) + func (neq *NilExampleQuery) OnlyID(ctx context.Context) (id int, err error) + func (neq *NilExampleQuery) OnlyIDX(ctx context.Context) int + func (neq *NilExampleQuery) OnlyX(ctx context.Context) *NilExample + func (neq *NilExampleQuery) Order(o ...OrderFunc) *NilExampleQuery + func (neq *NilExampleQuery) Select(fields ...string) *NilExampleSelect + func (neq *NilExampleQuery) Unique(unique bool) *NilExampleQuery + func (neq *NilExampleQuery) Where(ps ...predicate.NilExample) *NilExampleQuery + type NilExampleSelect struct + func (nes *NilExampleSelect) Aggregate(fns ...AggregateFunc) *NilExampleSelect + func (nes *NilExampleSelect) Scan(ctx context.Context, v any) error + func (s *NilExampleSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *NilExampleSelect) BoolX(ctx context.Context) bool + func (s *NilExampleSelect) Bools(ctx context.Context) ([]bool, error) + func (s *NilExampleSelect) BoolsX(ctx context.Context) []bool + func (s *NilExampleSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *NilExampleSelect) Float64X(ctx context.Context) float64 + func (s *NilExampleSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *NilExampleSelect) Float64sX(ctx context.Context) []float64 + func (s *NilExampleSelect) Int(ctx context.Context) (_ int, err error) + func (s *NilExampleSelect) IntX(ctx context.Context) int + func (s *NilExampleSelect) Ints(ctx context.Context) ([]int, error) + func (s *NilExampleSelect) IntsX(ctx context.Context) []int + func (s *NilExampleSelect) ScanX(ctx context.Context, v any) + func (s *NilExampleSelect) String(ctx context.Context) (_ string, err error) + func (s *NilExampleSelect) StringX(ctx context.Context) string + func (s *NilExampleSelect) Strings(ctx context.Context) ([]string, error) + func (s *NilExampleSelect) StringsX(ctx context.Context) []string + type NilExampleUpdate struct + func (neu *NilExampleUpdate) ClearStrNil() *NilExampleUpdate + func (neu *NilExampleUpdate) ClearTimeNil() *NilExampleUpdate + func (neu *NilExampleUpdate) Exec(ctx context.Context) error + func (neu *NilExampleUpdate) ExecX(ctx context.Context) + func (neu *NilExampleUpdate) Mutation() *NilExampleMutation + func (neu *NilExampleUpdate) Save(ctx context.Context) (int, error) + func (neu *NilExampleUpdate) SaveX(ctx context.Context) int + func (neu *NilExampleUpdate) SetNillableStrNil(s *string) *NilExampleUpdate + func (neu *NilExampleUpdate) SetNillableTimeNil(t *time.Time) *NilExampleUpdate + func (neu *NilExampleUpdate) SetStrNil(s string) *NilExampleUpdate + func (neu *NilExampleUpdate) SetTimeNil(t time.Time) *NilExampleUpdate + func (neu *NilExampleUpdate) Where(ps ...predicate.NilExample) *NilExampleUpdate + type NilExampleUpdateOne struct + func (neuo *NilExampleUpdateOne) ClearStrNil() *NilExampleUpdateOne + func (neuo *NilExampleUpdateOne) ClearTimeNil() *NilExampleUpdateOne + func (neuo *NilExampleUpdateOne) Exec(ctx context.Context) error + func (neuo *NilExampleUpdateOne) ExecX(ctx context.Context) + func (neuo *NilExampleUpdateOne) Mutation() *NilExampleMutation + func (neuo *NilExampleUpdateOne) Save(ctx context.Context) (*NilExample, error) + func (neuo *NilExampleUpdateOne) SaveX(ctx context.Context) *NilExample + func (neuo *NilExampleUpdateOne) Select(field string, fields ...string) *NilExampleUpdateOne + func (neuo *NilExampleUpdateOne) SetNillableStrNil(s *string) *NilExampleUpdateOne + func (neuo *NilExampleUpdateOne) SetNillableTimeNil(t *time.Time) *NilExampleUpdateOne + func (neuo *NilExampleUpdateOne) SetStrNil(s string) *NilExampleUpdateOne + func (neuo *NilExampleUpdateOne) SetTimeNil(t time.Time) *NilExampleUpdateOne + type NilExamples []*NilExample + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...any)) Option + type OrderFunc func(*sql.Selector) + func Asc(fields ...string) OrderFunc + func Desc(fields ...string) OrderFunc + type Pet struct + Edges PetEdges + ID int + func (pe *Pet) QueryAttachment() *AttachmentQuery + func (pe *Pet) QueryOwner() *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) QueryAttachment(pe *Pet) *AttachmentQuery + func (c *PetClient) QueryOwner(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) AddAttachment(a ...*Attachment) *PetCreate + func (pc *PetCreate) AddAttachmentIDs(ids ...uuid.UUID) *PetCreate + func (pc *PetCreate) Exec(ctx context.Context) error + func (pc *PetCreate) ExecX(ctx context.Context) + 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) SetNillableOwnerID(id *int) *PetCreate + func (pc *PetCreate) SetOwner(u *User) *PetCreate + func (pc *PetCreate) SetOwnerID(id int) *PetCreate + type PetCreateBulk struct + func (pcb *PetCreateBulk) Exec(ctx context.Context) error + func (pcb *PetCreateBulk) ExecX(ctx context.Context) + 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 + Attachment []*Attachment + Owner *User + func (e PetEdges) AttachmentOrErr() ([]*Attachment, error) + func (e PetEdges) OwnerOrErr() (*User, error) + type PetGroupBy struct + func (pgb *PetGroupBy) Aggregate(fns ...AggregateFunc) *PetGroupBy + func (pgb *PetGroupBy) Scan(ctx context.Context, v any) error + func (s *PetGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *PetGroupBy) BoolX(ctx context.Context) bool + func (s *PetGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *PetGroupBy) BoolsX(ctx context.Context) []bool + func (s *PetGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *PetGroupBy) Float64X(ctx context.Context) float64 + func (s *PetGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *PetGroupBy) Float64sX(ctx context.Context) []float64 + func (s *PetGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *PetGroupBy) IntX(ctx context.Context) int + func (s *PetGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *PetGroupBy) IntsX(ctx context.Context) []int + func (s *PetGroupBy) ScanX(ctx context.Context, v any) + func (s *PetGroupBy) String(ctx context.Context) (_ string, err error) + func (s *PetGroupBy) StringX(ctx context.Context) string + func (s *PetGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *PetGroupBy) StringsX(ctx context.Context) []string + type PetMutation struct + func (m *PetMutation) AddAttachmentIDs(ids ...uuid.UUID) + func (m *PetMutation) AddField(name string, value ent.Value) error + 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) AttachmentCleared() bool + func (m *PetMutation) AttachmentIDs() (ids []uuid.UUID) + func (m *PetMutation) ClearAttachment() + func (m *PetMutation) ClearEdge(name string) error + func (m *PetMutation) ClearField(name string) error + func (m *PetMutation) ClearOwner() + 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) ID() (id int, exists bool) + func (m *PetMutation) IDs(ctx context.Context) ([]int, error) + func (m *PetMutation) OldField(ctx context.Context, name string) (ent.Value, 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) RemoveAttachmentIDs(ids ...uuid.UUID) + func (m *PetMutation) RemovedAttachmentIDs() (ids []uuid.UUID) + func (m *PetMutation) RemovedEdges() []string + func (m *PetMutation) RemovedIDs(name string) []ent.Value + func (m *PetMutation) ResetAttachment() + func (m *PetMutation) ResetEdge(name string) error + func (m *PetMutation) ResetField(name string) error + func (m *PetMutation) ResetOwner() + func (m *PetMutation) SetField(name string, value ent.Value) error + func (m *PetMutation) SetOwnerID(id int) + func (m *PetMutation) Type() string + func (m *PetMutation) Where(ps ...predicate.Pet) + func (m PetMutation) Client() *Client + func (m PetMutation) Tx() (*Tx, error) + type PetQuery struct + func (pq *PetQuery) Aggregate(fns ...AggregateFunc) *PetSelect + 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) 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) 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) 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) QueryAttachment() *AttachmentQuery + func (pq *PetQuery) QueryOwner() *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) WithAttachment(opts ...func(*AttachmentQuery)) *PetQuery + func (pq *PetQuery) WithOwner(opts ...func(*UserQuery)) *PetQuery + type PetSelect struct + func (ps *PetSelect) Aggregate(fns ...AggregateFunc) *PetSelect + func (ps *PetSelect) Scan(ctx context.Context, v any) error + func (s *PetSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *PetSelect) BoolX(ctx context.Context) bool + func (s *PetSelect) Bools(ctx context.Context) ([]bool, error) + func (s *PetSelect) BoolsX(ctx context.Context) []bool + func (s *PetSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *PetSelect) Float64X(ctx context.Context) float64 + func (s *PetSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *PetSelect) Float64sX(ctx context.Context) []float64 + func (s *PetSelect) Int(ctx context.Context) (_ int, err error) + func (s *PetSelect) IntX(ctx context.Context) int + func (s *PetSelect) Ints(ctx context.Context) ([]int, error) + func (s *PetSelect) IntsX(ctx context.Context) []int + func (s *PetSelect) ScanX(ctx context.Context, v any) + func (s *PetSelect) String(ctx context.Context) (_ string, err error) + func (s *PetSelect) StringX(ctx context.Context) string + func (s *PetSelect) Strings(ctx context.Context) ([]string, error) + func (s *PetSelect) StringsX(ctx context.Context) []string + type PetUpdate struct + func (pu *PetUpdate) AddAttachment(a ...*Attachment) *PetUpdate + func (pu *PetUpdate) AddAttachmentIDs(ids ...uuid.UUID) *PetUpdate + func (pu *PetUpdate) ClearAttachment() *PetUpdate + func (pu *PetUpdate) ClearOwner() *PetUpdate + func (pu *PetUpdate) Exec(ctx context.Context) error + func (pu *PetUpdate) ExecX(ctx context.Context) + func (pu *PetUpdate) Mutation() *PetMutation + func (pu *PetUpdate) RemoveAttachment(a ...*Attachment) *PetUpdate + func (pu *PetUpdate) RemoveAttachmentIDs(ids ...uuid.UUID) *PetUpdate + func (pu *PetUpdate) Save(ctx context.Context) (int, error) + func (pu *PetUpdate) SaveX(ctx context.Context) int + func (pu *PetUpdate) SetNillableOwnerID(id *int) *PetUpdate + func (pu *PetUpdate) SetOwner(u *User) *PetUpdate + func (pu *PetUpdate) SetOwnerID(id int) *PetUpdate + func (pu *PetUpdate) Where(ps ...predicate.Pet) *PetUpdate + type PetUpdateOne struct + func (puo *PetUpdateOne) AddAttachment(a ...*Attachment) *PetUpdateOne + func (puo *PetUpdateOne) AddAttachmentIDs(ids ...uuid.UUID) *PetUpdateOne + func (puo *PetUpdateOne) ClearAttachment() *PetUpdateOne + func (puo *PetUpdateOne) ClearOwner() *PetUpdateOne + func (puo *PetUpdateOne) Exec(ctx context.Context) error + func (puo *PetUpdateOne) ExecX(ctx context.Context) + func (puo *PetUpdateOne) Mutation() *PetMutation + func (puo *PetUpdateOne) RemoveAttachment(a ...*Attachment) *PetUpdateOne + func (puo *PetUpdateOne) RemoveAttachmentIDs(ids ...uuid.UUID) *PetUpdateOne + 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) SetNillableOwnerID(id *int) *PetUpdateOne + func (puo *PetUpdateOne) SetOwner(u *User) *PetUpdateOne + func (puo *PetUpdateOne) SetOwnerID(id int) *PetUpdateOne + type Pets []*Pet + type Policy = ent.Policy + type Ponies []*Pony + type Pony struct + ID int + Name string + func (po *Pony) String() string + func (po *Pony) Unwrap() *Pony + func (po *Pony) Update() *PonyUpdateOne + type PonyClient struct + func NewPonyClient(c config) *PonyClient + func (c *PonyClient) Create() *PonyCreate + func (c *PonyClient) CreateBulk(builders ...*PonyCreate) *PonyCreateBulk + func (c *PonyClient) Delete() *PonyDelete + func (c *PonyClient) DeleteOne(po *Pony) *PonyDeleteOne + func (c *PonyClient) DeleteOneID(id int) *PonyDeleteOne + func (c *PonyClient) Get(ctx context.Context, id int) (*Pony, error) + func (c *PonyClient) GetX(ctx context.Context, id int) *Pony + func (c *PonyClient) Hooks() []Hook + func (c *PonyClient) Query() *PonyQuery + func (c *PonyClient) Update() *PonyUpdate + func (c *PonyClient) UpdateOne(po *Pony) *PonyUpdateOne + func (c *PonyClient) UpdateOneID(id int) *PonyUpdateOne + func (c *PonyClient) Use(hooks ...Hook) + type PonyCreate struct + func (pc *PonyCreate) Exec(ctx context.Context) error + func (pc *PonyCreate) ExecX(ctx context.Context) + func (pc *PonyCreate) Mutation() *PonyMutation + func (pc *PonyCreate) Save(ctx context.Context) (*Pony, error) + func (pc *PonyCreate) SaveX(ctx context.Context) *Pony + func (pc *PonyCreate) SetName(s string) *PonyCreate + type PonyCreateBulk struct + func (pcb *PonyCreateBulk) Exec(ctx context.Context) error + func (pcb *PonyCreateBulk) ExecX(ctx context.Context) + func (pcb *PonyCreateBulk) Save(ctx context.Context) ([]*Pony, error) + func (pcb *PonyCreateBulk) SaveX(ctx context.Context) []*Pony + type PonyDelete struct + func (pd *PonyDelete) Exec(ctx context.Context) (int, error) + func (pd *PonyDelete) ExecX(ctx context.Context) int + func (pd *PonyDelete) Where(ps ...predicate.Pony) *PonyDelete + type PonyDeleteOne struct + func (pdo *PonyDeleteOne) Exec(ctx context.Context) error + func (pdo *PonyDeleteOne) ExecX(ctx context.Context) + type PonyGroupBy struct + func (pgb *PonyGroupBy) Aggregate(fns ...AggregateFunc) *PonyGroupBy + func (pgb *PonyGroupBy) Scan(ctx context.Context, v any) error + func (s *PonyGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *PonyGroupBy) BoolX(ctx context.Context) bool + func (s *PonyGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *PonyGroupBy) BoolsX(ctx context.Context) []bool + func (s *PonyGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *PonyGroupBy) Float64X(ctx context.Context) float64 + func (s *PonyGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *PonyGroupBy) Float64sX(ctx context.Context) []float64 + func (s *PonyGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *PonyGroupBy) IntX(ctx context.Context) int + func (s *PonyGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *PonyGroupBy) IntsX(ctx context.Context) []int + func (s *PonyGroupBy) ScanX(ctx context.Context, v any) + func (s *PonyGroupBy) String(ctx context.Context) (_ string, err error) + func (s *PonyGroupBy) StringX(ctx context.Context) string + func (s *PonyGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *PonyGroupBy) StringsX(ctx context.Context) []string + type PonyMutation struct + func (m *PonyMutation) AddField(name string, value ent.Value) error + func (m *PonyMutation) AddedEdges() []string + func (m *PonyMutation) AddedField(name string) (ent.Value, bool) + func (m *PonyMutation) AddedFields() []string + func (m *PonyMutation) AddedIDs(name string) []ent.Value + func (m *PonyMutation) ClearEdge(name string) error + func (m *PonyMutation) ClearField(name string) error + func (m *PonyMutation) ClearedEdges() []string + func (m *PonyMutation) ClearedFields() []string + func (m *PonyMutation) EdgeCleared(name string) bool + func (m *PonyMutation) Field(name string) (ent.Value, bool) + func (m *PonyMutation) FieldCleared(name string) bool + func (m *PonyMutation) Fields() []string + func (m *PonyMutation) ID() (id int, exists bool) + func (m *PonyMutation) IDs(ctx context.Context) ([]int, error) + func (m *PonyMutation) Name() (r string, exists bool) + func (m *PonyMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *PonyMutation) OldName(ctx context.Context) (v string, err error) + func (m *PonyMutation) Op() Op + func (m *PonyMutation) RemovedEdges() []string + func (m *PonyMutation) RemovedIDs(name string) []ent.Value + func (m *PonyMutation) ResetEdge(name string) error + func (m *PonyMutation) ResetField(name string) error + func (m *PonyMutation) ResetName() + func (m *PonyMutation) SetField(name string, value ent.Value) error + func (m *PonyMutation) SetName(s string) + func (m *PonyMutation) Type() string + func (m *PonyMutation) Where(ps ...predicate.Pony) + func (m PonyMutation) Client() *Client + func (m PonyMutation) Tx() (*Tx, error) + type PonyQuery struct + func (pq *PonyQuery) Aggregate(fns ...AggregateFunc) *PonySelect + func (pq *PonyQuery) All(ctx context.Context) ([]*Pony, error) + func (pq *PonyQuery) AllX(ctx context.Context) []*Pony + func (pq *PonyQuery) Clone() *PonyQuery + func (pq *PonyQuery) Count(ctx context.Context) (int, error) + func (pq *PonyQuery) CountX(ctx context.Context) int + func (pq *PonyQuery) Exist(ctx context.Context) (bool, error) + func (pq *PonyQuery) ExistX(ctx context.Context) bool + func (pq *PonyQuery) First(ctx context.Context) (*Pony, error) + func (pq *PonyQuery) FirstID(ctx context.Context) (id int, err error) + func (pq *PonyQuery) FirstIDX(ctx context.Context) int + func (pq *PonyQuery) FirstX(ctx context.Context) *Pony + func (pq *PonyQuery) GroupBy(field string, fields ...string) *PonyGroupBy + func (pq *PonyQuery) IDs(ctx context.Context) ([]int, error) + func (pq *PonyQuery) IDsX(ctx context.Context) []int + func (pq *PonyQuery) Limit(limit int) *PonyQuery + func (pq *PonyQuery) Offset(offset int) *PonyQuery + func (pq *PonyQuery) Only(ctx context.Context) (*Pony, error) + func (pq *PonyQuery) OnlyID(ctx context.Context) (id int, err error) + func (pq *PonyQuery) OnlyIDX(ctx context.Context) int + func (pq *PonyQuery) OnlyX(ctx context.Context) *Pony + func (pq *PonyQuery) Order(o ...OrderFunc) *PonyQuery + func (pq *PonyQuery) Select(fields ...string) *PonySelect + func (pq *PonyQuery) Unique(unique bool) *PonyQuery + func (pq *PonyQuery) Where(ps ...predicate.Pony) *PonyQuery + type PonySelect struct + func (ps *PonySelect) Aggregate(fns ...AggregateFunc) *PonySelect + func (ps *PonySelect) Scan(ctx context.Context, v any) error + func (s *PonySelect) Bool(ctx context.Context) (_ bool, err error) + func (s *PonySelect) BoolX(ctx context.Context) bool + func (s *PonySelect) Bools(ctx context.Context) ([]bool, error) + func (s *PonySelect) BoolsX(ctx context.Context) []bool + func (s *PonySelect) Float64(ctx context.Context) (_ float64, err error) + func (s *PonySelect) Float64X(ctx context.Context) float64 + func (s *PonySelect) Float64s(ctx context.Context) ([]float64, error) + func (s *PonySelect) Float64sX(ctx context.Context) []float64 + func (s *PonySelect) Int(ctx context.Context) (_ int, err error) + func (s *PonySelect) IntX(ctx context.Context) int + func (s *PonySelect) Ints(ctx context.Context) ([]int, error) + func (s *PonySelect) IntsX(ctx context.Context) []int + func (s *PonySelect) ScanX(ctx context.Context, v any) + func (s *PonySelect) String(ctx context.Context) (_ string, err error) + func (s *PonySelect) StringX(ctx context.Context) string + func (s *PonySelect) Strings(ctx context.Context) ([]string, error) + func (s *PonySelect) StringsX(ctx context.Context) []string + type PonyUpdate struct + func (pu *PonyUpdate) Exec(ctx context.Context) error + func (pu *PonyUpdate) ExecX(ctx context.Context) + func (pu *PonyUpdate) Mutation() *PonyMutation + func (pu *PonyUpdate) Save(ctx context.Context) (int, error) + func (pu *PonyUpdate) SaveX(ctx context.Context) int + func (pu *PonyUpdate) SetName(s string) *PonyUpdate + func (pu *PonyUpdate) Where(ps ...predicate.Pony) *PonyUpdate + type PonyUpdateOne struct + func (puo *PonyUpdateOne) Exec(ctx context.Context) error + func (puo *PonyUpdateOne) ExecX(ctx context.Context) + func (puo *PonyUpdateOne) Mutation() *PonyMutation + func (puo *PonyUpdateOne) Save(ctx context.Context) (*Pony, error) + func (puo *PonyUpdateOne) SaveX(ctx context.Context) *Pony + func (puo *PonyUpdateOne) Select(field string, fields ...string) *PonyUpdateOne + func (puo *PonyUpdateOne) SetName(s string) *PonyUpdateOne + 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 SkipEdgeExample struct + Edges SkipEdgeExampleEdges + ID int + func (see *SkipEdgeExample) QueryUser() *UserQuery + func (see *SkipEdgeExample) String() string + func (see *SkipEdgeExample) Unwrap() *SkipEdgeExample + func (see *SkipEdgeExample) Update() *SkipEdgeExampleUpdateOne + type SkipEdgeExampleClient struct + func NewSkipEdgeExampleClient(c config) *SkipEdgeExampleClient + func (c *SkipEdgeExampleClient) Create() *SkipEdgeExampleCreate + func (c *SkipEdgeExampleClient) CreateBulk(builders ...*SkipEdgeExampleCreate) *SkipEdgeExampleCreateBulk + func (c *SkipEdgeExampleClient) Delete() *SkipEdgeExampleDelete + func (c *SkipEdgeExampleClient) DeleteOne(see *SkipEdgeExample) *SkipEdgeExampleDeleteOne + func (c *SkipEdgeExampleClient) DeleteOneID(id int) *SkipEdgeExampleDeleteOne + func (c *SkipEdgeExampleClient) Get(ctx context.Context, id int) (*SkipEdgeExample, error) + func (c *SkipEdgeExampleClient) GetX(ctx context.Context, id int) *SkipEdgeExample + func (c *SkipEdgeExampleClient) Hooks() []Hook + func (c *SkipEdgeExampleClient) Query() *SkipEdgeExampleQuery + func (c *SkipEdgeExampleClient) QueryUser(see *SkipEdgeExample) *UserQuery + func (c *SkipEdgeExampleClient) Update() *SkipEdgeExampleUpdate + func (c *SkipEdgeExampleClient) UpdateOne(see *SkipEdgeExample) *SkipEdgeExampleUpdateOne + func (c *SkipEdgeExampleClient) UpdateOneID(id int) *SkipEdgeExampleUpdateOne + func (c *SkipEdgeExampleClient) Use(hooks ...Hook) + type SkipEdgeExampleCreate struct + func (seec *SkipEdgeExampleCreate) Exec(ctx context.Context) error + func (seec *SkipEdgeExampleCreate) ExecX(ctx context.Context) + func (seec *SkipEdgeExampleCreate) Mutation() *SkipEdgeExampleMutation + func (seec *SkipEdgeExampleCreate) Save(ctx context.Context) (*SkipEdgeExample, error) + func (seec *SkipEdgeExampleCreate) SaveX(ctx context.Context) *SkipEdgeExample + func (seec *SkipEdgeExampleCreate) SetNillableUserID(id *int) *SkipEdgeExampleCreate + func (seec *SkipEdgeExampleCreate) SetUser(u *User) *SkipEdgeExampleCreate + func (seec *SkipEdgeExampleCreate) SetUserID(id int) *SkipEdgeExampleCreate + type SkipEdgeExampleCreateBulk struct + func (seecb *SkipEdgeExampleCreateBulk) Exec(ctx context.Context) error + func (seecb *SkipEdgeExampleCreateBulk) ExecX(ctx context.Context) + func (seecb *SkipEdgeExampleCreateBulk) Save(ctx context.Context) ([]*SkipEdgeExample, error) + func (seecb *SkipEdgeExampleCreateBulk) SaveX(ctx context.Context) []*SkipEdgeExample + type SkipEdgeExampleDelete struct + func (seed *SkipEdgeExampleDelete) Exec(ctx context.Context) (int, error) + func (seed *SkipEdgeExampleDelete) ExecX(ctx context.Context) int + func (seed *SkipEdgeExampleDelete) Where(ps ...predicate.SkipEdgeExample) *SkipEdgeExampleDelete + type SkipEdgeExampleDeleteOne struct + func (seedo *SkipEdgeExampleDeleteOne) Exec(ctx context.Context) error + func (seedo *SkipEdgeExampleDeleteOne) ExecX(ctx context.Context) + type SkipEdgeExampleEdges struct + User *User + func (e SkipEdgeExampleEdges) UserOrErr() (*User, error) + type SkipEdgeExampleGroupBy struct + func (s *SkipEdgeExampleGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *SkipEdgeExampleGroupBy) BoolX(ctx context.Context) bool + func (s *SkipEdgeExampleGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *SkipEdgeExampleGroupBy) BoolsX(ctx context.Context) []bool + func (s *SkipEdgeExampleGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *SkipEdgeExampleGroupBy) Float64X(ctx context.Context) float64 + func (s *SkipEdgeExampleGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *SkipEdgeExampleGroupBy) Float64sX(ctx context.Context) []float64 + func (s *SkipEdgeExampleGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *SkipEdgeExampleGroupBy) IntX(ctx context.Context) int + func (s *SkipEdgeExampleGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *SkipEdgeExampleGroupBy) IntsX(ctx context.Context) []int + func (s *SkipEdgeExampleGroupBy) ScanX(ctx context.Context, v any) + func (s *SkipEdgeExampleGroupBy) String(ctx context.Context) (_ string, err error) + func (s *SkipEdgeExampleGroupBy) StringX(ctx context.Context) string + func (s *SkipEdgeExampleGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *SkipEdgeExampleGroupBy) StringsX(ctx context.Context) []string + func (seegb *SkipEdgeExampleGroupBy) Aggregate(fns ...AggregateFunc) *SkipEdgeExampleGroupBy + func (seegb *SkipEdgeExampleGroupBy) Scan(ctx context.Context, v any) error + type SkipEdgeExampleMutation struct + func (m *SkipEdgeExampleMutation) AddField(name string, value ent.Value) error + func (m *SkipEdgeExampleMutation) AddedEdges() []string + func (m *SkipEdgeExampleMutation) AddedField(name string) (ent.Value, bool) + func (m *SkipEdgeExampleMutation) AddedFields() []string + func (m *SkipEdgeExampleMutation) AddedIDs(name string) []ent.Value + func (m *SkipEdgeExampleMutation) ClearEdge(name string) error + func (m *SkipEdgeExampleMutation) ClearField(name string) error + func (m *SkipEdgeExampleMutation) ClearUser() + func (m *SkipEdgeExampleMutation) ClearedEdges() []string + func (m *SkipEdgeExampleMutation) ClearedFields() []string + func (m *SkipEdgeExampleMutation) EdgeCleared(name string) bool + func (m *SkipEdgeExampleMutation) Field(name string) (ent.Value, bool) + func (m *SkipEdgeExampleMutation) FieldCleared(name string) bool + func (m *SkipEdgeExampleMutation) Fields() []string + func (m *SkipEdgeExampleMutation) ID() (id int, exists bool) + func (m *SkipEdgeExampleMutation) IDs(ctx context.Context) ([]int, error) + func (m *SkipEdgeExampleMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *SkipEdgeExampleMutation) Op() Op + func (m *SkipEdgeExampleMutation) RemovedEdges() []string + func (m *SkipEdgeExampleMutation) RemovedIDs(name string) []ent.Value + func (m *SkipEdgeExampleMutation) ResetEdge(name string) error + func (m *SkipEdgeExampleMutation) ResetField(name string) error + func (m *SkipEdgeExampleMutation) ResetUser() + func (m *SkipEdgeExampleMutation) SetField(name string, value ent.Value) error + func (m *SkipEdgeExampleMutation) SetUserID(id int) + func (m *SkipEdgeExampleMutation) Type() string + func (m *SkipEdgeExampleMutation) UserCleared() bool + func (m *SkipEdgeExampleMutation) UserID() (id int, exists bool) + func (m *SkipEdgeExampleMutation) UserIDs() (ids []int) + func (m *SkipEdgeExampleMutation) Where(ps ...predicate.SkipEdgeExample) + func (m SkipEdgeExampleMutation) Client() *Client + func (m SkipEdgeExampleMutation) Tx() (*Tx, error) + type SkipEdgeExampleQuery struct + func (seeq *SkipEdgeExampleQuery) Aggregate(fns ...AggregateFunc) *SkipEdgeExampleSelect + func (seeq *SkipEdgeExampleQuery) All(ctx context.Context) ([]*SkipEdgeExample, error) + func (seeq *SkipEdgeExampleQuery) AllX(ctx context.Context) []*SkipEdgeExample + func (seeq *SkipEdgeExampleQuery) Clone() *SkipEdgeExampleQuery + func (seeq *SkipEdgeExampleQuery) Count(ctx context.Context) (int, error) + func (seeq *SkipEdgeExampleQuery) CountX(ctx context.Context) int + func (seeq *SkipEdgeExampleQuery) Exist(ctx context.Context) (bool, error) + func (seeq *SkipEdgeExampleQuery) ExistX(ctx context.Context) bool + func (seeq *SkipEdgeExampleQuery) First(ctx context.Context) (*SkipEdgeExample, error) + func (seeq *SkipEdgeExampleQuery) FirstID(ctx context.Context) (id int, err error) + func (seeq *SkipEdgeExampleQuery) FirstIDX(ctx context.Context) int + func (seeq *SkipEdgeExampleQuery) FirstX(ctx context.Context) *SkipEdgeExample + func (seeq *SkipEdgeExampleQuery) GroupBy(field string, fields ...string) *SkipEdgeExampleGroupBy + func (seeq *SkipEdgeExampleQuery) IDs(ctx context.Context) ([]int, error) + func (seeq *SkipEdgeExampleQuery) IDsX(ctx context.Context) []int + func (seeq *SkipEdgeExampleQuery) Limit(limit int) *SkipEdgeExampleQuery + func (seeq *SkipEdgeExampleQuery) Offset(offset int) *SkipEdgeExampleQuery + func (seeq *SkipEdgeExampleQuery) Only(ctx context.Context) (*SkipEdgeExample, error) + func (seeq *SkipEdgeExampleQuery) OnlyID(ctx context.Context) (id int, err error) + func (seeq *SkipEdgeExampleQuery) OnlyIDX(ctx context.Context) int + func (seeq *SkipEdgeExampleQuery) OnlyX(ctx context.Context) *SkipEdgeExample + func (seeq *SkipEdgeExampleQuery) Order(o ...OrderFunc) *SkipEdgeExampleQuery + func (seeq *SkipEdgeExampleQuery) QueryUser() *UserQuery + func (seeq *SkipEdgeExampleQuery) Select(fields ...string) *SkipEdgeExampleSelect + func (seeq *SkipEdgeExampleQuery) Unique(unique bool) *SkipEdgeExampleQuery + func (seeq *SkipEdgeExampleQuery) Where(ps ...predicate.SkipEdgeExample) *SkipEdgeExampleQuery + func (seeq *SkipEdgeExampleQuery) WithUser(opts ...func(*UserQuery)) *SkipEdgeExampleQuery + type SkipEdgeExampleSelect struct + func (s *SkipEdgeExampleSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *SkipEdgeExampleSelect) BoolX(ctx context.Context) bool + func (s *SkipEdgeExampleSelect) Bools(ctx context.Context) ([]bool, error) + func (s *SkipEdgeExampleSelect) BoolsX(ctx context.Context) []bool + func (s *SkipEdgeExampleSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *SkipEdgeExampleSelect) Float64X(ctx context.Context) float64 + func (s *SkipEdgeExampleSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *SkipEdgeExampleSelect) Float64sX(ctx context.Context) []float64 + func (s *SkipEdgeExampleSelect) Int(ctx context.Context) (_ int, err error) + func (s *SkipEdgeExampleSelect) IntX(ctx context.Context) int + func (s *SkipEdgeExampleSelect) Ints(ctx context.Context) ([]int, error) + func (s *SkipEdgeExampleSelect) IntsX(ctx context.Context) []int + func (s *SkipEdgeExampleSelect) ScanX(ctx context.Context, v any) + func (s *SkipEdgeExampleSelect) String(ctx context.Context) (_ string, err error) + func (s *SkipEdgeExampleSelect) StringX(ctx context.Context) string + func (s *SkipEdgeExampleSelect) Strings(ctx context.Context) ([]string, error) + func (s *SkipEdgeExampleSelect) StringsX(ctx context.Context) []string + func (sees *SkipEdgeExampleSelect) Aggregate(fns ...AggregateFunc) *SkipEdgeExampleSelect + func (sees *SkipEdgeExampleSelect) Scan(ctx context.Context, v any) error + type SkipEdgeExampleUpdate struct + func (seeu *SkipEdgeExampleUpdate) ClearUser() *SkipEdgeExampleUpdate + func (seeu *SkipEdgeExampleUpdate) Exec(ctx context.Context) error + func (seeu *SkipEdgeExampleUpdate) ExecX(ctx context.Context) + func (seeu *SkipEdgeExampleUpdate) Mutation() *SkipEdgeExampleMutation + func (seeu *SkipEdgeExampleUpdate) Save(ctx context.Context) (int, error) + func (seeu *SkipEdgeExampleUpdate) SaveX(ctx context.Context) int + func (seeu *SkipEdgeExampleUpdate) SetNillableUserID(id *int) *SkipEdgeExampleUpdate + func (seeu *SkipEdgeExampleUpdate) SetUser(u *User) *SkipEdgeExampleUpdate + func (seeu *SkipEdgeExampleUpdate) SetUserID(id int) *SkipEdgeExampleUpdate + func (seeu *SkipEdgeExampleUpdate) Where(ps ...predicate.SkipEdgeExample) *SkipEdgeExampleUpdate + type SkipEdgeExampleUpdateOne struct + func (seeuo *SkipEdgeExampleUpdateOne) ClearUser() *SkipEdgeExampleUpdateOne + func (seeuo *SkipEdgeExampleUpdateOne) Exec(ctx context.Context) error + func (seeuo *SkipEdgeExampleUpdateOne) ExecX(ctx context.Context) + func (seeuo *SkipEdgeExampleUpdateOne) Mutation() *SkipEdgeExampleMutation + func (seeuo *SkipEdgeExampleUpdateOne) Save(ctx context.Context) (*SkipEdgeExample, error) + func (seeuo *SkipEdgeExampleUpdateOne) SaveX(ctx context.Context) *SkipEdgeExample + func (seeuo *SkipEdgeExampleUpdateOne) Select(field string, fields ...string) *SkipEdgeExampleUpdateOne + func (seeuo *SkipEdgeExampleUpdateOne) SetNillableUserID(id *int) *SkipEdgeExampleUpdateOne + func (seeuo *SkipEdgeExampleUpdateOne) SetUser(u *User) *SkipEdgeExampleUpdateOne + func (seeuo *SkipEdgeExampleUpdateOne) SetUserID(id int) *SkipEdgeExampleUpdateOne + type SkipEdgeExamples []*SkipEdgeExample + type Todo struct + Edges TodoEdges + ID int + Status todo.Status + Task string + func (t *Todo) QueryUser() *UserQuery + func (t *Todo) String() string + func (t *Todo) Unwrap() *Todo + func (t *Todo) Update() *TodoUpdateOne + type TodoClient struct + func NewTodoClient(c config) *TodoClient + func (c *TodoClient) Create() *TodoCreate + func (c *TodoClient) CreateBulk(builders ...*TodoCreate) *TodoCreateBulk + func (c *TodoClient) Delete() *TodoDelete + func (c *TodoClient) DeleteOne(t *Todo) *TodoDeleteOne + func (c *TodoClient) DeleteOneID(id int) *TodoDeleteOne + func (c *TodoClient) Get(ctx context.Context, id int) (*Todo, error) + func (c *TodoClient) GetX(ctx context.Context, id int) *Todo + func (c *TodoClient) Hooks() []Hook + func (c *TodoClient) Query() *TodoQuery + func (c *TodoClient) QueryUser(t *Todo) *UserQuery + func (c *TodoClient) Update() *TodoUpdate + func (c *TodoClient) UpdateOne(t *Todo) *TodoUpdateOne + func (c *TodoClient) UpdateOneID(id int) *TodoUpdateOne + func (c *TodoClient) Use(hooks ...Hook) + type TodoCreate struct + func (tc *TodoCreate) Exec(ctx context.Context) error + func (tc *TodoCreate) ExecX(ctx context.Context) + func (tc *TodoCreate) Mutation() *TodoMutation + func (tc *TodoCreate) Save(ctx context.Context) (*Todo, error) + func (tc *TodoCreate) SaveX(ctx context.Context) *Todo + func (tc *TodoCreate) SetNillableStatus(t *todo.Status) *TodoCreate + func (tc *TodoCreate) SetNillableUserID(id *int) *TodoCreate + func (tc *TodoCreate) SetStatus(t todo.Status) *TodoCreate + func (tc *TodoCreate) SetTask(s string) *TodoCreate + func (tc *TodoCreate) SetUser(u *User) *TodoCreate + func (tc *TodoCreate) SetUserID(id int) *TodoCreate + type TodoCreateBulk struct + func (tcb *TodoCreateBulk) Exec(ctx context.Context) error + func (tcb *TodoCreateBulk) ExecX(ctx context.Context) + func (tcb *TodoCreateBulk) Save(ctx context.Context) ([]*Todo, error) + func (tcb *TodoCreateBulk) SaveX(ctx context.Context) []*Todo + type TodoDelete struct + func (td *TodoDelete) Exec(ctx context.Context) (int, error) + func (td *TodoDelete) ExecX(ctx context.Context) int + func (td *TodoDelete) Where(ps ...predicate.Todo) *TodoDelete + type TodoDeleteOne struct + func (tdo *TodoDeleteOne) Exec(ctx context.Context) error + func (tdo *TodoDeleteOne) ExecX(ctx context.Context) + type TodoEdges struct + User *User + func (e TodoEdges) UserOrErr() (*User, error) + type TodoGroupBy struct + func (s *TodoGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TodoGroupBy) BoolX(ctx context.Context) bool + func (s *TodoGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TodoGroupBy) BoolsX(ctx context.Context) []bool + func (s *TodoGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TodoGroupBy) Float64X(ctx context.Context) float64 + func (s *TodoGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TodoGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TodoGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TodoGroupBy) IntX(ctx context.Context) int + func (s *TodoGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TodoGroupBy) IntsX(ctx context.Context) []int + func (s *TodoGroupBy) ScanX(ctx context.Context, v any) + func (s *TodoGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TodoGroupBy) StringX(ctx context.Context) string + func (s *TodoGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TodoGroupBy) StringsX(ctx context.Context) []string + func (tgb *TodoGroupBy) Aggregate(fns ...AggregateFunc) *TodoGroupBy + func (tgb *TodoGroupBy) Scan(ctx context.Context, v any) error + type TodoMutation struct + func (m *TodoMutation) AddField(name string, value ent.Value) error + func (m *TodoMutation) AddedEdges() []string + func (m *TodoMutation) AddedField(name string) (ent.Value, bool) + func (m *TodoMutation) AddedFields() []string + func (m *TodoMutation) AddedIDs(name string) []ent.Value + func (m *TodoMutation) ClearEdge(name string) error + func (m *TodoMutation) ClearField(name string) error + func (m *TodoMutation) ClearUser() + func (m *TodoMutation) ClearedEdges() []string + func (m *TodoMutation) ClearedFields() []string + func (m *TodoMutation) EdgeCleared(name string) bool + func (m *TodoMutation) Field(name string) (ent.Value, bool) + func (m *TodoMutation) FieldCleared(name string) bool + func (m *TodoMutation) Fields() []string + func (m *TodoMutation) ID() (id int, exists bool) + func (m *TodoMutation) IDs(ctx context.Context) ([]int, error) + func (m *TodoMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TodoMutation) OldStatus(ctx context.Context) (v todo.Status, err error) + func (m *TodoMutation) OldTask(ctx context.Context) (v string, err error) + func (m *TodoMutation) Op() Op + func (m *TodoMutation) RemovedEdges() []string + func (m *TodoMutation) RemovedIDs(name string) []ent.Value + func (m *TodoMutation) ResetEdge(name string) error + func (m *TodoMutation) ResetField(name string) error + func (m *TodoMutation) ResetStatus() + func (m *TodoMutation) ResetTask() + func (m *TodoMutation) ResetUser() + func (m *TodoMutation) SetField(name string, value ent.Value) error + func (m *TodoMutation) SetStatus(t todo.Status) + func (m *TodoMutation) SetTask(s string) + func (m *TodoMutation) SetUserID(id int) + func (m *TodoMutation) Status() (r todo.Status, exists bool) + func (m *TodoMutation) Task() (r string, exists bool) + func (m *TodoMutation) Type() string + func (m *TodoMutation) UserCleared() bool + func (m *TodoMutation) UserID() (id int, exists bool) + func (m *TodoMutation) UserIDs() (ids []int) + func (m *TodoMutation) Where(ps ...predicate.Todo) + func (m TodoMutation) Client() *Client + func (m TodoMutation) Tx() (*Tx, error) + type TodoQuery struct + func (tq *TodoQuery) Aggregate(fns ...AggregateFunc) *TodoSelect + func (tq *TodoQuery) All(ctx context.Context) ([]*Todo, error) + func (tq *TodoQuery) AllX(ctx context.Context) []*Todo + func (tq *TodoQuery) Clone() *TodoQuery + func (tq *TodoQuery) Count(ctx context.Context) (int, error) + func (tq *TodoQuery) CountX(ctx context.Context) int + func (tq *TodoQuery) Exist(ctx context.Context) (bool, error) + func (tq *TodoQuery) ExistX(ctx context.Context) bool + func (tq *TodoQuery) First(ctx context.Context) (*Todo, error) + func (tq *TodoQuery) FirstID(ctx context.Context) (id int, err error) + func (tq *TodoQuery) FirstIDX(ctx context.Context) int + func (tq *TodoQuery) FirstX(ctx context.Context) *Todo + func (tq *TodoQuery) GroupBy(field string, fields ...string) *TodoGroupBy + func (tq *TodoQuery) IDs(ctx context.Context) ([]int, error) + func (tq *TodoQuery) IDsX(ctx context.Context) []int + func (tq *TodoQuery) Limit(limit int) *TodoQuery + func (tq *TodoQuery) Offset(offset int) *TodoQuery + func (tq *TodoQuery) Only(ctx context.Context) (*Todo, error) + func (tq *TodoQuery) OnlyID(ctx context.Context) (id int, err error) + func (tq *TodoQuery) OnlyIDX(ctx context.Context) int + func (tq *TodoQuery) OnlyX(ctx context.Context) *Todo + func (tq *TodoQuery) Order(o ...OrderFunc) *TodoQuery + func (tq *TodoQuery) QueryUser() *UserQuery + func (tq *TodoQuery) Select(fields ...string) *TodoSelect + func (tq *TodoQuery) Unique(unique bool) *TodoQuery + func (tq *TodoQuery) Where(ps ...predicate.Todo) *TodoQuery + func (tq *TodoQuery) WithUser(opts ...func(*UserQuery)) *TodoQuery + type TodoSelect struct + func (s *TodoSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TodoSelect) BoolX(ctx context.Context) bool + func (s *TodoSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TodoSelect) BoolsX(ctx context.Context) []bool + func (s *TodoSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TodoSelect) Float64X(ctx context.Context) float64 + func (s *TodoSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TodoSelect) Float64sX(ctx context.Context) []float64 + func (s *TodoSelect) Int(ctx context.Context) (_ int, err error) + func (s *TodoSelect) IntX(ctx context.Context) int + func (s *TodoSelect) Ints(ctx context.Context) ([]int, error) + func (s *TodoSelect) IntsX(ctx context.Context) []int + func (s *TodoSelect) ScanX(ctx context.Context, v any) + func (s *TodoSelect) String(ctx context.Context) (_ string, err error) + func (s *TodoSelect) StringX(ctx context.Context) string + func (s *TodoSelect) Strings(ctx context.Context) ([]string, error) + func (s *TodoSelect) StringsX(ctx context.Context) []string + func (ts *TodoSelect) Aggregate(fns ...AggregateFunc) *TodoSelect + func (ts *TodoSelect) Scan(ctx context.Context, v any) error + type TodoUpdate struct + func (tu *TodoUpdate) ClearUser() *TodoUpdate + func (tu *TodoUpdate) Exec(ctx context.Context) error + func (tu *TodoUpdate) ExecX(ctx context.Context) + func (tu *TodoUpdate) Mutation() *TodoMutation + func (tu *TodoUpdate) Save(ctx context.Context) (int, error) + func (tu *TodoUpdate) SaveX(ctx context.Context) int + func (tu *TodoUpdate) SetNillableStatus(t *todo.Status) *TodoUpdate + func (tu *TodoUpdate) SetNillableUserID(id *int) *TodoUpdate + func (tu *TodoUpdate) SetStatus(t todo.Status) *TodoUpdate + func (tu *TodoUpdate) SetTask(s string) *TodoUpdate + func (tu *TodoUpdate) SetUser(u *User) *TodoUpdate + func (tu *TodoUpdate) SetUserID(id int) *TodoUpdate + func (tu *TodoUpdate) Where(ps ...predicate.Todo) *TodoUpdate + type TodoUpdateOne struct + func (tuo *TodoUpdateOne) ClearUser() *TodoUpdateOne + func (tuo *TodoUpdateOne) Exec(ctx context.Context) error + func (tuo *TodoUpdateOne) ExecX(ctx context.Context) + func (tuo *TodoUpdateOne) Mutation() *TodoMutation + func (tuo *TodoUpdateOne) Save(ctx context.Context) (*Todo, error) + func (tuo *TodoUpdateOne) SaveX(ctx context.Context) *Todo + func (tuo *TodoUpdateOne) Select(field string, fields ...string) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetNillableStatus(t *todo.Status) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetNillableUserID(id *int) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetStatus(t todo.Status) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetTask(s string) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetUser(u *User) *TodoUpdateOne + func (tuo *TodoUpdateOne) SetUserID(id int) *TodoUpdateOne + type Todos []*Todo + type Tx struct + Attachment *AttachmentClient + Group *GroupClient + MultiWordSchema *MultiWordSchemaClient + NilExample *NilExampleClient + Pet *PetClient + Pony *PonyClient + SkipEdgeExample *SkipEdgeExampleClient + Todo *TodoClient + 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 + AccountBalance float64 + BUser1 int + Banned bool + BigInt schema.BigInt + CrmID uuid.UUID + CustomPb uint8 + DeviceType user.DeviceType + Edges UserEdges + Exp uint64 + ExternalID int + HeightInCm float32 + ID int + Joined time.Time + Labels []string + OptBool bool + OptNum int + OptStr string + Points uint + Status user.Status + Type string + Unnecessary string + UserName string + func (u *User) QueryAttachment() *AttachmentQuery + func (u *User) QueryGroup() *GroupQuery + func (u *User) QueryPet() *PetQuery + func (u *User) QueryReceived1() *AttachmentQuery + func (u *User) QuerySkipEdge() *SkipEdgeExampleQuery + 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) QueryAttachment(u *User) *AttachmentQuery + func (c *UserClient) QueryGroup(u *User) *GroupQuery + func (c *UserClient) QueryPet(u *User) *PetQuery + func (c *UserClient) QueryReceived1(u *User) *AttachmentQuery + func (c *UserClient) QuerySkipEdge(u *User) *SkipEdgeExampleQuery + 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) AddReceived1(a ...*Attachment) *UserCreate + func (uc *UserCreate) AddReceived1IDs(ids ...uuid.UUID) *UserCreate + func (uc *UserCreate) Exec(ctx context.Context) error + func (uc *UserCreate) ExecX(ctx context.Context) + func (uc *UserCreate) Mutation() *UserMutation + func (uc *UserCreate) Save(ctx context.Context) (*User, error) + func (uc *UserCreate) SaveX(ctx context.Context) *User + func (uc *UserCreate) SetAccountBalance(f float64) *UserCreate + func (uc *UserCreate) SetAttachment(a *Attachment) *UserCreate + func (uc *UserCreate) SetAttachmentID(id uuid.UUID) *UserCreate + func (uc *UserCreate) SetBUser1(i int) *UserCreate + func (uc *UserCreate) SetBanned(b bool) *UserCreate + func (uc *UserCreate) SetBigInt(si schema.BigInt) *UserCreate + func (uc *UserCreate) SetCrmID(u uuid.UUID) *UserCreate + func (uc *UserCreate) SetCustomPb(u uint8) *UserCreate + func (uc *UserCreate) SetDeviceType(ut user.DeviceType) *UserCreate + func (uc *UserCreate) SetExp(u uint64) *UserCreate + func (uc *UserCreate) SetExternalID(i int) *UserCreate + func (uc *UserCreate) SetGroup(g *Group) *UserCreate + func (uc *UserCreate) SetGroupID(id int) *UserCreate + func (uc *UserCreate) SetHeightInCm(f float32) *UserCreate + func (uc *UserCreate) SetJoined(t time.Time) *UserCreate + func (uc *UserCreate) SetLabels(s []string) *UserCreate + func (uc *UserCreate) SetNillableAccountBalance(f *float64) *UserCreate + func (uc *UserCreate) SetNillableAttachmentID(id *uuid.UUID) *UserCreate + func (uc *UserCreate) SetNillableBUser1(i *int) *UserCreate + func (uc *UserCreate) SetNillableBanned(b *bool) *UserCreate + func (uc *UserCreate) SetNillableBigInt(si *schema.BigInt) *UserCreate + func (uc *UserCreate) SetNillableDeviceType(ut *user.DeviceType) *UserCreate + func (uc *UserCreate) SetNillableGroupID(id *int) *UserCreate + func (uc *UserCreate) SetNillableHeightInCm(f *float32) *UserCreate + func (uc *UserCreate) SetNillableOptBool(b *bool) *UserCreate + func (uc *UserCreate) SetNillableOptNum(i *int) *UserCreate + func (uc *UserCreate) SetNillableOptStr(s *string) *UserCreate + func (uc *UserCreate) SetNillablePetID(id *int) *UserCreate + func (uc *UserCreate) SetNillableSkipEdgeID(id *int) *UserCreate + func (uc *UserCreate) SetNillableType(s *string) *UserCreate + func (uc *UserCreate) SetNillableUnnecessary(s *string) *UserCreate + func (uc *UserCreate) SetOptBool(b bool) *UserCreate + func (uc *UserCreate) SetOptNum(i int) *UserCreate + func (uc *UserCreate) SetOptStr(s string) *UserCreate + func (uc *UserCreate) SetPet(p *Pet) *UserCreate + func (uc *UserCreate) SetPetID(id int) *UserCreate + func (uc *UserCreate) SetPoints(u uint) *UserCreate + func (uc *UserCreate) SetSkipEdge(s *SkipEdgeExample) *UserCreate + func (uc *UserCreate) SetSkipEdgeID(id int) *UserCreate + func (uc *UserCreate) SetStatus(u user.Status) *UserCreate + func (uc *UserCreate) SetType(s string) *UserCreate + func (uc *UserCreate) SetUnnecessary(s string) *UserCreate + func (uc *UserCreate) SetUserName(s string) *UserCreate + type UserCreateBulk struct + func (ucb *UserCreateBulk) Exec(ctx context.Context) error + func (ucb *UserCreateBulk) ExecX(ctx context.Context) + func (ucb *UserCreateBulk) Save(ctx context.Context) ([]*User, error) + func (ucb *UserCreateBulk) SaveX(ctx context.Context) []*User + type UserDelete struct + func (ud *UserDelete) Exec(ctx context.Context) (int, error) + func (ud *UserDelete) ExecX(ctx context.Context) int + func (ud *UserDelete) Where(ps ...predicate.User) *UserDelete + type UserDeleteOne struct + func (udo *UserDeleteOne) Exec(ctx context.Context) error + func (udo *UserDeleteOne) ExecX(ctx context.Context) + type UserEdges struct + Attachment *Attachment + Group *Group + Pet *Pet + Received1 []*Attachment + SkipEdge *SkipEdgeExample + func (e UserEdges) AttachmentOrErr() (*Attachment, error) + func (e UserEdges) GroupOrErr() (*Group, error) + func (e UserEdges) PetOrErr() (*Pet, error) + func (e UserEdges) Received1OrErr() ([]*Attachment, error) + func (e UserEdges) SkipEdgeOrErr() (*SkipEdgeExample, error) + type UserGroupBy struct + func (s *UserGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *UserGroupBy) BoolX(ctx context.Context) bool + func (s *UserGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *UserGroupBy) BoolsX(ctx context.Context) []bool + func (s *UserGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *UserGroupBy) Float64X(ctx context.Context) float64 + func (s *UserGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *UserGroupBy) Float64sX(ctx context.Context) []float64 + func (s *UserGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *UserGroupBy) IntX(ctx context.Context) int + func (s *UserGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *UserGroupBy) IntsX(ctx context.Context) []int + func (s *UserGroupBy) ScanX(ctx context.Context, v any) + func (s *UserGroupBy) String(ctx context.Context) (_ string, err error) + func (s *UserGroupBy) StringX(ctx context.Context) string + func (s *UserGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *UserGroupBy) StringsX(ctx context.Context) []string + func (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy + func (ugb *UserGroupBy) Scan(ctx context.Context, v any) error + type UserMutation struct + func (m *UserMutation) AccountBalance() (r float64, exists bool) + func (m *UserMutation) AddAccountBalance(f float64) + func (m *UserMutation) AddBUser1(i int) + func (m *UserMutation) AddCustomPb(u int8) + func (m *UserMutation) AddExp(u int64) + func (m *UserMutation) AddExternalID(i int) + func (m *UserMutation) AddField(name string, value ent.Value) error + func (m *UserMutation) AddHeightInCm(f float32) + func (m *UserMutation) AddOptNum(i int) + func (m *UserMutation) AddPoints(u int) + func (m *UserMutation) AddReceived1IDs(ids ...uuid.UUID) + func (m *UserMutation) AddedAccountBalance() (r float64, exists bool) + func (m *UserMutation) AddedBUser1() (r int, exists bool) + func (m *UserMutation) AddedCustomPb() (r int8, exists bool) + func (m *UserMutation) AddedEdges() []string + func (m *UserMutation) AddedExp() (r int64, exists bool) + func (m *UserMutation) AddedExternalID() (r int, exists bool) + func (m *UserMutation) AddedField(name string) (ent.Value, bool) + func (m *UserMutation) AddedFields() []string + func (m *UserMutation) AddedHeightInCm() (r float32, exists bool) + func (m *UserMutation) AddedIDs(name string) []ent.Value + func (m *UserMutation) AddedOptNum() (r int, exists bool) + func (m *UserMutation) AddedPoints() (r int, exists bool) + func (m *UserMutation) AppendLabels(s []string) + func (m *UserMutation) AppendedLabels() ([]string, bool) + func (m *UserMutation) AttachmentCleared() bool + func (m *UserMutation) AttachmentID() (id uuid.UUID, exists bool) + func (m *UserMutation) AttachmentIDs() (ids []uuid.UUID) + func (m *UserMutation) BUser1() (r int, exists bool) + func (m *UserMutation) BUser1Cleared() bool + func (m *UserMutation) Banned() (r bool, exists bool) + func (m *UserMutation) BigInt() (r schema.BigInt, exists bool) + func (m *UserMutation) BigIntCleared() bool + func (m *UserMutation) ClearAttachment() + func (m *UserMutation) ClearBUser1() + func (m *UserMutation) ClearBigInt() + func (m *UserMutation) ClearEdge(name string) error + func (m *UserMutation) ClearField(name string) error + func (m *UserMutation) ClearGroup() + func (m *UserMutation) ClearLabels() + func (m *UserMutation) ClearOptBool() + func (m *UserMutation) ClearOptNum() + func (m *UserMutation) ClearOptStr() + func (m *UserMutation) ClearPet() + func (m *UserMutation) ClearReceived1() + func (m *UserMutation) ClearSkipEdge() + func (m *UserMutation) ClearType() + func (m *UserMutation) ClearUnnecessary() + func (m *UserMutation) ClearedEdges() []string + func (m *UserMutation) ClearedFields() []string + func (m *UserMutation) CrmID() (r uuid.UUID, exists bool) + func (m *UserMutation) CustomPb() (r uint8, exists bool) + func (m *UserMutation) DeviceType() (r user.DeviceType, exists bool) + func (m *UserMutation) EdgeCleared(name string) bool + func (m *UserMutation) Exp() (r uint64, exists bool) + func (m *UserMutation) ExternalID() (r int, exists 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) GetType() (r string, exists bool) + func (m *UserMutation) GroupCleared() bool + func (m *UserMutation) GroupID() (id int, exists bool) + func (m *UserMutation) GroupIDs() (ids []int) + func (m *UserMutation) HeightInCm() (r float32, exists bool) + func (m *UserMutation) ID() (id int, exists bool) + func (m *UserMutation) IDs(ctx context.Context) ([]int, error) + func (m *UserMutation) Joined() (r time.Time, exists bool) + func (m *UserMutation) Labels() (r []string, exists bool) + func (m *UserMutation) LabelsCleared() bool + func (m *UserMutation) OldAccountBalance(ctx context.Context) (v float64, err error) + func (m *UserMutation) OldBUser1(ctx context.Context) (v int, err error) + func (m *UserMutation) OldBanned(ctx context.Context) (v bool, err error) + func (m *UserMutation) OldBigInt(ctx context.Context) (v schema.BigInt, err error) + func (m *UserMutation) OldCrmID(ctx context.Context) (v uuid.UUID, err error) + func (m *UserMutation) OldCustomPb(ctx context.Context) (v uint8, err error) + func (m *UserMutation) OldDeviceType(ctx context.Context) (v user.DeviceType, err error) + func (m *UserMutation) OldExp(ctx context.Context) (v uint64, err error) + func (m *UserMutation) OldExternalID(ctx context.Context) (v int, err error) + func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserMutation) OldHeightInCm(ctx context.Context) (v float32, err error) + func (m *UserMutation) OldJoined(ctx context.Context) (v time.Time, err error) + func (m *UserMutation) OldLabels(ctx context.Context) (v []string, err error) + func (m *UserMutation) OldOptBool(ctx context.Context) (v bool, err error) + func (m *UserMutation) OldOptNum(ctx context.Context) (v int, err error) + func (m *UserMutation) OldOptStr(ctx context.Context) (v string, err error) + func (m *UserMutation) OldPoints(ctx context.Context) (v uint, err error) + func (m *UserMutation) OldStatus(ctx context.Context) (v user.Status, err error) + func (m *UserMutation) OldType(ctx context.Context) (v string, err error) + func (m *UserMutation) OldUnnecessary(ctx context.Context) (v string, err error) + func (m *UserMutation) OldUserName(ctx context.Context) (v string, err error) + func (m *UserMutation) Op() Op + func (m *UserMutation) OptBool() (r bool, exists bool) + func (m *UserMutation) OptBoolCleared() bool + func (m *UserMutation) OptNum() (r int, exists bool) + func (m *UserMutation) OptNumCleared() bool + func (m *UserMutation) OptStr() (r string, exists bool) + func (m *UserMutation) OptStrCleared() bool + func (m *UserMutation) PetCleared() bool + func (m *UserMutation) PetID() (id int, exists bool) + func (m *UserMutation) PetIDs() (ids []int) + func (m *UserMutation) Points() (r uint, exists bool) + func (m *UserMutation) Received1Cleared() bool + func (m *UserMutation) Received1IDs() (ids []uuid.UUID) + func (m *UserMutation) RemoveReceived1IDs(ids ...uuid.UUID) + func (m *UserMutation) RemovedEdges() []string + func (m *UserMutation) RemovedIDs(name string) []ent.Value + func (m *UserMutation) RemovedReceived1IDs() (ids []uuid.UUID) + func (m *UserMutation) ResetAccountBalance() + func (m *UserMutation) ResetAttachment() + func (m *UserMutation) ResetBUser1() + func (m *UserMutation) ResetBanned() + func (m *UserMutation) ResetBigInt() + func (m *UserMutation) ResetCrmID() + func (m *UserMutation) ResetCustomPb() + func (m *UserMutation) ResetDeviceType() + func (m *UserMutation) ResetEdge(name string) error + func (m *UserMutation) ResetExp() + func (m *UserMutation) ResetExternalID() + func (m *UserMutation) ResetField(name string) error + func (m *UserMutation) ResetGroup() + func (m *UserMutation) ResetHeightInCm() + func (m *UserMutation) ResetJoined() + func (m *UserMutation) ResetLabels() + func (m *UserMutation) ResetOptBool() + func (m *UserMutation) ResetOptNum() + func (m *UserMutation) ResetOptStr() + func (m *UserMutation) ResetPet() + func (m *UserMutation) ResetPoints() + func (m *UserMutation) ResetReceived1() + func (m *UserMutation) ResetSkipEdge() + func (m *UserMutation) ResetStatus() + func (m *UserMutation) ResetType() + func (m *UserMutation) ResetUnnecessary() + func (m *UserMutation) ResetUserName() + func (m *UserMutation) SetAccountBalance(f float64) + func (m *UserMutation) SetAttachmentID(id uuid.UUID) + func (m *UserMutation) SetBUser1(i int) + func (m *UserMutation) SetBanned(b bool) + func (m *UserMutation) SetBigInt(si schema.BigInt) + func (m *UserMutation) SetCrmID(u uuid.UUID) + func (m *UserMutation) SetCustomPb(u uint8) + func (m *UserMutation) SetDeviceType(ut user.DeviceType) + func (m *UserMutation) SetExp(u uint64) + func (m *UserMutation) SetExternalID(i int) + func (m *UserMutation) SetField(name string, value ent.Value) error + func (m *UserMutation) SetGroupID(id int) + func (m *UserMutation) SetHeightInCm(f float32) + func (m *UserMutation) SetJoined(t time.Time) + func (m *UserMutation) SetLabels(s []string) + func (m *UserMutation) SetOptBool(b bool) + func (m *UserMutation) SetOptNum(i int) + func (m *UserMutation) SetOptStr(s string) + func (m *UserMutation) SetPetID(id int) + func (m *UserMutation) SetPoints(u uint) + func (m *UserMutation) SetSkipEdgeID(id int) + func (m *UserMutation) SetStatus(u user.Status) + func (m *UserMutation) SetType(s string) + func (m *UserMutation) SetUnnecessary(s string) + func (m *UserMutation) SetUserName(s string) + func (m *UserMutation) SkipEdgeCleared() bool + func (m *UserMutation) SkipEdgeID() (id int, exists bool) + func (m *UserMutation) SkipEdgeIDs() (ids []int) + func (m *UserMutation) Status() (r user.Status, exists bool) + func (m *UserMutation) Type() string + func (m *UserMutation) TypeCleared() bool + func (m *UserMutation) Unnecessary() (r string, exists bool) + func (m *UserMutation) UnnecessaryCleared() bool + func (m *UserMutation) UserName() (r string, exists bool) + func (m *UserMutation) Where(ps ...predicate.User) + func (m UserMutation) Client() *Client + func (m UserMutation) Tx() (*Tx, error) + type UserQuery struct + func (uq *UserQuery) Aggregate(fns ...AggregateFunc) *UserSelect + func (uq *UserQuery) All(ctx context.Context) ([]*User, error) + func (uq *UserQuery) AllX(ctx context.Context) []*User + func (uq *UserQuery) Clone() *UserQuery + func (uq *UserQuery) Count(ctx context.Context) (int, error) + func (uq *UserQuery) CountX(ctx context.Context) int + func (uq *UserQuery) Exist(ctx context.Context) (bool, error) + func (uq *UserQuery) ExistX(ctx context.Context) bool + func (uq *UserQuery) First(ctx context.Context) (*User, error) + func (uq *UserQuery) FirstID(ctx context.Context) (id int, err error) + func (uq *UserQuery) FirstIDX(ctx context.Context) int + func (uq *UserQuery) FirstX(ctx context.Context) *User + 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) 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) QueryAttachment() *AttachmentQuery + func (uq *UserQuery) QueryGroup() *GroupQuery + func (uq *UserQuery) QueryPet() *PetQuery + func (uq *UserQuery) QueryReceived1() *AttachmentQuery + func (uq *UserQuery) QuerySkipEdge() *SkipEdgeExampleQuery + 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) WithAttachment(opts ...func(*AttachmentQuery)) *UserQuery + func (uq *UserQuery) WithGroup(opts ...func(*GroupQuery)) *UserQuery + func (uq *UserQuery) WithPet(opts ...func(*PetQuery)) *UserQuery + func (uq *UserQuery) WithReceived1(opts ...func(*AttachmentQuery)) *UserQuery + func (uq *UserQuery) WithSkipEdge(opts ...func(*SkipEdgeExampleQuery)) *UserQuery + type UserSelect struct + func (s *UserSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *UserSelect) BoolX(ctx context.Context) bool + func (s *UserSelect) Bools(ctx context.Context) ([]bool, error) + func (s *UserSelect) BoolsX(ctx context.Context) []bool + func (s *UserSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *UserSelect) Float64X(ctx context.Context) float64 + func (s *UserSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *UserSelect) Float64sX(ctx context.Context) []float64 + func (s *UserSelect) Int(ctx context.Context) (_ int, err error) + func (s *UserSelect) IntX(ctx context.Context) int + func (s *UserSelect) Ints(ctx context.Context) ([]int, error) + func (s *UserSelect) IntsX(ctx context.Context) []int + func (s *UserSelect) ScanX(ctx context.Context, v any) + func (s *UserSelect) String(ctx context.Context) (_ string, err error) + func (s *UserSelect) StringX(ctx context.Context) string + func (s *UserSelect) Strings(ctx context.Context) ([]string, error) + func (s *UserSelect) StringsX(ctx context.Context) []string + func (us *UserSelect) Aggregate(fns ...AggregateFunc) *UserSelect + func (us *UserSelect) Scan(ctx context.Context, v any) error + type UserUpdate struct + func (uu *UserUpdate) AddAccountBalance(f float64) *UserUpdate + func (uu *UserUpdate) AddBUser1(i int) *UserUpdate + func (uu *UserUpdate) AddCustomPb(u int8) *UserUpdate + func (uu *UserUpdate) AddExp(u int64) *UserUpdate + func (uu *UserUpdate) AddExternalID(i int) *UserUpdate + func (uu *UserUpdate) AddHeightInCm(f float32) *UserUpdate + func (uu *UserUpdate) AddOptNum(i int) *UserUpdate + func (uu *UserUpdate) AddPoints(u int) *UserUpdate + func (uu *UserUpdate) AddReceived1(a ...*Attachment) *UserUpdate + func (uu *UserUpdate) AddReceived1IDs(ids ...uuid.UUID) *UserUpdate + func (uu *UserUpdate) AppendLabels(s []string) *UserUpdate + func (uu *UserUpdate) ClearAttachment() *UserUpdate + func (uu *UserUpdate) ClearBUser1() *UserUpdate + func (uu *UserUpdate) ClearBigInt() *UserUpdate + func (uu *UserUpdate) ClearGroup() *UserUpdate + func (uu *UserUpdate) ClearLabels() *UserUpdate + func (uu *UserUpdate) ClearOptBool() *UserUpdate + func (uu *UserUpdate) ClearOptNum() *UserUpdate + func (uu *UserUpdate) ClearOptStr() *UserUpdate + func (uu *UserUpdate) ClearPet() *UserUpdate + func (uu *UserUpdate) ClearReceived1() *UserUpdate + func (uu *UserUpdate) ClearSkipEdge() *UserUpdate + func (uu *UserUpdate) ClearType() *UserUpdate + func (uu *UserUpdate) ClearUnnecessary() *UserUpdate + func (uu *UserUpdate) Exec(ctx context.Context) error + func (uu *UserUpdate) ExecX(ctx context.Context) + func (uu *UserUpdate) Mutation() *UserMutation + func (uu *UserUpdate) RemoveReceived1(a ...*Attachment) *UserUpdate + func (uu *UserUpdate) RemoveReceived1IDs(ids ...uuid.UUID) *UserUpdate + func (uu *UserUpdate) Save(ctx context.Context) (int, error) + func (uu *UserUpdate) SaveX(ctx context.Context) int + func (uu *UserUpdate) SetAccountBalance(f float64) *UserUpdate + func (uu *UserUpdate) SetAttachment(a *Attachment) *UserUpdate + func (uu *UserUpdate) SetAttachmentID(id uuid.UUID) *UserUpdate + func (uu *UserUpdate) SetBUser1(i int) *UserUpdate + func (uu *UserUpdate) SetBanned(b bool) *UserUpdate + func (uu *UserUpdate) SetBigInt(si schema.BigInt) *UserUpdate + func (uu *UserUpdate) SetCrmID(u uuid.UUID) *UserUpdate + func (uu *UserUpdate) SetCustomPb(u uint8) *UserUpdate + func (uu *UserUpdate) SetDeviceType(ut user.DeviceType) *UserUpdate + func (uu *UserUpdate) SetExp(u uint64) *UserUpdate + func (uu *UserUpdate) SetExternalID(i int) *UserUpdate + func (uu *UserUpdate) SetGroup(g *Group) *UserUpdate + func (uu *UserUpdate) SetGroupID(id int) *UserUpdate + func (uu *UserUpdate) SetHeightInCm(f float32) *UserUpdate + func (uu *UserUpdate) SetLabels(s []string) *UserUpdate + func (uu *UserUpdate) SetNillableAccountBalance(f *float64) *UserUpdate + func (uu *UserUpdate) SetNillableAttachmentID(id *uuid.UUID) *UserUpdate + func (uu *UserUpdate) SetNillableBUser1(i *int) *UserUpdate + func (uu *UserUpdate) SetNillableBanned(b *bool) *UserUpdate + func (uu *UserUpdate) SetNillableBigInt(si *schema.BigInt) *UserUpdate + func (uu *UserUpdate) SetNillableDeviceType(ut *user.DeviceType) *UserUpdate + func (uu *UserUpdate) SetNillableGroupID(id *int) *UserUpdate + func (uu *UserUpdate) SetNillableHeightInCm(f *float32) *UserUpdate + func (uu *UserUpdate) SetNillableOptBool(b *bool) *UserUpdate + func (uu *UserUpdate) SetNillableOptNum(i *int) *UserUpdate + func (uu *UserUpdate) SetNillableOptStr(s *string) *UserUpdate + func (uu *UserUpdate) SetNillablePetID(id *int) *UserUpdate + func (uu *UserUpdate) SetNillableSkipEdgeID(id *int) *UserUpdate + func (uu *UserUpdate) SetNillableType(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableUnnecessary(s *string) *UserUpdate + func (uu *UserUpdate) SetOptBool(b bool) *UserUpdate + func (uu *UserUpdate) SetOptNum(i int) *UserUpdate + func (uu *UserUpdate) SetOptStr(s string) *UserUpdate + func (uu *UserUpdate) SetPet(p *Pet) *UserUpdate + func (uu *UserUpdate) SetPetID(id int) *UserUpdate + func (uu *UserUpdate) SetPoints(u uint) *UserUpdate + func (uu *UserUpdate) SetSkipEdge(s *SkipEdgeExample) *UserUpdate + func (uu *UserUpdate) SetSkipEdgeID(id int) *UserUpdate + func (uu *UserUpdate) SetStatus(u user.Status) *UserUpdate + func (uu *UserUpdate) SetType(s string) *UserUpdate + func (uu *UserUpdate) SetUnnecessary(s string) *UserUpdate + func (uu *UserUpdate) SetUserName(s string) *UserUpdate + func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate + type UserUpdateOne struct + func (uuo *UserUpdateOne) AddAccountBalance(f float64) *UserUpdateOne + func (uuo *UserUpdateOne) AddBUser1(i int) *UserUpdateOne + func (uuo *UserUpdateOne) AddCustomPb(u int8) *UserUpdateOne + func (uuo *UserUpdateOne) AddExp(u int64) *UserUpdateOne + func (uuo *UserUpdateOne) AddExternalID(i int) *UserUpdateOne + func (uuo *UserUpdateOne) AddHeightInCm(f float32) *UserUpdateOne + func (uuo *UserUpdateOne) AddOptNum(i int) *UserUpdateOne + func (uuo *UserUpdateOne) AddPoints(u int) *UserUpdateOne + func (uuo *UserUpdateOne) AddReceived1(a ...*Attachment) *UserUpdateOne + func (uuo *UserUpdateOne) AddReceived1IDs(ids ...uuid.UUID) *UserUpdateOne + func (uuo *UserUpdateOne) AppendLabels(s []string) *UserUpdateOne + func (uuo *UserUpdateOne) ClearAttachment() *UserUpdateOne + func (uuo *UserUpdateOne) ClearBUser1() *UserUpdateOne + func (uuo *UserUpdateOne) ClearBigInt() *UserUpdateOne + func (uuo *UserUpdateOne) ClearGroup() *UserUpdateOne + func (uuo *UserUpdateOne) ClearLabels() *UserUpdateOne + func (uuo *UserUpdateOne) ClearOptBool() *UserUpdateOne + func (uuo *UserUpdateOne) ClearOptNum() *UserUpdateOne + func (uuo *UserUpdateOne) ClearOptStr() *UserUpdateOne + func (uuo *UserUpdateOne) ClearPet() *UserUpdateOne + func (uuo *UserUpdateOne) ClearReceived1() *UserUpdateOne + func (uuo *UserUpdateOne) ClearSkipEdge() *UserUpdateOne + func (uuo *UserUpdateOne) ClearType() *UserUpdateOne + func (uuo *UserUpdateOne) ClearUnnecessary() *UserUpdateOne + func (uuo *UserUpdateOne) Exec(ctx context.Context) error + func (uuo *UserUpdateOne) ExecX(ctx context.Context) + func (uuo *UserUpdateOne) Mutation() *UserMutation + func (uuo *UserUpdateOne) RemoveReceived1(a ...*Attachment) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveReceived1IDs(ids ...uuid.UUID) *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) SetAccountBalance(f float64) *UserUpdateOne + func (uuo *UserUpdateOne) SetAttachment(a *Attachment) *UserUpdateOne + func (uuo *UserUpdateOne) SetAttachmentID(id uuid.UUID) *UserUpdateOne + func (uuo *UserUpdateOne) SetBUser1(i int) *UserUpdateOne + func (uuo *UserUpdateOne) SetBanned(b bool) *UserUpdateOne + func (uuo *UserUpdateOne) SetBigInt(si schema.BigInt) *UserUpdateOne + func (uuo *UserUpdateOne) SetCrmID(u uuid.UUID) *UserUpdateOne + func (uuo *UserUpdateOne) SetCustomPb(u uint8) *UserUpdateOne + func (uuo *UserUpdateOne) SetDeviceType(ut user.DeviceType) *UserUpdateOne + func (uuo *UserUpdateOne) SetExp(u uint64) *UserUpdateOne + func (uuo *UserUpdateOne) SetExternalID(i int) *UserUpdateOne + func (uuo *UserUpdateOne) SetGroup(g *Group) *UserUpdateOne + func (uuo *UserUpdateOne) SetGroupID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) SetHeightInCm(f float32) *UserUpdateOne + func (uuo *UserUpdateOne) SetLabels(s []string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableAccountBalance(f *float64) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableAttachmentID(id *uuid.UUID) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableBUser1(i *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableBanned(b *bool) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableBigInt(si *schema.BigInt) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableDeviceType(ut *user.DeviceType) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableGroupID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableHeightInCm(f *float32) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableOptBool(b *bool) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableOptNum(i *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableOptStr(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillablePetID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableSkipEdgeID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableType(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableUnnecessary(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetOptBool(b bool) *UserUpdateOne + func (uuo *UserUpdateOne) SetOptNum(i int) *UserUpdateOne + func (uuo *UserUpdateOne) SetOptStr(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetPet(p *Pet) *UserUpdateOne + func (uuo *UserUpdateOne) SetPetID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) SetPoints(u uint) *UserUpdateOne + func (uuo *UserUpdateOne) SetSkipEdge(s *SkipEdgeExample) *UserUpdateOne + func (uuo *UserUpdateOne) SetSkipEdgeID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) SetStatus(u user.Status) *UserUpdateOne + func (uuo *UserUpdateOne) SetType(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetUnnecessary(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetUserName(s string) *UserUpdateOne + type Users []*User + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value