Versions in this module Expand all Collapse all v1 v1.0.1 Apr 12, 2022 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeCar + const TypeConversion + const TypeCustomType + const TypeGroup + const TypeMedia + const TypePet + const TypeUser + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type Car struct + Edges CarEdges + ID int + Name string + func (c *Car) QueryOwner() *UserQuery + func (c *Car) String() string + func (c *Car) Unwrap() *Car + func (c *Car) Update() *CarUpdateOne + type CarClient struct + func NewCarClient(c config) *CarClient + func (c *CarClient) Create() *CarCreate + func (c *CarClient) CreateBulk(builders ...*CarCreate) *CarCreateBulk + func (c *CarClient) Delete() *CarDelete + func (c *CarClient) DeleteOne(ca *Car) *CarDeleteOne + func (c *CarClient) DeleteOneID(id int) *CarDeleteOne + func (c *CarClient) Get(ctx context.Context, id int) (*Car, error) + func (c *CarClient) GetX(ctx context.Context, id int) *Car + func (c *CarClient) Hooks() []Hook + func (c *CarClient) Query() *CarQuery + func (c *CarClient) QueryOwner(ca *Car) *UserQuery + func (c *CarClient) Update() *CarUpdate + func (c *CarClient) UpdateOne(ca *Car) *CarUpdateOne + func (c *CarClient) UpdateOneID(id int) *CarUpdateOne + func (c *CarClient) Use(hooks ...Hook) + type CarCreate struct + func (cc *CarCreate) Exec(ctx context.Context) error + func (cc *CarCreate) ExecX(ctx context.Context) + func (cc *CarCreate) Mutation() *CarMutation + func (cc *CarCreate) Save(ctx context.Context) (*Car, error) + func (cc *CarCreate) SaveX(ctx context.Context) *Car + func (cc *CarCreate) SetName(s string) *CarCreate + func (cc *CarCreate) SetNillableName(s *string) *CarCreate + func (cc *CarCreate) SetOwner(u *User) *CarCreate + func (cc *CarCreate) SetOwnerID(id int) *CarCreate + type CarCreateBulk struct + func (ccb *CarCreateBulk) Exec(ctx context.Context) error + func (ccb *CarCreateBulk) ExecX(ctx context.Context) + func (ccb *CarCreateBulk) Save(ctx context.Context) ([]*Car, error) + func (ccb *CarCreateBulk) SaveX(ctx context.Context) []*Car + type CarDelete struct + func (cd *CarDelete) Exec(ctx context.Context) (int, error) + func (cd *CarDelete) ExecX(ctx context.Context) int + func (cd *CarDelete) Where(ps ...predicate.Car) *CarDelete + type CarDeleteOne struct + func (cdo *CarDeleteOne) Exec(ctx context.Context) error + func (cdo *CarDeleteOne) ExecX(ctx context.Context) + type CarEdges struct + Owner *User + func (e CarEdges) OwnerOrErr() (*User, error) + type CarGroupBy struct + func (cgb *CarGroupBy) Aggregate(fns ...AggregateFunc) *CarGroupBy + func (cgb *CarGroupBy) Scan(ctx context.Context, v interface{}) error + func (s *CarGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *CarGroupBy) BoolX(ctx context.Context) bool + func (s *CarGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *CarGroupBy) BoolsX(ctx context.Context) []bool + func (s *CarGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *CarGroupBy) Float64X(ctx context.Context) float64 + func (s *CarGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *CarGroupBy) Float64sX(ctx context.Context) []float64 + func (s *CarGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *CarGroupBy) IntX(ctx context.Context) int + func (s *CarGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *CarGroupBy) IntsX(ctx context.Context) []int + func (s *CarGroupBy) ScanX(ctx context.Context, v interface{}) + func (s *CarGroupBy) String(ctx context.Context) (_ string, err error) + func (s *CarGroupBy) StringX(ctx context.Context) string + func (s *CarGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *CarGroupBy) StringsX(ctx context.Context) []string + type CarMutation struct + func (m *CarMutation) AddField(name string, value ent.Value) error + func (m *CarMutation) AddedEdges() []string + func (m *CarMutation) AddedField(name string) (ent.Value, bool) + func (m *CarMutation) AddedFields() []string + func (m *CarMutation) AddedIDs(name string) []ent.Value + func (m *CarMutation) ClearEdge(name string) error + func (m *CarMutation) ClearField(name string) error + func (m *CarMutation) ClearName() + func (m *CarMutation) ClearOwner() + func (m *CarMutation) ClearedEdges() []string + func (m *CarMutation) ClearedFields() []string + func (m *CarMutation) EdgeCleared(name string) bool + func (m *CarMutation) Field(name string) (ent.Value, bool) + func (m *CarMutation) FieldCleared(name string) bool + func (m *CarMutation) Fields() []string + func (m *CarMutation) ID() (id int, exists bool) + func (m *CarMutation) IDs(ctx context.Context) ([]int, error) + func (m *CarMutation) Name() (r string, exists bool) + func (m *CarMutation) NameCleared() bool + func (m *CarMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CarMutation) OldName(ctx context.Context) (v string, err error) + func (m *CarMutation) Op() Op + func (m *CarMutation) OwnerCleared() bool + func (m *CarMutation) OwnerID() (id int, exists bool) + func (m *CarMutation) OwnerIDs() (ids []int) + func (m *CarMutation) RemovedEdges() []string + func (m *CarMutation) RemovedIDs(name string) []ent.Value + func (m *CarMutation) ResetEdge(name string) error + func (m *CarMutation) ResetField(name string) error + func (m *CarMutation) ResetName() + func (m *CarMutation) ResetOwner() + func (m *CarMutation) SetField(name string, value ent.Value) error + func (m *CarMutation) SetName(s string) + func (m *CarMutation) SetOwnerID(id int) + func (m *CarMutation) Type() string + func (m *CarMutation) Where(ps ...predicate.Car) + func (m CarMutation) Client() *Client + func (m CarMutation) Tx() (*Tx, error) + type CarQuery struct + func (cq *CarQuery) All(ctx context.Context) ([]*Car, error) + func (cq *CarQuery) AllX(ctx context.Context) []*Car + func (cq *CarQuery) Clone() *CarQuery + func (cq *CarQuery) Count(ctx context.Context) (int, error) + func (cq *CarQuery) CountX(ctx context.Context) int + func (cq *CarQuery) Exist(ctx context.Context) (bool, error) + func (cq *CarQuery) ExistX(ctx context.Context) bool + func (cq *CarQuery) First(ctx context.Context) (*Car, error) + func (cq *CarQuery) FirstID(ctx context.Context) (id int, err error) + func (cq *CarQuery) FirstIDX(ctx context.Context) int + func (cq *CarQuery) FirstX(ctx context.Context) *Car + func (cq *CarQuery) GroupBy(field string, fields ...string) *CarGroupBy + func (cq *CarQuery) IDs(ctx context.Context) ([]int, error) + func (cq *CarQuery) IDsX(ctx context.Context) []int + func (cq *CarQuery) Limit(limit int) *CarQuery + func (cq *CarQuery) Offset(offset int) *CarQuery + func (cq *CarQuery) Only(ctx context.Context) (*Car, error) + func (cq *CarQuery) OnlyID(ctx context.Context) (id int, err error) + func (cq *CarQuery) OnlyIDX(ctx context.Context) int + func (cq *CarQuery) OnlyX(ctx context.Context) *Car + func (cq *CarQuery) Order(o ...OrderFunc) *CarQuery + func (cq *CarQuery) QueryOwner() *UserQuery + func (cq *CarQuery) Select(fields ...string) *CarSelect + func (cq *CarQuery) Unique(unique bool) *CarQuery + func (cq *CarQuery) Where(ps ...predicate.Car) *CarQuery + func (cq *CarQuery) WithOwner(opts ...func(*UserQuery)) *CarQuery + type CarSelect struct + func (cs *CarSelect) Scan(ctx context.Context, v interface{}) error + func (s *CarSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *CarSelect) BoolX(ctx context.Context) bool + func (s *CarSelect) Bools(ctx context.Context) ([]bool, error) + func (s *CarSelect) BoolsX(ctx context.Context) []bool + func (s *CarSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *CarSelect) Float64X(ctx context.Context) float64 + func (s *CarSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *CarSelect) Float64sX(ctx context.Context) []float64 + func (s *CarSelect) Int(ctx context.Context) (_ int, err error) + func (s *CarSelect) IntX(ctx context.Context) int + func (s *CarSelect) Ints(ctx context.Context) ([]int, error) + func (s *CarSelect) IntsX(ctx context.Context) []int + func (s *CarSelect) ScanX(ctx context.Context, v interface{}) + func (s *CarSelect) String(ctx context.Context) (_ string, err error) + func (s *CarSelect) StringX(ctx context.Context) string + func (s *CarSelect) Strings(ctx context.Context) ([]string, error) + func (s *CarSelect) StringsX(ctx context.Context) []string + type CarUpdate struct + func (cu *CarUpdate) ClearName() *CarUpdate + func (cu *CarUpdate) ClearOwner() *CarUpdate + func (cu *CarUpdate) Exec(ctx context.Context) error + func (cu *CarUpdate) ExecX(ctx context.Context) + func (cu *CarUpdate) Mutation() *CarMutation + func (cu *CarUpdate) Save(ctx context.Context) (int, error) + func (cu *CarUpdate) SaveX(ctx context.Context) int + func (cu *CarUpdate) SetName(s string) *CarUpdate + func (cu *CarUpdate) SetNillableName(s *string) *CarUpdate + func (cu *CarUpdate) SetOwner(u *User) *CarUpdate + func (cu *CarUpdate) SetOwnerID(id int) *CarUpdate + func (cu *CarUpdate) Where(ps ...predicate.Car) *CarUpdate + type CarUpdateOne struct + func (cuo *CarUpdateOne) ClearName() *CarUpdateOne + func (cuo *CarUpdateOne) ClearOwner() *CarUpdateOne + func (cuo *CarUpdateOne) Exec(ctx context.Context) error + func (cuo *CarUpdateOne) ExecX(ctx context.Context) + func (cuo *CarUpdateOne) Mutation() *CarMutation + func (cuo *CarUpdateOne) Save(ctx context.Context) (*Car, error) + func (cuo *CarUpdateOne) SaveX(ctx context.Context) *Car + func (cuo *CarUpdateOne) Select(field string, fields ...string) *CarUpdateOne + func (cuo *CarUpdateOne) SetName(s string) *CarUpdateOne + func (cuo *CarUpdateOne) SetNillableName(s *string) *CarUpdateOne + func (cuo *CarUpdateOne) SetOwner(u *User) *CarUpdateOne + func (cuo *CarUpdateOne) SetOwnerID(id int) *CarUpdateOne + type Cars []*Car + type Client struct + Car *CarClient + Conversion *ConversionClient + CustomType *CustomTypeClient + Group *GroupClient + Media *MediaClient + Pet *PetClient + Schema *migrate.Schema + User *UserClient + func FromContext(ctx context.Context) *Client + func NewClient(opts ...Option) *Client + func Open(driverName, dataSourceName string, options ...Option) (*Client, error) + func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error) + func (c *Client) Close() error + func (c *Client) Debug() *Client + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type Conversion struct + ID int + Int16ToString string + Int32ToString string + Int64ToString string + Int8ToString string + Name string + Uint16ToString string + Uint32ToString string + Uint64ToString string + Uint8ToString string + func (c *Conversion) String() string + func (c *Conversion) Unwrap() *Conversion + func (c *Conversion) Update() *ConversionUpdateOne + type ConversionClient struct + func NewConversionClient(c config) *ConversionClient + func (c *ConversionClient) Create() *ConversionCreate + func (c *ConversionClient) CreateBulk(builders ...*ConversionCreate) *ConversionCreateBulk + func (c *ConversionClient) Delete() *ConversionDelete + func (c *ConversionClient) DeleteOne(co *Conversion) *ConversionDeleteOne + func (c *ConversionClient) DeleteOneID(id int) *ConversionDeleteOne + func (c *ConversionClient) Get(ctx context.Context, id int) (*Conversion, error) + func (c *ConversionClient) GetX(ctx context.Context, id int) *Conversion + func (c *ConversionClient) Hooks() []Hook + func (c *ConversionClient) Query() *ConversionQuery + func (c *ConversionClient) Update() *ConversionUpdate + func (c *ConversionClient) UpdateOne(co *Conversion) *ConversionUpdateOne + func (c *ConversionClient) UpdateOneID(id int) *ConversionUpdateOne + func (c *ConversionClient) Use(hooks ...Hook) + type ConversionCreate struct + func (cc *ConversionCreate) Exec(ctx context.Context) error + func (cc *ConversionCreate) ExecX(ctx context.Context) + func (cc *ConversionCreate) Mutation() *ConversionMutation + func (cc *ConversionCreate) Save(ctx context.Context) (*Conversion, error) + func (cc *ConversionCreate) SaveX(ctx context.Context) *Conversion + func (cc *ConversionCreate) SetInt16ToString(s string) *ConversionCreate + func (cc *ConversionCreate) SetInt32ToString(s string) *ConversionCreate + func (cc *ConversionCreate) SetInt64ToString(s string) *ConversionCreate + func (cc *ConversionCreate) SetInt8ToString(s string) *ConversionCreate + func (cc *ConversionCreate) SetName(s string) *ConversionCreate + func (cc *ConversionCreate) SetNillableInt16ToString(s *string) *ConversionCreate + func (cc *ConversionCreate) SetNillableInt32ToString(s *string) *ConversionCreate + func (cc *ConversionCreate) SetNillableInt64ToString(s *string) *ConversionCreate + func (cc *ConversionCreate) SetNillableInt8ToString(s *string) *ConversionCreate + func (cc *ConversionCreate) SetNillableName(s *string) *ConversionCreate + func (cc *ConversionCreate) SetNillableUint16ToString(s *string) *ConversionCreate + func (cc *ConversionCreate) SetNillableUint32ToString(s *string) *ConversionCreate + func (cc *ConversionCreate) SetNillableUint64ToString(s *string) *ConversionCreate + func (cc *ConversionCreate) SetNillableUint8ToString(s *string) *ConversionCreate + func (cc *ConversionCreate) SetUint16ToString(s string) *ConversionCreate + func (cc *ConversionCreate) SetUint32ToString(s string) *ConversionCreate + func (cc *ConversionCreate) SetUint64ToString(s string) *ConversionCreate + func (cc *ConversionCreate) SetUint8ToString(s string) *ConversionCreate + type ConversionCreateBulk struct + func (ccb *ConversionCreateBulk) Exec(ctx context.Context) error + func (ccb *ConversionCreateBulk) ExecX(ctx context.Context) + func (ccb *ConversionCreateBulk) Save(ctx context.Context) ([]*Conversion, error) + func (ccb *ConversionCreateBulk) SaveX(ctx context.Context) []*Conversion + type ConversionDelete struct + func (cd *ConversionDelete) Exec(ctx context.Context) (int, error) + func (cd *ConversionDelete) ExecX(ctx context.Context) int + func (cd *ConversionDelete) Where(ps ...predicate.Conversion) *ConversionDelete + type ConversionDeleteOne struct + func (cdo *ConversionDeleteOne) Exec(ctx context.Context) error + func (cdo *ConversionDeleteOne) ExecX(ctx context.Context) + type ConversionGroupBy struct + func (cgb *ConversionGroupBy) Aggregate(fns ...AggregateFunc) *ConversionGroupBy + func (cgb *ConversionGroupBy) Scan(ctx context.Context, v interface{}) error + func (s *ConversionGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *ConversionGroupBy) BoolX(ctx context.Context) bool + func (s *ConversionGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *ConversionGroupBy) BoolsX(ctx context.Context) []bool + func (s *ConversionGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *ConversionGroupBy) Float64X(ctx context.Context) float64 + func (s *ConversionGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *ConversionGroupBy) Float64sX(ctx context.Context) []float64 + func (s *ConversionGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *ConversionGroupBy) IntX(ctx context.Context) int + func (s *ConversionGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *ConversionGroupBy) IntsX(ctx context.Context) []int + func (s *ConversionGroupBy) ScanX(ctx context.Context, v interface{}) + func (s *ConversionGroupBy) String(ctx context.Context) (_ string, err error) + func (s *ConversionGroupBy) StringX(ctx context.Context) string + func (s *ConversionGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *ConversionGroupBy) StringsX(ctx context.Context) []string + type ConversionMutation struct + func (m *ConversionMutation) AddField(name string, value ent.Value) error + func (m *ConversionMutation) AddedEdges() []string + func (m *ConversionMutation) AddedField(name string) (ent.Value, bool) + func (m *ConversionMutation) AddedFields() []string + func (m *ConversionMutation) AddedIDs(name string) []ent.Value + func (m *ConversionMutation) ClearEdge(name string) error + func (m *ConversionMutation) ClearField(name string) error + func (m *ConversionMutation) ClearInt16ToString() + func (m *ConversionMutation) ClearInt32ToString() + func (m *ConversionMutation) ClearInt64ToString() + func (m *ConversionMutation) ClearInt8ToString() + func (m *ConversionMutation) ClearName() + func (m *ConversionMutation) ClearUint16ToString() + func (m *ConversionMutation) ClearUint32ToString() + func (m *ConversionMutation) ClearUint64ToString() + func (m *ConversionMutation) ClearUint8ToString() + func (m *ConversionMutation) ClearedEdges() []string + func (m *ConversionMutation) ClearedFields() []string + func (m *ConversionMutation) EdgeCleared(name string) bool + func (m *ConversionMutation) Field(name string) (ent.Value, bool) + func (m *ConversionMutation) FieldCleared(name string) bool + func (m *ConversionMutation) Fields() []string + func (m *ConversionMutation) ID() (id int, exists bool) + func (m *ConversionMutation) IDs(ctx context.Context) ([]int, error) + func (m *ConversionMutation) Int16ToString() (r string, exists bool) + func (m *ConversionMutation) Int16ToStringCleared() bool + func (m *ConversionMutation) Int32ToString() (r string, exists bool) + func (m *ConversionMutation) Int32ToStringCleared() bool + func (m *ConversionMutation) Int64ToString() (r string, exists bool) + func (m *ConversionMutation) Int64ToStringCleared() bool + func (m *ConversionMutation) Int8ToString() (r string, exists bool) + func (m *ConversionMutation) Int8ToStringCleared() bool + func (m *ConversionMutation) Name() (r string, exists bool) + func (m *ConversionMutation) NameCleared() bool + func (m *ConversionMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ConversionMutation) OldInt16ToString(ctx context.Context) (v string, err error) + func (m *ConversionMutation) OldInt32ToString(ctx context.Context) (v string, err error) + func (m *ConversionMutation) OldInt64ToString(ctx context.Context) (v string, err error) + func (m *ConversionMutation) OldInt8ToString(ctx context.Context) (v string, err error) + func (m *ConversionMutation) OldName(ctx context.Context) (v string, err error) + func (m *ConversionMutation) OldUint16ToString(ctx context.Context) (v string, err error) + func (m *ConversionMutation) OldUint32ToString(ctx context.Context) (v string, err error) + func (m *ConversionMutation) OldUint64ToString(ctx context.Context) (v string, err error) + func (m *ConversionMutation) OldUint8ToString(ctx context.Context) (v string, err error) + func (m *ConversionMutation) Op() Op + func (m *ConversionMutation) RemovedEdges() []string + func (m *ConversionMutation) RemovedIDs(name string) []ent.Value + func (m *ConversionMutation) ResetEdge(name string) error + func (m *ConversionMutation) ResetField(name string) error + func (m *ConversionMutation) ResetInt16ToString() + func (m *ConversionMutation) ResetInt32ToString() + func (m *ConversionMutation) ResetInt64ToString() + func (m *ConversionMutation) ResetInt8ToString() + func (m *ConversionMutation) ResetName() + func (m *ConversionMutation) ResetUint16ToString() + func (m *ConversionMutation) ResetUint32ToString() + func (m *ConversionMutation) ResetUint64ToString() + func (m *ConversionMutation) ResetUint8ToString() + func (m *ConversionMutation) SetField(name string, value ent.Value) error + func (m *ConversionMutation) SetInt16ToString(s string) + func (m *ConversionMutation) SetInt32ToString(s string) + func (m *ConversionMutation) SetInt64ToString(s string) + func (m *ConversionMutation) SetInt8ToString(s string) + func (m *ConversionMutation) SetName(s string) + func (m *ConversionMutation) SetUint16ToString(s string) + func (m *ConversionMutation) SetUint32ToString(s string) + func (m *ConversionMutation) SetUint64ToString(s string) + func (m *ConversionMutation) SetUint8ToString(s string) + func (m *ConversionMutation) Type() string + func (m *ConversionMutation) Uint16ToString() (r string, exists bool) + func (m *ConversionMutation) Uint16ToStringCleared() bool + func (m *ConversionMutation) Uint32ToString() (r string, exists bool) + func (m *ConversionMutation) Uint32ToStringCleared() bool + func (m *ConversionMutation) Uint64ToString() (r string, exists bool) + func (m *ConversionMutation) Uint64ToStringCleared() bool + func (m *ConversionMutation) Uint8ToString() (r string, exists bool) + func (m *ConversionMutation) Uint8ToStringCleared() bool + func (m *ConversionMutation) Where(ps ...predicate.Conversion) + func (m ConversionMutation) Client() *Client + func (m ConversionMutation) Tx() (*Tx, error) + type ConversionQuery struct + func (cq *ConversionQuery) All(ctx context.Context) ([]*Conversion, error) + func (cq *ConversionQuery) AllX(ctx context.Context) []*Conversion + func (cq *ConversionQuery) Clone() *ConversionQuery + func (cq *ConversionQuery) Count(ctx context.Context) (int, error) + func (cq *ConversionQuery) CountX(ctx context.Context) int + func (cq *ConversionQuery) Exist(ctx context.Context) (bool, error) + func (cq *ConversionQuery) ExistX(ctx context.Context) bool + func (cq *ConversionQuery) First(ctx context.Context) (*Conversion, error) + func (cq *ConversionQuery) FirstID(ctx context.Context) (id int, err error) + func (cq *ConversionQuery) FirstIDX(ctx context.Context) int + func (cq *ConversionQuery) FirstX(ctx context.Context) *Conversion + func (cq *ConversionQuery) GroupBy(field string, fields ...string) *ConversionGroupBy + func (cq *ConversionQuery) IDs(ctx context.Context) ([]int, error) + func (cq *ConversionQuery) IDsX(ctx context.Context) []int + func (cq *ConversionQuery) Limit(limit int) *ConversionQuery + func (cq *ConversionQuery) Offset(offset int) *ConversionQuery + func (cq *ConversionQuery) Only(ctx context.Context) (*Conversion, error) + func (cq *ConversionQuery) OnlyID(ctx context.Context) (id int, err error) + func (cq *ConversionQuery) OnlyIDX(ctx context.Context) int + func (cq *ConversionQuery) OnlyX(ctx context.Context) *Conversion + func (cq *ConversionQuery) Order(o ...OrderFunc) *ConversionQuery + func (cq *ConversionQuery) Select(fields ...string) *ConversionSelect + func (cq *ConversionQuery) Unique(unique bool) *ConversionQuery + func (cq *ConversionQuery) Where(ps ...predicate.Conversion) *ConversionQuery + type ConversionSelect struct + func (cs *ConversionSelect) Scan(ctx context.Context, v interface{}) error + func (s *ConversionSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *ConversionSelect) BoolX(ctx context.Context) bool + func (s *ConversionSelect) Bools(ctx context.Context) ([]bool, error) + func (s *ConversionSelect) BoolsX(ctx context.Context) []bool + func (s *ConversionSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *ConversionSelect) Float64X(ctx context.Context) float64 + func (s *ConversionSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *ConversionSelect) Float64sX(ctx context.Context) []float64 + func (s *ConversionSelect) Int(ctx context.Context) (_ int, err error) + func (s *ConversionSelect) IntX(ctx context.Context) int + func (s *ConversionSelect) Ints(ctx context.Context) ([]int, error) + func (s *ConversionSelect) IntsX(ctx context.Context) []int + func (s *ConversionSelect) ScanX(ctx context.Context, v interface{}) + func (s *ConversionSelect) String(ctx context.Context) (_ string, err error) + func (s *ConversionSelect) StringX(ctx context.Context) string + func (s *ConversionSelect) Strings(ctx context.Context) ([]string, error) + func (s *ConversionSelect) StringsX(ctx context.Context) []string + type ConversionUpdate struct + func (cu *ConversionUpdate) ClearInt16ToString() *ConversionUpdate + func (cu *ConversionUpdate) ClearInt32ToString() *ConversionUpdate + func (cu *ConversionUpdate) ClearInt64ToString() *ConversionUpdate + func (cu *ConversionUpdate) ClearInt8ToString() *ConversionUpdate + func (cu *ConversionUpdate) ClearName() *ConversionUpdate + func (cu *ConversionUpdate) ClearUint16ToString() *ConversionUpdate + func (cu *ConversionUpdate) ClearUint32ToString() *ConversionUpdate + func (cu *ConversionUpdate) ClearUint64ToString() *ConversionUpdate + func (cu *ConversionUpdate) ClearUint8ToString() *ConversionUpdate + func (cu *ConversionUpdate) Exec(ctx context.Context) error + func (cu *ConversionUpdate) ExecX(ctx context.Context) + func (cu *ConversionUpdate) Mutation() *ConversionMutation + func (cu *ConversionUpdate) Save(ctx context.Context) (int, error) + func (cu *ConversionUpdate) SaveX(ctx context.Context) int + func (cu *ConversionUpdate) SetInt16ToString(s string) *ConversionUpdate + func (cu *ConversionUpdate) SetInt32ToString(s string) *ConversionUpdate + func (cu *ConversionUpdate) SetInt64ToString(s string) *ConversionUpdate + func (cu *ConversionUpdate) SetInt8ToString(s string) *ConversionUpdate + func (cu *ConversionUpdate) SetName(s string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableInt16ToString(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableInt32ToString(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableInt64ToString(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableInt8ToString(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableName(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableUint16ToString(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableUint32ToString(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableUint64ToString(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetNillableUint8ToString(s *string) *ConversionUpdate + func (cu *ConversionUpdate) SetUint16ToString(s string) *ConversionUpdate + func (cu *ConversionUpdate) SetUint32ToString(s string) *ConversionUpdate + func (cu *ConversionUpdate) SetUint64ToString(s string) *ConversionUpdate + func (cu *ConversionUpdate) SetUint8ToString(s string) *ConversionUpdate + func (cu *ConversionUpdate) Where(ps ...predicate.Conversion) *ConversionUpdate + type ConversionUpdateOne struct + func (cuo *ConversionUpdateOne) ClearInt16ToString() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) ClearInt32ToString() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) ClearInt64ToString() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) ClearInt8ToString() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) ClearName() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) ClearUint16ToString() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) ClearUint32ToString() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) ClearUint64ToString() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) ClearUint8ToString() *ConversionUpdateOne + func (cuo *ConversionUpdateOne) Exec(ctx context.Context) error + func (cuo *ConversionUpdateOne) ExecX(ctx context.Context) + func (cuo *ConversionUpdateOne) Mutation() *ConversionMutation + func (cuo *ConversionUpdateOne) Save(ctx context.Context) (*Conversion, error) + func (cuo *ConversionUpdateOne) SaveX(ctx context.Context) *Conversion + func (cuo *ConversionUpdateOne) Select(field string, fields ...string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetInt16ToString(s string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetInt32ToString(s string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetInt64ToString(s string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetInt8ToString(s string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetName(s string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableInt16ToString(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableInt32ToString(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableInt64ToString(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableInt8ToString(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableName(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableUint16ToString(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableUint32ToString(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableUint64ToString(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetNillableUint8ToString(s *string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetUint16ToString(s string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetUint32ToString(s string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetUint64ToString(s string) *ConversionUpdateOne + func (cuo *ConversionUpdateOne) SetUint8ToString(s string) *ConversionUpdateOne + type Conversions []*Conversion + type CustomType struct + Custom string + ID int + Tz0 time.Time + Tz3 time.Time + func (ct *CustomType) String() string + func (ct *CustomType) Unwrap() *CustomType + func (ct *CustomType) Update() *CustomTypeUpdateOne + type CustomTypeClient struct + func NewCustomTypeClient(c config) *CustomTypeClient + func (c *CustomTypeClient) Create() *CustomTypeCreate + func (c *CustomTypeClient) CreateBulk(builders ...*CustomTypeCreate) *CustomTypeCreateBulk + func (c *CustomTypeClient) Delete() *CustomTypeDelete + func (c *CustomTypeClient) DeleteOne(ct *CustomType) *CustomTypeDeleteOne + func (c *CustomTypeClient) DeleteOneID(id int) *CustomTypeDeleteOne + func (c *CustomTypeClient) Get(ctx context.Context, id int) (*CustomType, error) + func (c *CustomTypeClient) GetX(ctx context.Context, id int) *CustomType + func (c *CustomTypeClient) Hooks() []Hook + func (c *CustomTypeClient) Query() *CustomTypeQuery + func (c *CustomTypeClient) Update() *CustomTypeUpdate + func (c *CustomTypeClient) UpdateOne(ct *CustomType) *CustomTypeUpdateOne + func (c *CustomTypeClient) UpdateOneID(id int) *CustomTypeUpdateOne + func (c *CustomTypeClient) Use(hooks ...Hook) + type CustomTypeCreate struct + func (ctc *CustomTypeCreate) Exec(ctx context.Context) error + func (ctc *CustomTypeCreate) ExecX(ctx context.Context) + func (ctc *CustomTypeCreate) Mutation() *CustomTypeMutation + func (ctc *CustomTypeCreate) Save(ctx context.Context) (*CustomType, error) + func (ctc *CustomTypeCreate) SaveX(ctx context.Context) *CustomType + func (ctc *CustomTypeCreate) SetCustom(s string) *CustomTypeCreate + func (ctc *CustomTypeCreate) SetNillableCustom(s *string) *CustomTypeCreate + func (ctc *CustomTypeCreate) SetNillableTz0(t *time.Time) *CustomTypeCreate + func (ctc *CustomTypeCreate) SetNillableTz3(t *time.Time) *CustomTypeCreate + func (ctc *CustomTypeCreate) SetTz0(t time.Time) *CustomTypeCreate + func (ctc *CustomTypeCreate) SetTz3(t time.Time) *CustomTypeCreate + type CustomTypeCreateBulk struct + func (ctcb *CustomTypeCreateBulk) Exec(ctx context.Context) error + func (ctcb *CustomTypeCreateBulk) ExecX(ctx context.Context) + func (ctcb *CustomTypeCreateBulk) Save(ctx context.Context) ([]*CustomType, error) + func (ctcb *CustomTypeCreateBulk) SaveX(ctx context.Context) []*CustomType + type CustomTypeDelete struct + func (ctd *CustomTypeDelete) Exec(ctx context.Context) (int, error) + func (ctd *CustomTypeDelete) ExecX(ctx context.Context) int + func (ctd *CustomTypeDelete) Where(ps ...predicate.CustomType) *CustomTypeDelete + type CustomTypeDeleteOne struct + func (ctdo *CustomTypeDeleteOne) Exec(ctx context.Context) error + func (ctdo *CustomTypeDeleteOne) ExecX(ctx context.Context) + type CustomTypeGroupBy struct + func (ctgb *CustomTypeGroupBy) Aggregate(fns ...AggregateFunc) *CustomTypeGroupBy + func (ctgb *CustomTypeGroupBy) Scan(ctx context.Context, v interface{}) error + func (s *CustomTypeGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *CustomTypeGroupBy) BoolX(ctx context.Context) bool + func (s *CustomTypeGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *CustomTypeGroupBy) BoolsX(ctx context.Context) []bool + func (s *CustomTypeGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *CustomTypeGroupBy) Float64X(ctx context.Context) float64 + func (s *CustomTypeGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *CustomTypeGroupBy) Float64sX(ctx context.Context) []float64 + func (s *CustomTypeGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *CustomTypeGroupBy) IntX(ctx context.Context) int + func (s *CustomTypeGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *CustomTypeGroupBy) IntsX(ctx context.Context) []int + func (s *CustomTypeGroupBy) ScanX(ctx context.Context, v interface{}) + func (s *CustomTypeGroupBy) String(ctx context.Context) (_ string, err error) + func (s *CustomTypeGroupBy) StringX(ctx context.Context) string + func (s *CustomTypeGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *CustomTypeGroupBy) StringsX(ctx context.Context) []string + type CustomTypeMutation struct + func (m *CustomTypeMutation) AddField(name string, value ent.Value) error + func (m *CustomTypeMutation) AddedEdges() []string + func (m *CustomTypeMutation) AddedField(name string) (ent.Value, bool) + func (m *CustomTypeMutation) AddedFields() []string + func (m *CustomTypeMutation) AddedIDs(name string) []ent.Value + func (m *CustomTypeMutation) ClearCustom() + func (m *CustomTypeMutation) ClearEdge(name string) error + func (m *CustomTypeMutation) ClearField(name string) error + func (m *CustomTypeMutation) ClearTz0() + func (m *CustomTypeMutation) ClearTz3() + func (m *CustomTypeMutation) ClearedEdges() []string + func (m *CustomTypeMutation) ClearedFields() []string + func (m *CustomTypeMutation) Custom() (r string, exists bool) + func (m *CustomTypeMutation) CustomCleared() bool + func (m *CustomTypeMutation) EdgeCleared(name string) bool + func (m *CustomTypeMutation) Field(name string) (ent.Value, bool) + func (m *CustomTypeMutation) FieldCleared(name string) bool + func (m *CustomTypeMutation) Fields() []string + func (m *CustomTypeMutation) ID() (id int, exists bool) + func (m *CustomTypeMutation) IDs(ctx context.Context) ([]int, error) + func (m *CustomTypeMutation) OldCustom(ctx context.Context) (v string, err error) + func (m *CustomTypeMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *CustomTypeMutation) OldTz0(ctx context.Context) (v time.Time, err error) + func (m *CustomTypeMutation) OldTz3(ctx context.Context) (v time.Time, err error) + func (m *CustomTypeMutation) Op() Op + func (m *CustomTypeMutation) RemovedEdges() []string + func (m *CustomTypeMutation) RemovedIDs(name string) []ent.Value + func (m *CustomTypeMutation) ResetCustom() + func (m *CustomTypeMutation) ResetEdge(name string) error + func (m *CustomTypeMutation) ResetField(name string) error + func (m *CustomTypeMutation) ResetTz0() + func (m *CustomTypeMutation) ResetTz3() + func (m *CustomTypeMutation) SetCustom(s string) + func (m *CustomTypeMutation) SetField(name string, value ent.Value) error + func (m *CustomTypeMutation) SetTz0(t time.Time) + func (m *CustomTypeMutation) SetTz3(t time.Time) + func (m *CustomTypeMutation) Type() string + func (m *CustomTypeMutation) Tz0() (r time.Time, exists bool) + func (m *CustomTypeMutation) Tz0Cleared() bool + func (m *CustomTypeMutation) Tz3() (r time.Time, exists bool) + func (m *CustomTypeMutation) Tz3Cleared() bool + func (m *CustomTypeMutation) Where(ps ...predicate.CustomType) + func (m CustomTypeMutation) Client() *Client + func (m CustomTypeMutation) Tx() (*Tx, error) + type CustomTypeQuery struct + func (ctq *CustomTypeQuery) All(ctx context.Context) ([]*CustomType, error) + func (ctq *CustomTypeQuery) AllX(ctx context.Context) []*CustomType + func (ctq *CustomTypeQuery) Clone() *CustomTypeQuery + func (ctq *CustomTypeQuery) Count(ctx context.Context) (int, error) + func (ctq *CustomTypeQuery) CountX(ctx context.Context) int + func (ctq *CustomTypeQuery) Exist(ctx context.Context) (bool, error) + func (ctq *CustomTypeQuery) ExistX(ctx context.Context) bool + func (ctq *CustomTypeQuery) First(ctx context.Context) (*CustomType, error) + func (ctq *CustomTypeQuery) FirstID(ctx context.Context) (id int, err error) + func (ctq *CustomTypeQuery) FirstIDX(ctx context.Context) int + func (ctq *CustomTypeQuery) FirstX(ctx context.Context) *CustomType + func (ctq *CustomTypeQuery) GroupBy(field string, fields ...string) *CustomTypeGroupBy + func (ctq *CustomTypeQuery) IDs(ctx context.Context) ([]int, error) + func (ctq *CustomTypeQuery) IDsX(ctx context.Context) []int + func (ctq *CustomTypeQuery) Limit(limit int) *CustomTypeQuery + func (ctq *CustomTypeQuery) Offset(offset int) *CustomTypeQuery + func (ctq *CustomTypeQuery) Only(ctx context.Context) (*CustomType, error) + func (ctq *CustomTypeQuery) OnlyID(ctx context.Context) (id int, err error) + func (ctq *CustomTypeQuery) OnlyIDX(ctx context.Context) int + func (ctq *CustomTypeQuery) OnlyX(ctx context.Context) *CustomType + func (ctq *CustomTypeQuery) Order(o ...OrderFunc) *CustomTypeQuery + func (ctq *CustomTypeQuery) Select(fields ...string) *CustomTypeSelect + func (ctq *CustomTypeQuery) Unique(unique bool) *CustomTypeQuery + func (ctq *CustomTypeQuery) Where(ps ...predicate.CustomType) *CustomTypeQuery + type CustomTypeSelect struct + func (cts *CustomTypeSelect) Scan(ctx context.Context, v interface{}) error + func (s *CustomTypeSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *CustomTypeSelect) BoolX(ctx context.Context) bool + func (s *CustomTypeSelect) Bools(ctx context.Context) ([]bool, error) + func (s *CustomTypeSelect) BoolsX(ctx context.Context) []bool + func (s *CustomTypeSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *CustomTypeSelect) Float64X(ctx context.Context) float64 + func (s *CustomTypeSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *CustomTypeSelect) Float64sX(ctx context.Context) []float64 + func (s *CustomTypeSelect) Int(ctx context.Context) (_ int, err error) + func (s *CustomTypeSelect) IntX(ctx context.Context) int + func (s *CustomTypeSelect) Ints(ctx context.Context) ([]int, error) + func (s *CustomTypeSelect) IntsX(ctx context.Context) []int + func (s *CustomTypeSelect) ScanX(ctx context.Context, v interface{}) + func (s *CustomTypeSelect) String(ctx context.Context) (_ string, err error) + func (s *CustomTypeSelect) StringX(ctx context.Context) string + func (s *CustomTypeSelect) Strings(ctx context.Context) ([]string, error) + func (s *CustomTypeSelect) StringsX(ctx context.Context) []string + type CustomTypeUpdate struct + func (ctu *CustomTypeUpdate) ClearCustom() *CustomTypeUpdate + func (ctu *CustomTypeUpdate) ClearTz0() *CustomTypeUpdate + func (ctu *CustomTypeUpdate) ClearTz3() *CustomTypeUpdate + func (ctu *CustomTypeUpdate) Exec(ctx context.Context) error + func (ctu *CustomTypeUpdate) ExecX(ctx context.Context) + func (ctu *CustomTypeUpdate) Mutation() *CustomTypeMutation + func (ctu *CustomTypeUpdate) Save(ctx context.Context) (int, error) + func (ctu *CustomTypeUpdate) SaveX(ctx context.Context) int + func (ctu *CustomTypeUpdate) SetCustom(s string) *CustomTypeUpdate + func (ctu *CustomTypeUpdate) SetNillableCustom(s *string) *CustomTypeUpdate + func (ctu *CustomTypeUpdate) SetNillableTz0(t *time.Time) *CustomTypeUpdate + func (ctu *CustomTypeUpdate) SetNillableTz3(t *time.Time) *CustomTypeUpdate + func (ctu *CustomTypeUpdate) SetTz0(t time.Time) *CustomTypeUpdate + func (ctu *CustomTypeUpdate) SetTz3(t time.Time) *CustomTypeUpdate + func (ctu *CustomTypeUpdate) Where(ps ...predicate.CustomType) *CustomTypeUpdate + type CustomTypeUpdateOne struct + func (ctuo *CustomTypeUpdateOne) ClearCustom() *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) ClearTz0() *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) ClearTz3() *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) Exec(ctx context.Context) error + func (ctuo *CustomTypeUpdateOne) ExecX(ctx context.Context) + func (ctuo *CustomTypeUpdateOne) Mutation() *CustomTypeMutation + func (ctuo *CustomTypeUpdateOne) Save(ctx context.Context) (*CustomType, error) + func (ctuo *CustomTypeUpdateOne) SaveX(ctx context.Context) *CustomType + func (ctuo *CustomTypeUpdateOne) Select(field string, fields ...string) *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) SetCustom(s string) *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) SetNillableCustom(s *string) *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) SetNillableTz0(t *time.Time) *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) SetNillableTz3(t *time.Time) *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) SetTz0(t time.Time) *CustomTypeUpdateOne + func (ctuo *CustomTypeUpdateOne) SetTz3(t time.Time) *CustomTypeUpdateOne + type CustomTypes []*CustomType + type Group struct + ID int + func (gr *Group) String() string + func (gr *Group) Unwrap() *Group + func (gr *Group) Update() *GroupUpdateOne + type GroupClient struct + func NewGroupClient(c config) *GroupClient + func (c *GroupClient) Create() *GroupCreate + func (c *GroupClient) CreateBulk(builders ...*GroupCreate) *GroupCreateBulk + func (c *GroupClient) Delete() *GroupDelete + func (c *GroupClient) DeleteOne(gr *Group) *GroupDeleteOne + func (c *GroupClient) DeleteOneID(id int) *GroupDeleteOne + func (c *GroupClient) Get(ctx context.Context, id int) (*Group, error) + func (c *GroupClient) GetX(ctx context.Context, id int) *Group + func (c *GroupClient) Hooks() []Hook + func (c *GroupClient) Query() *GroupQuery + func (c *GroupClient) Update() *GroupUpdate + func (c *GroupClient) UpdateOne(gr *Group) *GroupUpdateOne + func (c *GroupClient) UpdateOneID(id int) *GroupUpdateOne + func (c *GroupClient) Use(hooks ...Hook) + type GroupCreate struct + func (gc *GroupCreate) Exec(ctx context.Context) error + func (gc *GroupCreate) ExecX(ctx context.Context) + func (gc *GroupCreate) Mutation() *GroupMutation + func (gc *GroupCreate) Save(ctx context.Context) (*Group, error) + func (gc *GroupCreate) SaveX(ctx context.Context) *Group + type GroupCreateBulk struct + func (gcb *GroupCreateBulk) Exec(ctx context.Context) error + func (gcb *GroupCreateBulk) ExecX(ctx context.Context) + func (gcb *GroupCreateBulk) Save(ctx context.Context) ([]*Group, error) + func (gcb *GroupCreateBulk) SaveX(ctx context.Context) []*Group + type GroupDelete struct + func (gd *GroupDelete) Exec(ctx context.Context) (int, error) + func (gd *GroupDelete) ExecX(ctx context.Context) int + func (gd *GroupDelete) Where(ps ...predicate.Group) *GroupDelete + type GroupDeleteOne struct + func (gdo *GroupDeleteOne) Exec(ctx context.Context) error + func (gdo *GroupDeleteOne) ExecX(ctx context.Context) + type GroupGroupBy struct + func (ggb *GroupGroupBy) Aggregate(fns ...AggregateFunc) *GroupGroupBy + func (ggb *GroupGroupBy) Scan(ctx context.Context, v interface{}) error + func (s *GroupGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *GroupGroupBy) BoolX(ctx context.Context) bool + func (s *GroupGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *GroupGroupBy) BoolsX(ctx context.Context) []bool + func (s *GroupGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *GroupGroupBy) Float64X(ctx context.Context) float64 + func (s *GroupGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *GroupGroupBy) Float64sX(ctx context.Context) []float64 + func (s *GroupGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *GroupGroupBy) IntX(ctx context.Context) int + func (s *GroupGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *GroupGroupBy) IntsX(ctx context.Context) []int + func (s *GroupGroupBy) ScanX(ctx context.Context, v interface{}) + func (s *GroupGroupBy) String(ctx context.Context) (_ string, err error) + func (s *GroupGroupBy) StringX(ctx context.Context) string + func (s *GroupGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *GroupGroupBy) StringsX(ctx context.Context) []string + type GroupMutation struct + func (m *GroupMutation) AddField(name string, value ent.Value) error + func (m *GroupMutation) AddedEdges() []string + func (m *GroupMutation) AddedField(name string) (ent.Value, bool) + func (m *GroupMutation) AddedFields() []string + func (m *GroupMutation) AddedIDs(name string) []ent.Value + func (m *GroupMutation) ClearEdge(name string) error + func (m *GroupMutation) ClearField(name string) error + func (m *GroupMutation) ClearedEdges() []string + func (m *GroupMutation) ClearedFields() []string + func (m *GroupMutation) EdgeCleared(name string) bool + func (m *GroupMutation) Field(name string) (ent.Value, bool) + func (m *GroupMutation) FieldCleared(name string) bool + func (m *GroupMutation) Fields() []string + func (m *GroupMutation) ID() (id int, exists bool) + func (m *GroupMutation) IDs(ctx context.Context) ([]int, error) + func (m *GroupMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *GroupMutation) Op() Op + func (m *GroupMutation) RemovedEdges() []string + func (m *GroupMutation) RemovedIDs(name string) []ent.Value + func (m *GroupMutation) ResetEdge(name string) error + func (m *GroupMutation) ResetField(name string) error + func (m *GroupMutation) SetField(name string, value ent.Value) error + func (m *GroupMutation) Type() string + func (m *GroupMutation) Where(ps ...predicate.Group) + func (m GroupMutation) Client() *Client + func (m GroupMutation) Tx() (*Tx, error) + type GroupQuery struct + func (gq *GroupQuery) All(ctx context.Context) ([]*Group, error) + func (gq *GroupQuery) AllX(ctx context.Context) []*Group + func (gq *GroupQuery) Clone() *GroupQuery + func (gq *GroupQuery) Count(ctx context.Context) (int, error) + func (gq *GroupQuery) CountX(ctx context.Context) int + func (gq *GroupQuery) Exist(ctx context.Context) (bool, error) + func (gq *GroupQuery) ExistX(ctx context.Context) bool + func (gq *GroupQuery) First(ctx context.Context) (*Group, error) + func (gq *GroupQuery) FirstID(ctx context.Context) (id int, err error) + func (gq *GroupQuery) FirstIDX(ctx context.Context) int + func (gq *GroupQuery) FirstX(ctx context.Context) *Group + func (gq *GroupQuery) GroupBy(field string, fields ...string) *GroupGroupBy + func (gq *GroupQuery) IDs(ctx context.Context) ([]int, error) + func (gq *GroupQuery) IDsX(ctx context.Context) []int + func (gq *GroupQuery) Limit(limit int) *GroupQuery + func (gq *GroupQuery) Offset(offset int) *GroupQuery + func (gq *GroupQuery) Only(ctx context.Context) (*Group, error) + func (gq *GroupQuery) OnlyID(ctx context.Context) (id int, err error) + func (gq *GroupQuery) OnlyIDX(ctx context.Context) int + func (gq *GroupQuery) OnlyX(ctx context.Context) *Group + func (gq *GroupQuery) Order(o ...OrderFunc) *GroupQuery + func (gq *GroupQuery) Select(fields ...string) *GroupSelect + func (gq *GroupQuery) Unique(unique bool) *GroupQuery + func (gq *GroupQuery) Where(ps ...predicate.Group) *GroupQuery + type GroupSelect struct + func (gs *GroupSelect) Scan(ctx context.Context, v interface{}) error + func (s *GroupSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *GroupSelect) BoolX(ctx context.Context) bool + func (s *GroupSelect) Bools(ctx context.Context) ([]bool, error) + func (s *GroupSelect) BoolsX(ctx context.Context) []bool + func (s *GroupSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *GroupSelect) Float64X(ctx context.Context) float64 + func (s *GroupSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *GroupSelect) Float64sX(ctx context.Context) []float64 + func (s *GroupSelect) Int(ctx context.Context) (_ int, err error) + func (s *GroupSelect) IntX(ctx context.Context) int + func (s *GroupSelect) Ints(ctx context.Context) ([]int, error) + func (s *GroupSelect) IntsX(ctx context.Context) []int + func (s *GroupSelect) ScanX(ctx context.Context, v interface{}) + func (s *GroupSelect) String(ctx context.Context) (_ string, err error) + func (s *GroupSelect) StringX(ctx context.Context) string + func (s *GroupSelect) Strings(ctx context.Context) ([]string, error) + func (s *GroupSelect) StringsX(ctx context.Context) []string + type GroupUpdate struct + func (gu *GroupUpdate) Exec(ctx context.Context) error + func (gu *GroupUpdate) ExecX(ctx context.Context) + func (gu *GroupUpdate) Mutation() *GroupMutation + func (gu *GroupUpdate) Save(ctx context.Context) (int, error) + func (gu *GroupUpdate) SaveX(ctx context.Context) int + func (gu *GroupUpdate) Where(ps ...predicate.Group) *GroupUpdate + type GroupUpdateOne struct + func (guo *GroupUpdateOne) Exec(ctx context.Context) error + func (guo *GroupUpdateOne) ExecX(ctx context.Context) + func (guo *GroupUpdateOne) Mutation() *GroupMutation + func (guo *GroupUpdateOne) Save(ctx context.Context) (*Group, error) + func (guo *GroupUpdateOne) SaveX(ctx context.Context) *Group + func (guo *GroupUpdateOne) Select(field string, fields ...string) *GroupUpdateOne + type Groups []*Group + type Hook = ent.Hook + type Media struct + ID int + Source string + SourceURI string + Text string + func (m *Media) String() string + func (m *Media) Unwrap() *Media + func (m *Media) Update() *MediaUpdateOne + type MediaClient struct + func NewMediaClient(c config) *MediaClient + func (c *MediaClient) Create() *MediaCreate + func (c *MediaClient) CreateBulk(builders ...*MediaCreate) *MediaCreateBulk + func (c *MediaClient) Delete() *MediaDelete + func (c *MediaClient) DeleteOne(m *Media) *MediaDeleteOne + func (c *MediaClient) DeleteOneID(id int) *MediaDeleteOne + func (c *MediaClient) Get(ctx context.Context, id int) (*Media, error) + func (c *MediaClient) GetX(ctx context.Context, id int) *Media + func (c *MediaClient) Hooks() []Hook + func (c *MediaClient) Query() *MediaQuery + func (c *MediaClient) Update() *MediaUpdate + func (c *MediaClient) UpdateOne(m *Media) *MediaUpdateOne + func (c *MediaClient) UpdateOneID(id int) *MediaUpdateOne + func (c *MediaClient) Use(hooks ...Hook) + type MediaCreate struct + func (mc *MediaCreate) Exec(ctx context.Context) error + func (mc *MediaCreate) ExecX(ctx context.Context) + func (mc *MediaCreate) Mutation() *MediaMutation + func (mc *MediaCreate) Save(ctx context.Context) (*Media, error) + func (mc *MediaCreate) SaveX(ctx context.Context) *Media + func (mc *MediaCreate) SetNillableSource(s *string) *MediaCreate + func (mc *MediaCreate) SetNillableSourceURI(s *string) *MediaCreate + func (mc *MediaCreate) SetNillableText(s *string) *MediaCreate + func (mc *MediaCreate) SetSource(s string) *MediaCreate + func (mc *MediaCreate) SetSourceURI(s string) *MediaCreate + func (mc *MediaCreate) SetText(s string) *MediaCreate + type MediaCreateBulk struct + func (mcb *MediaCreateBulk) Exec(ctx context.Context) error + func (mcb *MediaCreateBulk) ExecX(ctx context.Context) + func (mcb *MediaCreateBulk) Save(ctx context.Context) ([]*Media, error) + func (mcb *MediaCreateBulk) SaveX(ctx context.Context) []*Media + type MediaDelete struct + func (md *MediaDelete) Exec(ctx context.Context) (int, error) + func (md *MediaDelete) ExecX(ctx context.Context) int + func (md *MediaDelete) Where(ps ...predicate.Media) *MediaDelete + type MediaDeleteOne struct + func (mdo *MediaDeleteOne) Exec(ctx context.Context) error + func (mdo *MediaDeleteOne) ExecX(ctx context.Context) + type MediaGroupBy struct + func (mgb *MediaGroupBy) Aggregate(fns ...AggregateFunc) *MediaGroupBy + func (mgb *MediaGroupBy) Scan(ctx context.Context, v interface{}) error + func (s *MediaGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *MediaGroupBy) BoolX(ctx context.Context) bool + func (s *MediaGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *MediaGroupBy) BoolsX(ctx context.Context) []bool + func (s *MediaGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *MediaGroupBy) Float64X(ctx context.Context) float64 + func (s *MediaGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *MediaGroupBy) Float64sX(ctx context.Context) []float64 + func (s *MediaGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *MediaGroupBy) IntX(ctx context.Context) int + func (s *MediaGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *MediaGroupBy) IntsX(ctx context.Context) []int + func (s *MediaGroupBy) ScanX(ctx context.Context, v interface{}) + func (s *MediaGroupBy) String(ctx context.Context) (_ string, err error) + func (s *MediaGroupBy) StringX(ctx context.Context) string + func (s *MediaGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *MediaGroupBy) StringsX(ctx context.Context) []string + type MediaMutation struct + func (m *MediaMutation) AddField(name string, value ent.Value) error + func (m *MediaMutation) AddedEdges() []string + func (m *MediaMutation) AddedField(name string) (ent.Value, bool) + func (m *MediaMutation) AddedFields() []string + func (m *MediaMutation) AddedIDs(name string) []ent.Value + func (m *MediaMutation) ClearEdge(name string) error + func (m *MediaMutation) ClearField(name string) error + func (m *MediaMutation) ClearSource() + func (m *MediaMutation) ClearSourceURI() + func (m *MediaMutation) ClearText() + func (m *MediaMutation) ClearedEdges() []string + func (m *MediaMutation) ClearedFields() []string + func (m *MediaMutation) EdgeCleared(name string) bool + func (m *MediaMutation) Field(name string) (ent.Value, bool) + func (m *MediaMutation) FieldCleared(name string) bool + func (m *MediaMutation) Fields() []string + func (m *MediaMutation) ID() (id int, exists bool) + func (m *MediaMutation) IDs(ctx context.Context) ([]int, error) + func (m *MediaMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MediaMutation) OldSource(ctx context.Context) (v string, err error) + func (m *MediaMutation) OldSourceURI(ctx context.Context) (v string, err error) + func (m *MediaMutation) OldText(ctx context.Context) (v string, err error) + func (m *MediaMutation) Op() Op + func (m *MediaMutation) RemovedEdges() []string + func (m *MediaMutation) RemovedIDs(name string) []ent.Value + func (m *MediaMutation) ResetEdge(name string) error + func (m *MediaMutation) ResetField(name string) error + func (m *MediaMutation) ResetSource() + func (m *MediaMutation) ResetSourceURI() + func (m *MediaMutation) ResetText() + func (m *MediaMutation) SetField(name string, value ent.Value) error + func (m *MediaMutation) SetSource(s string) + func (m *MediaMutation) SetSourceURI(s string) + func (m *MediaMutation) SetText(s string) + func (m *MediaMutation) Source() (r string, exists bool) + func (m *MediaMutation) SourceCleared() bool + func (m *MediaMutation) SourceURI() (r string, exists bool) + func (m *MediaMutation) SourceURICleared() bool + func (m *MediaMutation) Text() (r string, exists bool) + func (m *MediaMutation) TextCleared() bool + func (m *MediaMutation) Type() string + func (m *MediaMutation) Where(ps ...predicate.Media) + func (m MediaMutation) Client() *Client + func (m MediaMutation) Tx() (*Tx, error) + type MediaQuery struct + func (mq *MediaQuery) All(ctx context.Context) ([]*Media, error) + func (mq *MediaQuery) AllX(ctx context.Context) []*Media + func (mq *MediaQuery) Clone() *MediaQuery + func (mq *MediaQuery) Count(ctx context.Context) (int, error) + func (mq *MediaQuery) CountX(ctx context.Context) int + func (mq *MediaQuery) Exist(ctx context.Context) (bool, error) + func (mq *MediaQuery) ExistX(ctx context.Context) bool + func (mq *MediaQuery) First(ctx context.Context) (*Media, error) + func (mq *MediaQuery) FirstID(ctx context.Context) (id int, err error) + func (mq *MediaQuery) FirstIDX(ctx context.Context) int + func (mq *MediaQuery) FirstX(ctx context.Context) *Media + func (mq *MediaQuery) GroupBy(field string, fields ...string) *MediaGroupBy + func (mq *MediaQuery) IDs(ctx context.Context) ([]int, error) + func (mq *MediaQuery) IDsX(ctx context.Context) []int + func (mq *MediaQuery) Limit(limit int) *MediaQuery + func (mq *MediaQuery) Offset(offset int) *MediaQuery + func (mq *MediaQuery) Only(ctx context.Context) (*Media, error) + func (mq *MediaQuery) OnlyID(ctx context.Context) (id int, err error) + func (mq *MediaQuery) OnlyIDX(ctx context.Context) int + func (mq *MediaQuery) OnlyX(ctx context.Context) *Media + func (mq *MediaQuery) Order(o ...OrderFunc) *MediaQuery + func (mq *MediaQuery) Select(fields ...string) *MediaSelect + func (mq *MediaQuery) Unique(unique bool) *MediaQuery + func (mq *MediaQuery) Where(ps ...predicate.Media) *MediaQuery + type MediaSelect struct + func (ms *MediaSelect) Scan(ctx context.Context, v interface{}) error + func (s *MediaSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *MediaSelect) BoolX(ctx context.Context) bool + func (s *MediaSelect) Bools(ctx context.Context) ([]bool, error) + func (s *MediaSelect) BoolsX(ctx context.Context) []bool + func (s *MediaSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *MediaSelect) Float64X(ctx context.Context) float64 + func (s *MediaSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *MediaSelect) Float64sX(ctx context.Context) []float64 + func (s *MediaSelect) Int(ctx context.Context) (_ int, err error) + func (s *MediaSelect) IntX(ctx context.Context) int + func (s *MediaSelect) Ints(ctx context.Context) ([]int, error) + func (s *MediaSelect) IntsX(ctx context.Context) []int + func (s *MediaSelect) ScanX(ctx context.Context, v interface{}) + func (s *MediaSelect) String(ctx context.Context) (_ string, err error) + func (s *MediaSelect) StringX(ctx context.Context) string + func (s *MediaSelect) Strings(ctx context.Context) ([]string, error) + func (s *MediaSelect) StringsX(ctx context.Context) []string + type MediaSlice []*Media + type MediaUpdate struct + func (mu *MediaUpdate) ClearSource() *MediaUpdate + func (mu *MediaUpdate) ClearSourceURI() *MediaUpdate + func (mu *MediaUpdate) ClearText() *MediaUpdate + func (mu *MediaUpdate) Exec(ctx context.Context) error + func (mu *MediaUpdate) ExecX(ctx context.Context) + func (mu *MediaUpdate) Mutation() *MediaMutation + func (mu *MediaUpdate) Save(ctx context.Context) (int, error) + func (mu *MediaUpdate) SaveX(ctx context.Context) int + func (mu *MediaUpdate) SetNillableSource(s *string) *MediaUpdate + func (mu *MediaUpdate) SetNillableSourceURI(s *string) *MediaUpdate + func (mu *MediaUpdate) SetNillableText(s *string) *MediaUpdate + func (mu *MediaUpdate) SetSource(s string) *MediaUpdate + func (mu *MediaUpdate) SetSourceURI(s string) *MediaUpdate + func (mu *MediaUpdate) SetText(s string) *MediaUpdate + func (mu *MediaUpdate) Where(ps ...predicate.Media) *MediaUpdate + type MediaUpdateOne struct + func (muo *MediaUpdateOne) ClearSource() *MediaUpdateOne + func (muo *MediaUpdateOne) ClearSourceURI() *MediaUpdateOne + func (muo *MediaUpdateOne) ClearText() *MediaUpdateOne + func (muo *MediaUpdateOne) Exec(ctx context.Context) error + func (muo *MediaUpdateOne) ExecX(ctx context.Context) + func (muo *MediaUpdateOne) Mutation() *MediaMutation + func (muo *MediaUpdateOne) Save(ctx context.Context) (*Media, error) + func (muo *MediaUpdateOne) SaveX(ctx context.Context) *Media + func (muo *MediaUpdateOne) Select(field string, fields ...string) *MediaUpdateOne + func (muo *MediaUpdateOne) SetNillableSource(s *string) *MediaUpdateOne + func (muo *MediaUpdateOne) SetNillableSourceURI(s *string) *MediaUpdateOne + func (muo *MediaUpdateOne) SetNillableText(s *string) *MediaUpdateOne + func (muo *MediaUpdateOne) SetSource(s string) *MediaUpdateOne + func (muo *MediaUpdateOne) SetSourceURI(s string) *MediaUpdateOne + func (muo *MediaUpdateOne) SetText(s string) *MediaUpdateOne + 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(...interface{})) Option + type OrderFunc func(*sql.Selector) + func Asc(fields ...string) OrderFunc + func Desc(fields ...string) OrderFunc + type Pet struct + Edges PetEdges + ID int + Name string + func (pe *Pet) QueryOwner() *UserQuery + func (pe *Pet) String() string + func (pe *Pet) Unwrap() *Pet + func (pe *Pet) Update() *PetUpdateOne + type PetClient struct + func NewPetClient(c config) *PetClient + func (c *PetClient) Create() *PetCreate + func (c *PetClient) CreateBulk(builders ...*PetCreate) *PetCreateBulk + func (c *PetClient) Delete() *PetDelete + func (c *PetClient) DeleteOne(pe *Pet) *PetDeleteOne + func (c *PetClient) DeleteOneID(id int) *PetDeleteOne + func (c *PetClient) Get(ctx context.Context, id int) (*Pet, error) + func (c *PetClient) GetX(ctx context.Context, id int) *Pet + func (c *PetClient) Hooks() []Hook + func (c *PetClient) Query() *PetQuery + func (c *PetClient) QueryOwner(pe *Pet) *UserQuery + func (c *PetClient) Update() *PetUpdate + func (c *PetClient) UpdateOne(pe *Pet) *PetUpdateOne + func (c *PetClient) UpdateOneID(id int) *PetUpdateOne + func (c *PetClient) Use(hooks ...Hook) + type PetCreate struct + func (pc *PetCreate) Exec(ctx context.Context) error + func (pc *PetCreate) ExecX(ctx context.Context) + func (pc *PetCreate) Mutation() *PetMutation + func (pc *PetCreate) Save(ctx context.Context) (*Pet, error) + func (pc *PetCreate) SaveX(ctx context.Context) *Pet + func (pc *PetCreate) SetName(s string) *PetCreate + func (pc *PetCreate) SetNillableName(s *string) *PetCreate + func (pc *PetCreate) SetNillableOwnerID(id *int) *PetCreate + func (pc *PetCreate) SetOwner(u *User) *PetCreate + func (pc *PetCreate) SetOwnerID(id int) *PetCreate + type PetCreateBulk struct + func (pcb *PetCreateBulk) Exec(ctx context.Context) error + func (pcb *PetCreateBulk) ExecX(ctx context.Context) + func (pcb *PetCreateBulk) Save(ctx context.Context) ([]*Pet, error) + func (pcb *PetCreateBulk) SaveX(ctx context.Context) []*Pet + type PetDelete struct + func (pd *PetDelete) Exec(ctx context.Context) (int, error) + func (pd *PetDelete) ExecX(ctx context.Context) int + func (pd *PetDelete) Where(ps ...predicate.Pet) *PetDelete + type PetDeleteOne struct + func (pdo *PetDeleteOne) Exec(ctx context.Context) error + func (pdo *PetDeleteOne) ExecX(ctx context.Context) + type PetEdges struct + Owner *User + func (e PetEdges) OwnerOrErr() (*User, error) + type PetGroupBy struct + func (pgb *PetGroupBy) Aggregate(fns ...AggregateFunc) *PetGroupBy + func (pgb *PetGroupBy) Scan(ctx context.Context, v interface{}) error + func (s *PetGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *PetGroupBy) BoolX(ctx context.Context) bool + func (s *PetGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *PetGroupBy) BoolsX(ctx context.Context) []bool + func (s *PetGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *PetGroupBy) Float64X(ctx context.Context) float64 + func (s *PetGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *PetGroupBy) Float64sX(ctx context.Context) []float64 + func (s *PetGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *PetGroupBy) IntX(ctx context.Context) int + func (s *PetGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *PetGroupBy) IntsX(ctx context.Context) []int + func (s *PetGroupBy) ScanX(ctx context.Context, v interface{}) + func (s *PetGroupBy) String(ctx context.Context) (_ string, err error) + func (s *PetGroupBy) StringX(ctx context.Context) string + func (s *PetGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *PetGroupBy) StringsX(ctx context.Context) []string + type PetMutation struct + func (m *PetMutation) AddField(name string, value ent.Value) error + func (m *PetMutation) AddedEdges() []string + func (m *PetMutation) AddedField(name string) (ent.Value, bool) + func (m *PetMutation) AddedFields() []string + func (m *PetMutation) AddedIDs(name string) []ent.Value + func (m *PetMutation) ClearEdge(name string) error + func (m *PetMutation) ClearField(name string) error + func (m *PetMutation) ClearName() + func (m *PetMutation) ClearOwner() + func (m *PetMutation) ClearedEdges() []string + func (m *PetMutation) ClearedFields() []string + func (m *PetMutation) EdgeCleared(name string) bool + func (m *PetMutation) Field(name string) (ent.Value, bool) + func (m *PetMutation) FieldCleared(name string) bool + func (m *PetMutation) Fields() []string + func (m *PetMutation) ID() (id int, exists bool) + func (m *PetMutation) IDs(ctx context.Context) ([]int, error) + func (m *PetMutation) Name() (r string, exists bool) + func (m *PetMutation) NameCleared() bool + func (m *PetMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *PetMutation) OldName(ctx context.Context) (v string, err error) + func (m *PetMutation) Op() Op + func (m *PetMutation) OwnerCleared() bool + func (m *PetMutation) OwnerID() (id int, exists bool) + func (m *PetMutation) OwnerIDs() (ids []int) + func (m *PetMutation) RemovedEdges() []string + func (m *PetMutation) RemovedIDs(name string) []ent.Value + func (m *PetMutation) ResetEdge(name string) error + func (m *PetMutation) ResetField(name string) error + func (m *PetMutation) ResetName() + func (m *PetMutation) ResetOwner() + func (m *PetMutation) SetField(name string, value ent.Value) error + func (m *PetMutation) SetName(s string) + func (m *PetMutation) SetOwnerID(id int) + func (m *PetMutation) Type() string + func (m *PetMutation) Where(ps ...predicate.Pet) + func (m PetMutation) Client() *Client + func (m PetMutation) Tx() (*Tx, error) + type PetQuery struct + func (pq *PetQuery) All(ctx context.Context) ([]*Pet, error) + func (pq *PetQuery) AllX(ctx context.Context) []*Pet + func (pq *PetQuery) Clone() *PetQuery + func (pq *PetQuery) Count(ctx context.Context) (int, error) + func (pq *PetQuery) CountX(ctx context.Context) int + func (pq *PetQuery) Exist(ctx context.Context) (bool, error) + func (pq *PetQuery) ExistX(ctx context.Context) bool + func (pq *PetQuery) First(ctx context.Context) (*Pet, error) + func (pq *PetQuery) FirstID(ctx context.Context) (id int, err error) + func (pq *PetQuery) FirstIDX(ctx context.Context) int + func (pq *PetQuery) FirstX(ctx context.Context) *Pet + func (pq *PetQuery) GroupBy(field string, fields ...string) *PetGroupBy + func (pq *PetQuery) IDs(ctx context.Context) ([]int, error) + func (pq *PetQuery) IDsX(ctx context.Context) []int + func (pq *PetQuery) Limit(limit int) *PetQuery + func (pq *PetQuery) Offset(offset int) *PetQuery + func (pq *PetQuery) Only(ctx context.Context) (*Pet, error) + func (pq *PetQuery) OnlyID(ctx context.Context) (id int, err error) + func (pq *PetQuery) OnlyIDX(ctx context.Context) int + func (pq *PetQuery) OnlyX(ctx context.Context) *Pet + func (pq *PetQuery) Order(o ...OrderFunc) *PetQuery + func (pq *PetQuery) QueryOwner() *UserQuery + func (pq *PetQuery) Select(fields ...string) *PetSelect + func (pq *PetQuery) Unique(unique bool) *PetQuery + func (pq *PetQuery) Where(ps ...predicate.Pet) *PetQuery + func (pq *PetQuery) WithOwner(opts ...func(*UserQuery)) *PetQuery + type PetSelect struct + func (ps *PetSelect) Scan(ctx context.Context, v interface{}) error + func (s *PetSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *PetSelect) BoolX(ctx context.Context) bool + func (s *PetSelect) Bools(ctx context.Context) ([]bool, error) + func (s *PetSelect) BoolsX(ctx context.Context) []bool + func (s *PetSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *PetSelect) Float64X(ctx context.Context) float64 + func (s *PetSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *PetSelect) Float64sX(ctx context.Context) []float64 + func (s *PetSelect) Int(ctx context.Context) (_ int, err error) + func (s *PetSelect) IntX(ctx context.Context) int + func (s *PetSelect) Ints(ctx context.Context) ([]int, error) + func (s *PetSelect) IntsX(ctx context.Context) []int + func (s *PetSelect) ScanX(ctx context.Context, v interface{}) + func (s *PetSelect) String(ctx context.Context) (_ string, err error) + func (s *PetSelect) StringX(ctx context.Context) string + func (s *PetSelect) Strings(ctx context.Context) ([]string, error) + func (s *PetSelect) StringsX(ctx context.Context) []string + type PetUpdate struct + func (pu *PetUpdate) ClearName() *PetUpdate + func (pu *PetUpdate) ClearOwner() *PetUpdate + func (pu *PetUpdate) Exec(ctx context.Context) error + func (pu *PetUpdate) ExecX(ctx context.Context) + func (pu *PetUpdate) Mutation() *PetMutation + func (pu *PetUpdate) Save(ctx context.Context) (int, error) + func (pu *PetUpdate) SaveX(ctx context.Context) int + func (pu *PetUpdate) SetName(s string) *PetUpdate + func (pu *PetUpdate) SetNillableName(s *string) *PetUpdate + func (pu *PetUpdate) SetNillableOwnerID(id *int) *PetUpdate + func (pu *PetUpdate) SetOwner(u *User) *PetUpdate + func (pu *PetUpdate) SetOwnerID(id int) *PetUpdate + func (pu *PetUpdate) Where(ps ...predicate.Pet) *PetUpdate + type PetUpdateOne struct + func (puo *PetUpdateOne) ClearName() *PetUpdateOne + func (puo *PetUpdateOne) ClearOwner() *PetUpdateOne + func (puo *PetUpdateOne) Exec(ctx context.Context) error + func (puo *PetUpdateOne) ExecX(ctx context.Context) + func (puo *PetUpdateOne) Mutation() *PetMutation + func (puo *PetUpdateOne) Save(ctx context.Context) (*Pet, error) + func (puo *PetUpdateOne) SaveX(ctx context.Context) *Pet + func (puo *PetUpdateOne) Select(field string, fields ...string) *PetUpdateOne + func (puo *PetUpdateOne) SetName(s string) *PetUpdateOne + func (puo *PetUpdateOne) SetNillableName(s *string) *PetUpdateOne + func (puo *PetUpdateOne) SetNillableOwnerID(id *int) *PetUpdateOne + func (puo *PetUpdateOne) SetOwner(u *User) *PetUpdateOne + func (puo *PetUpdateOne) SetOwnerID(id int) *PetUpdateOne + type Pets []*Pet + type Policy = ent.Policy + type Query = ent.Query + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type Tx struct + Car *CarClient + Conversion *ConversionClient + CustomType *CustomTypeClient + Group *GroupClient + Media *MediaClient + Pet *PetClient + User *UserClient + func TxFromContext(ctx context.Context) *Tx + func (tx *Tx) Client() *Client + func (tx *Tx) Commit() error + func (tx *Tx) OnCommit(f CommitHook) + func (tx *Tx) OnRollback(f RollbackHook) + func (tx *Tx) Rollback() error + type User struct + Age int + Blob []byte + Buffer []byte + CreatedAt time.Time + Description string + Edges UserEdges + ID int + MixedEnum user.MixedEnum + MixedString string + Name string + NewName string + Nickname string + Phone string + State user.State + Status user.Status + Title string + Workplace string + func (u *User) QueryCar() *CarQuery + func (u *User) QueryFriends() *UserQuery + func (u *User) QueryPets() *PetQuery + func (u *User) String() string + func (u *User) Unwrap() *User + func (u *User) Update() *UserUpdateOne + type UserClient struct + func NewUserClient(c config) *UserClient + func (c *UserClient) Create() *UserCreate + func (c *UserClient) CreateBulk(builders ...*UserCreate) *UserCreateBulk + func (c *UserClient) Delete() *UserDelete + func (c *UserClient) DeleteOne(u *User) *UserDeleteOne + func (c *UserClient) DeleteOneID(id int) *UserDeleteOne + func (c *UserClient) Get(ctx context.Context, id int) (*User, error) + func (c *UserClient) GetX(ctx context.Context, id int) *User + func (c *UserClient) Hooks() []Hook + func (c *UserClient) Query() *UserQuery + func (c *UserClient) QueryCar(u *User) *CarQuery + func (c *UserClient) QueryFriends(u *User) *UserQuery + func (c *UserClient) QueryPets(u *User) *PetQuery + func (c *UserClient) Update() *UserUpdate + func (c *UserClient) UpdateOne(u *User) *UserUpdateOne + func (c *UserClient) UpdateOneID(id int) *UserUpdateOne + func (c *UserClient) Use(hooks ...Hook) + type UserCreate struct + func (uc *UserCreate) AddCar(c ...*Car) *UserCreate + func (uc *UserCreate) AddCarIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddFriendIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddFriends(u ...*User) *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) SetAge(i int) *UserCreate + func (uc *UserCreate) SetBlob(b []byte) *UserCreate + func (uc *UserCreate) SetBuffer(b []byte) *UserCreate + func (uc *UserCreate) SetCreatedAt(t time.Time) *UserCreate + func (uc *UserCreate) SetDescription(s string) *UserCreate + func (uc *UserCreate) SetID(i int) *UserCreate + func (uc *UserCreate) SetMixedEnum(ue user.MixedEnum) *UserCreate + func (uc *UserCreate) SetMixedString(s string) *UserCreate + func (uc *UserCreate) SetName(s string) *UserCreate + func (uc *UserCreate) SetNewName(s string) *UserCreate + func (uc *UserCreate) SetNickname(s string) *UserCreate + func (uc *UserCreate) SetNillableCreatedAt(t *time.Time) *UserCreate + func (uc *UserCreate) SetNillableDescription(s *string) *UserCreate + func (uc *UserCreate) SetNillableMixedEnum(ue *user.MixedEnum) *UserCreate + func (uc *UserCreate) SetNillableMixedString(s *string) *UserCreate + func (uc *UserCreate) SetNillableNewName(s *string) *UserCreate + func (uc *UserCreate) SetNillablePetsID(id *int) *UserCreate + func (uc *UserCreate) SetNillablePhone(s *string) *UserCreate + func (uc *UserCreate) SetNillableState(u *user.State) *UserCreate + func (uc *UserCreate) SetNillableStatus(u *user.Status) *UserCreate + func (uc *UserCreate) SetNillableTitle(s *string) *UserCreate + func (uc *UserCreate) SetNillableWorkplace(s *string) *UserCreate + func (uc *UserCreate) SetPets(p *Pet) *UserCreate + func (uc *UserCreate) SetPetsID(id int) *UserCreate + func (uc *UserCreate) SetPhone(s string) *UserCreate + func (uc *UserCreate) SetState(u user.State) *UserCreate + func (uc *UserCreate) SetStatus(u user.Status) *UserCreate + func (uc *UserCreate) SetTitle(s string) *UserCreate + func (uc *UserCreate) SetWorkplace(s string) *UserCreate + type UserCreateBulk struct + func (ucb *UserCreateBulk) Exec(ctx context.Context) error + func (ucb *UserCreateBulk) ExecX(ctx context.Context) + func (ucb *UserCreateBulk) Save(ctx context.Context) ([]*User, error) + func (ucb *UserCreateBulk) SaveX(ctx context.Context) []*User + type UserDelete struct + func (ud *UserDelete) Exec(ctx context.Context) (int, error) + func (ud *UserDelete) ExecX(ctx context.Context) int + func (ud *UserDelete) Where(ps ...predicate.User) *UserDelete + type UserDeleteOne struct + func (udo *UserDeleteOne) Exec(ctx context.Context) error + func (udo *UserDeleteOne) ExecX(ctx context.Context) + type UserEdges struct + Car []*Car + Friends []*User + Pets *Pet + func (e UserEdges) CarOrErr() ([]*Car, error) + func (e UserEdges) FriendsOrErr() ([]*User, error) + func (e UserEdges) PetsOrErr() (*Pet, 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 interface{}) + 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 interface{}) error + type UserMutation struct + func (m *UserMutation) AddAge(i int) + func (m *UserMutation) AddCarIDs(ids ...int) + func (m *UserMutation) AddField(name string, value ent.Value) error + func (m *UserMutation) AddFriendIDs(ids ...int) + func (m *UserMutation) AddedAge() (r int, exists bool) + func (m *UserMutation) AddedEdges() []string + func (m *UserMutation) AddedField(name string) (ent.Value, bool) + func (m *UserMutation) AddedFields() []string + func (m *UserMutation) AddedIDs(name string) []ent.Value + func (m *UserMutation) Age() (r int, exists bool) + func (m *UserMutation) Blob() (r []byte, exists bool) + func (m *UserMutation) BlobCleared() bool + func (m *UserMutation) Buffer() (r []byte, exists bool) + func (m *UserMutation) BufferCleared() bool + func (m *UserMutation) CarCleared() bool + func (m *UserMutation) CarIDs() (ids []int) + func (m *UserMutation) ClearBlob() + func (m *UserMutation) ClearBuffer() + func (m *UserMutation) ClearCar() + func (m *UserMutation) ClearDescription() + func (m *UserMutation) ClearEdge(name string) error + func (m *UserMutation) ClearField(name string) error + func (m *UserMutation) ClearFriends() + func (m *UserMutation) ClearNewName() + func (m *UserMutation) ClearPets() + func (m *UserMutation) ClearState() + func (m *UserMutation) ClearStatus() + func (m *UserMutation) ClearWorkplace() + func (m *UserMutation) ClearedEdges() []string + func (m *UserMutation) ClearedFields() []string + func (m *UserMutation) CreatedAt() (r time.Time, exists bool) + func (m *UserMutation) Description() (r string, exists bool) + func (m *UserMutation) DescriptionCleared() bool + 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) FriendsCleared() bool + func (m *UserMutation) FriendsIDs() (ids []int) + func (m *UserMutation) ID() (id int, exists bool) + func (m *UserMutation) IDs(ctx context.Context) ([]int, error) + func (m *UserMutation) MixedEnum() (r user.MixedEnum, exists bool) + func (m *UserMutation) MixedString() (r string, exists bool) + func (m *UserMutation) Name() (r string, exists bool) + func (m *UserMutation) NewName() (r string, exists bool) + func (m *UserMutation) NewNameCleared() bool + func (m *UserMutation) Nickname() (r string, exists bool) + func (m *UserMutation) OldAge(ctx context.Context) (v int, err error) + func (m *UserMutation) OldBlob(ctx context.Context) (v []byte, err error) + func (m *UserMutation) OldBuffer(ctx context.Context) (v []byte, err error) + func (m *UserMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *UserMutation) OldDescription(ctx context.Context) (v string, err error) + func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserMutation) OldMixedEnum(ctx context.Context) (v user.MixedEnum, err error) + func (m *UserMutation) OldMixedString(ctx context.Context) (v string, err error) + func (m *UserMutation) OldName(ctx context.Context) (v string, err error) + func (m *UserMutation) OldNewName(ctx context.Context) (v string, err error) + func (m *UserMutation) OldNickname(ctx context.Context) (v string, err error) + func (m *UserMutation) OldPhone(ctx context.Context) (v string, err error) + func (m *UserMutation) OldState(ctx context.Context) (v user.State, err error) + func (m *UserMutation) OldStatus(ctx context.Context) (v user.Status, err error) + func (m *UserMutation) OldTitle(ctx context.Context) (v string, err error) + func (m *UserMutation) OldWorkplace(ctx context.Context) (v string, err error) + func (m *UserMutation) Op() Op + func (m *UserMutation) PetsCleared() bool + func (m *UserMutation) PetsID() (id int, exists bool) + func (m *UserMutation) PetsIDs() (ids []int) + func (m *UserMutation) Phone() (r string, exists bool) + func (m *UserMutation) RemoveCarIDs(ids ...int) + func (m *UserMutation) RemoveFriendIDs(ids ...int) + func (m *UserMutation) RemovedCarIDs() (ids []int) + func (m *UserMutation) RemovedEdges() []string + func (m *UserMutation) RemovedFriendsIDs() (ids []int) + func (m *UserMutation) RemovedIDs(name string) []ent.Value + func (m *UserMutation) ResetAge() + func (m *UserMutation) ResetBlob() + func (m *UserMutation) ResetBuffer() + func (m *UserMutation) ResetCar() + func (m *UserMutation) ResetCreatedAt() + func (m *UserMutation) ResetDescription() + func (m *UserMutation) ResetEdge(name string) error + func (m *UserMutation) ResetField(name string) error + func (m *UserMutation) ResetFriends() + func (m *UserMutation) ResetMixedEnum() + func (m *UserMutation) ResetMixedString() + func (m *UserMutation) ResetName() + func (m *UserMutation) ResetNewName() + func (m *UserMutation) ResetNickname() + func (m *UserMutation) ResetPets() + func (m *UserMutation) ResetPhone() + func (m *UserMutation) ResetState() + func (m *UserMutation) ResetStatus() + func (m *UserMutation) ResetTitle() + func (m *UserMutation) ResetWorkplace() + func (m *UserMutation) SetAge(i int) + func (m *UserMutation) SetBlob(b []byte) + func (m *UserMutation) SetBuffer(b []byte) + func (m *UserMutation) SetCreatedAt(t time.Time) + func (m *UserMutation) SetDescription(s string) + func (m *UserMutation) SetField(name string, value ent.Value) error + func (m *UserMutation) SetID(id int) + func (m *UserMutation) SetMixedEnum(ue user.MixedEnum) + func (m *UserMutation) SetMixedString(s string) + func (m *UserMutation) SetName(s string) + func (m *UserMutation) SetNewName(s string) + func (m *UserMutation) SetNickname(s string) + func (m *UserMutation) SetPetsID(id int) + func (m *UserMutation) SetPhone(s string) + func (m *UserMutation) SetState(u user.State) + func (m *UserMutation) SetStatus(u user.Status) + func (m *UserMutation) SetTitle(s string) + func (m *UserMutation) SetWorkplace(s string) + func (m *UserMutation) State() (r user.State, exists bool) + func (m *UserMutation) StateCleared() bool + func (m *UserMutation) Status() (r user.Status, exists bool) + func (m *UserMutation) StatusCleared() bool + func (m *UserMutation) Title() (r string, exists bool) + func (m *UserMutation) Type() string + func (m *UserMutation) Where(ps ...predicate.User) + func (m *UserMutation) Workplace() (r string, exists bool) + func (m *UserMutation) WorkplaceCleared() bool + func (m UserMutation) Client() *Client + func (m UserMutation) Tx() (*Tx, error) + type UserQuery struct + func (uq *UserQuery) All(ctx context.Context) ([]*User, error) + func (uq *UserQuery) AllX(ctx context.Context) []*User + func (uq *UserQuery) Clone() *UserQuery + func (uq *UserQuery) Count(ctx context.Context) (int, error) + func (uq *UserQuery) CountX(ctx context.Context) int + func (uq *UserQuery) Exist(ctx context.Context) (bool, error) + func (uq *UserQuery) ExistX(ctx context.Context) bool + func (uq *UserQuery) First(ctx context.Context) (*User, error) + func (uq *UserQuery) FirstID(ctx context.Context) (id int, err error) + func (uq *UserQuery) FirstIDX(ctx context.Context) int + func (uq *UserQuery) FirstX(ctx context.Context) *User + func (uq *UserQuery) GroupBy(field string, fields ...string) *UserGroupBy + func (uq *UserQuery) IDs(ctx context.Context) ([]int, error) + func (uq *UserQuery) IDsX(ctx context.Context) []int + func (uq *UserQuery) Limit(limit int) *UserQuery + func (uq *UserQuery) Offset(offset int) *UserQuery + func (uq *UserQuery) Only(ctx context.Context) (*User, error) + func (uq *UserQuery) OnlyID(ctx context.Context) (id int, err error) + func (uq *UserQuery) OnlyIDX(ctx context.Context) int + func (uq *UserQuery) OnlyX(ctx context.Context) *User + func (uq *UserQuery) Order(o ...OrderFunc) *UserQuery + func (uq *UserQuery) QueryCar() *CarQuery + func (uq *UserQuery) QueryFriends() *UserQuery + func (uq *UserQuery) QueryPets() *PetQuery + func (uq *UserQuery) Select(fields ...string) *UserSelect + func (uq *UserQuery) Unique(unique bool) *UserQuery + func (uq *UserQuery) Where(ps ...predicate.User) *UserQuery + func (uq *UserQuery) WithCar(opts ...func(*CarQuery)) *UserQuery + func (uq *UserQuery) WithFriends(opts ...func(*UserQuery)) *UserQuery + func (uq *UserQuery) WithPets(opts ...func(*PetQuery)) *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 interface{}) + 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) Scan(ctx context.Context, v interface{}) error + type UserUpdate struct + func (uu *UserUpdate) AddAge(i int) *UserUpdate + func (uu *UserUpdate) AddCar(c ...*Car) *UserUpdate + func (uu *UserUpdate) AddCarIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddFriendIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddFriends(u ...*User) *UserUpdate + func (uu *UserUpdate) ClearBlob() *UserUpdate + func (uu *UserUpdate) ClearBuffer() *UserUpdate + func (uu *UserUpdate) ClearCar() *UserUpdate + func (uu *UserUpdate) ClearDescription() *UserUpdate + func (uu *UserUpdate) ClearFriends() *UserUpdate + func (uu *UserUpdate) ClearNewName() *UserUpdate + func (uu *UserUpdate) ClearPets() *UserUpdate + func (uu *UserUpdate) ClearState() *UserUpdate + func (uu *UserUpdate) ClearStatus() *UserUpdate + func (uu *UserUpdate) ClearWorkplace() *UserUpdate + func (uu *UserUpdate) Exec(ctx context.Context) error + func (uu *UserUpdate) ExecX(ctx context.Context) + func (uu *UserUpdate) Mutation() *UserMutation + func (uu *UserUpdate) RemoveCar(c ...*Car) *UserUpdate + func (uu *UserUpdate) RemoveCarIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveFriendIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveFriends(u ...*User) *UserUpdate + func (uu *UserUpdate) Save(ctx context.Context) (int, error) + func (uu *UserUpdate) SaveX(ctx context.Context) int + func (uu *UserUpdate) SetAge(i int) *UserUpdate + func (uu *UserUpdate) SetBlob(b []byte) *UserUpdate + func (uu *UserUpdate) SetBuffer(b []byte) *UserUpdate + func (uu *UserUpdate) SetCreatedAt(t time.Time) *UserUpdate + func (uu *UserUpdate) SetDescription(s string) *UserUpdate + func (uu *UserUpdate) SetMixedEnum(ue user.MixedEnum) *UserUpdate + func (uu *UserUpdate) SetMixedString(s string) *UserUpdate + func (uu *UserUpdate) SetName(s string) *UserUpdate + func (uu *UserUpdate) SetNewName(s string) *UserUpdate + func (uu *UserUpdate) SetNickname(s string) *UserUpdate + func (uu *UserUpdate) SetNillableCreatedAt(t *time.Time) *UserUpdate + func (uu *UserUpdate) SetNillableDescription(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableMixedEnum(ue *user.MixedEnum) *UserUpdate + func (uu *UserUpdate) SetNillableMixedString(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableNewName(s *string) *UserUpdate + func (uu *UserUpdate) SetNillablePetsID(id *int) *UserUpdate + func (uu *UserUpdate) SetNillablePhone(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableState(u *user.State) *UserUpdate + func (uu *UserUpdate) SetNillableStatus(u *user.Status) *UserUpdate + func (uu *UserUpdate) SetNillableTitle(s *string) *UserUpdate + func (uu *UserUpdate) SetNillableWorkplace(s *string) *UserUpdate + func (uu *UserUpdate) SetPets(p *Pet) *UserUpdate + func (uu *UserUpdate) SetPetsID(id int) *UserUpdate + func (uu *UserUpdate) SetPhone(s string) *UserUpdate + func (uu *UserUpdate) SetState(u user.State) *UserUpdate + func (uu *UserUpdate) SetStatus(u user.Status) *UserUpdate + func (uu *UserUpdate) SetTitle(s string) *UserUpdate + func (uu *UserUpdate) SetWorkplace(s string) *UserUpdate + func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate + type UserUpdateOne struct + func (uuo *UserUpdateOne) AddAge(i int) *UserUpdateOne + func (uuo *UserUpdateOne) AddCar(c ...*Car) *UserUpdateOne + func (uuo *UserUpdateOne) AddCarIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddFriendIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddFriends(u ...*User) *UserUpdateOne + func (uuo *UserUpdateOne) ClearBlob() *UserUpdateOne + func (uuo *UserUpdateOne) ClearBuffer() *UserUpdateOne + func (uuo *UserUpdateOne) ClearCar() *UserUpdateOne + func (uuo *UserUpdateOne) ClearDescription() *UserUpdateOne + func (uuo *UserUpdateOne) ClearFriends() *UserUpdateOne + func (uuo *UserUpdateOne) ClearNewName() *UserUpdateOne + func (uuo *UserUpdateOne) ClearPets() *UserUpdateOne + func (uuo *UserUpdateOne) ClearState() *UserUpdateOne + func (uuo *UserUpdateOne) ClearStatus() *UserUpdateOne + func (uuo *UserUpdateOne) ClearWorkplace() *UserUpdateOne + func (uuo *UserUpdateOne) Exec(ctx context.Context) error + func (uuo *UserUpdateOne) ExecX(ctx context.Context) + func (uuo *UserUpdateOne) Mutation() *UserMutation + func (uuo *UserUpdateOne) RemoveCar(c ...*Car) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveCarIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFriendIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveFriends(u ...*User) *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) SetAge(i int) *UserUpdateOne + func (uuo *UserUpdateOne) SetBlob(b []byte) *UserUpdateOne + func (uuo *UserUpdateOne) SetBuffer(b []byte) *UserUpdateOne + func (uuo *UserUpdateOne) SetCreatedAt(t time.Time) *UserUpdateOne + func (uuo *UserUpdateOne) SetDescription(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetMixedEnum(ue user.MixedEnum) *UserUpdateOne + func (uuo *UserUpdateOne) SetMixedString(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetName(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNewName(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNickname(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableCreatedAt(t *time.Time) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableDescription(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableMixedEnum(ue *user.MixedEnum) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableMixedString(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableNewName(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillablePetsID(id *int) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillablePhone(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableState(u *user.State) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableStatus(u *user.Status) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableTitle(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetNillableWorkplace(s *string) *UserUpdateOne + func (uuo *UserUpdateOne) SetPets(p *Pet) *UserUpdateOne + func (uuo *UserUpdateOne) SetPetsID(id int) *UserUpdateOne + func (uuo *UserUpdateOne) SetPhone(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetState(u user.State) *UserUpdateOne + func (uuo *UserUpdateOne) SetStatus(u user.Status) *UserUpdateOne + func (uuo *UserUpdateOne) SetTitle(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetWorkplace(s string) *UserUpdateOne + type Users []*User + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value