Versions in this module Expand all Collapse all v0 v0.1.1 May 3, 2024 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeUser + const TypeWithFields + const TypeWithModifiedField + const TypeWithNilFields + const TypeWithoutFields + var ErrTxStarted = errors.New("ent: cannot start a transaction within a transaction") + 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 + User *UserClient + WithFields *WithFieldsClient + WithModifiedField *WithModifiedFieldClient + WithNilFields *WithNilFieldsClient + WithoutFields *WithoutFieldsClient + 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 TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + User *UserClient + WithFields *WithFieldsClient + WithModifiedField *WithModifiedFieldClient + WithNilFields *WithNilFieldsClient + WithoutFields *WithoutFieldsClient + 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 + ID int + 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) MapCreateBulk(slice any, setFunc func(*UserCreate, int)) *UserCreateBulk + func (c *UserClient) Query() *UserQuery + 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) 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 + 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 UserGroupBy struct + func (s *UserGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *UserGroupBy) BoolX(ctx context.Context) bool + func (s *UserGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *UserGroupBy) BoolsX(ctx context.Context) []bool + func (s *UserGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *UserGroupBy) Float64X(ctx context.Context) float64 + func (s *UserGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *UserGroupBy) Float64sX(ctx context.Context) []float64 + func (s *UserGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *UserGroupBy) IntX(ctx context.Context) int + func (s *UserGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *UserGroupBy) IntsX(ctx context.Context) []int + func (s *UserGroupBy) ScanX(ctx context.Context, v any) + func (s *UserGroupBy) String(ctx context.Context) (_ string, err error) + func (s *UserGroupBy) StringX(ctx context.Context) string + func (s *UserGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *UserGroupBy) StringsX(ctx context.Context) []string + func (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy + func (ugb *UserGroupBy) Scan(ctx context.Context, v any) error + type UserMutation struct + func (m *UserMutation) AddField(name string, value ent.Value) error + func (m *UserMutation) AddedEdges() []string + func (m *UserMutation) AddedField(name string) (ent.Value, bool) + func (m *UserMutation) AddedFields() []string + func (m *UserMutation) AddedIDs(name string) []ent.Value + func (m *UserMutation) ClearEdge(name string) error + func (m *UserMutation) ClearField(name string) error + func (m *UserMutation) ClearedEdges() []string + func (m *UserMutation) ClearedFields() []string + func (m *UserMutation) EdgeCleared(name string) bool + func (m *UserMutation) Field(name string) (ent.Value, bool) + func (m *UserMutation) FieldCleared(name string) bool + func (m *UserMutation) Fields() []string + func (m *UserMutation) ID() (id int, exists bool) + func (m *UserMutation) IDs(ctx context.Context) ([]int, error) + func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserMutation) Op() Op + func (m *UserMutation) RemovedEdges() []string + func (m *UserMutation) RemovedIDs(name string) []ent.Value + func (m *UserMutation) ResetEdge(name string) error + func (m *UserMutation) ResetField(name string) error + func (m *UserMutation) SetField(name string, value ent.Value) error + func (m *UserMutation) SetOp(op Op) + 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 UserQuery struct + func (uq *UserQuery) Aggregate(fns ...AggregateFunc) *UserSelect + func (uq *UserQuery) All(ctx context.Context) ([]*User, error) + func (uq *UserQuery) AllX(ctx context.Context) []*User + func (uq *UserQuery) Clone() *UserQuery + func (uq *UserQuery) Count(ctx context.Context) (int, error) + func (uq *UserQuery) CountX(ctx context.Context) int + func (uq *UserQuery) Exist(ctx context.Context) (bool, error) + func (uq *UserQuery) ExistX(ctx context.Context) bool + func (uq *UserQuery) First(ctx context.Context) (*User, error) + func (uq *UserQuery) FirstID(ctx context.Context) (id int, err error) + func (uq *UserQuery) FirstIDX(ctx context.Context) int + func (uq *UserQuery) FirstX(ctx context.Context) *User + func (uq *UserQuery) GroupBy(field string, fields ...string) *UserGroupBy + func (uq *UserQuery) IDs(ctx context.Context) (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) Select(fields ...string) *UserSelect + func (uq *UserQuery) Unique(unique bool) *UserQuery + func (uq *UserQuery) Where(ps ...predicate.User) *UserQuery + type UserSelect struct + func (s *UserSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *UserSelect) BoolX(ctx context.Context) bool + func (s *UserSelect) Bools(ctx context.Context) ([]bool, error) + func (s *UserSelect) BoolsX(ctx context.Context) []bool + func (s *UserSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *UserSelect) Float64X(ctx context.Context) float64 + func (s *UserSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *UserSelect) Float64sX(ctx context.Context) []float64 + func (s *UserSelect) Int(ctx context.Context) (_ int, err error) + func (s *UserSelect) IntX(ctx context.Context) int + func (s *UserSelect) Ints(ctx context.Context) ([]int, error) + func (s *UserSelect) IntsX(ctx context.Context) []int + func (s *UserSelect) ScanX(ctx context.Context, v any) + func (s *UserSelect) String(ctx context.Context) (_ string, err error) + func (s *UserSelect) StringX(ctx context.Context) string + func (s *UserSelect) Strings(ctx context.Context) ([]string, error) + func (s *UserSelect) StringsX(ctx context.Context) []string + func (us *UserSelect) Aggregate(fns ...AggregateFunc) *UserSelect + func (us *UserSelect) Scan(ctx context.Context, v any) error + type UserUpdate struct + func (uu *UserUpdate) Exec(ctx context.Context) error + func (uu *UserUpdate) ExecX(ctx context.Context) + func (uu *UserUpdate) Mutation() *UserMutation + func (uu *UserUpdate) Save(ctx context.Context) (int, error) + func (uu *UserUpdate) SaveX(ctx context.Context) int + func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate + type UserUpdateOne struct + func (uuo *UserUpdateOne) Exec(ctx context.Context) error + func (uuo *UserUpdateOne) ExecX(ctx context.Context) + func (uuo *UserUpdateOne) Mutation() *UserMutation + 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) 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 + type WithFields struct + Existing string + ID int + func (wf *WithFields) String() string + func (wf *WithFields) Unwrap() *WithFields + func (wf *WithFields) Update() *WithFieldsUpdateOne + func (wf *WithFields) Value(name string) (ent.Value, error) + type WithFieldsClient struct + func NewWithFieldsClient(c config) *WithFieldsClient + func (c *WithFieldsClient) Create() *WithFieldsCreate + func (c *WithFieldsClient) CreateBulk(builders ...*WithFieldsCreate) *WithFieldsCreateBulk + func (c *WithFieldsClient) Delete() *WithFieldsDelete + func (c *WithFieldsClient) DeleteOne(wf *WithFields) *WithFieldsDeleteOne + func (c *WithFieldsClient) DeleteOneID(id int) *WithFieldsDeleteOne + func (c *WithFieldsClient) Get(ctx context.Context, id int) (*WithFields, error) + func (c *WithFieldsClient) GetX(ctx context.Context, id int) *WithFields + func (c *WithFieldsClient) Hooks() []Hook + func (c *WithFieldsClient) Intercept(interceptors ...Interceptor) + func (c *WithFieldsClient) Interceptors() []Interceptor + func (c *WithFieldsClient) MapCreateBulk(slice any, setFunc func(*WithFieldsCreate, int)) *WithFieldsCreateBulk + func (c *WithFieldsClient) Query() *WithFieldsQuery + func (c *WithFieldsClient) Update() *WithFieldsUpdate + func (c *WithFieldsClient) UpdateOne(wf *WithFields) *WithFieldsUpdateOne + func (c *WithFieldsClient) UpdateOneID(id int) *WithFieldsUpdateOne + func (c *WithFieldsClient) Use(hooks ...Hook) + type WithFieldsCreate struct + func (wfc *WithFieldsCreate) Exec(ctx context.Context) error + func (wfc *WithFieldsCreate) ExecX(ctx context.Context) + func (wfc *WithFieldsCreate) Mutation() *WithFieldsMutation + func (wfc *WithFieldsCreate) Save(ctx context.Context) (*WithFields, error) + func (wfc *WithFieldsCreate) SaveX(ctx context.Context) *WithFields + func (wfc *WithFieldsCreate) SetExisting(s string) *WithFieldsCreate + type WithFieldsCreateBulk struct + func (wfcb *WithFieldsCreateBulk) Exec(ctx context.Context) error + func (wfcb *WithFieldsCreateBulk) ExecX(ctx context.Context) + func (wfcb *WithFieldsCreateBulk) Save(ctx context.Context) ([]*WithFields, error) + func (wfcb *WithFieldsCreateBulk) SaveX(ctx context.Context) []*WithFields + type WithFieldsDelete struct + func (wfd *WithFieldsDelete) Exec(ctx context.Context) (int, error) + func (wfd *WithFieldsDelete) ExecX(ctx context.Context) int + func (wfd *WithFieldsDelete) Where(ps ...predicate.WithFields) *WithFieldsDelete + type WithFieldsDeleteOne struct + func (wfdo *WithFieldsDeleteOne) Exec(ctx context.Context) error + func (wfdo *WithFieldsDeleteOne) ExecX(ctx context.Context) + func (wfdo *WithFieldsDeleteOne) Where(ps ...predicate.WithFields) *WithFieldsDeleteOne + type WithFieldsGroupBy struct + func (s *WithFieldsGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *WithFieldsGroupBy) BoolX(ctx context.Context) bool + func (s *WithFieldsGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *WithFieldsGroupBy) BoolsX(ctx context.Context) []bool + func (s *WithFieldsGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *WithFieldsGroupBy) Float64X(ctx context.Context) float64 + func (s *WithFieldsGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *WithFieldsGroupBy) Float64sX(ctx context.Context) []float64 + func (s *WithFieldsGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *WithFieldsGroupBy) IntX(ctx context.Context) int + func (s *WithFieldsGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *WithFieldsGroupBy) IntsX(ctx context.Context) []int + func (s *WithFieldsGroupBy) ScanX(ctx context.Context, v any) + func (s *WithFieldsGroupBy) String(ctx context.Context) (_ string, err error) + func (s *WithFieldsGroupBy) StringX(ctx context.Context) string + func (s *WithFieldsGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *WithFieldsGroupBy) StringsX(ctx context.Context) []string + func (wfgb *WithFieldsGroupBy) Aggregate(fns ...AggregateFunc) *WithFieldsGroupBy + func (wfgb *WithFieldsGroupBy) Scan(ctx context.Context, v any) error + type WithFieldsMutation struct + func (m *WithFieldsMutation) AddField(name string, value ent.Value) error + func (m *WithFieldsMutation) AddedEdges() []string + func (m *WithFieldsMutation) AddedField(name string) (ent.Value, bool) + func (m *WithFieldsMutation) AddedFields() []string + func (m *WithFieldsMutation) AddedIDs(name string) []ent.Value + func (m *WithFieldsMutation) ClearEdge(name string) error + func (m *WithFieldsMutation) ClearField(name string) error + func (m *WithFieldsMutation) ClearedEdges() []string + func (m *WithFieldsMutation) ClearedFields() []string + func (m *WithFieldsMutation) EdgeCleared(name string) bool + func (m *WithFieldsMutation) Existing() (r string, exists bool) + func (m *WithFieldsMutation) Field(name string) (ent.Value, bool) + func (m *WithFieldsMutation) FieldCleared(name string) bool + func (m *WithFieldsMutation) Fields() []string + func (m *WithFieldsMutation) ID() (id int, exists bool) + func (m *WithFieldsMutation) IDs(ctx context.Context) ([]int, error) + func (m *WithFieldsMutation) OldExisting(ctx context.Context) (v string, err error) + func (m *WithFieldsMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *WithFieldsMutation) Op() Op + func (m *WithFieldsMutation) RemovedEdges() []string + func (m *WithFieldsMutation) RemovedIDs(name string) []ent.Value + func (m *WithFieldsMutation) ResetEdge(name string) error + func (m *WithFieldsMutation) ResetExisting() + func (m *WithFieldsMutation) ResetField(name string) error + func (m *WithFieldsMutation) SetExisting(s string) + func (m *WithFieldsMutation) SetField(name string, value ent.Value) error + func (m *WithFieldsMutation) SetOp(op Op) + func (m *WithFieldsMutation) Type() string + func (m *WithFieldsMutation) Where(ps ...predicate.WithFields) + func (m *WithFieldsMutation) WhereP(ps ...func(*sql.Selector)) + func (m WithFieldsMutation) Client() *Client + func (m WithFieldsMutation) Tx() (*Tx, error) + type WithFieldsQuery struct + func (wfq *WithFieldsQuery) Aggregate(fns ...AggregateFunc) *WithFieldsSelect + func (wfq *WithFieldsQuery) All(ctx context.Context) ([]*WithFields, error) + func (wfq *WithFieldsQuery) AllX(ctx context.Context) []*WithFields + func (wfq *WithFieldsQuery) Clone() *WithFieldsQuery + func (wfq *WithFieldsQuery) Count(ctx context.Context) (int, error) + func (wfq *WithFieldsQuery) CountX(ctx context.Context) int + func (wfq *WithFieldsQuery) Exist(ctx context.Context) (bool, error) + func (wfq *WithFieldsQuery) ExistX(ctx context.Context) bool + func (wfq *WithFieldsQuery) First(ctx context.Context) (*WithFields, error) + func (wfq *WithFieldsQuery) FirstID(ctx context.Context) (id int, err error) + func (wfq *WithFieldsQuery) FirstIDX(ctx context.Context) int + func (wfq *WithFieldsQuery) FirstX(ctx context.Context) *WithFields + func (wfq *WithFieldsQuery) GroupBy(field string, fields ...string) *WithFieldsGroupBy + func (wfq *WithFieldsQuery) IDs(ctx context.Context) (ids []int, err error) + func (wfq *WithFieldsQuery) IDsX(ctx context.Context) []int + func (wfq *WithFieldsQuery) Limit(limit int) *WithFieldsQuery + func (wfq *WithFieldsQuery) Offset(offset int) *WithFieldsQuery + func (wfq *WithFieldsQuery) Only(ctx context.Context) (*WithFields, error) + func (wfq *WithFieldsQuery) OnlyID(ctx context.Context) (id int, err error) + func (wfq *WithFieldsQuery) OnlyIDX(ctx context.Context) int + func (wfq *WithFieldsQuery) OnlyX(ctx context.Context) *WithFields + func (wfq *WithFieldsQuery) Order(o ...withfields.OrderOption) *WithFieldsQuery + func (wfq *WithFieldsQuery) Select(fields ...string) *WithFieldsSelect + func (wfq *WithFieldsQuery) Unique(unique bool) *WithFieldsQuery + func (wfq *WithFieldsQuery) Where(ps ...predicate.WithFields) *WithFieldsQuery + type WithFieldsSelect struct + func (s *WithFieldsSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *WithFieldsSelect) BoolX(ctx context.Context) bool + func (s *WithFieldsSelect) Bools(ctx context.Context) ([]bool, error) + func (s *WithFieldsSelect) BoolsX(ctx context.Context) []bool + func (s *WithFieldsSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *WithFieldsSelect) Float64X(ctx context.Context) float64 + func (s *WithFieldsSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *WithFieldsSelect) Float64sX(ctx context.Context) []float64 + func (s *WithFieldsSelect) Int(ctx context.Context) (_ int, err error) + func (s *WithFieldsSelect) IntX(ctx context.Context) int + func (s *WithFieldsSelect) Ints(ctx context.Context) ([]int, error) + func (s *WithFieldsSelect) IntsX(ctx context.Context) []int + func (s *WithFieldsSelect) ScanX(ctx context.Context, v any) + func (s *WithFieldsSelect) String(ctx context.Context) (_ string, err error) + func (s *WithFieldsSelect) StringX(ctx context.Context) string + func (s *WithFieldsSelect) Strings(ctx context.Context) ([]string, error) + func (s *WithFieldsSelect) StringsX(ctx context.Context) []string + func (wfs *WithFieldsSelect) Aggregate(fns ...AggregateFunc) *WithFieldsSelect + func (wfs *WithFieldsSelect) Scan(ctx context.Context, v any) error + type WithFieldsSlice []*WithFields + type WithFieldsUpdate struct + func (wfu *WithFieldsUpdate) Exec(ctx context.Context) error + func (wfu *WithFieldsUpdate) ExecX(ctx context.Context) + func (wfu *WithFieldsUpdate) Mutation() *WithFieldsMutation + func (wfu *WithFieldsUpdate) Save(ctx context.Context) (int, error) + func (wfu *WithFieldsUpdate) SaveX(ctx context.Context) int + func (wfu *WithFieldsUpdate) SetExisting(s string) *WithFieldsUpdate + func (wfu *WithFieldsUpdate) SetNillableExisting(s *string) *WithFieldsUpdate + func (wfu *WithFieldsUpdate) Where(ps ...predicate.WithFields) *WithFieldsUpdate + type WithFieldsUpdateOne struct + func (wfuo *WithFieldsUpdateOne) Exec(ctx context.Context) error + func (wfuo *WithFieldsUpdateOne) ExecX(ctx context.Context) + func (wfuo *WithFieldsUpdateOne) Mutation() *WithFieldsMutation + func (wfuo *WithFieldsUpdateOne) Save(ctx context.Context) (*WithFields, error) + func (wfuo *WithFieldsUpdateOne) SaveX(ctx context.Context) *WithFields + func (wfuo *WithFieldsUpdateOne) Select(field string, fields ...string) *WithFieldsUpdateOne + func (wfuo *WithFieldsUpdateOne) SetExisting(s string) *WithFieldsUpdateOne + func (wfuo *WithFieldsUpdateOne) SetNillableExisting(s *string) *WithFieldsUpdateOne + func (wfuo *WithFieldsUpdateOne) Where(ps ...predicate.WithFields) *WithFieldsUpdateOne + type WithModifiedField struct + Edges WithModifiedFieldEdges + ID int + Name string + func (wmf *WithModifiedField) QueryOwner() *UserQuery + func (wmf *WithModifiedField) String() string + func (wmf *WithModifiedField) Unwrap() *WithModifiedField + func (wmf *WithModifiedField) Update() *WithModifiedFieldUpdateOne + func (wmf *WithModifiedField) Value(name string) (ent.Value, error) + type WithModifiedFieldClient struct + func NewWithModifiedFieldClient(c config) *WithModifiedFieldClient + func (c *WithModifiedFieldClient) Create() *WithModifiedFieldCreate + func (c *WithModifiedFieldClient) CreateBulk(builders ...*WithModifiedFieldCreate) *WithModifiedFieldCreateBulk + func (c *WithModifiedFieldClient) Delete() *WithModifiedFieldDelete + func (c *WithModifiedFieldClient) DeleteOne(wmf *WithModifiedField) *WithModifiedFieldDeleteOne + func (c *WithModifiedFieldClient) DeleteOneID(id int) *WithModifiedFieldDeleteOne + func (c *WithModifiedFieldClient) Get(ctx context.Context, id int) (*WithModifiedField, error) + func (c *WithModifiedFieldClient) GetX(ctx context.Context, id int) *WithModifiedField + func (c *WithModifiedFieldClient) Hooks() []Hook + func (c *WithModifiedFieldClient) Intercept(interceptors ...Interceptor) + func (c *WithModifiedFieldClient) Interceptors() []Interceptor + func (c *WithModifiedFieldClient) MapCreateBulk(slice any, setFunc func(*WithModifiedFieldCreate, int)) *WithModifiedFieldCreateBulk + func (c *WithModifiedFieldClient) Query() *WithModifiedFieldQuery + func (c *WithModifiedFieldClient) QueryOwner(wmf *WithModifiedField) *UserQuery + func (c *WithModifiedFieldClient) Update() *WithModifiedFieldUpdate + func (c *WithModifiedFieldClient) UpdateOne(wmf *WithModifiedField) *WithModifiedFieldUpdateOne + func (c *WithModifiedFieldClient) UpdateOneID(id int) *WithModifiedFieldUpdateOne + func (c *WithModifiedFieldClient) Use(hooks ...Hook) + type WithModifiedFieldCreate struct + func (wmfc *WithModifiedFieldCreate) Exec(ctx context.Context) error + func (wmfc *WithModifiedFieldCreate) ExecX(ctx context.Context) + func (wmfc *WithModifiedFieldCreate) Mutation() *WithModifiedFieldMutation + func (wmfc *WithModifiedFieldCreate) Save(ctx context.Context) (*WithModifiedField, error) + func (wmfc *WithModifiedFieldCreate) SaveX(ctx context.Context) *WithModifiedField + func (wmfc *WithModifiedFieldCreate) SetName(s string) *WithModifiedFieldCreate + func (wmfc *WithModifiedFieldCreate) SetNillableOwnerID(id *int) *WithModifiedFieldCreate + func (wmfc *WithModifiedFieldCreate) SetOwner(u *User) *WithModifiedFieldCreate + func (wmfc *WithModifiedFieldCreate) SetOwnerID(id int) *WithModifiedFieldCreate + type WithModifiedFieldCreateBulk struct + func (wmfcb *WithModifiedFieldCreateBulk) Exec(ctx context.Context) error + func (wmfcb *WithModifiedFieldCreateBulk) ExecX(ctx context.Context) + func (wmfcb *WithModifiedFieldCreateBulk) Save(ctx context.Context) ([]*WithModifiedField, error) + func (wmfcb *WithModifiedFieldCreateBulk) SaveX(ctx context.Context) []*WithModifiedField + type WithModifiedFieldDelete struct + func (wmfd *WithModifiedFieldDelete) Exec(ctx context.Context) (int, error) + func (wmfd *WithModifiedFieldDelete) ExecX(ctx context.Context) int + func (wmfd *WithModifiedFieldDelete) Where(ps ...predicate.WithModifiedField) *WithModifiedFieldDelete + type WithModifiedFieldDeleteOne struct + func (wmfdo *WithModifiedFieldDeleteOne) Exec(ctx context.Context) error + func (wmfdo *WithModifiedFieldDeleteOne) ExecX(ctx context.Context) + func (wmfdo *WithModifiedFieldDeleteOne) Where(ps ...predicate.WithModifiedField) *WithModifiedFieldDeleteOne + type WithModifiedFieldEdges struct + Owner *User + func (e WithModifiedFieldEdges) OwnerOrErr() (*User, error) + type WithModifiedFieldGroupBy struct + func (s *WithModifiedFieldGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *WithModifiedFieldGroupBy) BoolX(ctx context.Context) bool + func (s *WithModifiedFieldGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *WithModifiedFieldGroupBy) BoolsX(ctx context.Context) []bool + func (s *WithModifiedFieldGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *WithModifiedFieldGroupBy) Float64X(ctx context.Context) float64 + func (s *WithModifiedFieldGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *WithModifiedFieldGroupBy) Float64sX(ctx context.Context) []float64 + func (s *WithModifiedFieldGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *WithModifiedFieldGroupBy) IntX(ctx context.Context) int + func (s *WithModifiedFieldGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *WithModifiedFieldGroupBy) IntsX(ctx context.Context) []int + func (s *WithModifiedFieldGroupBy) ScanX(ctx context.Context, v any) + func (s *WithModifiedFieldGroupBy) String(ctx context.Context) (_ string, err error) + func (s *WithModifiedFieldGroupBy) StringX(ctx context.Context) string + func (s *WithModifiedFieldGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *WithModifiedFieldGroupBy) StringsX(ctx context.Context) []string + func (wmfgb *WithModifiedFieldGroupBy) Aggregate(fns ...AggregateFunc) *WithModifiedFieldGroupBy + func (wmfgb *WithModifiedFieldGroupBy) Scan(ctx context.Context, v any) error + type WithModifiedFieldMutation struct + func (m *WithModifiedFieldMutation) AddField(name string, value ent.Value) error + func (m *WithModifiedFieldMutation) AddedEdges() []string + func (m *WithModifiedFieldMutation) AddedField(name string) (ent.Value, bool) + func (m *WithModifiedFieldMutation) AddedFields() []string + func (m *WithModifiedFieldMutation) AddedIDs(name string) []ent.Value + func (m *WithModifiedFieldMutation) ClearEdge(name string) error + func (m *WithModifiedFieldMutation) ClearField(name string) error + func (m *WithModifiedFieldMutation) ClearOwner() + func (m *WithModifiedFieldMutation) ClearedEdges() []string + func (m *WithModifiedFieldMutation) ClearedFields() []string + func (m *WithModifiedFieldMutation) EdgeCleared(name string) bool + func (m *WithModifiedFieldMutation) Field(name string) (ent.Value, bool) + func (m *WithModifiedFieldMutation) FieldCleared(name string) bool + func (m *WithModifiedFieldMutation) Fields() []string + func (m *WithModifiedFieldMutation) ID() (id int, exists bool) + func (m *WithModifiedFieldMutation) IDs(ctx context.Context) ([]int, error) + func (m *WithModifiedFieldMutation) Name() (r string, exists bool) + func (m *WithModifiedFieldMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *WithModifiedFieldMutation) OldName(ctx context.Context) (v string, err error) + func (m *WithModifiedFieldMutation) Op() Op + func (m *WithModifiedFieldMutation) OwnerCleared() bool + func (m *WithModifiedFieldMutation) OwnerID() (id int, exists bool) + func (m *WithModifiedFieldMutation) OwnerIDs() (ids []int) + func (m *WithModifiedFieldMutation) RemovedEdges() []string + func (m *WithModifiedFieldMutation) RemovedIDs(name string) []ent.Value + func (m *WithModifiedFieldMutation) ResetEdge(name string) error + func (m *WithModifiedFieldMutation) ResetField(name string) error + func (m *WithModifiedFieldMutation) ResetName() + func (m *WithModifiedFieldMutation) ResetOwner() + func (m *WithModifiedFieldMutation) SetField(name string, value ent.Value) error + func (m *WithModifiedFieldMutation) SetName(s string) + func (m *WithModifiedFieldMutation) SetOp(op Op) + func (m *WithModifiedFieldMutation) SetOwnerID(id int) + func (m *WithModifiedFieldMutation) Type() string + func (m *WithModifiedFieldMutation) Where(ps ...predicate.WithModifiedField) + func (m *WithModifiedFieldMutation) WhereP(ps ...func(*sql.Selector)) + func (m WithModifiedFieldMutation) Client() *Client + func (m WithModifiedFieldMutation) Tx() (*Tx, error) + type WithModifiedFieldQuery struct + func (wmfq *WithModifiedFieldQuery) Aggregate(fns ...AggregateFunc) *WithModifiedFieldSelect + func (wmfq *WithModifiedFieldQuery) All(ctx context.Context) ([]*WithModifiedField, error) + func (wmfq *WithModifiedFieldQuery) AllX(ctx context.Context) []*WithModifiedField + func (wmfq *WithModifiedFieldQuery) Clone() *WithModifiedFieldQuery + func (wmfq *WithModifiedFieldQuery) Count(ctx context.Context) (int, error) + func (wmfq *WithModifiedFieldQuery) CountX(ctx context.Context) int + func (wmfq *WithModifiedFieldQuery) Exist(ctx context.Context) (bool, error) + func (wmfq *WithModifiedFieldQuery) ExistX(ctx context.Context) bool + func (wmfq *WithModifiedFieldQuery) First(ctx context.Context) (*WithModifiedField, error) + func (wmfq *WithModifiedFieldQuery) FirstID(ctx context.Context) (id int, err error) + func (wmfq *WithModifiedFieldQuery) FirstIDX(ctx context.Context) int + func (wmfq *WithModifiedFieldQuery) FirstX(ctx context.Context) *WithModifiedField + func (wmfq *WithModifiedFieldQuery) GroupBy(field string, fields ...string) *WithModifiedFieldGroupBy + func (wmfq *WithModifiedFieldQuery) IDs(ctx context.Context) (ids []int, err error) + func (wmfq *WithModifiedFieldQuery) IDsX(ctx context.Context) []int + func (wmfq *WithModifiedFieldQuery) Limit(limit int) *WithModifiedFieldQuery + func (wmfq *WithModifiedFieldQuery) Offset(offset int) *WithModifiedFieldQuery + func (wmfq *WithModifiedFieldQuery) Only(ctx context.Context) (*WithModifiedField, error) + func (wmfq *WithModifiedFieldQuery) OnlyID(ctx context.Context) (id int, err error) + func (wmfq *WithModifiedFieldQuery) OnlyIDX(ctx context.Context) int + func (wmfq *WithModifiedFieldQuery) OnlyX(ctx context.Context) *WithModifiedField + func (wmfq *WithModifiedFieldQuery) Order(o ...withmodifiedfield.OrderOption) *WithModifiedFieldQuery + func (wmfq *WithModifiedFieldQuery) QueryOwner() *UserQuery + func (wmfq *WithModifiedFieldQuery) Select(fields ...string) *WithModifiedFieldSelect + func (wmfq *WithModifiedFieldQuery) Unique(unique bool) *WithModifiedFieldQuery + func (wmfq *WithModifiedFieldQuery) Where(ps ...predicate.WithModifiedField) *WithModifiedFieldQuery + func (wmfq *WithModifiedFieldQuery) WithOwner(opts ...func(*UserQuery)) *WithModifiedFieldQuery + type WithModifiedFieldSelect struct + func (s *WithModifiedFieldSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *WithModifiedFieldSelect) BoolX(ctx context.Context) bool + func (s *WithModifiedFieldSelect) Bools(ctx context.Context) ([]bool, error) + func (s *WithModifiedFieldSelect) BoolsX(ctx context.Context) []bool + func (s *WithModifiedFieldSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *WithModifiedFieldSelect) Float64X(ctx context.Context) float64 + func (s *WithModifiedFieldSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *WithModifiedFieldSelect) Float64sX(ctx context.Context) []float64 + func (s *WithModifiedFieldSelect) Int(ctx context.Context) (_ int, err error) + func (s *WithModifiedFieldSelect) IntX(ctx context.Context) int + func (s *WithModifiedFieldSelect) Ints(ctx context.Context) ([]int, error) + func (s *WithModifiedFieldSelect) IntsX(ctx context.Context) []int + func (s *WithModifiedFieldSelect) ScanX(ctx context.Context, v any) + func (s *WithModifiedFieldSelect) String(ctx context.Context) (_ string, err error) + func (s *WithModifiedFieldSelect) StringX(ctx context.Context) string + func (s *WithModifiedFieldSelect) Strings(ctx context.Context) ([]string, error) + func (s *WithModifiedFieldSelect) StringsX(ctx context.Context) []string + func (wmfs *WithModifiedFieldSelect) Aggregate(fns ...AggregateFunc) *WithModifiedFieldSelect + func (wmfs *WithModifiedFieldSelect) Scan(ctx context.Context, v any) error + type WithModifiedFieldUpdate struct + func (wmfu *WithModifiedFieldUpdate) ClearOwner() *WithModifiedFieldUpdate + func (wmfu *WithModifiedFieldUpdate) Exec(ctx context.Context) error + func (wmfu *WithModifiedFieldUpdate) ExecX(ctx context.Context) + func (wmfu *WithModifiedFieldUpdate) Mutation() *WithModifiedFieldMutation + func (wmfu *WithModifiedFieldUpdate) Save(ctx context.Context) (int, error) + func (wmfu *WithModifiedFieldUpdate) SaveX(ctx context.Context) int + func (wmfu *WithModifiedFieldUpdate) SetNillableOwnerID(id *int) *WithModifiedFieldUpdate + func (wmfu *WithModifiedFieldUpdate) SetOwner(u *User) *WithModifiedFieldUpdate + func (wmfu *WithModifiedFieldUpdate) SetOwnerID(id int) *WithModifiedFieldUpdate + func (wmfu *WithModifiedFieldUpdate) Where(ps ...predicate.WithModifiedField) *WithModifiedFieldUpdate + type WithModifiedFieldUpdateOne struct + func (wmfuo *WithModifiedFieldUpdateOne) ClearOwner() *WithModifiedFieldUpdateOne + func (wmfuo *WithModifiedFieldUpdateOne) Exec(ctx context.Context) error + func (wmfuo *WithModifiedFieldUpdateOne) ExecX(ctx context.Context) + func (wmfuo *WithModifiedFieldUpdateOne) Mutation() *WithModifiedFieldMutation + func (wmfuo *WithModifiedFieldUpdateOne) Save(ctx context.Context) (*WithModifiedField, error) + func (wmfuo *WithModifiedFieldUpdateOne) SaveX(ctx context.Context) *WithModifiedField + func (wmfuo *WithModifiedFieldUpdateOne) Select(field string, fields ...string) *WithModifiedFieldUpdateOne + func (wmfuo *WithModifiedFieldUpdateOne) SetNillableOwnerID(id *int) *WithModifiedFieldUpdateOne + func (wmfuo *WithModifiedFieldUpdateOne) SetOwner(u *User) *WithModifiedFieldUpdateOne + func (wmfuo *WithModifiedFieldUpdateOne) SetOwnerID(id int) *WithModifiedFieldUpdateOne + func (wmfuo *WithModifiedFieldUpdateOne) Where(ps ...predicate.WithModifiedField) *WithModifiedFieldUpdateOne + type WithModifiedFields []*WithModifiedField + type WithNilFields struct + ID int + func (wnf *WithNilFields) String() string + func (wnf *WithNilFields) Unwrap() *WithNilFields + func (wnf *WithNilFields) Update() *WithNilFieldsUpdateOne + func (wnf *WithNilFields) Value(name string) (ent.Value, error) + type WithNilFieldsClient struct + func NewWithNilFieldsClient(c config) *WithNilFieldsClient + func (c *WithNilFieldsClient) Create() *WithNilFieldsCreate + func (c *WithNilFieldsClient) CreateBulk(builders ...*WithNilFieldsCreate) *WithNilFieldsCreateBulk + func (c *WithNilFieldsClient) Delete() *WithNilFieldsDelete + func (c *WithNilFieldsClient) DeleteOne(wnf *WithNilFields) *WithNilFieldsDeleteOne + func (c *WithNilFieldsClient) DeleteOneID(id int) *WithNilFieldsDeleteOne + func (c *WithNilFieldsClient) Get(ctx context.Context, id int) (*WithNilFields, error) + func (c *WithNilFieldsClient) GetX(ctx context.Context, id int) *WithNilFields + func (c *WithNilFieldsClient) Hooks() []Hook + func (c *WithNilFieldsClient) Intercept(interceptors ...Interceptor) + func (c *WithNilFieldsClient) Interceptors() []Interceptor + func (c *WithNilFieldsClient) MapCreateBulk(slice any, setFunc func(*WithNilFieldsCreate, int)) *WithNilFieldsCreateBulk + func (c *WithNilFieldsClient) Query() *WithNilFieldsQuery + func (c *WithNilFieldsClient) Update() *WithNilFieldsUpdate + func (c *WithNilFieldsClient) UpdateOne(wnf *WithNilFields) *WithNilFieldsUpdateOne + func (c *WithNilFieldsClient) UpdateOneID(id int) *WithNilFieldsUpdateOne + func (c *WithNilFieldsClient) Use(hooks ...Hook) + type WithNilFieldsCreate struct + func (wnfc *WithNilFieldsCreate) Exec(ctx context.Context) error + func (wnfc *WithNilFieldsCreate) ExecX(ctx context.Context) + func (wnfc *WithNilFieldsCreate) Mutation() *WithNilFieldsMutation + func (wnfc *WithNilFieldsCreate) Save(ctx context.Context) (*WithNilFields, error) + func (wnfc *WithNilFieldsCreate) SaveX(ctx context.Context) *WithNilFields + type WithNilFieldsCreateBulk struct + func (wnfcb *WithNilFieldsCreateBulk) Exec(ctx context.Context) error + func (wnfcb *WithNilFieldsCreateBulk) ExecX(ctx context.Context) + func (wnfcb *WithNilFieldsCreateBulk) Save(ctx context.Context) ([]*WithNilFields, error) + func (wnfcb *WithNilFieldsCreateBulk) SaveX(ctx context.Context) []*WithNilFields + type WithNilFieldsDelete struct + func (wnfd *WithNilFieldsDelete) Exec(ctx context.Context) (int, error) + func (wnfd *WithNilFieldsDelete) ExecX(ctx context.Context) int + func (wnfd *WithNilFieldsDelete) Where(ps ...predicate.WithNilFields) *WithNilFieldsDelete + type WithNilFieldsDeleteOne struct + func (wnfdo *WithNilFieldsDeleteOne) Exec(ctx context.Context) error + func (wnfdo *WithNilFieldsDeleteOne) ExecX(ctx context.Context) + func (wnfdo *WithNilFieldsDeleteOne) Where(ps ...predicate.WithNilFields) *WithNilFieldsDeleteOne + type WithNilFieldsGroupBy struct + func (s *WithNilFieldsGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *WithNilFieldsGroupBy) BoolX(ctx context.Context) bool + func (s *WithNilFieldsGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *WithNilFieldsGroupBy) BoolsX(ctx context.Context) []bool + func (s *WithNilFieldsGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *WithNilFieldsGroupBy) Float64X(ctx context.Context) float64 + func (s *WithNilFieldsGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *WithNilFieldsGroupBy) Float64sX(ctx context.Context) []float64 + func (s *WithNilFieldsGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *WithNilFieldsGroupBy) IntX(ctx context.Context) int + func (s *WithNilFieldsGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *WithNilFieldsGroupBy) IntsX(ctx context.Context) []int + func (s *WithNilFieldsGroupBy) ScanX(ctx context.Context, v any) + func (s *WithNilFieldsGroupBy) String(ctx context.Context) (_ string, err error) + func (s *WithNilFieldsGroupBy) StringX(ctx context.Context) string + func (s *WithNilFieldsGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *WithNilFieldsGroupBy) StringsX(ctx context.Context) []string + func (wnfgb *WithNilFieldsGroupBy) Aggregate(fns ...AggregateFunc) *WithNilFieldsGroupBy + func (wnfgb *WithNilFieldsGroupBy) Scan(ctx context.Context, v any) error + type WithNilFieldsMutation struct + func (m *WithNilFieldsMutation) AddField(name string, value ent.Value) error + func (m *WithNilFieldsMutation) AddedEdges() []string + func (m *WithNilFieldsMutation) AddedField(name string) (ent.Value, bool) + func (m *WithNilFieldsMutation) AddedFields() []string + func (m *WithNilFieldsMutation) AddedIDs(name string) []ent.Value + func (m *WithNilFieldsMutation) ClearEdge(name string) error + func (m *WithNilFieldsMutation) ClearField(name string) error + func (m *WithNilFieldsMutation) ClearedEdges() []string + func (m *WithNilFieldsMutation) ClearedFields() []string + func (m *WithNilFieldsMutation) EdgeCleared(name string) bool + func (m *WithNilFieldsMutation) Field(name string) (ent.Value, bool) + func (m *WithNilFieldsMutation) FieldCleared(name string) bool + func (m *WithNilFieldsMutation) Fields() []string + func (m *WithNilFieldsMutation) ID() (id int, exists bool) + func (m *WithNilFieldsMutation) IDs(ctx context.Context) ([]int, error) + func (m *WithNilFieldsMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *WithNilFieldsMutation) Op() Op + func (m *WithNilFieldsMutation) RemovedEdges() []string + func (m *WithNilFieldsMutation) RemovedIDs(name string) []ent.Value + func (m *WithNilFieldsMutation) ResetEdge(name string) error + func (m *WithNilFieldsMutation) ResetField(name string) error + func (m *WithNilFieldsMutation) SetField(name string, value ent.Value) error + func (m *WithNilFieldsMutation) SetOp(op Op) + func (m *WithNilFieldsMutation) Type() string + func (m *WithNilFieldsMutation) Where(ps ...predicate.WithNilFields) + func (m *WithNilFieldsMutation) WhereP(ps ...func(*sql.Selector)) + func (m WithNilFieldsMutation) Client() *Client + func (m WithNilFieldsMutation) Tx() (*Tx, error) + type WithNilFieldsQuery struct + func (wnfq *WithNilFieldsQuery) Aggregate(fns ...AggregateFunc) *WithNilFieldsSelect + func (wnfq *WithNilFieldsQuery) All(ctx context.Context) ([]*WithNilFields, error) + func (wnfq *WithNilFieldsQuery) AllX(ctx context.Context) []*WithNilFields + func (wnfq *WithNilFieldsQuery) Clone() *WithNilFieldsQuery + func (wnfq *WithNilFieldsQuery) Count(ctx context.Context) (int, error) + func (wnfq *WithNilFieldsQuery) CountX(ctx context.Context) int + func (wnfq *WithNilFieldsQuery) Exist(ctx context.Context) (bool, error) + func (wnfq *WithNilFieldsQuery) ExistX(ctx context.Context) bool + func (wnfq *WithNilFieldsQuery) First(ctx context.Context) (*WithNilFields, error) + func (wnfq *WithNilFieldsQuery) FirstID(ctx context.Context) (id int, err error) + func (wnfq *WithNilFieldsQuery) FirstIDX(ctx context.Context) int + func (wnfq *WithNilFieldsQuery) FirstX(ctx context.Context) *WithNilFields + func (wnfq *WithNilFieldsQuery) GroupBy(field string, fields ...string) *WithNilFieldsGroupBy + func (wnfq *WithNilFieldsQuery) IDs(ctx context.Context) (ids []int, err error) + func (wnfq *WithNilFieldsQuery) IDsX(ctx context.Context) []int + func (wnfq *WithNilFieldsQuery) Limit(limit int) *WithNilFieldsQuery + func (wnfq *WithNilFieldsQuery) Offset(offset int) *WithNilFieldsQuery + func (wnfq *WithNilFieldsQuery) Only(ctx context.Context) (*WithNilFields, error) + func (wnfq *WithNilFieldsQuery) OnlyID(ctx context.Context) (id int, err error) + func (wnfq *WithNilFieldsQuery) OnlyIDX(ctx context.Context) int + func (wnfq *WithNilFieldsQuery) OnlyX(ctx context.Context) *WithNilFields + func (wnfq *WithNilFieldsQuery) Order(o ...withnilfields.OrderOption) *WithNilFieldsQuery + func (wnfq *WithNilFieldsQuery) Select(fields ...string) *WithNilFieldsSelect + func (wnfq *WithNilFieldsQuery) Unique(unique bool) *WithNilFieldsQuery + func (wnfq *WithNilFieldsQuery) Where(ps ...predicate.WithNilFields) *WithNilFieldsQuery + type WithNilFieldsSelect struct + func (s *WithNilFieldsSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *WithNilFieldsSelect) BoolX(ctx context.Context) bool + func (s *WithNilFieldsSelect) Bools(ctx context.Context) ([]bool, error) + func (s *WithNilFieldsSelect) BoolsX(ctx context.Context) []bool + func (s *WithNilFieldsSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *WithNilFieldsSelect) Float64X(ctx context.Context) float64 + func (s *WithNilFieldsSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *WithNilFieldsSelect) Float64sX(ctx context.Context) []float64 + func (s *WithNilFieldsSelect) Int(ctx context.Context) (_ int, err error) + func (s *WithNilFieldsSelect) IntX(ctx context.Context) int + func (s *WithNilFieldsSelect) Ints(ctx context.Context) ([]int, error) + func (s *WithNilFieldsSelect) IntsX(ctx context.Context) []int + func (s *WithNilFieldsSelect) ScanX(ctx context.Context, v any) + func (s *WithNilFieldsSelect) String(ctx context.Context) (_ string, err error) + func (s *WithNilFieldsSelect) StringX(ctx context.Context) string + func (s *WithNilFieldsSelect) Strings(ctx context.Context) ([]string, error) + func (s *WithNilFieldsSelect) StringsX(ctx context.Context) []string + func (wnfs *WithNilFieldsSelect) Aggregate(fns ...AggregateFunc) *WithNilFieldsSelect + func (wnfs *WithNilFieldsSelect) Scan(ctx context.Context, v any) error + type WithNilFieldsSlice []*WithNilFields + type WithNilFieldsUpdate struct + func (wnfu *WithNilFieldsUpdate) Exec(ctx context.Context) error + func (wnfu *WithNilFieldsUpdate) ExecX(ctx context.Context) + func (wnfu *WithNilFieldsUpdate) Mutation() *WithNilFieldsMutation + func (wnfu *WithNilFieldsUpdate) Save(ctx context.Context) (int, error) + func (wnfu *WithNilFieldsUpdate) SaveX(ctx context.Context) int + func (wnfu *WithNilFieldsUpdate) Where(ps ...predicate.WithNilFields) *WithNilFieldsUpdate + type WithNilFieldsUpdateOne struct + func (wnfuo *WithNilFieldsUpdateOne) Exec(ctx context.Context) error + func (wnfuo *WithNilFieldsUpdateOne) ExecX(ctx context.Context) + func (wnfuo *WithNilFieldsUpdateOne) Mutation() *WithNilFieldsMutation + func (wnfuo *WithNilFieldsUpdateOne) Save(ctx context.Context) (*WithNilFields, error) + func (wnfuo *WithNilFieldsUpdateOne) SaveX(ctx context.Context) *WithNilFields + func (wnfuo *WithNilFieldsUpdateOne) Select(field string, fields ...string) *WithNilFieldsUpdateOne + func (wnfuo *WithNilFieldsUpdateOne) Where(ps ...predicate.WithNilFields) *WithNilFieldsUpdateOne + type WithoutFields struct + ID int + func (wf *WithoutFields) String() string + func (wf *WithoutFields) Unwrap() *WithoutFields + func (wf *WithoutFields) Update() *WithoutFieldsUpdateOne + func (wf *WithoutFields) Value(name string) (ent.Value, error) + type WithoutFieldsClient struct + func NewWithoutFieldsClient(c config) *WithoutFieldsClient + func (c *WithoutFieldsClient) Create() *WithoutFieldsCreate + func (c *WithoutFieldsClient) CreateBulk(builders ...*WithoutFieldsCreate) *WithoutFieldsCreateBulk + func (c *WithoutFieldsClient) Delete() *WithoutFieldsDelete + func (c *WithoutFieldsClient) DeleteOne(wf *WithoutFields) *WithoutFieldsDeleteOne + func (c *WithoutFieldsClient) DeleteOneID(id int) *WithoutFieldsDeleteOne + func (c *WithoutFieldsClient) Get(ctx context.Context, id int) (*WithoutFields, error) + func (c *WithoutFieldsClient) GetX(ctx context.Context, id int) *WithoutFields + func (c *WithoutFieldsClient) Hooks() []Hook + func (c *WithoutFieldsClient) Intercept(interceptors ...Interceptor) + func (c *WithoutFieldsClient) Interceptors() []Interceptor + func (c *WithoutFieldsClient) MapCreateBulk(slice any, setFunc func(*WithoutFieldsCreate, int)) *WithoutFieldsCreateBulk + func (c *WithoutFieldsClient) Query() *WithoutFieldsQuery + func (c *WithoutFieldsClient) Update() *WithoutFieldsUpdate + func (c *WithoutFieldsClient) UpdateOne(wf *WithoutFields) *WithoutFieldsUpdateOne + func (c *WithoutFieldsClient) UpdateOneID(id int) *WithoutFieldsUpdateOne + func (c *WithoutFieldsClient) Use(hooks ...Hook) + type WithoutFieldsCreate struct + func (wfc *WithoutFieldsCreate) Exec(ctx context.Context) error + func (wfc *WithoutFieldsCreate) ExecX(ctx context.Context) + func (wfc *WithoutFieldsCreate) Mutation() *WithoutFieldsMutation + func (wfc *WithoutFieldsCreate) Save(ctx context.Context) (*WithoutFields, error) + func (wfc *WithoutFieldsCreate) SaveX(ctx context.Context) *WithoutFields + type WithoutFieldsCreateBulk struct + func (wfcb *WithoutFieldsCreateBulk) Exec(ctx context.Context) error + func (wfcb *WithoutFieldsCreateBulk) ExecX(ctx context.Context) + func (wfcb *WithoutFieldsCreateBulk) Save(ctx context.Context) ([]*WithoutFields, error) + func (wfcb *WithoutFieldsCreateBulk) SaveX(ctx context.Context) []*WithoutFields + type WithoutFieldsDelete struct + func (wfd *WithoutFieldsDelete) Exec(ctx context.Context) (int, error) + func (wfd *WithoutFieldsDelete) ExecX(ctx context.Context) int + func (wfd *WithoutFieldsDelete) Where(ps ...predicate.WithoutFields) *WithoutFieldsDelete + type WithoutFieldsDeleteOne struct + func (wfdo *WithoutFieldsDeleteOne) Exec(ctx context.Context) error + func (wfdo *WithoutFieldsDeleteOne) ExecX(ctx context.Context) + func (wfdo *WithoutFieldsDeleteOne) Where(ps ...predicate.WithoutFields) *WithoutFieldsDeleteOne + type WithoutFieldsGroupBy struct + func (s *WithoutFieldsGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *WithoutFieldsGroupBy) BoolX(ctx context.Context) bool + func (s *WithoutFieldsGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *WithoutFieldsGroupBy) BoolsX(ctx context.Context) []bool + func (s *WithoutFieldsGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *WithoutFieldsGroupBy) Float64X(ctx context.Context) float64 + func (s *WithoutFieldsGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *WithoutFieldsGroupBy) Float64sX(ctx context.Context) []float64 + func (s *WithoutFieldsGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *WithoutFieldsGroupBy) IntX(ctx context.Context) int + func (s *WithoutFieldsGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *WithoutFieldsGroupBy) IntsX(ctx context.Context) []int + func (s *WithoutFieldsGroupBy) ScanX(ctx context.Context, v any) + func (s *WithoutFieldsGroupBy) String(ctx context.Context) (_ string, err error) + func (s *WithoutFieldsGroupBy) StringX(ctx context.Context) string + func (s *WithoutFieldsGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *WithoutFieldsGroupBy) StringsX(ctx context.Context) []string + func (wfgb *WithoutFieldsGroupBy) Aggregate(fns ...AggregateFunc) *WithoutFieldsGroupBy + func (wfgb *WithoutFieldsGroupBy) Scan(ctx context.Context, v any) error + type WithoutFieldsMutation struct + func (m *WithoutFieldsMutation) AddField(name string, value ent.Value) error + func (m *WithoutFieldsMutation) AddedEdges() []string + func (m *WithoutFieldsMutation) AddedField(name string) (ent.Value, bool) + func (m *WithoutFieldsMutation) AddedFields() []string + func (m *WithoutFieldsMutation) AddedIDs(name string) []ent.Value + func (m *WithoutFieldsMutation) ClearEdge(name string) error + func (m *WithoutFieldsMutation) ClearField(name string) error + func (m *WithoutFieldsMutation) ClearedEdges() []string + func (m *WithoutFieldsMutation) ClearedFields() []string + func (m *WithoutFieldsMutation) EdgeCleared(name string) bool + func (m *WithoutFieldsMutation) Field(name string) (ent.Value, bool) + func (m *WithoutFieldsMutation) FieldCleared(name string) bool + func (m *WithoutFieldsMutation) Fields() []string + func (m *WithoutFieldsMutation) ID() (id int, exists bool) + func (m *WithoutFieldsMutation) IDs(ctx context.Context) ([]int, error) + func (m *WithoutFieldsMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *WithoutFieldsMutation) Op() Op + func (m *WithoutFieldsMutation) RemovedEdges() []string + func (m *WithoutFieldsMutation) RemovedIDs(name string) []ent.Value + func (m *WithoutFieldsMutation) ResetEdge(name string) error + func (m *WithoutFieldsMutation) ResetField(name string) error + func (m *WithoutFieldsMutation) SetField(name string, value ent.Value) error + func (m *WithoutFieldsMutation) SetOp(op Op) + func (m *WithoutFieldsMutation) Type() string + func (m *WithoutFieldsMutation) Where(ps ...predicate.WithoutFields) + func (m *WithoutFieldsMutation) WhereP(ps ...func(*sql.Selector)) + func (m WithoutFieldsMutation) Client() *Client + func (m WithoutFieldsMutation) Tx() (*Tx, error) + type WithoutFieldsQuery struct + func (wfq *WithoutFieldsQuery) Aggregate(fns ...AggregateFunc) *WithoutFieldsSelect + func (wfq *WithoutFieldsQuery) All(ctx context.Context) ([]*WithoutFields, error) + func (wfq *WithoutFieldsQuery) AllX(ctx context.Context) []*WithoutFields + func (wfq *WithoutFieldsQuery) Clone() *WithoutFieldsQuery + func (wfq *WithoutFieldsQuery) Count(ctx context.Context) (int, error) + func (wfq *WithoutFieldsQuery) CountX(ctx context.Context) int + func (wfq *WithoutFieldsQuery) Exist(ctx context.Context) (bool, error) + func (wfq *WithoutFieldsQuery) ExistX(ctx context.Context) bool + func (wfq *WithoutFieldsQuery) First(ctx context.Context) (*WithoutFields, error) + func (wfq *WithoutFieldsQuery) FirstID(ctx context.Context) (id int, err error) + func (wfq *WithoutFieldsQuery) FirstIDX(ctx context.Context) int + func (wfq *WithoutFieldsQuery) FirstX(ctx context.Context) *WithoutFields + func (wfq *WithoutFieldsQuery) GroupBy(field string, fields ...string) *WithoutFieldsGroupBy + func (wfq *WithoutFieldsQuery) IDs(ctx context.Context) (ids []int, err error) + func (wfq *WithoutFieldsQuery) IDsX(ctx context.Context) []int + func (wfq *WithoutFieldsQuery) Limit(limit int) *WithoutFieldsQuery + func (wfq *WithoutFieldsQuery) Offset(offset int) *WithoutFieldsQuery + func (wfq *WithoutFieldsQuery) Only(ctx context.Context) (*WithoutFields, error) + func (wfq *WithoutFieldsQuery) OnlyID(ctx context.Context) (id int, err error) + func (wfq *WithoutFieldsQuery) OnlyIDX(ctx context.Context) int + func (wfq *WithoutFieldsQuery) OnlyX(ctx context.Context) *WithoutFields + func (wfq *WithoutFieldsQuery) Order(o ...withoutfields.OrderOption) *WithoutFieldsQuery + func (wfq *WithoutFieldsQuery) Select(fields ...string) *WithoutFieldsSelect + func (wfq *WithoutFieldsQuery) Unique(unique bool) *WithoutFieldsQuery + func (wfq *WithoutFieldsQuery) Where(ps ...predicate.WithoutFields) *WithoutFieldsQuery + type WithoutFieldsSelect struct + func (s *WithoutFieldsSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *WithoutFieldsSelect) BoolX(ctx context.Context) bool + func (s *WithoutFieldsSelect) Bools(ctx context.Context) ([]bool, error) + func (s *WithoutFieldsSelect) BoolsX(ctx context.Context) []bool + func (s *WithoutFieldsSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *WithoutFieldsSelect) Float64X(ctx context.Context) float64 + func (s *WithoutFieldsSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *WithoutFieldsSelect) Float64sX(ctx context.Context) []float64 + func (s *WithoutFieldsSelect) Int(ctx context.Context) (_ int, err error) + func (s *WithoutFieldsSelect) IntX(ctx context.Context) int + func (s *WithoutFieldsSelect) Ints(ctx context.Context) ([]int, error) + func (s *WithoutFieldsSelect) IntsX(ctx context.Context) []int + func (s *WithoutFieldsSelect) ScanX(ctx context.Context, v any) + func (s *WithoutFieldsSelect) String(ctx context.Context) (_ string, err error) + func (s *WithoutFieldsSelect) StringX(ctx context.Context) string + func (s *WithoutFieldsSelect) Strings(ctx context.Context) ([]string, error) + func (s *WithoutFieldsSelect) StringsX(ctx context.Context) []string + func (wfs *WithoutFieldsSelect) Aggregate(fns ...AggregateFunc) *WithoutFieldsSelect + func (wfs *WithoutFieldsSelect) Scan(ctx context.Context, v any) error + type WithoutFieldsSlice []*WithoutFields + type WithoutFieldsUpdate struct + func (wfu *WithoutFieldsUpdate) Exec(ctx context.Context) error + func (wfu *WithoutFieldsUpdate) ExecX(ctx context.Context) + func (wfu *WithoutFieldsUpdate) Mutation() *WithoutFieldsMutation + func (wfu *WithoutFieldsUpdate) Save(ctx context.Context) (int, error) + func (wfu *WithoutFieldsUpdate) SaveX(ctx context.Context) int + func (wfu *WithoutFieldsUpdate) Where(ps ...predicate.WithoutFields) *WithoutFieldsUpdate + type WithoutFieldsUpdateOne struct + func (wfuo *WithoutFieldsUpdateOne) Exec(ctx context.Context) error + func (wfuo *WithoutFieldsUpdateOne) ExecX(ctx context.Context) + func (wfuo *WithoutFieldsUpdateOne) Mutation() *WithoutFieldsMutation + func (wfuo *WithoutFieldsUpdateOne) Save(ctx context.Context) (*WithoutFields, error) + func (wfuo *WithoutFieldsUpdateOne) SaveX(ctx context.Context) *WithoutFields + func (wfuo *WithoutFieldsUpdateOne) Select(field string, fields ...string) *WithoutFieldsUpdateOne + func (wfuo *WithoutFieldsUpdateOne) Where(ps ...predicate.WithoutFields) *WithoutFieldsUpdateOne