Versions in this module Expand all Collapse all v1 v1.4.2 Dec 15, 2023 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeEmailLog + const TypeEmailProvider + const TypeSmsLog + const TypeSmsProvider + var DefaultEmailLogOrder = Desc(emaillog.FieldID) + var DefaultEmailProviderOrder = Desc(emailprovider.FieldID) + var DefaultSmsLogOrder = Desc(smslog.FieldID) + var DefaultSmsProviderOrder = Desc(smsprovider.FieldID) + var ErrTxStarted = errors.New("ent: cannot start a transaction within a transaction") + func Asc(fields ...string) func(*sql.Selector) + func Desc(fields ...string) func(*sql.Selector) + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type Client struct + EmailLog *EmailLogClient + EmailProvider *EmailProviderClient + Schema *migrate.Schema + SmsLog *SmsLogClient + SmsProvider *SmsProviderClient + 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) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *Client) Intercept(interceptors ...Interceptor) + func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error) + func (c *Client) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type EmailLog struct + Content string + CreatedAt time.Time + ID uuid.UUID + Provider string + SendStatus uint8 + Subject string + Target string + UpdatedAt time.Time + func (c *EmailLog) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLog) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (el *EmailLog) String() string + func (el *EmailLog) Unwrap() *EmailLog + func (el *EmailLog) Update() *EmailLogUpdateOne + func (el *EmailLog) Value(name string) (ent.Value, error) + type EmailLogClient struct + func NewEmailLogClient(c config) *EmailLogClient + func (c *EmailLogClient) Create() *EmailLogCreate + func (c *EmailLogClient) CreateBulk(builders ...*EmailLogCreate) *EmailLogCreateBulk + func (c *EmailLogClient) Delete() *EmailLogDelete + func (c *EmailLogClient) DeleteOne(el *EmailLog) *EmailLogDeleteOne + func (c *EmailLogClient) DeleteOneID(id uuid.UUID) *EmailLogDeleteOne + func (c *EmailLogClient) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLogClient) Get(ctx context.Context, id uuid.UUID) (*EmailLog, error) + func (c *EmailLogClient) GetX(ctx context.Context, id uuid.UUID) *EmailLog + func (c *EmailLogClient) Hooks() []Hook + func (c *EmailLogClient) Intercept(interceptors ...Interceptor) + func (c *EmailLogClient) Interceptors() []Interceptor + func (c *EmailLogClient) MapCreateBulk(slice any, setFunc func(*EmailLogCreate, int)) *EmailLogCreateBulk + func (c *EmailLogClient) Query() *EmailLogQuery + func (c *EmailLogClient) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (c *EmailLogClient) Update() *EmailLogUpdate + func (c *EmailLogClient) UpdateOne(el *EmailLog) *EmailLogUpdateOne + func (c *EmailLogClient) UpdateOneID(id uuid.UUID) *EmailLogUpdateOne + func (c *EmailLogClient) Use(hooks ...Hook) + type EmailLogCreate struct + func (c *EmailLogCreate) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLogCreate) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (el *EmailLogCreate) SetNotNilContent(value *string) *EmailLogCreate + func (el *EmailLogCreate) SetNotNilProvider(value *string) *EmailLogCreate + func (el *EmailLogCreate) SetNotNilSendStatus(value *uint8) *EmailLogCreate + func (el *EmailLogCreate) SetNotNilSubject(value *string) *EmailLogCreate + func (el *EmailLogCreate) SetNotNilTarget(value *string) *EmailLogCreate + func (el *EmailLogCreate) SetNotNilUpdatedAt(value *time.Time) *EmailLogCreate + func (elc *EmailLogCreate) Exec(ctx context.Context) error + func (elc *EmailLogCreate) ExecX(ctx context.Context) + func (elc *EmailLogCreate) Mutation() *EmailLogMutation + func (elc *EmailLogCreate) Save(ctx context.Context) (*EmailLog, error) + func (elc *EmailLogCreate) SaveX(ctx context.Context) *EmailLog + func (elc *EmailLogCreate) SetContent(s string) *EmailLogCreate + func (elc *EmailLogCreate) SetCreatedAt(t time.Time) *EmailLogCreate + func (elc *EmailLogCreate) SetID(u uuid.UUID) *EmailLogCreate + func (elc *EmailLogCreate) SetNillableCreatedAt(t *time.Time) *EmailLogCreate + func (elc *EmailLogCreate) SetNillableID(u *uuid.UUID) *EmailLogCreate + func (elc *EmailLogCreate) SetNillableUpdatedAt(t *time.Time) *EmailLogCreate + func (elc *EmailLogCreate) SetProvider(s string) *EmailLogCreate + func (elc *EmailLogCreate) SetSendStatus(u uint8) *EmailLogCreate + func (elc *EmailLogCreate) SetSubject(s string) *EmailLogCreate + func (elc *EmailLogCreate) SetTarget(s string) *EmailLogCreate + func (elc *EmailLogCreate) SetUpdatedAt(t time.Time) *EmailLogCreate + type EmailLogCreateBulk struct + func (c *EmailLogCreateBulk) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLogCreateBulk) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (elcb *EmailLogCreateBulk) Exec(ctx context.Context) error + func (elcb *EmailLogCreateBulk) ExecX(ctx context.Context) + func (elcb *EmailLogCreateBulk) Save(ctx context.Context) ([]*EmailLog, error) + func (elcb *EmailLogCreateBulk) SaveX(ctx context.Context) []*EmailLog + type EmailLogDelete struct + func (c *EmailLogDelete) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLogDelete) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (eld *EmailLogDelete) Exec(ctx context.Context) (int, error) + func (eld *EmailLogDelete) ExecX(ctx context.Context) int + func (eld *EmailLogDelete) Where(ps ...predicate.EmailLog) *EmailLogDelete + type EmailLogDeleteOne struct + func (eldo *EmailLogDeleteOne) Exec(ctx context.Context) error + func (eldo *EmailLogDeleteOne) ExecX(ctx context.Context) + func (eldo *EmailLogDeleteOne) Where(ps ...predicate.EmailLog) *EmailLogDeleteOne + type EmailLogGroupBy struct + func (elgb *EmailLogGroupBy) Aggregate(fns ...AggregateFunc) *EmailLogGroupBy + func (elgb *EmailLogGroupBy) Scan(ctx context.Context, v any) error + func (s *EmailLogGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *EmailLogGroupBy) BoolX(ctx context.Context) bool + func (s *EmailLogGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *EmailLogGroupBy) BoolsX(ctx context.Context) []bool + func (s *EmailLogGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *EmailLogGroupBy) Float64X(ctx context.Context) float64 + func (s *EmailLogGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *EmailLogGroupBy) Float64sX(ctx context.Context) []float64 + func (s *EmailLogGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *EmailLogGroupBy) IntX(ctx context.Context) int + func (s *EmailLogGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *EmailLogGroupBy) IntsX(ctx context.Context) []int + func (s *EmailLogGroupBy) ScanX(ctx context.Context, v any) + func (s *EmailLogGroupBy) String(ctx context.Context) (_ string, err error) + func (s *EmailLogGroupBy) StringX(ctx context.Context) string + func (s *EmailLogGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *EmailLogGroupBy) StringsX(ctx context.Context) []string + type EmailLogMutation struct + func (c *EmailLogMutation) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLogMutation) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (m *EmailLogMutation) AddField(name string, value ent.Value) error + func (m *EmailLogMutation) AddSendStatus(u int8) + func (m *EmailLogMutation) AddedEdges() []string + func (m *EmailLogMutation) AddedField(name string) (ent.Value, bool) + func (m *EmailLogMutation) AddedFields() []string + func (m *EmailLogMutation) AddedIDs(name string) []ent.Value + func (m *EmailLogMutation) AddedSendStatus() (r int8, exists bool) + func (m *EmailLogMutation) ClearEdge(name string) error + func (m *EmailLogMutation) ClearField(name string) error + func (m *EmailLogMutation) ClearedEdges() []string + func (m *EmailLogMutation) ClearedFields() []string + func (m *EmailLogMutation) Content() (r string, exists bool) + func (m *EmailLogMutation) CreatedAt() (r time.Time, exists bool) + func (m *EmailLogMutation) EdgeCleared(name string) bool + func (m *EmailLogMutation) Field(name string) (ent.Value, bool) + func (m *EmailLogMutation) FieldCleared(name string) bool + func (m *EmailLogMutation) Fields() []string + func (m *EmailLogMutation) ID() (id uuid.UUID, exists bool) + func (m *EmailLogMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *EmailLogMutation) OldContent(ctx context.Context) (v string, err error) + func (m *EmailLogMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *EmailLogMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *EmailLogMutation) OldProvider(ctx context.Context) (v string, err error) + func (m *EmailLogMutation) OldSendStatus(ctx context.Context) (v uint8, err error) + func (m *EmailLogMutation) OldSubject(ctx context.Context) (v string, err error) + func (m *EmailLogMutation) OldTarget(ctx context.Context) (v string, err error) + func (m *EmailLogMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *EmailLogMutation) Op() Op + func (m *EmailLogMutation) Provider() (r string, exists bool) + func (m *EmailLogMutation) RemovedEdges() []string + func (m *EmailLogMutation) RemovedIDs(name string) []ent.Value + func (m *EmailLogMutation) ResetContent() + func (m *EmailLogMutation) ResetCreatedAt() + func (m *EmailLogMutation) ResetEdge(name string) error + func (m *EmailLogMutation) ResetField(name string) error + func (m *EmailLogMutation) ResetProvider() + func (m *EmailLogMutation) ResetSendStatus() + func (m *EmailLogMutation) ResetSubject() + func (m *EmailLogMutation) ResetTarget() + func (m *EmailLogMutation) ResetUpdatedAt() + func (m *EmailLogMutation) SendStatus() (r uint8, exists bool) + func (m *EmailLogMutation) SetContent(s string) + func (m *EmailLogMutation) SetCreatedAt(t time.Time) + func (m *EmailLogMutation) SetField(name string, value ent.Value) error + func (m *EmailLogMutation) SetID(id uuid.UUID) + func (m *EmailLogMutation) SetOp(op Op) + func (m *EmailLogMutation) SetProvider(s string) + func (m *EmailLogMutation) SetSendStatus(u uint8) + func (m *EmailLogMutation) SetSubject(s string) + func (m *EmailLogMutation) SetTarget(s string) + func (m *EmailLogMutation) SetUpdatedAt(t time.Time) + func (m *EmailLogMutation) Subject() (r string, exists bool) + func (m *EmailLogMutation) Target() (r string, exists bool) + func (m *EmailLogMutation) Type() string + func (m *EmailLogMutation) UpdatedAt() (r time.Time, exists bool) + func (m *EmailLogMutation) Where(ps ...predicate.EmailLog) + func (m *EmailLogMutation) WhereP(ps ...func(*sql.Selector)) + func (m EmailLogMutation) Client() *Client + func (m EmailLogMutation) Tx() (*Tx, error) + type EmailLogPageList struct + List []*EmailLog + PageDetails *PageDetails + type EmailLogPager struct + Filter func(*EmailLogQuery) (*EmailLogQuery, error) + Order emaillog.OrderOption + func (p *EmailLogPager) ApplyFilter(query *EmailLogQuery) (*EmailLogQuery, error) + type EmailLogPaginateOption func(*EmailLogPager) + type EmailLogQuery struct + func (c *EmailLogQuery) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLogQuery) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (el *EmailLogQuery) Page(ctx context.Context, pageNum uint64, pageSize uint64, ...) (*EmailLogPageList, error) + func (elq *EmailLogQuery) Aggregate(fns ...AggregateFunc) *EmailLogSelect + func (elq *EmailLogQuery) All(ctx context.Context) ([]*EmailLog, error) + func (elq *EmailLogQuery) AllX(ctx context.Context) []*EmailLog + func (elq *EmailLogQuery) Clone() *EmailLogQuery + func (elq *EmailLogQuery) Count(ctx context.Context) (int, error) + func (elq *EmailLogQuery) CountX(ctx context.Context) int + func (elq *EmailLogQuery) Exist(ctx context.Context) (bool, error) + func (elq *EmailLogQuery) ExistX(ctx context.Context) bool + func (elq *EmailLogQuery) First(ctx context.Context) (*EmailLog, error) + func (elq *EmailLogQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (elq *EmailLogQuery) FirstIDX(ctx context.Context) uuid.UUID + func (elq *EmailLogQuery) FirstX(ctx context.Context) *EmailLog + func (elq *EmailLogQuery) GroupBy(field string, fields ...string) *EmailLogGroupBy + func (elq *EmailLogQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (elq *EmailLogQuery) IDsX(ctx context.Context) []uuid.UUID + func (elq *EmailLogQuery) Limit(limit int) *EmailLogQuery + func (elq *EmailLogQuery) Offset(offset int) *EmailLogQuery + func (elq *EmailLogQuery) Only(ctx context.Context) (*EmailLog, error) + func (elq *EmailLogQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (elq *EmailLogQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (elq *EmailLogQuery) OnlyX(ctx context.Context) *EmailLog + func (elq *EmailLogQuery) Order(o ...emaillog.OrderOption) *EmailLogQuery + func (elq *EmailLogQuery) Select(fields ...string) *EmailLogSelect + func (elq *EmailLogQuery) Unique(unique bool) *EmailLogQuery + func (elq *EmailLogQuery) Where(ps ...predicate.EmailLog) *EmailLogQuery + type EmailLogSelect struct + func (c EmailLogSelect) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c EmailLogSelect) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (els *EmailLogSelect) Aggregate(fns ...AggregateFunc) *EmailLogSelect + func (els *EmailLogSelect) Scan(ctx context.Context, v any) error + func (s *EmailLogSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *EmailLogSelect) BoolX(ctx context.Context) bool + func (s *EmailLogSelect) Bools(ctx context.Context) ([]bool, error) + func (s *EmailLogSelect) BoolsX(ctx context.Context) []bool + func (s *EmailLogSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *EmailLogSelect) Float64X(ctx context.Context) float64 + func (s *EmailLogSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *EmailLogSelect) Float64sX(ctx context.Context) []float64 + func (s *EmailLogSelect) Int(ctx context.Context) (_ int, err error) + func (s *EmailLogSelect) IntX(ctx context.Context) int + func (s *EmailLogSelect) Ints(ctx context.Context) ([]int, error) + func (s *EmailLogSelect) IntsX(ctx context.Context) []int + func (s *EmailLogSelect) ScanX(ctx context.Context, v any) + func (s *EmailLogSelect) String(ctx context.Context) (_ string, err error) + func (s *EmailLogSelect) StringX(ctx context.Context) string + func (s *EmailLogSelect) Strings(ctx context.Context) ([]string, error) + func (s *EmailLogSelect) StringsX(ctx context.Context) []string + type EmailLogUpdate struct + func (c *EmailLogUpdate) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLogUpdate) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (el *EmailLogUpdate) SetNotNilContent(value *string) *EmailLogUpdate + func (el *EmailLogUpdate) SetNotNilProvider(value *string) *EmailLogUpdate + func (el *EmailLogUpdate) SetNotNilSendStatus(value *uint8) *EmailLogUpdate + func (el *EmailLogUpdate) SetNotNilSubject(value *string) *EmailLogUpdate + func (el *EmailLogUpdate) SetNotNilTarget(value *string) *EmailLogUpdate + func (el *EmailLogUpdate) SetNotNilUpdatedAt(value *time.Time) *EmailLogUpdate + func (elu *EmailLogUpdate) AddSendStatus(u int8) *EmailLogUpdate + func (elu *EmailLogUpdate) Exec(ctx context.Context) error + func (elu *EmailLogUpdate) ExecX(ctx context.Context) + func (elu *EmailLogUpdate) Mutation() *EmailLogMutation + func (elu *EmailLogUpdate) Save(ctx context.Context) (int, error) + func (elu *EmailLogUpdate) SaveX(ctx context.Context) int + func (elu *EmailLogUpdate) SetContent(s string) *EmailLogUpdate + func (elu *EmailLogUpdate) SetNillableContent(s *string) *EmailLogUpdate + func (elu *EmailLogUpdate) SetNillableProvider(s *string) *EmailLogUpdate + func (elu *EmailLogUpdate) SetNillableSendStatus(u *uint8) *EmailLogUpdate + func (elu *EmailLogUpdate) SetNillableSubject(s *string) *EmailLogUpdate + func (elu *EmailLogUpdate) SetNillableTarget(s *string) *EmailLogUpdate + func (elu *EmailLogUpdate) SetProvider(s string) *EmailLogUpdate + func (elu *EmailLogUpdate) SetSendStatus(u uint8) *EmailLogUpdate + func (elu *EmailLogUpdate) SetSubject(s string) *EmailLogUpdate + func (elu *EmailLogUpdate) SetTarget(s string) *EmailLogUpdate + func (elu *EmailLogUpdate) SetUpdatedAt(t time.Time) *EmailLogUpdate + func (elu *EmailLogUpdate) Where(ps ...predicate.EmailLog) *EmailLogUpdate + type EmailLogUpdateOne struct + func (c *EmailLogUpdateOne) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailLogUpdateOne) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (el *EmailLogUpdateOne) SetNotNilContent(value *string) *EmailLogUpdateOne + func (el *EmailLogUpdateOne) SetNotNilProvider(value *string) *EmailLogUpdateOne + func (el *EmailLogUpdateOne) SetNotNilSendStatus(value *uint8) *EmailLogUpdateOne + func (el *EmailLogUpdateOne) SetNotNilSubject(value *string) *EmailLogUpdateOne + func (el *EmailLogUpdateOne) SetNotNilTarget(value *string) *EmailLogUpdateOne + func (el *EmailLogUpdateOne) SetNotNilUpdatedAt(value *time.Time) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) AddSendStatus(u int8) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) Exec(ctx context.Context) error + func (eluo *EmailLogUpdateOne) ExecX(ctx context.Context) + func (eluo *EmailLogUpdateOne) Mutation() *EmailLogMutation + func (eluo *EmailLogUpdateOne) Save(ctx context.Context) (*EmailLog, error) + func (eluo *EmailLogUpdateOne) SaveX(ctx context.Context) *EmailLog + func (eluo *EmailLogUpdateOne) Select(field string, fields ...string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetContent(s string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetNillableContent(s *string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetNillableProvider(s *string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetNillableSendStatus(u *uint8) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetNillableSubject(s *string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetNillableTarget(s *string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetProvider(s string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetSendStatus(u uint8) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetSubject(s string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetTarget(s string) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) SetUpdatedAt(t time.Time) *EmailLogUpdateOne + func (eluo *EmailLogUpdateOne) Where(ps ...predicate.EmailLog) *EmailLogUpdateOne + type EmailLogs []*EmailLog + type EmailProvider struct + AuthType uint8 + CreatedAt time.Time + EmailAddr string + HostName string + ID uint64 + Identify string + IsDefault bool + Name string + Password string + Port uint32 + Secret string + TLS bool + UpdatedAt time.Time + func (c *EmailProvider) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProvider) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (ep *EmailProvider) String() string + func (ep *EmailProvider) Unwrap() *EmailProvider + func (ep *EmailProvider) Update() *EmailProviderUpdateOne + func (ep *EmailProvider) Value(name string) (ent.Value, error) + type EmailProviderClient struct + func NewEmailProviderClient(c config) *EmailProviderClient + func (c *EmailProviderClient) Create() *EmailProviderCreate + func (c *EmailProviderClient) CreateBulk(builders ...*EmailProviderCreate) *EmailProviderCreateBulk + func (c *EmailProviderClient) Delete() *EmailProviderDelete + func (c *EmailProviderClient) DeleteOne(ep *EmailProvider) *EmailProviderDeleteOne + func (c *EmailProviderClient) DeleteOneID(id uint64) *EmailProviderDeleteOne + func (c *EmailProviderClient) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProviderClient) Get(ctx context.Context, id uint64) (*EmailProvider, error) + func (c *EmailProviderClient) GetX(ctx context.Context, id uint64) *EmailProvider + func (c *EmailProviderClient) Hooks() []Hook + func (c *EmailProviderClient) Intercept(interceptors ...Interceptor) + func (c *EmailProviderClient) Interceptors() []Interceptor + func (c *EmailProviderClient) MapCreateBulk(slice any, setFunc func(*EmailProviderCreate, int)) *EmailProviderCreateBulk + func (c *EmailProviderClient) Query() *EmailProviderQuery + func (c *EmailProviderClient) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (c *EmailProviderClient) Update() *EmailProviderUpdate + func (c *EmailProviderClient) UpdateOne(ep *EmailProvider) *EmailProviderUpdateOne + func (c *EmailProviderClient) UpdateOneID(id uint64) *EmailProviderUpdateOne + func (c *EmailProviderClient) Use(hooks ...Hook) + type EmailProviderCreate struct + func (c *EmailProviderCreate) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProviderCreate) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (ep *EmailProviderCreate) SetNotNilAuthType(value *uint8) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilEmailAddr(value *string) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilHostName(value *string) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilIdentify(value *string) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilIsDefault(value *bool) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilName(value *string) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilPassword(value *string) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilPort(value *uint32) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilSecret(value *string) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilTLS(value *bool) *EmailProviderCreate + func (ep *EmailProviderCreate) SetNotNilUpdatedAt(value *time.Time) *EmailProviderCreate + func (epc *EmailProviderCreate) Exec(ctx context.Context) error + func (epc *EmailProviderCreate) ExecX(ctx context.Context) + func (epc *EmailProviderCreate) Mutation() *EmailProviderMutation + func (epc *EmailProviderCreate) Save(ctx context.Context) (*EmailProvider, error) + func (epc *EmailProviderCreate) SaveX(ctx context.Context) *EmailProvider + func (epc *EmailProviderCreate) SetAuthType(u uint8) *EmailProviderCreate + func (epc *EmailProviderCreate) SetCreatedAt(t time.Time) *EmailProviderCreate + func (epc *EmailProviderCreate) SetEmailAddr(s string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetHostName(s string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetID(u uint64) *EmailProviderCreate + func (epc *EmailProviderCreate) SetIdentify(s string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetIsDefault(b bool) *EmailProviderCreate + func (epc *EmailProviderCreate) SetName(s string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetNillableCreatedAt(t *time.Time) *EmailProviderCreate + func (epc *EmailProviderCreate) SetNillableIdentify(s *string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetNillableIsDefault(b *bool) *EmailProviderCreate + func (epc *EmailProviderCreate) SetNillablePassword(s *string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetNillablePort(u *uint32) *EmailProviderCreate + func (epc *EmailProviderCreate) SetNillableSecret(s *string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetNillableTLS(b *bool) *EmailProviderCreate + func (epc *EmailProviderCreate) SetNillableUpdatedAt(t *time.Time) *EmailProviderCreate + func (epc *EmailProviderCreate) SetPassword(s string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetPort(u uint32) *EmailProviderCreate + func (epc *EmailProviderCreate) SetSecret(s string) *EmailProviderCreate + func (epc *EmailProviderCreate) SetTLS(b bool) *EmailProviderCreate + func (epc *EmailProviderCreate) SetUpdatedAt(t time.Time) *EmailProviderCreate + type EmailProviderCreateBulk struct + func (c *EmailProviderCreateBulk) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProviderCreateBulk) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (epcb *EmailProviderCreateBulk) Exec(ctx context.Context) error + func (epcb *EmailProviderCreateBulk) ExecX(ctx context.Context) + func (epcb *EmailProviderCreateBulk) Save(ctx context.Context) ([]*EmailProvider, error) + func (epcb *EmailProviderCreateBulk) SaveX(ctx context.Context) []*EmailProvider + type EmailProviderDelete struct + func (c *EmailProviderDelete) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProviderDelete) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (epd *EmailProviderDelete) Exec(ctx context.Context) (int, error) + func (epd *EmailProviderDelete) ExecX(ctx context.Context) int + func (epd *EmailProviderDelete) Where(ps ...predicate.EmailProvider) *EmailProviderDelete + type EmailProviderDeleteOne struct + func (epdo *EmailProviderDeleteOne) Exec(ctx context.Context) error + func (epdo *EmailProviderDeleteOne) ExecX(ctx context.Context) + func (epdo *EmailProviderDeleteOne) Where(ps ...predicate.EmailProvider) *EmailProviderDeleteOne + type EmailProviderGroupBy struct + func (epgb *EmailProviderGroupBy) Aggregate(fns ...AggregateFunc) *EmailProviderGroupBy + func (epgb *EmailProviderGroupBy) Scan(ctx context.Context, v any) error + func (s *EmailProviderGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *EmailProviderGroupBy) BoolX(ctx context.Context) bool + func (s *EmailProviderGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *EmailProviderGroupBy) BoolsX(ctx context.Context) []bool + func (s *EmailProviderGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *EmailProviderGroupBy) Float64X(ctx context.Context) float64 + func (s *EmailProviderGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *EmailProviderGroupBy) Float64sX(ctx context.Context) []float64 + func (s *EmailProviderGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *EmailProviderGroupBy) IntX(ctx context.Context) int + func (s *EmailProviderGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *EmailProviderGroupBy) IntsX(ctx context.Context) []int + func (s *EmailProviderGroupBy) ScanX(ctx context.Context, v any) + func (s *EmailProviderGroupBy) String(ctx context.Context) (_ string, err error) + func (s *EmailProviderGroupBy) StringX(ctx context.Context) string + func (s *EmailProviderGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *EmailProviderGroupBy) StringsX(ctx context.Context) []string + type EmailProviderMutation struct + func (c *EmailProviderMutation) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProviderMutation) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (m *EmailProviderMutation) AddAuthType(u int8) + func (m *EmailProviderMutation) AddField(name string, value ent.Value) error + func (m *EmailProviderMutation) AddPort(u int32) + func (m *EmailProviderMutation) AddedAuthType() (r int8, exists bool) + func (m *EmailProviderMutation) AddedEdges() []string + func (m *EmailProviderMutation) AddedField(name string) (ent.Value, bool) + func (m *EmailProviderMutation) AddedFields() []string + func (m *EmailProviderMutation) AddedIDs(name string) []ent.Value + func (m *EmailProviderMutation) AddedPort() (r int32, exists bool) + func (m *EmailProviderMutation) AuthType() (r uint8, exists bool) + func (m *EmailProviderMutation) ClearEdge(name string) error + func (m *EmailProviderMutation) ClearField(name string) error + func (m *EmailProviderMutation) ClearIdentify() + func (m *EmailProviderMutation) ClearPassword() + func (m *EmailProviderMutation) ClearPort() + func (m *EmailProviderMutation) ClearSecret() + func (m *EmailProviderMutation) ClearedEdges() []string + func (m *EmailProviderMutation) ClearedFields() []string + func (m *EmailProviderMutation) CreatedAt() (r time.Time, exists bool) + func (m *EmailProviderMutation) EdgeCleared(name string) bool + func (m *EmailProviderMutation) EmailAddr() (r string, exists bool) + func (m *EmailProviderMutation) Field(name string) (ent.Value, bool) + func (m *EmailProviderMutation) FieldCleared(name string) bool + func (m *EmailProviderMutation) Fields() []string + func (m *EmailProviderMutation) HostName() (r string, exists bool) + func (m *EmailProviderMutation) ID() (id uint64, exists bool) + func (m *EmailProviderMutation) IDs(ctx context.Context) ([]uint64, error) + func (m *EmailProviderMutation) Identify() (r string, exists bool) + func (m *EmailProviderMutation) IdentifyCleared() bool + func (m *EmailProviderMutation) IsDefault() (r bool, exists bool) + func (m *EmailProviderMutation) Name() (r string, exists bool) + func (m *EmailProviderMutation) OldAuthType(ctx context.Context) (v uint8, err error) + func (m *EmailProviderMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *EmailProviderMutation) OldEmailAddr(ctx context.Context) (v string, err error) + func (m *EmailProviderMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *EmailProviderMutation) OldHostName(ctx context.Context) (v string, err error) + func (m *EmailProviderMutation) OldIdentify(ctx context.Context) (v string, err error) + func (m *EmailProviderMutation) OldIsDefault(ctx context.Context) (v bool, err error) + func (m *EmailProviderMutation) OldName(ctx context.Context) (v string, err error) + func (m *EmailProviderMutation) OldPassword(ctx context.Context) (v string, err error) + func (m *EmailProviderMutation) OldPort(ctx context.Context) (v uint32, err error) + func (m *EmailProviderMutation) OldSecret(ctx context.Context) (v string, err error) + func (m *EmailProviderMutation) OldTLS(ctx context.Context) (v bool, err error) + func (m *EmailProviderMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *EmailProviderMutation) Op() Op + func (m *EmailProviderMutation) Password() (r string, exists bool) + func (m *EmailProviderMutation) PasswordCleared() bool + func (m *EmailProviderMutation) Port() (r uint32, exists bool) + func (m *EmailProviderMutation) PortCleared() bool + func (m *EmailProviderMutation) RemovedEdges() []string + func (m *EmailProviderMutation) RemovedIDs(name string) []ent.Value + func (m *EmailProviderMutation) ResetAuthType() + func (m *EmailProviderMutation) ResetCreatedAt() + func (m *EmailProviderMutation) ResetEdge(name string) error + func (m *EmailProviderMutation) ResetEmailAddr() + func (m *EmailProviderMutation) ResetField(name string) error + func (m *EmailProviderMutation) ResetHostName() + func (m *EmailProviderMutation) ResetIdentify() + func (m *EmailProviderMutation) ResetIsDefault() + func (m *EmailProviderMutation) ResetName() + func (m *EmailProviderMutation) ResetPassword() + func (m *EmailProviderMutation) ResetPort() + func (m *EmailProviderMutation) ResetSecret() + func (m *EmailProviderMutation) ResetTLS() + func (m *EmailProviderMutation) ResetUpdatedAt() + func (m *EmailProviderMutation) Secret() (r string, exists bool) + func (m *EmailProviderMutation) SecretCleared() bool + func (m *EmailProviderMutation) SetAuthType(u uint8) + func (m *EmailProviderMutation) SetCreatedAt(t time.Time) + func (m *EmailProviderMutation) SetEmailAddr(s string) + func (m *EmailProviderMutation) SetField(name string, value ent.Value) error + func (m *EmailProviderMutation) SetHostName(s string) + func (m *EmailProviderMutation) SetID(id uint64) + func (m *EmailProviderMutation) SetIdentify(s string) + func (m *EmailProviderMutation) SetIsDefault(b bool) + func (m *EmailProviderMutation) SetName(s string) + func (m *EmailProviderMutation) SetOp(op Op) + func (m *EmailProviderMutation) SetPassword(s string) + func (m *EmailProviderMutation) SetPort(u uint32) + func (m *EmailProviderMutation) SetSecret(s string) + func (m *EmailProviderMutation) SetTLS(b bool) + func (m *EmailProviderMutation) SetUpdatedAt(t time.Time) + func (m *EmailProviderMutation) TLS() (r bool, exists bool) + func (m *EmailProviderMutation) Type() string + func (m *EmailProviderMutation) UpdatedAt() (r time.Time, exists bool) + func (m *EmailProviderMutation) Where(ps ...predicate.EmailProvider) + func (m *EmailProviderMutation) WhereP(ps ...func(*sql.Selector)) + func (m EmailProviderMutation) Client() *Client + func (m EmailProviderMutation) Tx() (*Tx, error) + type EmailProviderPageList struct + List []*EmailProvider + PageDetails *PageDetails + type EmailProviderPager struct + Filter func(*EmailProviderQuery) (*EmailProviderQuery, error) + Order emailprovider.OrderOption + func (p *EmailProviderPager) ApplyFilter(query *EmailProviderQuery) (*EmailProviderQuery, error) + type EmailProviderPaginateOption func(*EmailProviderPager) + type EmailProviderQuery struct + func (c *EmailProviderQuery) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProviderQuery) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (ep *EmailProviderQuery) Page(ctx context.Context, pageNum uint64, pageSize uint64, ...) (*EmailProviderPageList, error) + func (epq *EmailProviderQuery) Aggregate(fns ...AggregateFunc) *EmailProviderSelect + func (epq *EmailProviderQuery) All(ctx context.Context) ([]*EmailProvider, error) + func (epq *EmailProviderQuery) AllX(ctx context.Context) []*EmailProvider + func (epq *EmailProviderQuery) Clone() *EmailProviderQuery + func (epq *EmailProviderQuery) Count(ctx context.Context) (int, error) + func (epq *EmailProviderQuery) CountX(ctx context.Context) int + func (epq *EmailProviderQuery) Exist(ctx context.Context) (bool, error) + func (epq *EmailProviderQuery) ExistX(ctx context.Context) bool + func (epq *EmailProviderQuery) First(ctx context.Context) (*EmailProvider, error) + func (epq *EmailProviderQuery) FirstID(ctx context.Context) (id uint64, err error) + func (epq *EmailProviderQuery) FirstIDX(ctx context.Context) uint64 + func (epq *EmailProviderQuery) FirstX(ctx context.Context) *EmailProvider + func (epq *EmailProviderQuery) GroupBy(field string, fields ...string) *EmailProviderGroupBy + func (epq *EmailProviderQuery) IDs(ctx context.Context) (ids []uint64, err error) + func (epq *EmailProviderQuery) IDsX(ctx context.Context) []uint64 + func (epq *EmailProviderQuery) Limit(limit int) *EmailProviderQuery + func (epq *EmailProviderQuery) Offset(offset int) *EmailProviderQuery + func (epq *EmailProviderQuery) Only(ctx context.Context) (*EmailProvider, error) + func (epq *EmailProviderQuery) OnlyID(ctx context.Context) (id uint64, err error) + func (epq *EmailProviderQuery) OnlyIDX(ctx context.Context) uint64 + func (epq *EmailProviderQuery) OnlyX(ctx context.Context) *EmailProvider + func (epq *EmailProviderQuery) Order(o ...emailprovider.OrderOption) *EmailProviderQuery + func (epq *EmailProviderQuery) Select(fields ...string) *EmailProviderSelect + func (epq *EmailProviderQuery) Unique(unique bool) *EmailProviderQuery + func (epq *EmailProviderQuery) Where(ps ...predicate.EmailProvider) *EmailProviderQuery + type EmailProviderSelect struct + func (c EmailProviderSelect) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c EmailProviderSelect) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (eps *EmailProviderSelect) Aggregate(fns ...AggregateFunc) *EmailProviderSelect + func (eps *EmailProviderSelect) Scan(ctx context.Context, v any) error + func (s *EmailProviderSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *EmailProviderSelect) BoolX(ctx context.Context) bool + func (s *EmailProviderSelect) Bools(ctx context.Context) ([]bool, error) + func (s *EmailProviderSelect) BoolsX(ctx context.Context) []bool + func (s *EmailProviderSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *EmailProviderSelect) Float64X(ctx context.Context) float64 + func (s *EmailProviderSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *EmailProviderSelect) Float64sX(ctx context.Context) []float64 + func (s *EmailProviderSelect) Int(ctx context.Context) (_ int, err error) + func (s *EmailProviderSelect) IntX(ctx context.Context) int + func (s *EmailProviderSelect) Ints(ctx context.Context) ([]int, error) + func (s *EmailProviderSelect) IntsX(ctx context.Context) []int + func (s *EmailProviderSelect) ScanX(ctx context.Context, v any) + func (s *EmailProviderSelect) String(ctx context.Context) (_ string, err error) + func (s *EmailProviderSelect) StringX(ctx context.Context) string + func (s *EmailProviderSelect) Strings(ctx context.Context) ([]string, error) + func (s *EmailProviderSelect) StringsX(ctx context.Context) []string + type EmailProviderUpdate struct + func (c *EmailProviderUpdate) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProviderUpdate) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (ep *EmailProviderUpdate) SetNotNilAuthType(value *uint8) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilEmailAddr(value *string) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilHostName(value *string) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilIdentify(value *string) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilIsDefault(value *bool) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilName(value *string) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilPassword(value *string) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilPort(value *uint32) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilSecret(value *string) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilTLS(value *bool) *EmailProviderUpdate + func (ep *EmailProviderUpdate) SetNotNilUpdatedAt(value *time.Time) *EmailProviderUpdate + func (epu *EmailProviderUpdate) AddAuthType(u int8) *EmailProviderUpdate + func (epu *EmailProviderUpdate) AddPort(u int32) *EmailProviderUpdate + func (epu *EmailProviderUpdate) ClearIdentify() *EmailProviderUpdate + func (epu *EmailProviderUpdate) ClearPassword() *EmailProviderUpdate + func (epu *EmailProviderUpdate) ClearPort() *EmailProviderUpdate + func (epu *EmailProviderUpdate) ClearSecret() *EmailProviderUpdate + func (epu *EmailProviderUpdate) Exec(ctx context.Context) error + func (epu *EmailProviderUpdate) ExecX(ctx context.Context) + func (epu *EmailProviderUpdate) Mutation() *EmailProviderMutation + func (epu *EmailProviderUpdate) Save(ctx context.Context) (int, error) + func (epu *EmailProviderUpdate) SaveX(ctx context.Context) int + func (epu *EmailProviderUpdate) SetAuthType(u uint8) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetEmailAddr(s string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetHostName(s string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetIdentify(s string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetIsDefault(b bool) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetName(s string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillableAuthType(u *uint8) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillableEmailAddr(s *string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillableHostName(s *string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillableIdentify(s *string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillableIsDefault(b *bool) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillableName(s *string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillablePassword(s *string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillablePort(u *uint32) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillableSecret(s *string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetNillableTLS(b *bool) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetPassword(s string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetPort(u uint32) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetSecret(s string) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetTLS(b bool) *EmailProviderUpdate + func (epu *EmailProviderUpdate) SetUpdatedAt(t time.Time) *EmailProviderUpdate + func (epu *EmailProviderUpdate) Where(ps ...predicate.EmailProvider) *EmailProviderUpdate + type EmailProviderUpdateOne struct + func (c *EmailProviderUpdateOne) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *EmailProviderUpdateOne) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (ep *EmailProviderUpdateOne) SetNotNilAuthType(value *uint8) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilEmailAddr(value *string) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilHostName(value *string) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilIdentify(value *string) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilIsDefault(value *bool) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilName(value *string) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilPassword(value *string) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilPort(value *uint32) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilSecret(value *string) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilTLS(value *bool) *EmailProviderUpdateOne + func (ep *EmailProviderUpdateOne) SetNotNilUpdatedAt(value *time.Time) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) AddAuthType(u int8) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) AddPort(u int32) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) ClearIdentify() *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) ClearPassword() *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) ClearPort() *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) ClearSecret() *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) Exec(ctx context.Context) error + func (epuo *EmailProviderUpdateOne) ExecX(ctx context.Context) + func (epuo *EmailProviderUpdateOne) Mutation() *EmailProviderMutation + func (epuo *EmailProviderUpdateOne) Save(ctx context.Context) (*EmailProvider, error) + func (epuo *EmailProviderUpdateOne) SaveX(ctx context.Context) *EmailProvider + func (epuo *EmailProviderUpdateOne) Select(field string, fields ...string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetAuthType(u uint8) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetEmailAddr(s string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetHostName(s string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetIdentify(s string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetIsDefault(b bool) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetName(s string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillableAuthType(u *uint8) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillableEmailAddr(s *string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillableHostName(s *string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillableIdentify(s *string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillableIsDefault(b *bool) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillableName(s *string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillablePassword(s *string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillablePort(u *uint32) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillableSecret(s *string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetNillableTLS(b *bool) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetPassword(s string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetPort(u uint32) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetSecret(s string) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetTLS(b bool) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) SetUpdatedAt(t time.Time) *EmailProviderUpdateOne + func (epuo *EmailProviderUpdateOne) Where(ps ...predicate.EmailProvider) *EmailProviderUpdateOne + type EmailProviders []*EmailProvider + type Hook = ent.Hook + type InterceptFunc = ent.InterceptFunc + type Interceptor = ent.Interceptor + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...any)) Option + type OrderDirection string + const OrderDirectionAsc + const OrderDirectionDesc + func (o OrderDirection) String() string + func (o OrderDirection) Validate() error + type OrderFunc func(*sql.Selector) + type PageDetails struct + Page uint64 + Size uint64 + Total uint64 + type Policy = ent.Policy + type Querier = ent.Querier + type QuerierFunc = ent.QuerierFunc + type Query = ent.Query + type QueryContext = ent.QueryContext + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type SmsLog struct + Content string + CreatedAt time.Time + ID uuid.UUID + PhoneNumber string + Provider string + SendStatus uint8 + UpdatedAt time.Time + func (c *SmsLog) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLog) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sl *SmsLog) String() string + func (sl *SmsLog) Unwrap() *SmsLog + func (sl *SmsLog) Update() *SmsLogUpdateOne + func (sl *SmsLog) Value(name string) (ent.Value, error) + type SmsLogClient struct + func NewSmsLogClient(c config) *SmsLogClient + func (c *SmsLogClient) Create() *SmsLogCreate + func (c *SmsLogClient) CreateBulk(builders ...*SmsLogCreate) *SmsLogCreateBulk + func (c *SmsLogClient) Delete() *SmsLogDelete + func (c *SmsLogClient) DeleteOne(sl *SmsLog) *SmsLogDeleteOne + func (c *SmsLogClient) DeleteOneID(id uuid.UUID) *SmsLogDeleteOne + func (c *SmsLogClient) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLogClient) Get(ctx context.Context, id uuid.UUID) (*SmsLog, error) + func (c *SmsLogClient) GetX(ctx context.Context, id uuid.UUID) *SmsLog + func (c *SmsLogClient) Hooks() []Hook + func (c *SmsLogClient) Intercept(interceptors ...Interceptor) + func (c *SmsLogClient) Interceptors() []Interceptor + func (c *SmsLogClient) MapCreateBulk(slice any, setFunc func(*SmsLogCreate, int)) *SmsLogCreateBulk + func (c *SmsLogClient) Query() *SmsLogQuery + func (c *SmsLogClient) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (c *SmsLogClient) Update() *SmsLogUpdate + func (c *SmsLogClient) UpdateOne(sl *SmsLog) *SmsLogUpdateOne + func (c *SmsLogClient) UpdateOneID(id uuid.UUID) *SmsLogUpdateOne + func (c *SmsLogClient) Use(hooks ...Hook) + type SmsLogCreate struct + func (c *SmsLogCreate) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLogCreate) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sl *SmsLogCreate) SetNotNilContent(value *string) *SmsLogCreate + func (sl *SmsLogCreate) SetNotNilPhoneNumber(value *string) *SmsLogCreate + func (sl *SmsLogCreate) SetNotNilProvider(value *string) *SmsLogCreate + func (sl *SmsLogCreate) SetNotNilSendStatus(value *uint8) *SmsLogCreate + func (sl *SmsLogCreate) SetNotNilUpdatedAt(value *time.Time) *SmsLogCreate + func (slc *SmsLogCreate) Exec(ctx context.Context) error + func (slc *SmsLogCreate) ExecX(ctx context.Context) + func (slc *SmsLogCreate) Mutation() *SmsLogMutation + func (slc *SmsLogCreate) Save(ctx context.Context) (*SmsLog, error) + func (slc *SmsLogCreate) SaveX(ctx context.Context) *SmsLog + func (slc *SmsLogCreate) SetContent(s string) *SmsLogCreate + func (slc *SmsLogCreate) SetCreatedAt(t time.Time) *SmsLogCreate + func (slc *SmsLogCreate) SetID(u uuid.UUID) *SmsLogCreate + func (slc *SmsLogCreate) SetNillableCreatedAt(t *time.Time) *SmsLogCreate + func (slc *SmsLogCreate) SetNillableID(u *uuid.UUID) *SmsLogCreate + func (slc *SmsLogCreate) SetNillableUpdatedAt(t *time.Time) *SmsLogCreate + func (slc *SmsLogCreate) SetPhoneNumber(s string) *SmsLogCreate + func (slc *SmsLogCreate) SetProvider(s string) *SmsLogCreate + func (slc *SmsLogCreate) SetSendStatus(u uint8) *SmsLogCreate + func (slc *SmsLogCreate) SetUpdatedAt(t time.Time) *SmsLogCreate + type SmsLogCreateBulk struct + func (c *SmsLogCreateBulk) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLogCreateBulk) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (slcb *SmsLogCreateBulk) Exec(ctx context.Context) error + func (slcb *SmsLogCreateBulk) ExecX(ctx context.Context) + func (slcb *SmsLogCreateBulk) Save(ctx context.Context) ([]*SmsLog, error) + func (slcb *SmsLogCreateBulk) SaveX(ctx context.Context) []*SmsLog + type SmsLogDelete struct + func (c *SmsLogDelete) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLogDelete) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sld *SmsLogDelete) Exec(ctx context.Context) (int, error) + func (sld *SmsLogDelete) ExecX(ctx context.Context) int + func (sld *SmsLogDelete) Where(ps ...predicate.SmsLog) *SmsLogDelete + type SmsLogDeleteOne struct + func (sldo *SmsLogDeleteOne) Exec(ctx context.Context) error + func (sldo *SmsLogDeleteOne) ExecX(ctx context.Context) + func (sldo *SmsLogDeleteOne) Where(ps ...predicate.SmsLog) *SmsLogDeleteOne + type SmsLogGroupBy struct + func (s *SmsLogGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *SmsLogGroupBy) BoolX(ctx context.Context) bool + func (s *SmsLogGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *SmsLogGroupBy) BoolsX(ctx context.Context) []bool + func (s *SmsLogGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *SmsLogGroupBy) Float64X(ctx context.Context) float64 + func (s *SmsLogGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *SmsLogGroupBy) Float64sX(ctx context.Context) []float64 + func (s *SmsLogGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *SmsLogGroupBy) IntX(ctx context.Context) int + func (s *SmsLogGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *SmsLogGroupBy) IntsX(ctx context.Context) []int + func (s *SmsLogGroupBy) ScanX(ctx context.Context, v any) + func (s *SmsLogGroupBy) String(ctx context.Context) (_ string, err error) + func (s *SmsLogGroupBy) StringX(ctx context.Context) string + func (s *SmsLogGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *SmsLogGroupBy) StringsX(ctx context.Context) []string + func (slgb *SmsLogGroupBy) Aggregate(fns ...AggregateFunc) *SmsLogGroupBy + func (slgb *SmsLogGroupBy) Scan(ctx context.Context, v any) error + type SmsLogMutation struct + func (c *SmsLogMutation) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLogMutation) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (m *SmsLogMutation) AddField(name string, value ent.Value) error + func (m *SmsLogMutation) AddSendStatus(u int8) + func (m *SmsLogMutation) AddedEdges() []string + func (m *SmsLogMutation) AddedField(name string) (ent.Value, bool) + func (m *SmsLogMutation) AddedFields() []string + func (m *SmsLogMutation) AddedIDs(name string) []ent.Value + func (m *SmsLogMutation) AddedSendStatus() (r int8, exists bool) + func (m *SmsLogMutation) ClearEdge(name string) error + func (m *SmsLogMutation) ClearField(name string) error + func (m *SmsLogMutation) ClearedEdges() []string + func (m *SmsLogMutation) ClearedFields() []string + func (m *SmsLogMutation) Content() (r string, exists bool) + func (m *SmsLogMutation) CreatedAt() (r time.Time, exists bool) + func (m *SmsLogMutation) EdgeCleared(name string) bool + func (m *SmsLogMutation) Field(name string) (ent.Value, bool) + func (m *SmsLogMutation) FieldCleared(name string) bool + func (m *SmsLogMutation) Fields() []string + func (m *SmsLogMutation) ID() (id uuid.UUID, exists bool) + func (m *SmsLogMutation) IDs(ctx context.Context) ([]uuid.UUID, error) + func (m *SmsLogMutation) OldContent(ctx context.Context) (v string, err error) + func (m *SmsLogMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *SmsLogMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *SmsLogMutation) OldPhoneNumber(ctx context.Context) (v string, err error) + func (m *SmsLogMutation) OldProvider(ctx context.Context) (v string, err error) + func (m *SmsLogMutation) OldSendStatus(ctx context.Context) (v uint8, err error) + func (m *SmsLogMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *SmsLogMutation) Op() Op + func (m *SmsLogMutation) PhoneNumber() (r string, exists bool) + func (m *SmsLogMutation) Provider() (r string, exists bool) + func (m *SmsLogMutation) RemovedEdges() []string + func (m *SmsLogMutation) RemovedIDs(name string) []ent.Value + func (m *SmsLogMutation) ResetContent() + func (m *SmsLogMutation) ResetCreatedAt() + func (m *SmsLogMutation) ResetEdge(name string) error + func (m *SmsLogMutation) ResetField(name string) error + func (m *SmsLogMutation) ResetPhoneNumber() + func (m *SmsLogMutation) ResetProvider() + func (m *SmsLogMutation) ResetSendStatus() + func (m *SmsLogMutation) ResetUpdatedAt() + func (m *SmsLogMutation) SendStatus() (r uint8, exists bool) + func (m *SmsLogMutation) SetContent(s string) + func (m *SmsLogMutation) SetCreatedAt(t time.Time) + func (m *SmsLogMutation) SetField(name string, value ent.Value) error + func (m *SmsLogMutation) SetID(id uuid.UUID) + func (m *SmsLogMutation) SetOp(op Op) + func (m *SmsLogMutation) SetPhoneNumber(s string) + func (m *SmsLogMutation) SetProvider(s string) + func (m *SmsLogMutation) SetSendStatus(u uint8) + func (m *SmsLogMutation) SetUpdatedAt(t time.Time) + func (m *SmsLogMutation) Type() string + func (m *SmsLogMutation) UpdatedAt() (r time.Time, exists bool) + func (m *SmsLogMutation) Where(ps ...predicate.SmsLog) + func (m *SmsLogMutation) WhereP(ps ...func(*sql.Selector)) + func (m SmsLogMutation) Client() *Client + func (m SmsLogMutation) Tx() (*Tx, error) + type SmsLogPageList struct + List []*SmsLog + PageDetails *PageDetails + type SmsLogPager struct + Filter func(*SmsLogQuery) (*SmsLogQuery, error) + Order smslog.OrderOption + func (p *SmsLogPager) ApplyFilter(query *SmsLogQuery) (*SmsLogQuery, error) + type SmsLogPaginateOption func(*SmsLogPager) + type SmsLogQuery struct + func (c *SmsLogQuery) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLogQuery) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sl *SmsLogQuery) Page(ctx context.Context, pageNum uint64, pageSize uint64, ...) (*SmsLogPageList, error) + func (slq *SmsLogQuery) Aggregate(fns ...AggregateFunc) *SmsLogSelect + func (slq *SmsLogQuery) All(ctx context.Context) ([]*SmsLog, error) + func (slq *SmsLogQuery) AllX(ctx context.Context) []*SmsLog + func (slq *SmsLogQuery) Clone() *SmsLogQuery + func (slq *SmsLogQuery) Count(ctx context.Context) (int, error) + func (slq *SmsLogQuery) CountX(ctx context.Context) int + func (slq *SmsLogQuery) Exist(ctx context.Context) (bool, error) + func (slq *SmsLogQuery) ExistX(ctx context.Context) bool + func (slq *SmsLogQuery) First(ctx context.Context) (*SmsLog, error) + func (slq *SmsLogQuery) FirstID(ctx context.Context) (id uuid.UUID, err error) + func (slq *SmsLogQuery) FirstIDX(ctx context.Context) uuid.UUID + func (slq *SmsLogQuery) FirstX(ctx context.Context) *SmsLog + func (slq *SmsLogQuery) GroupBy(field string, fields ...string) *SmsLogGroupBy + func (slq *SmsLogQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) + func (slq *SmsLogQuery) IDsX(ctx context.Context) []uuid.UUID + func (slq *SmsLogQuery) Limit(limit int) *SmsLogQuery + func (slq *SmsLogQuery) Offset(offset int) *SmsLogQuery + func (slq *SmsLogQuery) Only(ctx context.Context) (*SmsLog, error) + func (slq *SmsLogQuery) OnlyID(ctx context.Context) (id uuid.UUID, err error) + func (slq *SmsLogQuery) OnlyIDX(ctx context.Context) uuid.UUID + func (slq *SmsLogQuery) OnlyX(ctx context.Context) *SmsLog + func (slq *SmsLogQuery) Order(o ...smslog.OrderOption) *SmsLogQuery + func (slq *SmsLogQuery) Select(fields ...string) *SmsLogSelect + func (slq *SmsLogQuery) Unique(unique bool) *SmsLogQuery + func (slq *SmsLogQuery) Where(ps ...predicate.SmsLog) *SmsLogQuery + type SmsLogSelect struct + func (c SmsLogSelect) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c SmsLogSelect) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (s *SmsLogSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *SmsLogSelect) BoolX(ctx context.Context) bool + func (s *SmsLogSelect) Bools(ctx context.Context) ([]bool, error) + func (s *SmsLogSelect) BoolsX(ctx context.Context) []bool + func (s *SmsLogSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *SmsLogSelect) Float64X(ctx context.Context) float64 + func (s *SmsLogSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *SmsLogSelect) Float64sX(ctx context.Context) []float64 + func (s *SmsLogSelect) Int(ctx context.Context) (_ int, err error) + func (s *SmsLogSelect) IntX(ctx context.Context) int + func (s *SmsLogSelect) Ints(ctx context.Context) ([]int, error) + func (s *SmsLogSelect) IntsX(ctx context.Context) []int + func (s *SmsLogSelect) ScanX(ctx context.Context, v any) + func (s *SmsLogSelect) String(ctx context.Context) (_ string, err error) + func (s *SmsLogSelect) StringX(ctx context.Context) string + func (s *SmsLogSelect) Strings(ctx context.Context) ([]string, error) + func (s *SmsLogSelect) StringsX(ctx context.Context) []string + func (sls *SmsLogSelect) Aggregate(fns ...AggregateFunc) *SmsLogSelect + func (sls *SmsLogSelect) Scan(ctx context.Context, v any) error + type SmsLogUpdate struct + func (c *SmsLogUpdate) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLogUpdate) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sl *SmsLogUpdate) SetNotNilContent(value *string) *SmsLogUpdate + func (sl *SmsLogUpdate) SetNotNilPhoneNumber(value *string) *SmsLogUpdate + func (sl *SmsLogUpdate) SetNotNilProvider(value *string) *SmsLogUpdate + func (sl *SmsLogUpdate) SetNotNilSendStatus(value *uint8) *SmsLogUpdate + func (sl *SmsLogUpdate) SetNotNilUpdatedAt(value *time.Time) *SmsLogUpdate + func (slu *SmsLogUpdate) AddSendStatus(u int8) *SmsLogUpdate + func (slu *SmsLogUpdate) Exec(ctx context.Context) error + func (slu *SmsLogUpdate) ExecX(ctx context.Context) + func (slu *SmsLogUpdate) Mutation() *SmsLogMutation + func (slu *SmsLogUpdate) Save(ctx context.Context) (int, error) + func (slu *SmsLogUpdate) SaveX(ctx context.Context) int + func (slu *SmsLogUpdate) SetContent(s string) *SmsLogUpdate + func (slu *SmsLogUpdate) SetNillableContent(s *string) *SmsLogUpdate + func (slu *SmsLogUpdate) SetNillablePhoneNumber(s *string) *SmsLogUpdate + func (slu *SmsLogUpdate) SetNillableProvider(s *string) *SmsLogUpdate + func (slu *SmsLogUpdate) SetNillableSendStatus(u *uint8) *SmsLogUpdate + func (slu *SmsLogUpdate) SetPhoneNumber(s string) *SmsLogUpdate + func (slu *SmsLogUpdate) SetProvider(s string) *SmsLogUpdate + func (slu *SmsLogUpdate) SetSendStatus(u uint8) *SmsLogUpdate + func (slu *SmsLogUpdate) SetUpdatedAt(t time.Time) *SmsLogUpdate + func (slu *SmsLogUpdate) Where(ps ...predicate.SmsLog) *SmsLogUpdate + type SmsLogUpdateOne struct + func (c *SmsLogUpdateOne) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsLogUpdateOne) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sl *SmsLogUpdateOne) SetNotNilContent(value *string) *SmsLogUpdateOne + func (sl *SmsLogUpdateOne) SetNotNilPhoneNumber(value *string) *SmsLogUpdateOne + func (sl *SmsLogUpdateOne) SetNotNilProvider(value *string) *SmsLogUpdateOne + func (sl *SmsLogUpdateOne) SetNotNilSendStatus(value *uint8) *SmsLogUpdateOne + func (sl *SmsLogUpdateOne) SetNotNilUpdatedAt(value *time.Time) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) AddSendStatus(u int8) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) Exec(ctx context.Context) error + func (sluo *SmsLogUpdateOne) ExecX(ctx context.Context) + func (sluo *SmsLogUpdateOne) Mutation() *SmsLogMutation + func (sluo *SmsLogUpdateOne) Save(ctx context.Context) (*SmsLog, error) + func (sluo *SmsLogUpdateOne) SaveX(ctx context.Context) *SmsLog + func (sluo *SmsLogUpdateOne) Select(field string, fields ...string) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetContent(s string) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetNillableContent(s *string) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetNillablePhoneNumber(s *string) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetNillableProvider(s *string) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetNillableSendStatus(u *uint8) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetPhoneNumber(s string) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetProvider(s string) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetSendStatus(u uint8) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) SetUpdatedAt(t time.Time) *SmsLogUpdateOne + func (sluo *SmsLogUpdateOne) Where(ps ...predicate.SmsLog) *SmsLogUpdateOne + type SmsLogs []*SmsLog + type SmsProvider struct + CreatedAt time.Time + ID uint64 + IsDefault bool + Name string + Region string + SecretID string + SecretKey string + UpdatedAt time.Time + func (c *SmsProvider) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProvider) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sp *SmsProvider) String() string + func (sp *SmsProvider) Unwrap() *SmsProvider + func (sp *SmsProvider) Update() *SmsProviderUpdateOne + func (sp *SmsProvider) Value(name string) (ent.Value, error) + type SmsProviderClient struct + func NewSmsProviderClient(c config) *SmsProviderClient + func (c *SmsProviderClient) Create() *SmsProviderCreate + func (c *SmsProviderClient) CreateBulk(builders ...*SmsProviderCreate) *SmsProviderCreateBulk + func (c *SmsProviderClient) Delete() *SmsProviderDelete + func (c *SmsProviderClient) DeleteOne(sp *SmsProvider) *SmsProviderDeleteOne + func (c *SmsProviderClient) DeleteOneID(id uint64) *SmsProviderDeleteOne + func (c *SmsProviderClient) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProviderClient) Get(ctx context.Context, id uint64) (*SmsProvider, error) + func (c *SmsProviderClient) GetX(ctx context.Context, id uint64) *SmsProvider + func (c *SmsProviderClient) Hooks() []Hook + func (c *SmsProviderClient) Intercept(interceptors ...Interceptor) + func (c *SmsProviderClient) Interceptors() []Interceptor + func (c *SmsProviderClient) MapCreateBulk(slice any, setFunc func(*SmsProviderCreate, int)) *SmsProviderCreateBulk + func (c *SmsProviderClient) Query() *SmsProviderQuery + func (c *SmsProviderClient) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (c *SmsProviderClient) Update() *SmsProviderUpdate + func (c *SmsProviderClient) UpdateOne(sp *SmsProvider) *SmsProviderUpdateOne + func (c *SmsProviderClient) UpdateOneID(id uint64) *SmsProviderUpdateOne + func (c *SmsProviderClient) Use(hooks ...Hook) + type SmsProviderCreate struct + func (c *SmsProviderCreate) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProviderCreate) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sp *SmsProviderCreate) SetNotNilIsDefault(value *bool) *SmsProviderCreate + func (sp *SmsProviderCreate) SetNotNilName(value *string) *SmsProviderCreate + func (sp *SmsProviderCreate) SetNotNilRegion(value *string) *SmsProviderCreate + func (sp *SmsProviderCreate) SetNotNilSecretID(value *string) *SmsProviderCreate + func (sp *SmsProviderCreate) SetNotNilSecretKey(value *string) *SmsProviderCreate + func (sp *SmsProviderCreate) SetNotNilUpdatedAt(value *time.Time) *SmsProviderCreate + func (spc *SmsProviderCreate) Exec(ctx context.Context) error + func (spc *SmsProviderCreate) ExecX(ctx context.Context) + func (spc *SmsProviderCreate) Mutation() *SmsProviderMutation + func (spc *SmsProviderCreate) Save(ctx context.Context) (*SmsProvider, error) + func (spc *SmsProviderCreate) SaveX(ctx context.Context) *SmsProvider + func (spc *SmsProviderCreate) SetCreatedAt(t time.Time) *SmsProviderCreate + func (spc *SmsProviderCreate) SetID(u uint64) *SmsProviderCreate + func (spc *SmsProviderCreate) SetIsDefault(b bool) *SmsProviderCreate + func (spc *SmsProviderCreate) SetName(s string) *SmsProviderCreate + func (spc *SmsProviderCreate) SetNillableCreatedAt(t *time.Time) *SmsProviderCreate + func (spc *SmsProviderCreate) SetNillableIsDefault(b *bool) *SmsProviderCreate + func (spc *SmsProviderCreate) SetNillableUpdatedAt(t *time.Time) *SmsProviderCreate + func (spc *SmsProviderCreate) SetRegion(s string) *SmsProviderCreate + func (spc *SmsProviderCreate) SetSecretID(s string) *SmsProviderCreate + func (spc *SmsProviderCreate) SetSecretKey(s string) *SmsProviderCreate + func (spc *SmsProviderCreate) SetUpdatedAt(t time.Time) *SmsProviderCreate + type SmsProviderCreateBulk struct + func (c *SmsProviderCreateBulk) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProviderCreateBulk) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (spcb *SmsProviderCreateBulk) Exec(ctx context.Context) error + func (spcb *SmsProviderCreateBulk) ExecX(ctx context.Context) + func (spcb *SmsProviderCreateBulk) Save(ctx context.Context) ([]*SmsProvider, error) + func (spcb *SmsProviderCreateBulk) SaveX(ctx context.Context) []*SmsProvider + type SmsProviderDelete struct + func (c *SmsProviderDelete) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProviderDelete) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (spd *SmsProviderDelete) Exec(ctx context.Context) (int, error) + func (spd *SmsProviderDelete) ExecX(ctx context.Context) int + func (spd *SmsProviderDelete) Where(ps ...predicate.SmsProvider) *SmsProviderDelete + type SmsProviderDeleteOne struct + func (spdo *SmsProviderDeleteOne) Exec(ctx context.Context) error + func (spdo *SmsProviderDeleteOne) ExecX(ctx context.Context) + func (spdo *SmsProviderDeleteOne) Where(ps ...predicate.SmsProvider) *SmsProviderDeleteOne + type SmsProviderGroupBy struct + func (s *SmsProviderGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (s *SmsProviderGroupBy) BoolX(ctx context.Context) bool + func (s *SmsProviderGroupBy) Bools(ctx context.Context) ([]bool, error) + func (s *SmsProviderGroupBy) BoolsX(ctx context.Context) []bool + func (s *SmsProviderGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (s *SmsProviderGroupBy) Float64X(ctx context.Context) float64 + func (s *SmsProviderGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (s *SmsProviderGroupBy) Float64sX(ctx context.Context) []float64 + func (s *SmsProviderGroupBy) Int(ctx context.Context) (_ int, err error) + func (s *SmsProviderGroupBy) IntX(ctx context.Context) int + func (s *SmsProviderGroupBy) Ints(ctx context.Context) ([]int, error) + func (s *SmsProviderGroupBy) IntsX(ctx context.Context) []int + func (s *SmsProviderGroupBy) ScanX(ctx context.Context, v any) + func (s *SmsProviderGroupBy) String(ctx context.Context) (_ string, err error) + func (s *SmsProviderGroupBy) StringX(ctx context.Context) string + func (s *SmsProviderGroupBy) Strings(ctx context.Context) ([]string, error) + func (s *SmsProviderGroupBy) StringsX(ctx context.Context) []string + func (spgb *SmsProviderGroupBy) Aggregate(fns ...AggregateFunc) *SmsProviderGroupBy + func (spgb *SmsProviderGroupBy) Scan(ctx context.Context, v any) error + type SmsProviderMutation struct + func (c *SmsProviderMutation) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProviderMutation) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (m *SmsProviderMutation) AddField(name string, value ent.Value) error + func (m *SmsProviderMutation) AddedEdges() []string + func (m *SmsProviderMutation) AddedField(name string) (ent.Value, bool) + func (m *SmsProviderMutation) AddedFields() []string + func (m *SmsProviderMutation) AddedIDs(name string) []ent.Value + func (m *SmsProviderMutation) ClearEdge(name string) error + func (m *SmsProviderMutation) ClearField(name string) error + func (m *SmsProviderMutation) ClearedEdges() []string + func (m *SmsProviderMutation) ClearedFields() []string + func (m *SmsProviderMutation) CreatedAt() (r time.Time, exists bool) + func (m *SmsProviderMutation) EdgeCleared(name string) bool + func (m *SmsProviderMutation) Field(name string) (ent.Value, bool) + func (m *SmsProviderMutation) FieldCleared(name string) bool + func (m *SmsProviderMutation) Fields() []string + func (m *SmsProviderMutation) ID() (id uint64, exists bool) + func (m *SmsProviderMutation) IDs(ctx context.Context) ([]uint64, error) + func (m *SmsProviderMutation) IsDefault() (r bool, exists bool) + func (m *SmsProviderMutation) Name() (r string, exists bool) + func (m *SmsProviderMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error) + func (m *SmsProviderMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *SmsProviderMutation) OldIsDefault(ctx context.Context) (v bool, err error) + func (m *SmsProviderMutation) OldName(ctx context.Context) (v string, err error) + func (m *SmsProviderMutation) OldRegion(ctx context.Context) (v string, err error) + func (m *SmsProviderMutation) OldSecretID(ctx context.Context) (v string, err error) + func (m *SmsProviderMutation) OldSecretKey(ctx context.Context) (v string, err error) + func (m *SmsProviderMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error) + func (m *SmsProviderMutation) Op() Op + func (m *SmsProviderMutation) Region() (r string, exists bool) + func (m *SmsProviderMutation) RemovedEdges() []string + func (m *SmsProviderMutation) RemovedIDs(name string) []ent.Value + func (m *SmsProviderMutation) ResetCreatedAt() + func (m *SmsProviderMutation) ResetEdge(name string) error + func (m *SmsProviderMutation) ResetField(name string) error + func (m *SmsProviderMutation) ResetIsDefault() + func (m *SmsProviderMutation) ResetName() + func (m *SmsProviderMutation) ResetRegion() + func (m *SmsProviderMutation) ResetSecretID() + func (m *SmsProviderMutation) ResetSecretKey() + func (m *SmsProviderMutation) ResetUpdatedAt() + func (m *SmsProviderMutation) SecretID() (r string, exists bool) + func (m *SmsProviderMutation) SecretKey() (r string, exists bool) + func (m *SmsProviderMutation) SetCreatedAt(t time.Time) + func (m *SmsProviderMutation) SetField(name string, value ent.Value) error + func (m *SmsProviderMutation) SetID(id uint64) + func (m *SmsProviderMutation) SetIsDefault(b bool) + func (m *SmsProviderMutation) SetName(s string) + func (m *SmsProviderMutation) SetOp(op Op) + func (m *SmsProviderMutation) SetRegion(s string) + func (m *SmsProviderMutation) SetSecretID(s string) + func (m *SmsProviderMutation) SetSecretKey(s string) + func (m *SmsProviderMutation) SetUpdatedAt(t time.Time) + func (m *SmsProviderMutation) Type() string + func (m *SmsProviderMutation) UpdatedAt() (r time.Time, exists bool) + func (m *SmsProviderMutation) Where(ps ...predicate.SmsProvider) + func (m *SmsProviderMutation) WhereP(ps ...func(*sql.Selector)) + func (m SmsProviderMutation) Client() *Client + func (m SmsProviderMutation) Tx() (*Tx, error) + type SmsProviderPageList struct + List []*SmsProvider + PageDetails *PageDetails + type SmsProviderPager struct + Filter func(*SmsProviderQuery) (*SmsProviderQuery, error) + Order smsprovider.OrderOption + func (p *SmsProviderPager) ApplyFilter(query *SmsProviderQuery) (*SmsProviderQuery, error) + type SmsProviderPaginateOption func(*SmsProviderPager) + type SmsProviderQuery struct + func (c *SmsProviderQuery) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProviderQuery) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sp *SmsProviderQuery) Page(ctx context.Context, pageNum uint64, pageSize uint64, ...) (*SmsProviderPageList, error) + func (spq *SmsProviderQuery) Aggregate(fns ...AggregateFunc) *SmsProviderSelect + func (spq *SmsProviderQuery) All(ctx context.Context) ([]*SmsProvider, error) + func (spq *SmsProviderQuery) AllX(ctx context.Context) []*SmsProvider + func (spq *SmsProviderQuery) Clone() *SmsProviderQuery + func (spq *SmsProviderQuery) Count(ctx context.Context) (int, error) + func (spq *SmsProviderQuery) CountX(ctx context.Context) int + func (spq *SmsProviderQuery) Exist(ctx context.Context) (bool, error) + func (spq *SmsProviderQuery) ExistX(ctx context.Context) bool + func (spq *SmsProviderQuery) First(ctx context.Context) (*SmsProvider, error) + func (spq *SmsProviderQuery) FirstID(ctx context.Context) (id uint64, err error) + func (spq *SmsProviderQuery) FirstIDX(ctx context.Context) uint64 + func (spq *SmsProviderQuery) FirstX(ctx context.Context) *SmsProvider + func (spq *SmsProviderQuery) GroupBy(field string, fields ...string) *SmsProviderGroupBy + func (spq *SmsProviderQuery) IDs(ctx context.Context) (ids []uint64, err error) + func (spq *SmsProviderQuery) IDsX(ctx context.Context) []uint64 + func (spq *SmsProviderQuery) Limit(limit int) *SmsProviderQuery + func (spq *SmsProviderQuery) Offset(offset int) *SmsProviderQuery + func (spq *SmsProviderQuery) Only(ctx context.Context) (*SmsProvider, error) + func (spq *SmsProviderQuery) OnlyID(ctx context.Context) (id uint64, err error) + func (spq *SmsProviderQuery) OnlyIDX(ctx context.Context) uint64 + func (spq *SmsProviderQuery) OnlyX(ctx context.Context) *SmsProvider + func (spq *SmsProviderQuery) Order(o ...smsprovider.OrderOption) *SmsProviderQuery + func (spq *SmsProviderQuery) Select(fields ...string) *SmsProviderSelect + func (spq *SmsProviderQuery) Unique(unique bool) *SmsProviderQuery + func (spq *SmsProviderQuery) Where(ps ...predicate.SmsProvider) *SmsProviderQuery + type SmsProviderSelect struct + func (c SmsProviderSelect) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c SmsProviderSelect) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (s *SmsProviderSelect) Bool(ctx context.Context) (_ bool, err error) + func (s *SmsProviderSelect) BoolX(ctx context.Context) bool + func (s *SmsProviderSelect) Bools(ctx context.Context) ([]bool, error) + func (s *SmsProviderSelect) BoolsX(ctx context.Context) []bool + func (s *SmsProviderSelect) Float64(ctx context.Context) (_ float64, err error) + func (s *SmsProviderSelect) Float64X(ctx context.Context) float64 + func (s *SmsProviderSelect) Float64s(ctx context.Context) ([]float64, error) + func (s *SmsProviderSelect) Float64sX(ctx context.Context) []float64 + func (s *SmsProviderSelect) Int(ctx context.Context) (_ int, err error) + func (s *SmsProviderSelect) IntX(ctx context.Context) int + func (s *SmsProviderSelect) Ints(ctx context.Context) ([]int, error) + func (s *SmsProviderSelect) IntsX(ctx context.Context) []int + func (s *SmsProviderSelect) ScanX(ctx context.Context, v any) + func (s *SmsProviderSelect) String(ctx context.Context) (_ string, err error) + func (s *SmsProviderSelect) StringX(ctx context.Context) string + func (s *SmsProviderSelect) Strings(ctx context.Context) ([]string, error) + func (s *SmsProviderSelect) StringsX(ctx context.Context) []string + func (sps *SmsProviderSelect) Aggregate(fns ...AggregateFunc) *SmsProviderSelect + func (sps *SmsProviderSelect) Scan(ctx context.Context, v any) error + type SmsProviderUpdate struct + func (c *SmsProviderUpdate) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProviderUpdate) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sp *SmsProviderUpdate) SetNotNilIsDefault(value *bool) *SmsProviderUpdate + func (sp *SmsProviderUpdate) SetNotNilName(value *string) *SmsProviderUpdate + func (sp *SmsProviderUpdate) SetNotNilRegion(value *string) *SmsProviderUpdate + func (sp *SmsProviderUpdate) SetNotNilSecretID(value *string) *SmsProviderUpdate + func (sp *SmsProviderUpdate) SetNotNilSecretKey(value *string) *SmsProviderUpdate + func (sp *SmsProviderUpdate) SetNotNilUpdatedAt(value *time.Time) *SmsProviderUpdate + func (spu *SmsProviderUpdate) Exec(ctx context.Context) error + func (spu *SmsProviderUpdate) ExecX(ctx context.Context) + func (spu *SmsProviderUpdate) Mutation() *SmsProviderMutation + func (spu *SmsProviderUpdate) Save(ctx context.Context) (int, error) + func (spu *SmsProviderUpdate) SaveX(ctx context.Context) int + func (spu *SmsProviderUpdate) SetIsDefault(b bool) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetName(s string) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetNillableIsDefault(b *bool) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetNillableName(s *string) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetNillableRegion(s *string) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetNillableSecretID(s *string) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetNillableSecretKey(s *string) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetRegion(s string) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetSecretID(s string) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetSecretKey(s string) *SmsProviderUpdate + func (spu *SmsProviderUpdate) SetUpdatedAt(t time.Time) *SmsProviderUpdate + func (spu *SmsProviderUpdate) Where(ps ...predicate.SmsProvider) *SmsProviderUpdate + type SmsProviderUpdateOne struct + func (c *SmsProviderUpdateOne) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *SmsProviderUpdateOne) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + func (sp *SmsProviderUpdateOne) SetNotNilIsDefault(value *bool) *SmsProviderUpdateOne + func (sp *SmsProviderUpdateOne) SetNotNilName(value *string) *SmsProviderUpdateOne + func (sp *SmsProviderUpdateOne) SetNotNilRegion(value *string) *SmsProviderUpdateOne + func (sp *SmsProviderUpdateOne) SetNotNilSecretID(value *string) *SmsProviderUpdateOne + func (sp *SmsProviderUpdateOne) SetNotNilSecretKey(value *string) *SmsProviderUpdateOne + func (sp *SmsProviderUpdateOne) SetNotNilUpdatedAt(value *time.Time) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) Exec(ctx context.Context) error + func (spuo *SmsProviderUpdateOne) ExecX(ctx context.Context) + func (spuo *SmsProviderUpdateOne) Mutation() *SmsProviderMutation + func (spuo *SmsProviderUpdateOne) Save(ctx context.Context) (*SmsProvider, error) + func (spuo *SmsProviderUpdateOne) SaveX(ctx context.Context) *SmsProvider + func (spuo *SmsProviderUpdateOne) Select(field string, fields ...string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetIsDefault(b bool) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetName(s string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetNillableIsDefault(b *bool) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetNillableName(s *string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetNillableRegion(s *string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetNillableSecretID(s *string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetNillableSecretKey(s *string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetRegion(s string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetSecretID(s string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetSecretKey(s string) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) SetUpdatedAt(t time.Time) *SmsProviderUpdateOne + func (spuo *SmsProviderUpdateOne) Where(ps ...predicate.SmsProvider) *SmsProviderUpdateOne + type SmsProviders []*SmsProvider + type TraverseFunc = ent.TraverseFunc + type Traverser = ent.Traverser + type Tx struct + EmailLog *EmailLogClient + EmailProvider *EmailProviderClient + SmsLog *SmsLogClient + SmsProvider *SmsProviderClient + func TxFromContext(ctx context.Context) *Tx + func (c *Tx) ExecContext(ctx context.Context, query string, args ...any) (stdsql.Result, error) + func (c *Tx) QueryContext(ctx context.Context, query string, args ...any) (*stdsql.Rows, error) + 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 ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value