Versions in this module Expand all Collapse all v0 v0.2.5 Jun 2, 2022 v0.2.4 Mar 23, 2022 v0.2.3 Mar 3, 2022 v0.2.2 Mar 3, 2022 v0.2.1 Mar 2, 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 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) 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) Bool(ctx context.Context) (_ bool, err error) + func (agb *AttachmentGroupBy) BoolX(ctx context.Context) bool + func (agb *AttachmentGroupBy) Bools(ctx context.Context) ([]bool, error) + func (agb *AttachmentGroupBy) BoolsX(ctx context.Context) []bool + func (agb *AttachmentGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (agb *AttachmentGroupBy) Float64X(ctx context.Context) float64 + func (agb *AttachmentGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (agb *AttachmentGroupBy) Float64sX(ctx context.Context) []float64 + func (agb *AttachmentGroupBy) Int(ctx context.Context) (_ int, err error) + func (agb *AttachmentGroupBy) IntX(ctx context.Context) int + func (agb *AttachmentGroupBy) Ints(ctx context.Context) ([]int, error) + func (agb *AttachmentGroupBy) IntsX(ctx context.Context) []int + func (agb *AttachmentGroupBy) Scan(ctx context.Context, v interface{}) error + func (agb *AttachmentGroupBy) ScanX(ctx context.Context, v interface{}) + func (agb *AttachmentGroupBy) String(ctx context.Context) (_ string, err error) + func (agb *AttachmentGroupBy) StringX(ctx context.Context) string + func (agb *AttachmentGroupBy) Strings(ctx context.Context) ([]string, error) + func (agb *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) 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) Bool(ctx context.Context) (_ bool, err error) + func (as *AttachmentSelect) BoolX(ctx context.Context) bool + func (as *AttachmentSelect) Bools(ctx context.Context) ([]bool, error) + func (as *AttachmentSelect) BoolsX(ctx context.Context) []bool + func (as *AttachmentSelect) Float64(ctx context.Context) (_ float64, err error) + func (as *AttachmentSelect) Float64X(ctx context.Context) float64 + func (as *AttachmentSelect) Float64s(ctx context.Context) ([]float64, error) + func (as *AttachmentSelect) Float64sX(ctx context.Context) []float64 + func (as *AttachmentSelect) Int(ctx context.Context) (_ int, err error) + func (as *AttachmentSelect) IntX(ctx context.Context) int + func (as *AttachmentSelect) Ints(ctx context.Context) ([]int, error) + func (as *AttachmentSelect) IntsX(ctx context.Context) []int + func (as *AttachmentSelect) Scan(ctx context.Context, v interface{}) error + func (as *AttachmentSelect) ScanX(ctx context.Context, v interface{}) + func (as *AttachmentSelect) String(ctx context.Context) (_ string, err error) + func (as *AttachmentSelect) StringX(ctx context.Context) string + func (as *AttachmentSelect) Strings(ctx context.Context) ([]string, error) + func (as *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 + 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) Bool(ctx context.Context) (_ bool, err error) + func (ggb *GroupGroupBy) BoolX(ctx context.Context) bool + func (ggb *GroupGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ggb *GroupGroupBy) BoolsX(ctx context.Context) []bool + func (ggb *GroupGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ggb *GroupGroupBy) Float64X(ctx context.Context) float64 + func (ggb *GroupGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ggb *GroupGroupBy) Float64sX(ctx context.Context) []float64 + func (ggb *GroupGroupBy) Int(ctx context.Context) (_ int, err error) + func (ggb *GroupGroupBy) IntX(ctx context.Context) int + func (ggb *GroupGroupBy) Ints(ctx context.Context) ([]int, error) + func (ggb *GroupGroupBy) IntsX(ctx context.Context) []int + func (ggb *GroupGroupBy) Scan(ctx context.Context, v interface{}) error + func (ggb *GroupGroupBy) ScanX(ctx context.Context, v interface{}) + func (ggb *GroupGroupBy) String(ctx context.Context) (_ string, err error) + func (ggb *GroupGroupBy) StringX(ctx context.Context) string + func (ggb *GroupGroupBy) Strings(ctx context.Context) ([]string, error) + func (ggb *GroupGroupBy) StringsX(ctx context.Context) []string + type 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) 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) Bool(ctx context.Context) (_ bool, err error) + func (gs *GroupSelect) BoolX(ctx context.Context) bool + func (gs *GroupSelect) Bools(ctx context.Context) ([]bool, error) + func (gs *GroupSelect) BoolsX(ctx context.Context) []bool + func (gs *GroupSelect) Float64(ctx context.Context) (_ float64, err error) + func (gs *GroupSelect) Float64X(ctx context.Context) float64 + func (gs *GroupSelect) Float64s(ctx context.Context) ([]float64, error) + func (gs *GroupSelect) Float64sX(ctx context.Context) []float64 + func (gs *GroupSelect) Int(ctx context.Context) (_ int, err error) + func (gs *GroupSelect) IntX(ctx context.Context) int + func (gs *GroupSelect) Ints(ctx context.Context) ([]int, error) + func (gs *GroupSelect) IntsX(ctx context.Context) []int + func (gs *GroupSelect) Scan(ctx context.Context, v interface{}) error + func (gs *GroupSelect) ScanX(ctx context.Context, v interface{}) + func (gs *GroupSelect) String(ctx context.Context) (_ string, err error) + func (gs *GroupSelect) StringX(ctx context.Context) string + func (gs *GroupSelect) Strings(ctx context.Context) ([]string, error) + func (gs *GroupSelect) StringsX(ctx context.Context) []string + type GroupUpdate struct + func (gu *GroupUpdate) 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) Bool(ctx context.Context) (_ bool, err error) + func (mwsgb *MultiWordSchemaGroupBy) BoolX(ctx context.Context) bool + func (mwsgb *MultiWordSchemaGroupBy) Bools(ctx context.Context) ([]bool, error) + func (mwsgb *MultiWordSchemaGroupBy) BoolsX(ctx context.Context) []bool + func (mwsgb *MultiWordSchemaGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (mwsgb *MultiWordSchemaGroupBy) Float64X(ctx context.Context) float64 + func (mwsgb *MultiWordSchemaGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (mwsgb *MultiWordSchemaGroupBy) Float64sX(ctx context.Context) []float64 + func (mwsgb *MultiWordSchemaGroupBy) Int(ctx context.Context) (_ int, err error) + func (mwsgb *MultiWordSchemaGroupBy) IntX(ctx context.Context) int + func (mwsgb *MultiWordSchemaGroupBy) Ints(ctx context.Context) ([]int, error) + func (mwsgb *MultiWordSchemaGroupBy) IntsX(ctx context.Context) []int + func (mwsgb *MultiWordSchemaGroupBy) Scan(ctx context.Context, v interface{}) error + func (mwsgb *MultiWordSchemaGroupBy) ScanX(ctx context.Context, v interface{}) + func (mwsgb *MultiWordSchemaGroupBy) String(ctx context.Context) (_ string, err error) + func (mwsgb *MultiWordSchemaGroupBy) StringX(ctx context.Context) string + func (mwsgb *MultiWordSchemaGroupBy) Strings(ctx context.Context) ([]string, error) + func (mwsgb *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) 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) Bool(ctx context.Context) (_ bool, err error) + func (mwss *MultiWordSchemaSelect) BoolX(ctx context.Context) bool + func (mwss *MultiWordSchemaSelect) Bools(ctx context.Context) ([]bool, error) + func (mwss *MultiWordSchemaSelect) BoolsX(ctx context.Context) []bool + func (mwss *MultiWordSchemaSelect) Float64(ctx context.Context) (_ float64, err error) + func (mwss *MultiWordSchemaSelect) Float64X(ctx context.Context) float64 + func (mwss *MultiWordSchemaSelect) Float64s(ctx context.Context) ([]float64, error) + func (mwss *MultiWordSchemaSelect) Float64sX(ctx context.Context) []float64 + func (mwss *MultiWordSchemaSelect) Int(ctx context.Context) (_ int, err error) + func (mwss *MultiWordSchemaSelect) IntX(ctx context.Context) int + func (mwss *MultiWordSchemaSelect) Ints(ctx context.Context) ([]int, error) + func (mwss *MultiWordSchemaSelect) IntsX(ctx context.Context) []int + func (mwss *MultiWordSchemaSelect) Scan(ctx context.Context, v interface{}) error + func (mwss *MultiWordSchemaSelect) ScanX(ctx context.Context, v interface{}) + func (mwss *MultiWordSchemaSelect) String(ctx context.Context) (_ string, err error) + func (mwss *MultiWordSchemaSelect) StringX(ctx context.Context) string + func (mwss *MultiWordSchemaSelect) Strings(ctx context.Context) ([]string, error) + func (mwss *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) Bool(ctx context.Context) (_ bool, err error) + func (negb *NilExampleGroupBy) BoolX(ctx context.Context) bool + func (negb *NilExampleGroupBy) Bools(ctx context.Context) ([]bool, error) + func (negb *NilExampleGroupBy) BoolsX(ctx context.Context) []bool + func (negb *NilExampleGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (negb *NilExampleGroupBy) Float64X(ctx context.Context) float64 + func (negb *NilExampleGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (negb *NilExampleGroupBy) Float64sX(ctx context.Context) []float64 + func (negb *NilExampleGroupBy) Int(ctx context.Context) (_ int, err error) + func (negb *NilExampleGroupBy) IntX(ctx context.Context) int + func (negb *NilExampleGroupBy) Ints(ctx context.Context) ([]int, error) + func (negb *NilExampleGroupBy) IntsX(ctx context.Context) []int + func (negb *NilExampleGroupBy) Scan(ctx context.Context, v interface{}) error + func (negb *NilExampleGroupBy) ScanX(ctx context.Context, v interface{}) + func (negb *NilExampleGroupBy) String(ctx context.Context) (_ string, err error) + func (negb *NilExampleGroupBy) StringX(ctx context.Context) string + func (negb *NilExampleGroupBy) Strings(ctx context.Context) ([]string, error) + func (negb *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) 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) Bool(ctx context.Context) (_ bool, err error) + func (nes *NilExampleSelect) BoolX(ctx context.Context) bool + func (nes *NilExampleSelect) Bools(ctx context.Context) ([]bool, error) + func (nes *NilExampleSelect) BoolsX(ctx context.Context) []bool + func (nes *NilExampleSelect) Float64(ctx context.Context) (_ float64, err error) + func (nes *NilExampleSelect) Float64X(ctx context.Context) float64 + func (nes *NilExampleSelect) Float64s(ctx context.Context) ([]float64, error) + func (nes *NilExampleSelect) Float64sX(ctx context.Context) []float64 + func (nes *NilExampleSelect) Int(ctx context.Context) (_ int, err error) + func (nes *NilExampleSelect) IntX(ctx context.Context) int + func (nes *NilExampleSelect) Ints(ctx context.Context) ([]int, error) + func (nes *NilExampleSelect) IntsX(ctx context.Context) []int + func (nes *NilExampleSelect) Scan(ctx context.Context, v interface{}) error + func (nes *NilExampleSelect) ScanX(ctx context.Context, v interface{}) + func (nes *NilExampleSelect) String(ctx context.Context) (_ string, err error) + func (nes *NilExampleSelect) StringX(ctx context.Context) string + func (nes *NilExampleSelect) Strings(ctx context.Context) ([]string, error) + func (nes *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(...interface{})) 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) 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) 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) 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 + Owner *User + func (e PetEdges) OwnerOrErr() (*User, error) + type PetGroupBy struct + func (pgb *PetGroupBy) Aggregate(fns ...AggregateFunc) *PetGroupBy + func (pgb *PetGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (pgb *PetGroupBy) BoolX(ctx context.Context) bool + func (pgb *PetGroupBy) Bools(ctx context.Context) ([]bool, error) + func (pgb *PetGroupBy) BoolsX(ctx context.Context) []bool + func (pgb *PetGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (pgb *PetGroupBy) Float64X(ctx context.Context) float64 + func (pgb *PetGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (pgb *PetGroupBy) Float64sX(ctx context.Context) []float64 + func (pgb *PetGroupBy) Int(ctx context.Context) (_ int, err error) + func (pgb *PetGroupBy) IntX(ctx context.Context) int + func (pgb *PetGroupBy) Ints(ctx context.Context) ([]int, error) + func (pgb *PetGroupBy) IntsX(ctx context.Context) []int + func (pgb *PetGroupBy) Scan(ctx context.Context, v interface{}) error + func (pgb *PetGroupBy) ScanX(ctx context.Context, v interface{}) + func (pgb *PetGroupBy) String(ctx context.Context) (_ string, err error) + func (pgb *PetGroupBy) StringX(ctx context.Context) string + func (pgb *PetGroupBy) Strings(ctx context.Context) ([]string, error) + func (pgb *PetGroupBy) StringsX(ctx context.Context) []string + type PetMutation struct + func (m *PetMutation) 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) 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) RemovedEdges() []string + func (m *PetMutation) RemovedIDs(name string) []ent.Value + 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) 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) 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) WithOwner(opts ...func(*UserQuery)) *PetQuery + type PetSelect struct + func (ps *PetSelect) Bool(ctx context.Context) (_ bool, err error) + func (ps *PetSelect) BoolX(ctx context.Context) bool + func (ps *PetSelect) Bools(ctx context.Context) ([]bool, error) + func (ps *PetSelect) BoolsX(ctx context.Context) []bool + func (ps *PetSelect) Float64(ctx context.Context) (_ float64, err error) + func (ps *PetSelect) Float64X(ctx context.Context) float64 + func (ps *PetSelect) Float64s(ctx context.Context) ([]float64, error) + func (ps *PetSelect) Float64sX(ctx context.Context) []float64 + func (ps *PetSelect) Int(ctx context.Context) (_ int, err error) + func (ps *PetSelect) IntX(ctx context.Context) int + func (ps *PetSelect) Ints(ctx context.Context) ([]int, error) + func (ps *PetSelect) IntsX(ctx context.Context) []int + func (ps *PetSelect) Scan(ctx context.Context, v interface{}) error + func (ps *PetSelect) ScanX(ctx context.Context, v interface{}) + func (ps *PetSelect) String(ctx context.Context) (_ string, err error) + func (ps *PetSelect) StringX(ctx context.Context) string + func (ps *PetSelect) Strings(ctx context.Context) ([]string, error) + func (ps *PetSelect) StringsX(ctx context.Context) []string + type PetUpdate struct + func (pu *PetUpdate) 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) 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) 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) 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 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 (seegb *SkipEdgeExampleGroupBy) Aggregate(fns ...AggregateFunc) *SkipEdgeExampleGroupBy + func (seegb *SkipEdgeExampleGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (seegb *SkipEdgeExampleGroupBy) BoolX(ctx context.Context) bool + func (seegb *SkipEdgeExampleGroupBy) Bools(ctx context.Context) ([]bool, error) + func (seegb *SkipEdgeExampleGroupBy) BoolsX(ctx context.Context) []bool + func (seegb *SkipEdgeExampleGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (seegb *SkipEdgeExampleGroupBy) Float64X(ctx context.Context) float64 + func (seegb *SkipEdgeExampleGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (seegb *SkipEdgeExampleGroupBy) Float64sX(ctx context.Context) []float64 + func (seegb *SkipEdgeExampleGroupBy) Int(ctx context.Context) (_ int, err error) + func (seegb *SkipEdgeExampleGroupBy) IntX(ctx context.Context) int + func (seegb *SkipEdgeExampleGroupBy) Ints(ctx context.Context) ([]int, error) + func (seegb *SkipEdgeExampleGroupBy) IntsX(ctx context.Context) []int + func (seegb *SkipEdgeExampleGroupBy) Scan(ctx context.Context, v interface{}) error + func (seegb *SkipEdgeExampleGroupBy) ScanX(ctx context.Context, v interface{}) + func (seegb *SkipEdgeExampleGroupBy) String(ctx context.Context) (_ string, err error) + func (seegb *SkipEdgeExampleGroupBy) StringX(ctx context.Context) string + func (seegb *SkipEdgeExampleGroupBy) Strings(ctx context.Context) ([]string, error) + func (seegb *SkipEdgeExampleGroupBy) StringsX(ctx context.Context) []string + 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) 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 (sees *SkipEdgeExampleSelect) Bool(ctx context.Context) (_ bool, err error) + func (sees *SkipEdgeExampleSelect) BoolX(ctx context.Context) bool + func (sees *SkipEdgeExampleSelect) Bools(ctx context.Context) ([]bool, error) + func (sees *SkipEdgeExampleSelect) BoolsX(ctx context.Context) []bool + func (sees *SkipEdgeExampleSelect) Float64(ctx context.Context) (_ float64, err error) + func (sees *SkipEdgeExampleSelect) Float64X(ctx context.Context) float64 + func (sees *SkipEdgeExampleSelect) Float64s(ctx context.Context) ([]float64, error) + func (sees *SkipEdgeExampleSelect) Float64sX(ctx context.Context) []float64 + func (sees *SkipEdgeExampleSelect) Int(ctx context.Context) (_ int, err error) + func (sees *SkipEdgeExampleSelect) IntX(ctx context.Context) int + func (sees *SkipEdgeExampleSelect) Ints(ctx context.Context) ([]int, error) + func (sees *SkipEdgeExampleSelect) IntsX(ctx context.Context) []int + func (sees *SkipEdgeExampleSelect) Scan(ctx context.Context, v interface{}) error + func (sees *SkipEdgeExampleSelect) ScanX(ctx context.Context, v interface{}) + func (sees *SkipEdgeExampleSelect) String(ctx context.Context) (_ string, err error) + func (sees *SkipEdgeExampleSelect) StringX(ctx context.Context) string + func (sees *SkipEdgeExampleSelect) Strings(ctx context.Context) ([]string, error) + func (sees *SkipEdgeExampleSelect) StringsX(ctx context.Context) []string + 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 (tgb *TodoGroupBy) Aggregate(fns ...AggregateFunc) *TodoGroupBy + func (tgb *TodoGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (tgb *TodoGroupBy) BoolX(ctx context.Context) bool + func (tgb *TodoGroupBy) Bools(ctx context.Context) ([]bool, error) + func (tgb *TodoGroupBy) BoolsX(ctx context.Context) []bool + func (tgb *TodoGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (tgb *TodoGroupBy) Float64X(ctx context.Context) float64 + func (tgb *TodoGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (tgb *TodoGroupBy) Float64sX(ctx context.Context) []float64 + func (tgb *TodoGroupBy) Int(ctx context.Context) (_ int, err error) + func (tgb *TodoGroupBy) IntX(ctx context.Context) int + func (tgb *TodoGroupBy) Ints(ctx context.Context) ([]int, error) + func (tgb *TodoGroupBy) IntsX(ctx context.Context) []int + func (tgb *TodoGroupBy) Scan(ctx context.Context, v interface{}) error + func (tgb *TodoGroupBy) ScanX(ctx context.Context, v interface{}) + func (tgb *TodoGroupBy) String(ctx context.Context) (_ string, err error) + func (tgb *TodoGroupBy) StringX(ctx context.Context) string + func (tgb *TodoGroupBy) Strings(ctx context.Context) ([]string, error) + func (tgb *TodoGroupBy) StringsX(ctx context.Context) []string + 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) 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 (ts *TodoSelect) Bool(ctx context.Context) (_ bool, err error) + func (ts *TodoSelect) BoolX(ctx context.Context) bool + func (ts *TodoSelect) Bools(ctx context.Context) ([]bool, error) + func (ts *TodoSelect) BoolsX(ctx context.Context) []bool + func (ts *TodoSelect) Float64(ctx context.Context) (_ float64, err error) + func (ts *TodoSelect) Float64X(ctx context.Context) float64 + func (ts *TodoSelect) Float64s(ctx context.Context) ([]float64, error) + func (ts *TodoSelect) Float64sX(ctx context.Context) []float64 + func (ts *TodoSelect) Int(ctx context.Context) (_ int, err error) + func (ts *TodoSelect) IntX(ctx context.Context) int + func (ts *TodoSelect) Ints(ctx context.Context) ([]int, error) + func (ts *TodoSelect) IntsX(ctx context.Context) []int + func (ts *TodoSelect) Scan(ctx context.Context, v interface{}) error + func (ts *TodoSelect) ScanX(ctx context.Context, v interface{}) + func (ts *TodoSelect) String(ctx context.Context) (_ string, err error) + func (ts *TodoSelect) StringX(ctx context.Context) string + func (ts *TodoSelect) Strings(ctx context.Context) ([]string, error) + func (ts *TodoSelect) StringsX(ctx context.Context) []string + 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 + 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 + Edges UserEdges + Exp uint64 + ExternalID int + HeightInCm float32 + ID int + Joined time.Time + OptBool bool + OptNum int + OptStr string + Points uint + Status user.Status + 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) 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) 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) 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) 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) 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 (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy + func (ugb *UserGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ugb *UserGroupBy) BoolX(ctx context.Context) bool + func (ugb *UserGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ugb *UserGroupBy) BoolsX(ctx context.Context) []bool + func (ugb *UserGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ugb *UserGroupBy) Float64X(ctx context.Context) float64 + func (ugb *UserGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ugb *UserGroupBy) Float64sX(ctx context.Context) []float64 + func (ugb *UserGroupBy) Int(ctx context.Context) (_ int, err error) + func (ugb *UserGroupBy) IntX(ctx context.Context) int + func (ugb *UserGroupBy) Ints(ctx context.Context) ([]int, error) + func (ugb *UserGroupBy) IntsX(ctx context.Context) []int + func (ugb *UserGroupBy) Scan(ctx context.Context, v interface{}) error + func (ugb *UserGroupBy) ScanX(ctx context.Context, v interface{}) + func (ugb *UserGroupBy) String(ctx context.Context) (_ string, err error) + func (ugb *UserGroupBy) StringX(ctx context.Context) string + func (ugb *UserGroupBy) Strings(ctx context.Context) ([]string, error) + func (ugb *UserGroupBy) StringsX(ctx context.Context) []string + type UserMutation struct + func (m *UserMutation) 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) 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) ClearOptBool() + func (m *UserMutation) ClearOptNum() + func (m *UserMutation) ClearOptStr() + func (m *UserMutation) ClearPet() + func (m *UserMutation) ClearReceived1() + func (m *UserMutation) ClearSkipEdge() + 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 (us *UserSelect) Bool(ctx context.Context) (_ bool, err error) + func (us *UserSelect) BoolX(ctx context.Context) bool + func (us *UserSelect) Bools(ctx context.Context) ([]bool, error) + func (us *UserSelect) BoolsX(ctx context.Context) []bool + func (us *UserSelect) Float64(ctx context.Context) (_ float64, err error) + func (us *UserSelect) Float64X(ctx context.Context) float64 + func (us *UserSelect) Float64s(ctx context.Context) ([]float64, error) + func (us *UserSelect) Float64sX(ctx context.Context) []float64 + func (us *UserSelect) Int(ctx context.Context) (_ int, err error) + func (us *UserSelect) IntX(ctx context.Context) int + func (us *UserSelect) Ints(ctx context.Context) ([]int, error) + func (us *UserSelect) IntsX(ctx context.Context) []int + func (us *UserSelect) Scan(ctx context.Context, v interface{}) error + func (us *UserSelect) ScanX(ctx context.Context, v interface{}) + func (us *UserSelect) String(ctx context.Context) (_ string, err error) + func (us *UserSelect) StringX(ctx context.Context) string + func (us *UserSelect) Strings(ctx context.Context) ([]string, error) + func (us *UserSelect) StringsX(ctx context.Context) []string + type UserUpdate struct + func (uu *UserUpdate) 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) ClearAttachment() *UserUpdate + func (uu *UserUpdate) ClearBUser1() *UserUpdate + func (uu *UserUpdate) ClearBigInt() *UserUpdate + func (uu *UserUpdate) ClearGroup() *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) 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) 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) 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) 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) 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) 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) ClearAttachment() *UserUpdateOne + func (uuo *UserUpdateOne) ClearBUser1() *UserUpdateOne + func (uuo *UserUpdateOne) ClearBigInt() *UserUpdateOne + func (uuo *UserUpdateOne) ClearGroup() *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) 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) 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) 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) 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) 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) 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