Versions in this module Expand all Collapse all v0 v0.0.3 Nov 25, 2023 v0.0.2 Oct 17, 2023 v0.0.1 Oct 17, 2023 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeTexture + const TypeUser + const TypeUserProfile + const TypeUserTexture + const TypeUserToken + func Asc(fields ...string) func(*sql.Selector) + func Desc(fields ...string) func(*sql.Selector) + 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 Client struct + Schema *migrate.Schema + Texture *TextureClient + User *UserClient + UserProfile *UserProfileClient + UserTexture *UserTextureClient + UserToken *UserTokenClient + func FromContext(ctx context.Context) *Client + func NewClient(opts ...Option) *Client + func Open(driverName, dataSourceName string, options ...Option) (*Client, error) + func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error) + func (c *Client) Close() error + func (c *Client) Debug() *Client + func (c *Client) Intercept(interceptors ...Interceptor) + func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error) + func (c *Client) 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 Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...any)) Option + type OrderFunc func(*sql.Selector) + type Policy = ent.Policy + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type Texture struct + Edges TextureEdges + ID int + TextureHash string + func (t *Texture) QueryCreatedUser() *UserQuery + func (t *Texture) QueryUserProfile() *UserProfileQuery + func (t *Texture) QueryUsertexture() *UserTextureQuery + func (t *Texture) String() string + func (t *Texture) Unwrap() *Texture + func (t *Texture) Update() *TextureUpdateOne + func (t *Texture) Value(name string) (ent.Value, error) + type TextureClient struct + func NewTextureClient(c config) *TextureClient + func (c *TextureClient) Create() *TextureCreate + func (c *TextureClient) CreateBulk(builders ...*TextureCreate) *TextureCreateBulk + func (c *TextureClient) Delete() *TextureDelete + func (c *TextureClient) DeleteOne(t *Texture) *TextureDeleteOne + func (c *TextureClient) DeleteOneID(id int) *TextureDeleteOne + func (c *TextureClient) Get(ctx context.Context, id int) (*Texture, error) + func (c *TextureClient) GetX(ctx context.Context, id int) *Texture + func (c *TextureClient) Hooks() []Hook + func (c *TextureClient) Intercept(interceptors ...Interceptor) + func (c *TextureClient) Interceptors() []Interceptor + func (c *TextureClient) Query() *TextureQuery + func (c *TextureClient) QueryCreatedUser(t *Texture) *UserQuery + func (c *TextureClient) QueryUserProfile(t *Texture) *UserProfileQuery + func (c *TextureClient) QueryUsertexture(t *Texture) *UserTextureQuery + func (c *TextureClient) Update() *TextureUpdate + func (c *TextureClient) UpdateOne(t *Texture) *TextureUpdateOne + func (c *TextureClient) UpdateOneID(id int) *TextureUpdateOne + func (c *TextureClient) Use(hooks ...Hook) + type TextureCreate struct + func (tc *TextureCreate) AddUserProfile(u ...*UserProfile) *TextureCreate + func (tc *TextureCreate) AddUserProfileIDs(ids ...int) *TextureCreate + func (tc *TextureCreate) AddUsertexture(u ...*UserTexture) *TextureCreate + func (tc *TextureCreate) AddUsertextureIDs(ids ...int) *TextureCreate + func (tc *TextureCreate) Exec(ctx context.Context) error + func (tc *TextureCreate) ExecX(ctx context.Context) + func (tc *TextureCreate) Mutation() *TextureMutation + func (tc *TextureCreate) Save(ctx context.Context) (*Texture, error) + func (tc *TextureCreate) SaveX(ctx context.Context) *Texture + func (tc *TextureCreate) SetCreatedUser(u *User) *TextureCreate + func (tc *TextureCreate) SetCreatedUserID(id int) *TextureCreate + func (tc *TextureCreate) SetTextureHash(s string) *TextureCreate + type TextureCreateBulk struct + func (tcb *TextureCreateBulk) Exec(ctx context.Context) error + func (tcb *TextureCreateBulk) ExecX(ctx context.Context) + func (tcb *TextureCreateBulk) Save(ctx context.Context) ([]*Texture, error) + func (tcb *TextureCreateBulk) SaveX(ctx context.Context) []*Texture + type TextureDelete struct + func (td *TextureDelete) Exec(ctx context.Context) (int, error) + func (td *TextureDelete) ExecX(ctx context.Context) int + func (td *TextureDelete) Where(ps ...predicate.Texture) *TextureDelete + type TextureDeleteOne struct + func (tdo *TextureDeleteOne) Exec(ctx context.Context) error + func (tdo *TextureDeleteOne) ExecX(ctx context.Context) + func (tdo *TextureDeleteOne) Where(ps ...predicate.Texture) *TextureDeleteOne + type TextureEdges struct + CreatedUser *User + UserProfile []*UserProfile + Usertexture []*UserTexture + func (e TextureEdges) CreatedUserOrErr() (*User, error) + func (e TextureEdges) UserProfileOrErr() ([]*UserProfile, error) + func (e TextureEdges) UsertextureOrErr() ([]*UserTexture, error) + type TextureGroupBy struct + func (s *TextureGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *TextureGroupBy) BoolX(ctx context.Context) bool + func (s *TextureGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *TextureGroupBy) BoolsX(ctx context.Context) []bool + func (s *TextureGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *TextureGroupBy) Float64X(ctx context.Context) float64 + func (s *TextureGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *TextureGroupBy) Float64sX(ctx context.Context) []float64 + func (s *TextureGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *TextureGroupBy) IntX(ctx context.Context) int + func (s *TextureGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *TextureGroupBy) IntsX(ctx context.Context) []int + func (s *TextureGroupBy) ScanX(ctx context.Context, v any) + func (s *TextureGroupBy) String(ctx context.Context) (_ string, err error) + func (s *TextureGroupBy) StringX(ctx context.Context) string + func (s *TextureGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *TextureGroupBy) StringsX(ctx context.Context) []string + func (tgb *TextureGroupBy) Aggregate(fns ...AggregateFunc) *TextureGroupBy + func (tgb *TextureGroupBy) Scan(ctx context.Context, v any) error + type TextureMutation struct + func (m *TextureMutation) AddField(name string, value ent.Value) error + func (m *TextureMutation) AddUserProfileIDs(ids ...int) + func (m *TextureMutation) AddUsertextureIDs(ids ...int) + func (m *TextureMutation) AddedEdges() []string + func (m *TextureMutation) AddedField(name string) (ent.Value, bool) + func (m *TextureMutation) AddedFields() []string + func (m *TextureMutation) AddedIDs(name string) []ent.Value + func (m *TextureMutation) ClearCreatedUser() + func (m *TextureMutation) ClearEdge(name string) error + func (m *TextureMutation) ClearField(name string) error + func (m *TextureMutation) ClearUserProfile() + func (m *TextureMutation) ClearUsertexture() + func (m *TextureMutation) ClearedEdges() []string + func (m *TextureMutation) ClearedFields() []string + func (m *TextureMutation) CreatedUserCleared() bool + func (m *TextureMutation) CreatedUserID() (id int, exists bool) + func (m *TextureMutation) CreatedUserIDs() (ids []int) + func (m *TextureMutation) EdgeCleared(name string) bool + func (m *TextureMutation) Field(name string) (ent.Value, bool) + func (m *TextureMutation) FieldCleared(name string) bool + func (m *TextureMutation) Fields() []string + func (m *TextureMutation) ID() (id int, exists bool) + func (m *TextureMutation) IDs(ctx context.Context) ([]int, error) + func (m *TextureMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *TextureMutation) OldTextureHash(ctx context.Context) (v string, err error) + func (m *TextureMutation) Op() Op + func (m *TextureMutation) RemoveUserProfileIDs(ids ...int) + func (m *TextureMutation) RemoveUsertextureIDs(ids ...int) + func (m *TextureMutation) RemovedEdges() []string + func (m *TextureMutation) RemovedIDs(name string) []ent.Value + func (m *TextureMutation) RemovedUserProfileIDs() (ids []int) + func (m *TextureMutation) RemovedUsertextureIDs() (ids []int) + func (m *TextureMutation) ResetCreatedUser() + func (m *TextureMutation) ResetEdge(name string) error + func (m *TextureMutation) ResetField(name string) error + func (m *TextureMutation) ResetTextureHash() + func (m *TextureMutation) ResetUserProfile() + func (m *TextureMutation) ResetUsertexture() + func (m *TextureMutation) SetCreatedUserID(id int) + func (m *TextureMutation) SetField(name string, value ent.Value) error + func (m *TextureMutation) SetOp(op Op) + func (m *TextureMutation) SetTextureHash(s string) + func (m *TextureMutation) TextureHash() (r string, exists bool) + func (m *TextureMutation) Type() string + func (m *TextureMutation) UserProfileCleared() bool + func (m *TextureMutation) UserProfileIDs() (ids []int) + func (m *TextureMutation) UsertextureCleared() bool + func (m *TextureMutation) UsertextureIDs() (ids []int) + func (m *TextureMutation) Where(ps ...predicate.Texture) + func (m *TextureMutation) WhereP(ps ...func(*sql.Selector)) + func (m TextureMutation) Client() *Client + func (m TextureMutation) Tx() (*Tx, error) + type TextureQuery struct + func (tq *TextureQuery) Aggregate(fns ...AggregateFunc) *TextureSelect + func (tq *TextureQuery) All(ctx context.Context) ([]*Texture, error) + func (tq *TextureQuery) AllX(ctx context.Context) []*Texture + func (tq *TextureQuery) Clone() *TextureQuery + func (tq *TextureQuery) Count(ctx context.Context) (int, error) + func (tq *TextureQuery) CountX(ctx context.Context) int + func (tq *TextureQuery) Exist(ctx context.Context) (bool, error) + func (tq *TextureQuery) ExistX(ctx context.Context) bool + func (tq *TextureQuery) First(ctx context.Context) (*Texture, error) + func (tq *TextureQuery) FirstID(ctx context.Context) (id int, err error) + func (tq *TextureQuery) FirstIDX(ctx context.Context) int + func (tq *TextureQuery) FirstX(ctx context.Context) *Texture + func (tq *TextureQuery) ForShare(opts ...sql.LockOption) *TextureQuery + func (tq *TextureQuery) ForShareA(opts ...sql.LockOption) *TextureQuery + func (tq *TextureQuery) ForUpdate(opts ...sql.LockOption) *TextureQuery + func (tq *TextureQuery) ForUpdateA(opts ...sql.LockOption) *TextureQuery + func (tq *TextureQuery) GroupBy(field string, fields ...string) *TextureGroupBy + func (tq *TextureQuery) IDs(ctx context.Context) (ids []int, err error) + func (tq *TextureQuery) IDsX(ctx context.Context) []int + func (tq *TextureQuery) Limit(limit int) *TextureQuery + func (tq *TextureQuery) Offset(offset int) *TextureQuery + func (tq *TextureQuery) Only(ctx context.Context) (*Texture, error) + func (tq *TextureQuery) OnlyID(ctx context.Context) (id int, err error) + func (tq *TextureQuery) OnlyIDX(ctx context.Context) int + func (tq *TextureQuery) OnlyX(ctx context.Context) *Texture + func (tq *TextureQuery) Order(o ...texture.OrderOption) *TextureQuery + func (tq *TextureQuery) QueryCreatedUser() *UserQuery + func (tq *TextureQuery) QueryUserProfile() *UserProfileQuery + func (tq *TextureQuery) QueryUsertexture() *UserTextureQuery + func (tq *TextureQuery) Select(fields ...string) *TextureSelect + func (tq *TextureQuery) Unique(unique bool) *TextureQuery + func (tq *TextureQuery) Where(ps ...predicate.Texture) *TextureQuery + func (tq *TextureQuery) WithCreatedUser(opts ...func(*UserQuery)) *TextureQuery + func (tq *TextureQuery) WithUserProfile(opts ...func(*UserProfileQuery)) *TextureQuery + func (tq *TextureQuery) WithUsertexture(opts ...func(*UserTextureQuery)) *TextureQuery + type TextureSelect struct + func (s *TextureSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *TextureSelect) BoolX(ctx context.Context) bool + func (s *TextureSelect) Bools(ctx context.Context) ([]bool, error) + func (s *TextureSelect) BoolsX(ctx context.Context) []bool + func (s *TextureSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *TextureSelect) Float64X(ctx context.Context) float64 + func (s *TextureSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *TextureSelect) Float64sX(ctx context.Context) []float64 + func (s *TextureSelect) Int(ctx context.Context) (_ int, err error) + func (s *TextureSelect) IntX(ctx context.Context) int + func (s *TextureSelect) Ints(ctx context.Context) ([]int, error) + func (s *TextureSelect) IntsX(ctx context.Context) []int + func (s *TextureSelect) ScanX(ctx context.Context, v any) + func (s *TextureSelect) String(ctx context.Context) (_ string, err error) + func (s *TextureSelect) StringX(ctx context.Context) string + func (s *TextureSelect) Strings(ctx context.Context) ([]string, error) + func (s *TextureSelect) StringsX(ctx context.Context) []string + func (ts *TextureSelect) Aggregate(fns ...AggregateFunc) *TextureSelect + func (ts *TextureSelect) Scan(ctx context.Context, v any) error + type TextureUpdate struct + func (tu *TextureUpdate) AddUserProfile(u ...*UserProfile) *TextureUpdate + func (tu *TextureUpdate) AddUserProfileIDs(ids ...int) *TextureUpdate + func (tu *TextureUpdate) AddUsertexture(u ...*UserTexture) *TextureUpdate + func (tu *TextureUpdate) AddUsertextureIDs(ids ...int) *TextureUpdate + func (tu *TextureUpdate) ClearCreatedUser() *TextureUpdate + func (tu *TextureUpdate) ClearUserProfile() *TextureUpdate + func (tu *TextureUpdate) ClearUsertexture() *TextureUpdate + func (tu *TextureUpdate) Exec(ctx context.Context) error + func (tu *TextureUpdate) ExecX(ctx context.Context) + func (tu *TextureUpdate) Mutation() *TextureMutation + func (tu *TextureUpdate) RemoveUserProfile(u ...*UserProfile) *TextureUpdate + func (tu *TextureUpdate) RemoveUserProfileIDs(ids ...int) *TextureUpdate + func (tu *TextureUpdate) RemoveUsertexture(u ...*UserTexture) *TextureUpdate + func (tu *TextureUpdate) RemoveUsertextureIDs(ids ...int) *TextureUpdate + func (tu *TextureUpdate) Save(ctx context.Context) (int, error) + func (tu *TextureUpdate) SaveX(ctx context.Context) int + func (tu *TextureUpdate) SetCreatedUser(u *User) *TextureUpdate + func (tu *TextureUpdate) SetCreatedUserID(id int) *TextureUpdate + func (tu *TextureUpdate) SetTextureHash(s string) *TextureUpdate + func (tu *TextureUpdate) Where(ps ...predicate.Texture) *TextureUpdate + type TextureUpdateOne struct + func (tuo *TextureUpdateOne) AddUserProfile(u ...*UserProfile) *TextureUpdateOne + func (tuo *TextureUpdateOne) AddUserProfileIDs(ids ...int) *TextureUpdateOne + func (tuo *TextureUpdateOne) AddUsertexture(u ...*UserTexture) *TextureUpdateOne + func (tuo *TextureUpdateOne) AddUsertextureIDs(ids ...int) *TextureUpdateOne + func (tuo *TextureUpdateOne) ClearCreatedUser() *TextureUpdateOne + func (tuo *TextureUpdateOne) ClearUserProfile() *TextureUpdateOne + func (tuo *TextureUpdateOne) ClearUsertexture() *TextureUpdateOne + func (tuo *TextureUpdateOne) Exec(ctx context.Context) error + func (tuo *TextureUpdateOne) ExecX(ctx context.Context) + func (tuo *TextureUpdateOne) Mutation() *TextureMutation + func (tuo *TextureUpdateOne) RemoveUserProfile(u ...*UserProfile) *TextureUpdateOne + func (tuo *TextureUpdateOne) RemoveUserProfileIDs(ids ...int) *TextureUpdateOne + func (tuo *TextureUpdateOne) RemoveUsertexture(u ...*UserTexture) *TextureUpdateOne + func (tuo *TextureUpdateOne) RemoveUsertextureIDs(ids ...int) *TextureUpdateOne + func (tuo *TextureUpdateOne) Save(ctx context.Context) (*Texture, error) + func (tuo *TextureUpdateOne) SaveX(ctx context.Context) *Texture + func (tuo *TextureUpdateOne) Select(field string, fields ...string) *TextureUpdateOne + func (tuo *TextureUpdateOne) SetCreatedUser(u *User) *TextureUpdateOne + func (tuo *TextureUpdateOne) SetCreatedUserID(id int) *TextureUpdateOne + func (tuo *TextureUpdateOne) SetTextureHash(s string) *TextureUpdateOne + func (tuo *TextureUpdateOne) Where(ps ...predicate.Texture) *TextureUpdateOne + type Textures []*Texture + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + Texture *TextureClient + User *UserClient + UserProfile *UserProfileClient + UserTexture *UserTextureClient + UserToken *UserTokenClient + 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 + Edges UserEdges + Email string + ID int + Password string + RegIP string + RegTime int64 + Salt string + State int + func (u *User) QueryCreatedTexture() *TextureQuery + func (u *User) QueryProfile() *UserProfileQuery + func (u *User) QueryToken() *UserTokenQuery + func (u *User) String() string + func (u *User) Unwrap() *User + func (u *User) Update() *UserUpdateOne + func (u *User) Value(name string) (ent.Value, error) + type UserClient struct + func NewUserClient(c config) *UserClient + func (c *UserClient) Create() *UserCreate + func (c *UserClient) CreateBulk(builders ...*UserCreate) *UserCreateBulk + func (c *UserClient) Delete() *UserDelete + func (c *UserClient) DeleteOne(u *User) *UserDeleteOne + func (c *UserClient) DeleteOneID(id 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) Intercept(interceptors ...Interceptor) + func (c *UserClient) Interceptors() []Interceptor + func (c *UserClient) Query() *UserQuery + func (c *UserClient) QueryCreatedTexture(u *User) *TextureQuery + func (c *UserClient) QueryProfile(u *User) *UserProfileQuery + func (c *UserClient) QueryToken(u *User) *UserTokenQuery + 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) AddCreatedTexture(t ...*Texture) *UserCreate + func (uc *UserCreate) AddCreatedTextureIDs(ids ...int) *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) SetEmail(s string) *UserCreate + func (uc *UserCreate) SetNillableProfileID(id *int) *UserCreate + func (uc *UserCreate) SetNillableTokenID(id *int) *UserCreate + func (uc *UserCreate) SetPassword(s string) *UserCreate + func (uc *UserCreate) SetProfile(u *UserProfile) *UserCreate + func (uc *UserCreate) SetProfileID(id int) *UserCreate + func (uc *UserCreate) SetRegIP(s string) *UserCreate + func (uc *UserCreate) SetRegTime(i int64) *UserCreate + func (uc *UserCreate) SetSalt(s string) *UserCreate + func (uc *UserCreate) SetState(i int) *UserCreate + func (uc *UserCreate) SetToken(u *UserToken) *UserCreate + func (uc *UserCreate) SetTokenID(id int) *UserCreate + type UserCreateBulk struct + func (ucb *UserCreateBulk) Exec(ctx context.Context) error + func (ucb *UserCreateBulk) ExecX(ctx context.Context) + func (ucb *UserCreateBulk) Save(ctx context.Context) ([]*User, error) + func (ucb *UserCreateBulk) SaveX(ctx context.Context) []*User + type UserDelete struct + func (ud *UserDelete) Exec(ctx context.Context) (int, error) + func (ud *UserDelete) ExecX(ctx context.Context) int + func (ud *UserDelete) Where(ps ...predicate.User) *UserDelete + type UserDeleteOne struct + func (udo *UserDeleteOne) Exec(ctx context.Context) error + func (udo *UserDeleteOne) ExecX(ctx context.Context) + func (udo *UserDeleteOne) Where(ps ...predicate.User) *UserDeleteOne + type UserEdges struct + CreatedTexture []*Texture + Profile *UserProfile + Token *UserToken + func (e UserEdges) CreatedTextureOrErr() ([]*Texture, error) + func (e UserEdges) ProfileOrErr() (*UserProfile, error) + func (e UserEdges) TokenOrErr() (*UserToken, error) + type UserGroupBy struct + func (s *UserGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *UserGroupBy) BoolX(ctx context.Context) bool + func (s *UserGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *UserGroupBy) BoolsX(ctx context.Context) []bool + func (s *UserGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *UserGroupBy) Float64X(ctx context.Context) float64 + func (s *UserGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *UserGroupBy) Float64sX(ctx context.Context) []float64 + func (s *UserGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *UserGroupBy) IntX(ctx context.Context) int + func (s *UserGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *UserGroupBy) IntsX(ctx context.Context) []int + func (s *UserGroupBy) ScanX(ctx context.Context, v any) + func (s *UserGroupBy) String(ctx context.Context) (_ string, err error) + func (s *UserGroupBy) StringX(ctx context.Context) string + func (s *UserGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *UserGroupBy) StringsX(ctx context.Context) []string + func (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy + func (ugb *UserGroupBy) Scan(ctx context.Context, v any) error + type UserMutation struct + func (m *UserMutation) AddCreatedTextureIDs(ids ...int) + func (m *UserMutation) AddField(name string, value ent.Value) error + func (m *UserMutation) AddRegTime(i int64) + func (m *UserMutation) AddState(i int) + func (m *UserMutation) AddedEdges() []string + func (m *UserMutation) AddedField(name string) (ent.Value, bool) + func (m *UserMutation) AddedFields() []string + func (m *UserMutation) AddedIDs(name string) []ent.Value + func (m *UserMutation) AddedRegTime() (r int64, exists bool) + func (m *UserMutation) AddedState() (r int, exists bool) + func (m *UserMutation) ClearCreatedTexture() + func (m *UserMutation) ClearEdge(name string) error + func (m *UserMutation) ClearField(name string) error + func (m *UserMutation) ClearProfile() + func (m *UserMutation) ClearToken() + func (m *UserMutation) ClearedEdges() []string + func (m *UserMutation) ClearedFields() []string + func (m *UserMutation) CreatedTextureCleared() bool + func (m *UserMutation) CreatedTextureIDs() (ids []int) + func (m *UserMutation) EdgeCleared(name string) bool + func (m *UserMutation) Email() (r string, 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) ID() (id int, exists bool) + func (m *UserMutation) IDs(ctx context.Context) ([]int, error) + func (m *UserMutation) OldEmail(ctx context.Context) (v string, err error) + func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserMutation) OldPassword(ctx context.Context) (v string, err error) + func (m *UserMutation) OldRegIP(ctx context.Context) (v string, err error) + func (m *UserMutation) OldRegTime(ctx context.Context) (v int64, err error) + func (m *UserMutation) OldSalt(ctx context.Context) (v string, err error) + func (m *UserMutation) OldState(ctx context.Context) (v int, err error) + func (m *UserMutation) Op() Op + func (m *UserMutation) Password() (r string, exists bool) + func (m *UserMutation) ProfileCleared() bool + func (m *UserMutation) ProfileID() (id int, exists bool) + func (m *UserMutation) ProfileIDs() (ids []int) + func (m *UserMutation) RegIP() (r string, exists bool) + func (m *UserMutation) RegTime() (r int64, exists bool) + func (m *UserMutation) RemoveCreatedTextureIDs(ids ...int) + func (m *UserMutation) RemovedCreatedTextureIDs() (ids []int) + func (m *UserMutation) RemovedEdges() []string + func (m *UserMutation) RemovedIDs(name string) []ent.Value + func (m *UserMutation) ResetCreatedTexture() + func (m *UserMutation) ResetEdge(name string) error + func (m *UserMutation) ResetEmail() + func (m *UserMutation) ResetField(name string) error + func (m *UserMutation) ResetPassword() + func (m *UserMutation) ResetProfile() + func (m *UserMutation) ResetRegIP() + func (m *UserMutation) ResetRegTime() + func (m *UserMutation) ResetSalt() + func (m *UserMutation) ResetState() + func (m *UserMutation) ResetToken() + func (m *UserMutation) Salt() (r string, exists bool) + func (m *UserMutation) SetEmail(s string) + func (m *UserMutation) SetField(name string, value ent.Value) error + func (m *UserMutation) SetOp(op Op) + func (m *UserMutation) SetPassword(s string) + func (m *UserMutation) SetProfileID(id int) + func (m *UserMutation) SetRegIP(s string) + func (m *UserMutation) SetRegTime(i int64) + func (m *UserMutation) SetSalt(s string) + func (m *UserMutation) SetState(i int) + func (m *UserMutation) SetTokenID(id int) + func (m *UserMutation) State() (r int, exists bool) + func (m *UserMutation) TokenCleared() bool + func (m *UserMutation) TokenID() (id int, exists bool) + func (m *UserMutation) TokenIDs() (ids []int) + func (m *UserMutation) Type() string + func (m *UserMutation) Where(ps ...predicate.User) + func (m *UserMutation) WhereP(ps ...func(*sql.Selector)) + func (m UserMutation) Client() *Client + func (m UserMutation) Tx() (*Tx, error) + type UserProfile struct + Edges UserProfileEdges + ID int + Name string + UUID string + func (up *UserProfile) QueryTexture() *TextureQuery + func (up *UserProfile) QueryUser() *UserQuery + func (up *UserProfile) QueryUsertexture() *UserTextureQuery + func (up *UserProfile) String() string + func (up *UserProfile) Unwrap() *UserProfile + func (up *UserProfile) Update() *UserProfileUpdateOne + func (up *UserProfile) Value(name string) (ent.Value, error) + type UserProfileClient struct + func NewUserProfileClient(c config) *UserProfileClient + func (c *UserProfileClient) Create() *UserProfileCreate + func (c *UserProfileClient) CreateBulk(builders ...*UserProfileCreate) *UserProfileCreateBulk + func (c *UserProfileClient) Delete() *UserProfileDelete + func (c *UserProfileClient) DeleteOne(up *UserProfile) *UserProfileDeleteOne + func (c *UserProfileClient) DeleteOneID(id int) *UserProfileDeleteOne + func (c *UserProfileClient) Get(ctx context.Context, id int) (*UserProfile, error) + func (c *UserProfileClient) GetX(ctx context.Context, id int) *UserProfile + func (c *UserProfileClient) Hooks() []Hook + func (c *UserProfileClient) Intercept(interceptors ...Interceptor) + func (c *UserProfileClient) Interceptors() []Interceptor + func (c *UserProfileClient) Query() *UserProfileQuery + func (c *UserProfileClient) QueryTexture(up *UserProfile) *TextureQuery + func (c *UserProfileClient) QueryUser(up *UserProfile) *UserQuery + func (c *UserProfileClient) QueryUsertexture(up *UserProfile) *UserTextureQuery + func (c *UserProfileClient) Update() *UserProfileUpdate + func (c *UserProfileClient) UpdateOne(up *UserProfile) *UserProfileUpdateOne + func (c *UserProfileClient) UpdateOneID(id int) *UserProfileUpdateOne + func (c *UserProfileClient) Use(hooks ...Hook) + type UserProfileCreate struct + func (upc *UserProfileCreate) AddTexture(t ...*Texture) *UserProfileCreate + func (upc *UserProfileCreate) AddTextureIDs(ids ...int) *UserProfileCreate + func (upc *UserProfileCreate) AddUsertexture(u ...*UserTexture) *UserProfileCreate + func (upc *UserProfileCreate) AddUsertextureIDs(ids ...int) *UserProfileCreate + func (upc *UserProfileCreate) Exec(ctx context.Context) error + func (upc *UserProfileCreate) ExecX(ctx context.Context) + func (upc *UserProfileCreate) Mutation() *UserProfileMutation + func (upc *UserProfileCreate) Save(ctx context.Context) (*UserProfile, error) + func (upc *UserProfileCreate) SaveX(ctx context.Context) *UserProfile + func (upc *UserProfileCreate) SetName(s string) *UserProfileCreate + func (upc *UserProfileCreate) SetUUID(s string) *UserProfileCreate + func (upc *UserProfileCreate) SetUser(u *User) *UserProfileCreate + func (upc *UserProfileCreate) SetUserID(id int) *UserProfileCreate + type UserProfileCreateBulk struct + func (upcb *UserProfileCreateBulk) Exec(ctx context.Context) error + func (upcb *UserProfileCreateBulk) ExecX(ctx context.Context) + func (upcb *UserProfileCreateBulk) Save(ctx context.Context) ([]*UserProfile, error) + func (upcb *UserProfileCreateBulk) SaveX(ctx context.Context) []*UserProfile + type UserProfileDelete struct + func (upd *UserProfileDelete) Exec(ctx context.Context) (int, error) + func (upd *UserProfileDelete) ExecX(ctx context.Context) int + func (upd *UserProfileDelete) Where(ps ...predicate.UserProfile) *UserProfileDelete + type UserProfileDeleteOne struct + func (updo *UserProfileDeleteOne) Exec(ctx context.Context) error + func (updo *UserProfileDeleteOne) ExecX(ctx context.Context) + func (updo *UserProfileDeleteOne) Where(ps ...predicate.UserProfile) *UserProfileDeleteOne + type UserProfileEdges struct + Texture []*Texture + User *User + Usertexture []*UserTexture + func (e UserProfileEdges) TextureOrErr() ([]*Texture, error) + func (e UserProfileEdges) UserOrErr() (*User, error) + func (e UserProfileEdges) UsertextureOrErr() ([]*UserTexture, error) + type UserProfileGroupBy struct + func (s *UserProfileGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *UserProfileGroupBy) BoolX(ctx context.Context) bool + func (s *UserProfileGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *UserProfileGroupBy) BoolsX(ctx context.Context) []bool + func (s *UserProfileGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *UserProfileGroupBy) Float64X(ctx context.Context) float64 + func (s *UserProfileGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *UserProfileGroupBy) Float64sX(ctx context.Context) []float64 + func (s *UserProfileGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *UserProfileGroupBy) IntX(ctx context.Context) int + func (s *UserProfileGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *UserProfileGroupBy) IntsX(ctx context.Context) []int + func (s *UserProfileGroupBy) ScanX(ctx context.Context, v any) + func (s *UserProfileGroupBy) String(ctx context.Context) (_ string, err error) + func (s *UserProfileGroupBy) StringX(ctx context.Context) string + func (s *UserProfileGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *UserProfileGroupBy) StringsX(ctx context.Context) []string + func (upgb *UserProfileGroupBy) Aggregate(fns ...AggregateFunc) *UserProfileGroupBy + func (upgb *UserProfileGroupBy) Scan(ctx context.Context, v any) error + type UserProfileMutation struct + func (m *UserProfileMutation) AddField(name string, value ent.Value) error + func (m *UserProfileMutation) AddTextureIDs(ids ...int) + func (m *UserProfileMutation) AddUsertextureIDs(ids ...int) + func (m *UserProfileMutation) AddedEdges() []string + func (m *UserProfileMutation) AddedField(name string) (ent.Value, bool) + func (m *UserProfileMutation) AddedFields() []string + func (m *UserProfileMutation) AddedIDs(name string) []ent.Value + func (m *UserProfileMutation) ClearEdge(name string) error + func (m *UserProfileMutation) ClearField(name string) error + func (m *UserProfileMutation) ClearTexture() + func (m *UserProfileMutation) ClearUser() + func (m *UserProfileMutation) ClearUsertexture() + func (m *UserProfileMutation) ClearedEdges() []string + func (m *UserProfileMutation) ClearedFields() []string + func (m *UserProfileMutation) EdgeCleared(name string) bool + func (m *UserProfileMutation) Field(name string) (ent.Value, bool) + func (m *UserProfileMutation) FieldCleared(name string) bool + func (m *UserProfileMutation) Fields() []string + func (m *UserProfileMutation) ID() (id int, exists bool) + func (m *UserProfileMutation) IDs(ctx context.Context) ([]int, error) + func (m *UserProfileMutation) Name() (r string, exists bool) + func (m *UserProfileMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserProfileMutation) OldName(ctx context.Context) (v string, err error) + func (m *UserProfileMutation) OldUUID(ctx context.Context) (v string, err error) + func (m *UserProfileMutation) Op() Op + func (m *UserProfileMutation) RemoveTextureIDs(ids ...int) + func (m *UserProfileMutation) RemoveUsertextureIDs(ids ...int) + func (m *UserProfileMutation) RemovedEdges() []string + func (m *UserProfileMutation) RemovedIDs(name string) []ent.Value + func (m *UserProfileMutation) RemovedTextureIDs() (ids []int) + func (m *UserProfileMutation) RemovedUsertextureIDs() (ids []int) + func (m *UserProfileMutation) ResetEdge(name string) error + func (m *UserProfileMutation) ResetField(name string) error + func (m *UserProfileMutation) ResetName() + func (m *UserProfileMutation) ResetTexture() + func (m *UserProfileMutation) ResetUUID() + func (m *UserProfileMutation) ResetUser() + func (m *UserProfileMutation) ResetUsertexture() + func (m *UserProfileMutation) SetField(name string, value ent.Value) error + func (m *UserProfileMutation) SetName(s string) + func (m *UserProfileMutation) SetOp(op Op) + func (m *UserProfileMutation) SetUUID(s string) + func (m *UserProfileMutation) SetUserID(id int) + func (m *UserProfileMutation) TextureCleared() bool + func (m *UserProfileMutation) TextureIDs() (ids []int) + func (m *UserProfileMutation) Type() string + func (m *UserProfileMutation) UUID() (r string, exists bool) + func (m *UserProfileMutation) UserCleared() bool + func (m *UserProfileMutation) UserID() (id int, exists bool) + func (m *UserProfileMutation) UserIDs() (ids []int) + func (m *UserProfileMutation) UsertextureCleared() bool + func (m *UserProfileMutation) UsertextureIDs() (ids []int) + func (m *UserProfileMutation) Where(ps ...predicate.UserProfile) + func (m *UserProfileMutation) WhereP(ps ...func(*sql.Selector)) + func (m UserProfileMutation) Client() *Client + func (m UserProfileMutation) Tx() (*Tx, error) + type UserProfileQuery struct + func (upq *UserProfileQuery) Aggregate(fns ...AggregateFunc) *UserProfileSelect + func (upq *UserProfileQuery) All(ctx context.Context) ([]*UserProfile, error) + func (upq *UserProfileQuery) AllX(ctx context.Context) []*UserProfile + func (upq *UserProfileQuery) Clone() *UserProfileQuery + func (upq *UserProfileQuery) Count(ctx context.Context) (int, error) + func (upq *UserProfileQuery) CountX(ctx context.Context) int + func (upq *UserProfileQuery) Exist(ctx context.Context) (bool, error) + func (upq *UserProfileQuery) ExistX(ctx context.Context) bool + func (upq *UserProfileQuery) First(ctx context.Context) (*UserProfile, error) + func (upq *UserProfileQuery) FirstID(ctx context.Context) (id int, err error) + func (upq *UserProfileQuery) FirstIDX(ctx context.Context) int + func (upq *UserProfileQuery) FirstX(ctx context.Context) *UserProfile + func (upq *UserProfileQuery) ForShare(opts ...sql.LockOption) *UserProfileQuery + func (upq *UserProfileQuery) ForShareA(opts ...sql.LockOption) *UserProfileQuery + func (upq *UserProfileQuery) ForUpdate(opts ...sql.LockOption) *UserProfileQuery + func (upq *UserProfileQuery) ForUpdateA(opts ...sql.LockOption) *UserProfileQuery + func (upq *UserProfileQuery) GroupBy(field string, fields ...string) *UserProfileGroupBy + func (upq *UserProfileQuery) IDs(ctx context.Context) (ids []int, err error) + func (upq *UserProfileQuery) IDsX(ctx context.Context) []int + func (upq *UserProfileQuery) Limit(limit int) *UserProfileQuery + func (upq *UserProfileQuery) Offset(offset int) *UserProfileQuery + func (upq *UserProfileQuery) Only(ctx context.Context) (*UserProfile, error) + func (upq *UserProfileQuery) OnlyID(ctx context.Context) (id int, err error) + func (upq *UserProfileQuery) OnlyIDX(ctx context.Context) int + func (upq *UserProfileQuery) OnlyX(ctx context.Context) *UserProfile + func (upq *UserProfileQuery) Order(o ...userprofile.OrderOption) *UserProfileQuery + func (upq *UserProfileQuery) QueryTexture() *TextureQuery + func (upq *UserProfileQuery) QueryUser() *UserQuery + func (upq *UserProfileQuery) QueryUsertexture() *UserTextureQuery + func (upq *UserProfileQuery) Select(fields ...string) *UserProfileSelect + func (upq *UserProfileQuery) Unique(unique bool) *UserProfileQuery + func (upq *UserProfileQuery) Where(ps ...predicate.UserProfile) *UserProfileQuery + func (upq *UserProfileQuery) WithTexture(opts ...func(*TextureQuery)) *UserProfileQuery + func (upq *UserProfileQuery) WithUser(opts ...func(*UserQuery)) *UserProfileQuery + func (upq *UserProfileQuery) WithUsertexture(opts ...func(*UserTextureQuery)) *UserProfileQuery + type UserProfileSelect struct + func (s *UserProfileSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *UserProfileSelect) BoolX(ctx context.Context) bool + func (s *UserProfileSelect) Bools(ctx context.Context) ([]bool, error) + func (s *UserProfileSelect) BoolsX(ctx context.Context) []bool + func (s *UserProfileSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *UserProfileSelect) Float64X(ctx context.Context) float64 + func (s *UserProfileSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *UserProfileSelect) Float64sX(ctx context.Context) []float64 + func (s *UserProfileSelect) Int(ctx context.Context) (_ int, err error) + func (s *UserProfileSelect) IntX(ctx context.Context) int + func (s *UserProfileSelect) Ints(ctx context.Context) ([]int, error) + func (s *UserProfileSelect) IntsX(ctx context.Context) []int + func (s *UserProfileSelect) ScanX(ctx context.Context, v any) + func (s *UserProfileSelect) String(ctx context.Context) (_ string, err error) + func (s *UserProfileSelect) StringX(ctx context.Context) string + func (s *UserProfileSelect) Strings(ctx context.Context) ([]string, error) + func (s *UserProfileSelect) StringsX(ctx context.Context) []string + func (ups *UserProfileSelect) Aggregate(fns ...AggregateFunc) *UserProfileSelect + func (ups *UserProfileSelect) Scan(ctx context.Context, v any) error + type UserProfileUpdate struct + func (upu *UserProfileUpdate) AddTexture(t ...*Texture) *UserProfileUpdate + func (upu *UserProfileUpdate) AddTextureIDs(ids ...int) *UserProfileUpdate + func (upu *UserProfileUpdate) AddUsertexture(u ...*UserTexture) *UserProfileUpdate + func (upu *UserProfileUpdate) AddUsertextureIDs(ids ...int) *UserProfileUpdate + func (upu *UserProfileUpdate) ClearTexture() *UserProfileUpdate + func (upu *UserProfileUpdate) ClearUser() *UserProfileUpdate + func (upu *UserProfileUpdate) ClearUsertexture() *UserProfileUpdate + func (upu *UserProfileUpdate) Exec(ctx context.Context) error + func (upu *UserProfileUpdate) ExecX(ctx context.Context) + func (upu *UserProfileUpdate) Mutation() *UserProfileMutation + func (upu *UserProfileUpdate) RemoveTexture(t ...*Texture) *UserProfileUpdate + func (upu *UserProfileUpdate) RemoveTextureIDs(ids ...int) *UserProfileUpdate + func (upu *UserProfileUpdate) RemoveUsertexture(u ...*UserTexture) *UserProfileUpdate + func (upu *UserProfileUpdate) RemoveUsertextureIDs(ids ...int) *UserProfileUpdate + func (upu *UserProfileUpdate) Save(ctx context.Context) (int, error) + func (upu *UserProfileUpdate) SaveX(ctx context.Context) int + func (upu *UserProfileUpdate) SetName(s string) *UserProfileUpdate + func (upu *UserProfileUpdate) SetUUID(s string) *UserProfileUpdate + func (upu *UserProfileUpdate) SetUser(u *User) *UserProfileUpdate + func (upu *UserProfileUpdate) SetUserID(id int) *UserProfileUpdate + func (upu *UserProfileUpdate) Where(ps ...predicate.UserProfile) *UserProfileUpdate + type UserProfileUpdateOne struct + func (upuo *UserProfileUpdateOne) AddTexture(t ...*Texture) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) AddTextureIDs(ids ...int) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) AddUsertexture(u ...*UserTexture) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) AddUsertextureIDs(ids ...int) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) ClearTexture() *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) ClearUser() *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) ClearUsertexture() *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) Exec(ctx context.Context) error + func (upuo *UserProfileUpdateOne) ExecX(ctx context.Context) + func (upuo *UserProfileUpdateOne) Mutation() *UserProfileMutation + func (upuo *UserProfileUpdateOne) RemoveTexture(t ...*Texture) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) RemoveTextureIDs(ids ...int) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) RemoveUsertexture(u ...*UserTexture) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) RemoveUsertextureIDs(ids ...int) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) Save(ctx context.Context) (*UserProfile, error) + func (upuo *UserProfileUpdateOne) SaveX(ctx context.Context) *UserProfile + func (upuo *UserProfileUpdateOne) Select(field string, fields ...string) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) SetName(s string) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) SetUUID(s string) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) SetUser(u *User) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) SetUserID(id int) *UserProfileUpdateOne + func (upuo *UserProfileUpdateOne) Where(ps ...predicate.UserProfile) *UserProfileUpdateOne + type UserProfiles []*UserProfile + type UserQuery struct + func (uq *UserQuery) Aggregate(fns ...AggregateFunc) *UserSelect + func (uq *UserQuery) All(ctx context.Context) ([]*User, error) + func (uq *UserQuery) AllX(ctx context.Context) []*User + func (uq *UserQuery) Clone() *UserQuery + func (uq *UserQuery) Count(ctx context.Context) (int, error) + func (uq *UserQuery) CountX(ctx context.Context) int + func (uq *UserQuery) Exist(ctx context.Context) (bool, error) + func (uq *UserQuery) ExistX(ctx context.Context) bool + func (uq *UserQuery) First(ctx context.Context) (*User, error) + func (uq *UserQuery) FirstID(ctx context.Context) (id int, err error) + func (uq *UserQuery) FirstIDX(ctx context.Context) int + func (uq *UserQuery) FirstX(ctx context.Context) *User + func (uq *UserQuery) ForShare(opts ...sql.LockOption) *UserQuery + func (uq *UserQuery) ForShareA(opts ...sql.LockOption) *UserQuery + func (uq *UserQuery) ForUpdate(opts ...sql.LockOption) *UserQuery + func (uq *UserQuery) ForUpdateA(opts ...sql.LockOption) *UserQuery + func (uq *UserQuery) GroupBy(field string, fields ...string) *UserGroupBy + func (uq *UserQuery) IDs(ctx context.Context) (ids []int, err 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 ...user.OrderOption) *UserQuery + func (uq *UserQuery) QueryCreatedTexture() *TextureQuery + func (uq *UserQuery) QueryProfile() *UserProfileQuery + func (uq *UserQuery) QueryToken() *UserTokenQuery + 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) WithCreatedTexture(opts ...func(*TextureQuery)) *UserQuery + func (uq *UserQuery) WithProfile(opts ...func(*UserProfileQuery)) *UserQuery + func (uq *UserQuery) WithToken(opts ...func(*UserTokenQuery)) *UserQuery + type UserSelect struct + func (s *UserSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *UserSelect) BoolX(ctx context.Context) bool + func (s *UserSelect) Bools(ctx context.Context) ([]bool, error) + func (s *UserSelect) BoolsX(ctx context.Context) []bool + func (s *UserSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *UserSelect) Float64X(ctx context.Context) float64 + func (s *UserSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *UserSelect) Float64sX(ctx context.Context) []float64 + func (s *UserSelect) Int(ctx context.Context) (_ int, err error) + func (s *UserSelect) IntX(ctx context.Context) int + func (s *UserSelect) Ints(ctx context.Context) ([]int, error) + func (s *UserSelect) IntsX(ctx context.Context) []int + func (s *UserSelect) ScanX(ctx context.Context, v any) + func (s *UserSelect) String(ctx context.Context) (_ string, err error) + func (s *UserSelect) StringX(ctx context.Context) string + func (s *UserSelect) Strings(ctx context.Context) ([]string, error) + func (s *UserSelect) StringsX(ctx context.Context) []string + func (us *UserSelect) Aggregate(fns ...AggregateFunc) *UserSelect + func (us *UserSelect) Scan(ctx context.Context, v any) error + type UserTexture struct + Edges UserTextureEdges + ID int + TextureID int + Type string + UserProfileID int + Variant string + func (ut *UserTexture) QueryTexture() *TextureQuery + func (ut *UserTexture) QueryUserProfile() *UserProfileQuery + func (ut *UserTexture) String() string + func (ut *UserTexture) Unwrap() *UserTexture + func (ut *UserTexture) Update() *UserTextureUpdateOne + func (ut *UserTexture) Value(name string) (ent.Value, error) + type UserTextureClient struct + func NewUserTextureClient(c config) *UserTextureClient + func (c *UserTextureClient) Create() *UserTextureCreate + func (c *UserTextureClient) CreateBulk(builders ...*UserTextureCreate) *UserTextureCreateBulk + func (c *UserTextureClient) Delete() *UserTextureDelete + func (c *UserTextureClient) DeleteOne(ut *UserTexture) *UserTextureDeleteOne + func (c *UserTextureClient) DeleteOneID(id int) *UserTextureDeleteOne + func (c *UserTextureClient) Get(ctx context.Context, id int) (*UserTexture, error) + func (c *UserTextureClient) GetX(ctx context.Context, id int) *UserTexture + func (c *UserTextureClient) Hooks() []Hook + func (c *UserTextureClient) Intercept(interceptors ...Interceptor) + func (c *UserTextureClient) Interceptors() []Interceptor + func (c *UserTextureClient) Query() *UserTextureQuery + func (c *UserTextureClient) QueryTexture(ut *UserTexture) *TextureQuery + func (c *UserTextureClient) QueryUserProfile(ut *UserTexture) *UserProfileQuery + func (c *UserTextureClient) Update() *UserTextureUpdate + func (c *UserTextureClient) UpdateOne(ut *UserTexture) *UserTextureUpdateOne + func (c *UserTextureClient) UpdateOneID(id int) *UserTextureUpdateOne + func (c *UserTextureClient) Use(hooks ...Hook) + type UserTextureCreate struct + func (utc *UserTextureCreate) Exec(ctx context.Context) error + func (utc *UserTextureCreate) ExecX(ctx context.Context) + func (utc *UserTextureCreate) Mutation() *UserTextureMutation + func (utc *UserTextureCreate) Save(ctx context.Context) (*UserTexture, error) + func (utc *UserTextureCreate) SaveX(ctx context.Context) *UserTexture + func (utc *UserTextureCreate) SetTexture(t *Texture) *UserTextureCreate + func (utc *UserTextureCreate) SetTextureID(i int) *UserTextureCreate + func (utc *UserTextureCreate) SetType(s string) *UserTextureCreate + func (utc *UserTextureCreate) SetUserProfile(u *UserProfile) *UserTextureCreate + func (utc *UserTextureCreate) SetUserProfileID(i int) *UserTextureCreate + func (utc *UserTextureCreate) SetVariant(s string) *UserTextureCreate + type UserTextureCreateBulk struct + func (utcb *UserTextureCreateBulk) Exec(ctx context.Context) error + func (utcb *UserTextureCreateBulk) ExecX(ctx context.Context) + func (utcb *UserTextureCreateBulk) Save(ctx context.Context) ([]*UserTexture, error) + func (utcb *UserTextureCreateBulk) SaveX(ctx context.Context) []*UserTexture + type UserTextureDelete struct + func (utd *UserTextureDelete) Exec(ctx context.Context) (int, error) + func (utd *UserTextureDelete) ExecX(ctx context.Context) int + func (utd *UserTextureDelete) Where(ps ...predicate.UserTexture) *UserTextureDelete + type UserTextureDeleteOne struct + func (utdo *UserTextureDeleteOne) Exec(ctx context.Context) error + func (utdo *UserTextureDeleteOne) ExecX(ctx context.Context) + func (utdo *UserTextureDeleteOne) Where(ps ...predicate.UserTexture) *UserTextureDeleteOne + type UserTextureEdges struct + Texture *Texture + UserProfile *UserProfile + func (e UserTextureEdges) TextureOrErr() (*Texture, error) + func (e UserTextureEdges) UserProfileOrErr() (*UserProfile, error) + type UserTextureGroupBy struct + func (s *UserTextureGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *UserTextureGroupBy) BoolX(ctx context.Context) bool + func (s *UserTextureGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *UserTextureGroupBy) BoolsX(ctx context.Context) []bool + func (s *UserTextureGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *UserTextureGroupBy) Float64X(ctx context.Context) float64 + func (s *UserTextureGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *UserTextureGroupBy) Float64sX(ctx context.Context) []float64 + func (s *UserTextureGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *UserTextureGroupBy) IntX(ctx context.Context) int + func (s *UserTextureGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *UserTextureGroupBy) IntsX(ctx context.Context) []int + func (s *UserTextureGroupBy) ScanX(ctx context.Context, v any) + func (s *UserTextureGroupBy) String(ctx context.Context) (_ string, err error) + func (s *UserTextureGroupBy) StringX(ctx context.Context) string + func (s *UserTextureGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *UserTextureGroupBy) StringsX(ctx context.Context) []string + func (utgb *UserTextureGroupBy) Aggregate(fns ...AggregateFunc) *UserTextureGroupBy + func (utgb *UserTextureGroupBy) Scan(ctx context.Context, v any) error + type UserTextureMutation struct + func (m *UserTextureMutation) AddField(name string, value ent.Value) error + func (m *UserTextureMutation) AddedEdges() []string + func (m *UserTextureMutation) AddedField(name string) (ent.Value, bool) + func (m *UserTextureMutation) AddedFields() []string + func (m *UserTextureMutation) AddedIDs(name string) []ent.Value + func (m *UserTextureMutation) ClearEdge(name string) error + func (m *UserTextureMutation) ClearField(name string) error + func (m *UserTextureMutation) ClearTexture() + func (m *UserTextureMutation) ClearUserProfile() + func (m *UserTextureMutation) ClearedEdges() []string + func (m *UserTextureMutation) ClearedFields() []string + func (m *UserTextureMutation) EdgeCleared(name string) bool + func (m *UserTextureMutation) Field(name string) (ent.Value, bool) + func (m *UserTextureMutation) FieldCleared(name string) bool + func (m *UserTextureMutation) Fields() []string + func (m *UserTextureMutation) GetType() (r string, exists bool) + func (m *UserTextureMutation) ID() (id int, exists bool) + func (m *UserTextureMutation) IDs(ctx context.Context) ([]int, error) + func (m *UserTextureMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserTextureMutation) OldTextureID(ctx context.Context) (v int, err error) + func (m *UserTextureMutation) OldType(ctx context.Context) (v string, err error) + func (m *UserTextureMutation) OldUserProfileID(ctx context.Context) (v int, err error) + func (m *UserTextureMutation) OldVariant(ctx context.Context) (v string, err error) + func (m *UserTextureMutation) Op() Op + func (m *UserTextureMutation) RemovedEdges() []string + func (m *UserTextureMutation) RemovedIDs(name string) []ent.Value + func (m *UserTextureMutation) ResetEdge(name string) error + func (m *UserTextureMutation) ResetField(name string) error + func (m *UserTextureMutation) ResetTexture() + func (m *UserTextureMutation) ResetTextureID() + func (m *UserTextureMutation) ResetType() + func (m *UserTextureMutation) ResetUserProfile() + func (m *UserTextureMutation) ResetUserProfileID() + func (m *UserTextureMutation) ResetVariant() + func (m *UserTextureMutation) SetField(name string, value ent.Value) error + func (m *UserTextureMutation) SetOp(op Op) + func (m *UserTextureMutation) SetTextureID(i int) + func (m *UserTextureMutation) SetType(s string) + func (m *UserTextureMutation) SetUserProfileID(i int) + func (m *UserTextureMutation) SetVariant(s string) + func (m *UserTextureMutation) TextureCleared() bool + func (m *UserTextureMutation) TextureID() (r int, exists bool) + func (m *UserTextureMutation) TextureIDs() (ids []int) + func (m *UserTextureMutation) Type() string + func (m *UserTextureMutation) UserProfileCleared() bool + func (m *UserTextureMutation) UserProfileID() (r int, exists bool) + func (m *UserTextureMutation) UserProfileIDs() (ids []int) + func (m *UserTextureMutation) Variant() (r string, exists bool) + func (m *UserTextureMutation) Where(ps ...predicate.UserTexture) + func (m *UserTextureMutation) WhereP(ps ...func(*sql.Selector)) + func (m UserTextureMutation) Client() *Client + func (m UserTextureMutation) Tx() (*Tx, error) + type UserTextureQuery struct + func (utq *UserTextureQuery) Aggregate(fns ...AggregateFunc) *UserTextureSelect + func (utq *UserTextureQuery) All(ctx context.Context) ([]*UserTexture, error) + func (utq *UserTextureQuery) AllX(ctx context.Context) []*UserTexture + func (utq *UserTextureQuery) Clone() *UserTextureQuery + func (utq *UserTextureQuery) Count(ctx context.Context) (int, error) + func (utq *UserTextureQuery) CountX(ctx context.Context) int + func (utq *UserTextureQuery) Exist(ctx context.Context) (bool, error) + func (utq *UserTextureQuery) ExistX(ctx context.Context) bool + func (utq *UserTextureQuery) First(ctx context.Context) (*UserTexture, error) + func (utq *UserTextureQuery) FirstID(ctx context.Context) (id int, err error) + func (utq *UserTextureQuery) FirstIDX(ctx context.Context) int + func (utq *UserTextureQuery) FirstX(ctx context.Context) *UserTexture + func (utq *UserTextureQuery) ForShare(opts ...sql.LockOption) *UserTextureQuery + func (utq *UserTextureQuery) ForShareA(opts ...sql.LockOption) *UserTextureQuery + func (utq *UserTextureQuery) ForUpdate(opts ...sql.LockOption) *UserTextureQuery + func (utq *UserTextureQuery) ForUpdateA(opts ...sql.LockOption) *UserTextureQuery + func (utq *UserTextureQuery) GroupBy(field string, fields ...string) *UserTextureGroupBy + func (utq *UserTextureQuery) IDs(ctx context.Context) (ids []int, err error) + func (utq *UserTextureQuery) IDsX(ctx context.Context) []int + func (utq *UserTextureQuery) Limit(limit int) *UserTextureQuery + func (utq *UserTextureQuery) Offset(offset int) *UserTextureQuery + func (utq *UserTextureQuery) Only(ctx context.Context) (*UserTexture, error) + func (utq *UserTextureQuery) OnlyID(ctx context.Context) (id int, err error) + func (utq *UserTextureQuery) OnlyIDX(ctx context.Context) int + func (utq *UserTextureQuery) OnlyX(ctx context.Context) *UserTexture + func (utq *UserTextureQuery) Order(o ...usertexture.OrderOption) *UserTextureQuery + func (utq *UserTextureQuery) QueryTexture() *TextureQuery + func (utq *UserTextureQuery) QueryUserProfile() *UserProfileQuery + func (utq *UserTextureQuery) Select(fields ...string) *UserTextureSelect + func (utq *UserTextureQuery) Unique(unique bool) *UserTextureQuery + func (utq *UserTextureQuery) Where(ps ...predicate.UserTexture) *UserTextureQuery + func (utq *UserTextureQuery) WithTexture(opts ...func(*TextureQuery)) *UserTextureQuery + func (utq *UserTextureQuery) WithUserProfile(opts ...func(*UserProfileQuery)) *UserTextureQuery + type UserTextureSelect struct + func (s *UserTextureSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *UserTextureSelect) BoolX(ctx context.Context) bool + func (s *UserTextureSelect) Bools(ctx context.Context) ([]bool, error) + func (s *UserTextureSelect) BoolsX(ctx context.Context) []bool + func (s *UserTextureSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *UserTextureSelect) Float64X(ctx context.Context) float64 + func (s *UserTextureSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *UserTextureSelect) Float64sX(ctx context.Context) []float64 + func (s *UserTextureSelect) Int(ctx context.Context) (_ int, err error) + func (s *UserTextureSelect) IntX(ctx context.Context) int + func (s *UserTextureSelect) Ints(ctx context.Context) ([]int, error) + func (s *UserTextureSelect) IntsX(ctx context.Context) []int + func (s *UserTextureSelect) ScanX(ctx context.Context, v any) + func (s *UserTextureSelect) String(ctx context.Context) (_ string, err error) + func (s *UserTextureSelect) StringX(ctx context.Context) string + func (s *UserTextureSelect) Strings(ctx context.Context) ([]string, error) + func (s *UserTextureSelect) StringsX(ctx context.Context) []string + func (uts *UserTextureSelect) Aggregate(fns ...AggregateFunc) *UserTextureSelect + func (uts *UserTextureSelect) Scan(ctx context.Context, v any) error + type UserTextureUpdate struct + func (utu *UserTextureUpdate) ClearTexture() *UserTextureUpdate + func (utu *UserTextureUpdate) ClearUserProfile() *UserTextureUpdate + func (utu *UserTextureUpdate) Exec(ctx context.Context) error + func (utu *UserTextureUpdate) ExecX(ctx context.Context) + func (utu *UserTextureUpdate) Mutation() *UserTextureMutation + func (utu *UserTextureUpdate) Save(ctx context.Context) (int, error) + func (utu *UserTextureUpdate) SaveX(ctx context.Context) int + func (utu *UserTextureUpdate) SetTexture(t *Texture) *UserTextureUpdate + func (utu *UserTextureUpdate) SetTextureID(i int) *UserTextureUpdate + func (utu *UserTextureUpdate) SetType(s string) *UserTextureUpdate + func (utu *UserTextureUpdate) SetUserProfile(u *UserProfile) *UserTextureUpdate + func (utu *UserTextureUpdate) SetUserProfileID(i int) *UserTextureUpdate + func (utu *UserTextureUpdate) SetVariant(s string) *UserTextureUpdate + func (utu *UserTextureUpdate) Where(ps ...predicate.UserTexture) *UserTextureUpdate + type UserTextureUpdateOne struct + func (utuo *UserTextureUpdateOne) ClearTexture() *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) ClearUserProfile() *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) Exec(ctx context.Context) error + func (utuo *UserTextureUpdateOne) ExecX(ctx context.Context) + func (utuo *UserTextureUpdateOne) Mutation() *UserTextureMutation + func (utuo *UserTextureUpdateOne) Save(ctx context.Context) (*UserTexture, error) + func (utuo *UserTextureUpdateOne) SaveX(ctx context.Context) *UserTexture + func (utuo *UserTextureUpdateOne) Select(field string, fields ...string) *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) SetTexture(t *Texture) *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) SetTextureID(i int) *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) SetType(s string) *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) SetUserProfile(u *UserProfile) *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) SetUserProfileID(i int) *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) SetVariant(s string) *UserTextureUpdateOne + func (utuo *UserTextureUpdateOne) Where(ps ...predicate.UserTexture) *UserTextureUpdateOne + type UserTextures []*UserTexture + type UserToken struct + Edges UserTokenEdges + ID int + TokenID uint64 + func (ut *UserToken) QueryUser() *UserQuery + func (ut *UserToken) String() string + func (ut *UserToken) Unwrap() *UserToken + func (ut *UserToken) Update() *UserTokenUpdateOne + func (ut *UserToken) Value(name string) (ent.Value, error) + type UserTokenClient struct + func NewUserTokenClient(c config) *UserTokenClient + func (c *UserTokenClient) Create() *UserTokenCreate + func (c *UserTokenClient) CreateBulk(builders ...*UserTokenCreate) *UserTokenCreateBulk + func (c *UserTokenClient) Delete() *UserTokenDelete + func (c *UserTokenClient) DeleteOne(ut *UserToken) *UserTokenDeleteOne + func (c *UserTokenClient) DeleteOneID(id int) *UserTokenDeleteOne + func (c *UserTokenClient) Get(ctx context.Context, id int) (*UserToken, error) + func (c *UserTokenClient) GetX(ctx context.Context, id int) *UserToken + func (c *UserTokenClient) Hooks() []Hook + func (c *UserTokenClient) Intercept(interceptors ...Interceptor) + func (c *UserTokenClient) Interceptors() []Interceptor + func (c *UserTokenClient) Query() *UserTokenQuery + func (c *UserTokenClient) QueryUser(ut *UserToken) *UserQuery + func (c *UserTokenClient) Update() *UserTokenUpdate + func (c *UserTokenClient) UpdateOne(ut *UserToken) *UserTokenUpdateOne + func (c *UserTokenClient) UpdateOneID(id int) *UserTokenUpdateOne + func (c *UserTokenClient) Use(hooks ...Hook) + type UserTokenCreate struct + func (utc *UserTokenCreate) Exec(ctx context.Context) error + func (utc *UserTokenCreate) ExecX(ctx context.Context) + func (utc *UserTokenCreate) Mutation() *UserTokenMutation + func (utc *UserTokenCreate) Save(ctx context.Context) (*UserToken, error) + func (utc *UserTokenCreate) SaveX(ctx context.Context) *UserToken + func (utc *UserTokenCreate) SetNillableUserID(id *int) *UserTokenCreate + func (utc *UserTokenCreate) SetTokenID(u uint64) *UserTokenCreate + func (utc *UserTokenCreate) SetUser(u *User) *UserTokenCreate + func (utc *UserTokenCreate) SetUserID(id int) *UserTokenCreate + type UserTokenCreateBulk struct + func (utcb *UserTokenCreateBulk) Exec(ctx context.Context) error + func (utcb *UserTokenCreateBulk) ExecX(ctx context.Context) + func (utcb *UserTokenCreateBulk) Save(ctx context.Context) ([]*UserToken, error) + func (utcb *UserTokenCreateBulk) SaveX(ctx context.Context) []*UserToken + type UserTokenDelete struct + func (utd *UserTokenDelete) Exec(ctx context.Context) (int, error) + func (utd *UserTokenDelete) ExecX(ctx context.Context) int + func (utd *UserTokenDelete) Where(ps ...predicate.UserToken) *UserTokenDelete + type UserTokenDeleteOne struct + func (utdo *UserTokenDeleteOne) Exec(ctx context.Context) error + func (utdo *UserTokenDeleteOne) ExecX(ctx context.Context) + func (utdo *UserTokenDeleteOne) Where(ps ...predicate.UserToken) *UserTokenDeleteOne + type UserTokenEdges struct + User *User + func (e UserTokenEdges) UserOrErr() (*User, error) + type UserTokenGroupBy struct + func (s *UserTokenGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *UserTokenGroupBy) BoolX(ctx context.Context) bool + func (s *UserTokenGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *UserTokenGroupBy) BoolsX(ctx context.Context) []bool + func (s *UserTokenGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *UserTokenGroupBy) Float64X(ctx context.Context) float64 + func (s *UserTokenGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *UserTokenGroupBy) Float64sX(ctx context.Context) []float64 + func (s *UserTokenGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *UserTokenGroupBy) IntX(ctx context.Context) int + func (s *UserTokenGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *UserTokenGroupBy) IntsX(ctx context.Context) []int + func (s *UserTokenGroupBy) ScanX(ctx context.Context, v any) + func (s *UserTokenGroupBy) String(ctx context.Context) (_ string, err error) + func (s *UserTokenGroupBy) StringX(ctx context.Context) string + func (s *UserTokenGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *UserTokenGroupBy) StringsX(ctx context.Context) []string + func (utgb *UserTokenGroupBy) Aggregate(fns ...AggregateFunc) *UserTokenGroupBy + func (utgb *UserTokenGroupBy) Scan(ctx context.Context, v any) error + type UserTokenMutation struct + func (m *UserTokenMutation) AddField(name string, value ent.Value) error + func (m *UserTokenMutation) AddTokenID(u int64) + func (m *UserTokenMutation) AddedEdges() []string + func (m *UserTokenMutation) AddedField(name string) (ent.Value, bool) + func (m *UserTokenMutation) AddedFields() []string + func (m *UserTokenMutation) AddedIDs(name string) []ent.Value + func (m *UserTokenMutation) AddedTokenID() (r int64, exists bool) + func (m *UserTokenMutation) ClearEdge(name string) error + func (m *UserTokenMutation) ClearField(name string) error + func (m *UserTokenMutation) ClearUser() + func (m *UserTokenMutation) ClearedEdges() []string + func (m *UserTokenMutation) ClearedFields() []string + func (m *UserTokenMutation) EdgeCleared(name string) bool + func (m *UserTokenMutation) Field(name string) (ent.Value, bool) + func (m *UserTokenMutation) FieldCleared(name string) bool + func (m *UserTokenMutation) Fields() []string + func (m *UserTokenMutation) ID() (id int, exists bool) + func (m *UserTokenMutation) IDs(ctx context.Context) ([]int, error) + func (m *UserTokenMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserTokenMutation) OldTokenID(ctx context.Context) (v uint64, err error) + func (m *UserTokenMutation) Op() Op + func (m *UserTokenMutation) RemovedEdges() []string + func (m *UserTokenMutation) RemovedIDs(name string) []ent.Value + func (m *UserTokenMutation) ResetEdge(name string) error + func (m *UserTokenMutation) ResetField(name string) error + func (m *UserTokenMutation) ResetTokenID() + func (m *UserTokenMutation) ResetUser() + func (m *UserTokenMutation) SetField(name string, value ent.Value) error + func (m *UserTokenMutation) SetOp(op Op) + func (m *UserTokenMutation) SetTokenID(u uint64) + func (m *UserTokenMutation) SetUserID(id int) + func (m *UserTokenMutation) TokenID() (r uint64, exists bool) + func (m *UserTokenMutation) Type() string + func (m *UserTokenMutation) UserCleared() bool + func (m *UserTokenMutation) UserID() (id int, exists bool) + func (m *UserTokenMutation) UserIDs() (ids []int) + func (m *UserTokenMutation) Where(ps ...predicate.UserToken) + func (m *UserTokenMutation) WhereP(ps ...func(*sql.Selector)) + func (m UserTokenMutation) Client() *Client + func (m UserTokenMutation) Tx() (*Tx, error) + type UserTokenQuery struct + func (utq *UserTokenQuery) Aggregate(fns ...AggregateFunc) *UserTokenSelect + func (utq *UserTokenQuery) All(ctx context.Context) ([]*UserToken, error) + func (utq *UserTokenQuery) AllX(ctx context.Context) []*UserToken + func (utq *UserTokenQuery) Clone() *UserTokenQuery + func (utq *UserTokenQuery) Count(ctx context.Context) (int, error) + func (utq *UserTokenQuery) CountX(ctx context.Context) int + func (utq *UserTokenQuery) Exist(ctx context.Context) (bool, error) + func (utq *UserTokenQuery) ExistX(ctx context.Context) bool + func (utq *UserTokenQuery) First(ctx context.Context) (*UserToken, error) + func (utq *UserTokenQuery) FirstID(ctx context.Context) (id int, err error) + func (utq *UserTokenQuery) FirstIDX(ctx context.Context) int + func (utq *UserTokenQuery) FirstX(ctx context.Context) *UserToken + func (utq *UserTokenQuery) ForShare(opts ...sql.LockOption) *UserTokenQuery + func (utq *UserTokenQuery) ForShareA(opts ...sql.LockOption) *UserTokenQuery + func (utq *UserTokenQuery) ForUpdate(opts ...sql.LockOption) *UserTokenQuery + func (utq *UserTokenQuery) ForUpdateA(opts ...sql.LockOption) *UserTokenQuery + func (utq *UserTokenQuery) GroupBy(field string, fields ...string) *UserTokenGroupBy + func (utq *UserTokenQuery) IDs(ctx context.Context) (ids []int, err error) + func (utq *UserTokenQuery) IDsX(ctx context.Context) []int + func (utq *UserTokenQuery) Limit(limit int) *UserTokenQuery + func (utq *UserTokenQuery) Offset(offset int) *UserTokenQuery + func (utq *UserTokenQuery) Only(ctx context.Context) (*UserToken, error) + func (utq *UserTokenQuery) OnlyID(ctx context.Context) (id int, err error) + func (utq *UserTokenQuery) OnlyIDX(ctx context.Context) int + func (utq *UserTokenQuery) OnlyX(ctx context.Context) *UserToken + func (utq *UserTokenQuery) Order(o ...usertoken.OrderOption) *UserTokenQuery + func (utq *UserTokenQuery) QueryUser() *UserQuery + func (utq *UserTokenQuery) Select(fields ...string) *UserTokenSelect + func (utq *UserTokenQuery) Unique(unique bool) *UserTokenQuery + func (utq *UserTokenQuery) Where(ps ...predicate.UserToken) *UserTokenQuery + func (utq *UserTokenQuery) WithUser(opts ...func(*UserQuery)) *UserTokenQuery + type UserTokenSelect struct + func (s *UserTokenSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *UserTokenSelect) BoolX(ctx context.Context) bool + func (s *UserTokenSelect) Bools(ctx context.Context) ([]bool, error) + func (s *UserTokenSelect) BoolsX(ctx context.Context) []bool + func (s *UserTokenSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *UserTokenSelect) Float64X(ctx context.Context) float64 + func (s *UserTokenSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *UserTokenSelect) Float64sX(ctx context.Context) []float64 + func (s *UserTokenSelect) Int(ctx context.Context) (_ int, err error) + func (s *UserTokenSelect) IntX(ctx context.Context) int + func (s *UserTokenSelect) Ints(ctx context.Context) ([]int, error) + func (s *UserTokenSelect) IntsX(ctx context.Context) []int + func (s *UserTokenSelect) ScanX(ctx context.Context, v any) + func (s *UserTokenSelect) String(ctx context.Context) (_ string, err error) + func (s *UserTokenSelect) StringX(ctx context.Context) string + func (s *UserTokenSelect) Strings(ctx context.Context) ([]string, error) + func (s *UserTokenSelect) StringsX(ctx context.Context) []string + func (uts *UserTokenSelect) Aggregate(fns ...AggregateFunc) *UserTokenSelect + func (uts *UserTokenSelect) Scan(ctx context.Context, v any) error + type UserTokenUpdate struct + func (utu *UserTokenUpdate) AddTokenID(u int64) *UserTokenUpdate + func (utu *UserTokenUpdate) ClearUser() *UserTokenUpdate + func (utu *UserTokenUpdate) Exec(ctx context.Context) error + func (utu *UserTokenUpdate) ExecX(ctx context.Context) + func (utu *UserTokenUpdate) Mutation() *UserTokenMutation + func (utu *UserTokenUpdate) Save(ctx context.Context) (int, error) + func (utu *UserTokenUpdate) SaveX(ctx context.Context) int + func (utu *UserTokenUpdate) SetNillableUserID(id *int) *UserTokenUpdate + func (utu *UserTokenUpdate) SetTokenID(u uint64) *UserTokenUpdate + func (utu *UserTokenUpdate) SetUser(u *User) *UserTokenUpdate + func (utu *UserTokenUpdate) SetUserID(id int) *UserTokenUpdate + func (utu *UserTokenUpdate) Where(ps ...predicate.UserToken) *UserTokenUpdate + type UserTokenUpdateOne struct + func (utuo *UserTokenUpdateOne) AddTokenID(u int64) *UserTokenUpdateOne + func (utuo *UserTokenUpdateOne) ClearUser() *UserTokenUpdateOne + func (utuo *UserTokenUpdateOne) Exec(ctx context.Context) error + func (utuo *UserTokenUpdateOne) ExecX(ctx context.Context) + func (utuo *UserTokenUpdateOne) Mutation() *UserTokenMutation + func (utuo *UserTokenUpdateOne) Save(ctx context.Context) (*UserToken, error) + func (utuo *UserTokenUpdateOne) SaveX(ctx context.Context) *UserToken + func (utuo *UserTokenUpdateOne) Select(field string, fields ...string) *UserTokenUpdateOne + func (utuo *UserTokenUpdateOne) SetNillableUserID(id *int) *UserTokenUpdateOne + func (utuo *UserTokenUpdateOne) SetTokenID(u uint64) *UserTokenUpdateOne + func (utuo *UserTokenUpdateOne) SetUser(u *User) *UserTokenUpdateOne + func (utuo *UserTokenUpdateOne) SetUserID(id int) *UserTokenUpdateOne + func (utuo *UserTokenUpdateOne) Where(ps ...predicate.UserToken) *UserTokenUpdateOne + type UserTokens []*UserToken + type UserUpdate struct + func (uu *UserUpdate) AddCreatedTexture(t ...*Texture) *UserUpdate + func (uu *UserUpdate) AddCreatedTextureIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddRegTime(i int64) *UserUpdate + func (uu *UserUpdate) AddState(i int) *UserUpdate + func (uu *UserUpdate) ClearCreatedTexture() *UserUpdate + func (uu *UserUpdate) ClearProfile() *UserUpdate + func (uu *UserUpdate) ClearToken() *UserUpdate + func (uu *UserUpdate) Exec(ctx context.Context) error + func (uu *UserUpdate) ExecX(ctx context.Context) + func (uu *UserUpdate) Mutation() *UserMutation + func (uu *UserUpdate) RemoveCreatedTexture(t ...*Texture) *UserUpdate + func (uu *UserUpdate) RemoveCreatedTextureIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) Save(ctx context.Context) (int, error) + func (uu *UserUpdate) SaveX(ctx context.Context) int + func (uu *UserUpdate) SetEmail(s string) *UserUpdate + func (uu *UserUpdate) SetNillableProfileID(id *int) *UserUpdate + func (uu *UserUpdate) SetNillableTokenID(id *int) *UserUpdate + func (uu *UserUpdate) SetPassword(s string) *UserUpdate + func (uu *UserUpdate) SetProfile(u *UserProfile) *UserUpdate + func (uu *UserUpdate) SetProfileID(id int) *UserUpdate + func (uu *UserUpdate) SetRegIP(s string) *UserUpdate + func (uu *UserUpdate) SetRegTime(i int64) *UserUpdate + func (uu *UserUpdate) SetSalt(s string) *UserUpdate + func (uu *UserUpdate) SetState(i int) *UserUpdate + func (uu *UserUpdate) SetToken(u *UserToken) *UserUpdate + func (uu *UserUpdate) SetTokenID(id int) *UserUpdate + func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate + type UserUpdateOne struct + func (uuo *UserUpdateOne) AddCreatedTexture(t ...*Texture) *UserUpdateOne + func (uuo *UserUpdateOne) AddCreatedTextureIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddRegTime(i int64) *UserUpdateOne + func (uuo *UserUpdateOne) AddState(i int) *UserUpdateOne + func (uuo *UserUpdateOne) ClearCreatedTexture() *UserUpdateOne + func (uuo *UserUpdateOne) ClearProfile() *UserUpdateOne + func (uuo *UserUpdateOne) ClearToken() *UserUpdateOne + func (uuo *UserUpdateOne) Exec(ctx context.Context) error + func (uuo *UserUpdateOne) ExecX(ctx context.Context) + func (uuo *UserUpdateOne) Mutation() *UserMutation + func (uuo *UserUpdateOne) RemoveCreatedTexture(t ...*Texture) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveCreatedTextureIDs(ids ...int) *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) SetEmail(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableProfileID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableTokenID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetPassword(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetProfile(u *UserProfile) *UserUpdateOne + func (uuo *UserUpdateOne) SetProfileID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) SetRegIP(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetRegTime(i int64) *UserUpdateOne + func (uuo *UserUpdateOne) SetSalt(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetState(i int) *UserUpdateOne + func (uuo *UserUpdateOne) SetToken(u *UserToken) *UserUpdateOne + func (uuo *UserUpdateOne) SetTokenID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) Where(ps ...predicate.User) *UserUpdateOne + type Users []*User + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value v0.0.1-rc.1 Oct 15, 2023 v0.0.1-bate.8 Oct 13, 2023 v0.0.1-bate.7 Oct 12, 2023 v0.0.1-bate.6 Oct 12, 2023 v0.0.1-bate.5 Oct 12, 2023 v0.0.1-bate.4 Oct 11, 2023 v0.0.1-bate.3 Oct 11, 2023 v0.0.1-bate.2 Oct 11, 2023 v0.0.1-bate.1 Oct 11, 2023