Versions in this module Expand all Collapse all v0 v0.0.7 Jul 15, 2021 v0.0.5 Jul 15, 2021 v0.0.4 Jul 15, 2021 v0.0.3 Jul 15, 2021 v0.0.2 Jul 15, 2021 Changes in this version type User + Displayname string type UserCreate + func (uc *UserCreate) SetDisplayname(s string) *UserCreate type UserMutation + func (m *UserMutation) Displayname() (r string, exists bool) + func (m *UserMutation) OldDisplayname(ctx context.Context) (v string, err error) + func (m *UserMutation) ResetDisplayname() + func (m *UserMutation) SetDisplayname(s string) type UserUpdate + func (uu *UserUpdate) SetDisplayname(s string) *UserUpdate type UserUpdateOne + func (uuo *UserUpdateOne) SetDisplayname(s string) *UserUpdateOne v0.0.1 Jul 15, 2021 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeUser + const TypeZone + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type Client struct + Schema *migrate.Schema + User *UserClient + Zone *ZoneClient + 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 Hook = ent.Hook + 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 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 + User *UserClient + Zone *ZoneClient + func TxFromContext(ctx context.Context) *Tx + func (tx *Tx) Client() *Client + func (tx *Tx) Commit() error + func (tx *Tx) OnCommit(f CommitHook) + func (tx *Tx) OnRollback(f RollbackHook) + func (tx *Tx) Rollback() error + type User struct + Edges UserEdges + Email string + ID int + LowerUsername string + PasswordHash []byte + Username string + func (u *User) QueryZones() *ZoneQuery + 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) QueryZones(u *User) *ZoneQuery + 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) AddZoneIDs(ids ...int) *UserCreate + func (uc *UserCreate) AddZones(z ...*Zone) *UserCreate + func (uc *UserCreate) Mutation() *UserMutation + func (uc *UserCreate) Save(ctx context.Context) (*User, error) + func (uc *UserCreate) SaveX(ctx context.Context) *User + func (uc *UserCreate) SetEmail(s string) *UserCreate + func (uc *UserCreate) SetLowerUsername(s string) *UserCreate + func (uc *UserCreate) SetPasswordHash(b []byte) *UserCreate + func (uc *UserCreate) SetUsername(s string) *UserCreate + type UserCreateBulk struct + 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 + Zones []*Zone + func (e UserEdges) ZonesOrErr() ([]*Zone, error) + type UserGroupBy struct + func (ugb *UserGroupBy) Aggregate(fns ...AggregateFunc) *UserGroupBy + func (ugb *UserGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ugb *UserGroupBy) BoolX(ctx context.Context) bool + func (ugb *UserGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ugb *UserGroupBy) BoolsX(ctx context.Context) []bool + func (ugb *UserGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ugb *UserGroupBy) Float64X(ctx context.Context) float64 + func (ugb *UserGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ugb *UserGroupBy) Float64sX(ctx context.Context) []float64 + func (ugb *UserGroupBy) Int(ctx context.Context) (_ int, err error) + func (ugb *UserGroupBy) IntX(ctx context.Context) int + func (ugb *UserGroupBy) Ints(ctx context.Context) ([]int, error) + func (ugb *UserGroupBy) IntsX(ctx context.Context) []int + func (ugb *UserGroupBy) Scan(ctx context.Context, v interface{}) error + func (ugb *UserGroupBy) ScanX(ctx context.Context, v interface{}) + func (ugb *UserGroupBy) String(ctx context.Context) (_ string, err error) + func (ugb *UserGroupBy) StringX(ctx context.Context) string + func (ugb *UserGroupBy) Strings(ctx context.Context) ([]string, error) + func (ugb *UserGroupBy) StringsX(ctx context.Context) []string + type UserMutation struct + func (m *UserMutation) AddField(name string, value ent.Value) error + func (m *UserMutation) AddZoneIDs(ids ...int) + func (m *UserMutation) AddedEdges() []string + func (m *UserMutation) AddedField(name string) (ent.Value, bool) + func (m *UserMutation) AddedFields() []string + func (m *UserMutation) AddedIDs(name string) []ent.Value + func (m *UserMutation) ClearEdge(name string) error + func (m *UserMutation) ClearField(name string) error + func (m *UserMutation) ClearZones() + func (m *UserMutation) ClearedEdges() []string + func (m *UserMutation) ClearedFields() []string + func (m *UserMutation) EdgeCleared(name string) bool + func (m *UserMutation) Email() (r string, exists bool) + func (m *UserMutation) Field(name string) (ent.Value, bool) + func (m *UserMutation) FieldCleared(name string) bool + func (m *UserMutation) Fields() []string + func (m *UserMutation) ID() (id int, exists bool) + func (m *UserMutation) LowerUsername() (r string, exists bool) + func (m *UserMutation) OldEmail(ctx context.Context) (v string, err error) + func (m *UserMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UserMutation) OldLowerUsername(ctx context.Context) (v string, err error) + func (m *UserMutation) OldPasswordHash(ctx context.Context) (v []byte, err error) + func (m *UserMutation) OldUsername(ctx context.Context) (v string, err error) + func (m *UserMutation) Op() Op + func (m *UserMutation) PasswordHash() (r []byte, exists bool) + func (m *UserMutation) RemoveZoneIDs(ids ...int) + func (m *UserMutation) RemovedEdges() []string + func (m *UserMutation) RemovedIDs(name string) []ent.Value + func (m *UserMutation) RemovedZonesIDs() (ids []int) + func (m *UserMutation) ResetEdge(name string) error + func (m *UserMutation) ResetEmail() + func (m *UserMutation) ResetField(name string) error + func (m *UserMutation) ResetLowerUsername() + func (m *UserMutation) ResetPasswordHash() + func (m *UserMutation) ResetUsername() + func (m *UserMutation) ResetZones() + func (m *UserMutation) SetEmail(s string) + func (m *UserMutation) SetField(name string, value ent.Value) error + func (m *UserMutation) SetLowerUsername(s string) + func (m *UserMutation) SetPasswordHash(b []byte) + func (m *UserMutation) SetUsername(s string) + func (m *UserMutation) Type() string + func (m *UserMutation) Username() (r string, exists bool) + func (m *UserMutation) ZonesCleared() bool + func (m *UserMutation) ZonesIDs() (ids []int) + 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) QueryZones() *ZoneQuery + func (uq *UserQuery) Select(field string, fields ...string) *UserSelect + func (uq *UserQuery) Unique(unique bool) *UserQuery + func (uq *UserQuery) Where(ps ...predicate.User) *UserQuery + func (uq *UserQuery) WithZones(opts ...func(*ZoneQuery)) *UserQuery + type UserSelect struct + func (us *UserSelect) Bool(ctx context.Context) (_ bool, err error) + func (us *UserSelect) BoolX(ctx context.Context) bool + func (us *UserSelect) Bools(ctx context.Context) ([]bool, error) + func (us *UserSelect) BoolsX(ctx context.Context) []bool + func (us *UserSelect) Float64(ctx context.Context) (_ float64, err error) + func (us *UserSelect) Float64X(ctx context.Context) float64 + func (us *UserSelect) Float64s(ctx context.Context) ([]float64, error) + func (us *UserSelect) Float64sX(ctx context.Context) []float64 + func (us *UserSelect) Int(ctx context.Context) (_ int, err error) + func (us *UserSelect) IntX(ctx context.Context) int + func (us *UserSelect) Ints(ctx context.Context) ([]int, error) + func (us *UserSelect) IntsX(ctx context.Context) []int + func (us *UserSelect) Scan(ctx context.Context, v interface{}) error + func (us *UserSelect) ScanX(ctx context.Context, v interface{}) + func (us *UserSelect) String(ctx context.Context) (_ string, err error) + func (us *UserSelect) StringX(ctx context.Context) string + func (us *UserSelect) Strings(ctx context.Context) ([]string, error) + func (us *UserSelect) StringsX(ctx context.Context) []string + type UserUpdate struct + func (uu *UserUpdate) AddZoneIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) AddZones(z ...*Zone) *UserUpdate + func (uu *UserUpdate) ClearZones() *UserUpdate + func (uu *UserUpdate) Exec(ctx context.Context) error + func (uu *UserUpdate) ExecX(ctx context.Context) + func (uu *UserUpdate) Mutation() *UserMutation + func (uu *UserUpdate) RemoveZoneIDs(ids ...int) *UserUpdate + func (uu *UserUpdate) RemoveZones(z ...*Zone) *UserUpdate + func (uu *UserUpdate) Save(ctx context.Context) (int, error) + func (uu *UserUpdate) SaveX(ctx context.Context) int + func (uu *UserUpdate) SetEmail(s string) *UserUpdate + func (uu *UserUpdate) SetLowerUsername(s string) *UserUpdate + func (uu *UserUpdate) SetPasswordHash(b []byte) *UserUpdate + func (uu *UserUpdate) SetUsername(s string) *UserUpdate + func (uu *UserUpdate) Where(ps ...predicate.User) *UserUpdate + type UserUpdateOne struct + func (uuo *UserUpdateOne) AddZoneIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) AddZones(z ...*Zone) *UserUpdateOne + func (uuo *UserUpdateOne) ClearZones() *UserUpdateOne + func (uuo *UserUpdateOne) Exec(ctx context.Context) error + func (uuo *UserUpdateOne) ExecX(ctx context.Context) + func (uuo *UserUpdateOne) Mutation() *UserMutation + func (uuo *UserUpdateOne) RemoveZoneIDs(ids ...int) *UserUpdateOne + func (uuo *UserUpdateOne) RemoveZones(z ...*Zone) *UserUpdateOne + func (uuo *UserUpdateOne) Save(ctx context.Context) (*User, error) + func (uuo *UserUpdateOne) SaveX(ctx context.Context) *User + func (uuo *UserUpdateOne) Select(field string, fields ...string) *UserUpdateOne + func (uuo *UserUpdateOne) SetEmail(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetLowerUsername(s string) *UserUpdateOne + func (uuo *UserUpdateOne) SetPasswordHash(b []byte) *UserUpdateOne + func (uuo *UserUpdateOne) SetUsername(s string) *UserUpdateOne + type Users []*User + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value + type Zone struct + Domain string + Edges ZoneEdges + ID int + func (z *Zone) QueryOwner() *UserQuery + func (z *Zone) String() string + func (z *Zone) Unwrap() *Zone + func (z *Zone) Update() *ZoneUpdateOne + type ZoneClient struct + func NewZoneClient(c config) *ZoneClient + func (c *ZoneClient) Create() *ZoneCreate + func (c *ZoneClient) CreateBulk(builders ...*ZoneCreate) *ZoneCreateBulk + func (c *ZoneClient) Delete() *ZoneDelete + func (c *ZoneClient) DeleteOne(z *Zone) *ZoneDeleteOne + func (c *ZoneClient) DeleteOneID(id int) *ZoneDeleteOne + func (c *ZoneClient) Get(ctx context.Context, id int) (*Zone, error) + func (c *ZoneClient) GetX(ctx context.Context, id int) *Zone + func (c *ZoneClient) Hooks() []Hook + func (c *ZoneClient) Query() *ZoneQuery + func (c *ZoneClient) QueryOwner(z *Zone) *UserQuery + func (c *ZoneClient) Update() *ZoneUpdate + func (c *ZoneClient) UpdateOne(z *Zone) *ZoneUpdateOne + func (c *ZoneClient) UpdateOneID(id int) *ZoneUpdateOne + func (c *ZoneClient) Use(hooks ...Hook) + type ZoneCreate struct + func (zc *ZoneCreate) Mutation() *ZoneMutation + func (zc *ZoneCreate) Save(ctx context.Context) (*Zone, error) + func (zc *ZoneCreate) SaveX(ctx context.Context) *Zone + func (zc *ZoneCreate) SetDomain(s string) *ZoneCreate + func (zc *ZoneCreate) SetNillableOwnerID(id *int) *ZoneCreate + func (zc *ZoneCreate) SetOwner(u *User) *ZoneCreate + func (zc *ZoneCreate) SetOwnerID(id int) *ZoneCreate + type ZoneCreateBulk struct + func (zcb *ZoneCreateBulk) Save(ctx context.Context) ([]*Zone, error) + func (zcb *ZoneCreateBulk) SaveX(ctx context.Context) []*Zone + type ZoneDelete struct + func (zd *ZoneDelete) Exec(ctx context.Context) (int, error) + func (zd *ZoneDelete) ExecX(ctx context.Context) int + func (zd *ZoneDelete) Where(ps ...predicate.Zone) *ZoneDelete + type ZoneDeleteOne struct + func (zdo *ZoneDeleteOne) Exec(ctx context.Context) error + func (zdo *ZoneDeleteOne) ExecX(ctx context.Context) + type ZoneEdges struct + Owner *User + func (e ZoneEdges) OwnerOrErr() (*User, error) + type ZoneGroupBy struct + func (zgb *ZoneGroupBy) Aggregate(fns ...AggregateFunc) *ZoneGroupBy + func (zgb *ZoneGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (zgb *ZoneGroupBy) BoolX(ctx context.Context) bool + func (zgb *ZoneGroupBy) Bools(ctx context.Context) ([]bool, error) + func (zgb *ZoneGroupBy) BoolsX(ctx context.Context) []bool + func (zgb *ZoneGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (zgb *ZoneGroupBy) Float64X(ctx context.Context) float64 + func (zgb *ZoneGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (zgb *ZoneGroupBy) Float64sX(ctx context.Context) []float64 + func (zgb *ZoneGroupBy) Int(ctx context.Context) (_ int, err error) + func (zgb *ZoneGroupBy) IntX(ctx context.Context) int + func (zgb *ZoneGroupBy) Ints(ctx context.Context) ([]int, error) + func (zgb *ZoneGroupBy) IntsX(ctx context.Context) []int + func (zgb *ZoneGroupBy) Scan(ctx context.Context, v interface{}) error + func (zgb *ZoneGroupBy) ScanX(ctx context.Context, v interface{}) + func (zgb *ZoneGroupBy) String(ctx context.Context) (_ string, err error) + func (zgb *ZoneGroupBy) StringX(ctx context.Context) string + func (zgb *ZoneGroupBy) Strings(ctx context.Context) ([]string, error) + func (zgb *ZoneGroupBy) StringsX(ctx context.Context) []string + type ZoneMutation struct + func (m *ZoneMutation) AddField(name string, value ent.Value) error + func (m *ZoneMutation) AddedEdges() []string + func (m *ZoneMutation) AddedField(name string) (ent.Value, bool) + func (m *ZoneMutation) AddedFields() []string + func (m *ZoneMutation) AddedIDs(name string) []ent.Value + func (m *ZoneMutation) ClearEdge(name string) error + func (m *ZoneMutation) ClearField(name string) error + func (m *ZoneMutation) ClearOwner() + func (m *ZoneMutation) ClearedEdges() []string + func (m *ZoneMutation) ClearedFields() []string + func (m *ZoneMutation) Domain() (r string, exists bool) + func (m *ZoneMutation) EdgeCleared(name string) bool + func (m *ZoneMutation) Field(name string) (ent.Value, bool) + func (m *ZoneMutation) FieldCleared(name string) bool + func (m *ZoneMutation) Fields() []string + func (m *ZoneMutation) ID() (id int, exists bool) + func (m *ZoneMutation) OldDomain(ctx context.Context) (v string, err error) + func (m *ZoneMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *ZoneMutation) Op() Op + func (m *ZoneMutation) OwnerCleared() bool + func (m *ZoneMutation) OwnerID() (id int, exists bool) + func (m *ZoneMutation) OwnerIDs() (ids []int) + func (m *ZoneMutation) RemovedEdges() []string + func (m *ZoneMutation) RemovedIDs(name string) []ent.Value + func (m *ZoneMutation) ResetDomain() + func (m *ZoneMutation) ResetEdge(name string) error + func (m *ZoneMutation) ResetField(name string) error + func (m *ZoneMutation) ResetOwner() + func (m *ZoneMutation) SetDomain(s string) + func (m *ZoneMutation) SetField(name string, value ent.Value) error + func (m *ZoneMutation) SetOwnerID(id int) + func (m *ZoneMutation) Type() string + func (m ZoneMutation) Client() *Client + func (m ZoneMutation) Tx() (*Tx, error) + type ZoneQuery struct + func (zq *ZoneQuery) All(ctx context.Context) ([]*Zone, error) + func (zq *ZoneQuery) AllX(ctx context.Context) []*Zone + func (zq *ZoneQuery) Clone() *ZoneQuery + func (zq *ZoneQuery) Count(ctx context.Context) (int, error) + func (zq *ZoneQuery) CountX(ctx context.Context) int + func (zq *ZoneQuery) Exist(ctx context.Context) (bool, error) + func (zq *ZoneQuery) ExistX(ctx context.Context) bool + func (zq *ZoneQuery) First(ctx context.Context) (*Zone, error) + func (zq *ZoneQuery) FirstID(ctx context.Context) (id int, err error) + func (zq *ZoneQuery) FirstIDX(ctx context.Context) int + func (zq *ZoneQuery) FirstX(ctx context.Context) *Zone + func (zq *ZoneQuery) GroupBy(field string, fields ...string) *ZoneGroupBy + func (zq *ZoneQuery) IDs(ctx context.Context) ([]int, error) + func (zq *ZoneQuery) IDsX(ctx context.Context) []int + func (zq *ZoneQuery) Limit(limit int) *ZoneQuery + func (zq *ZoneQuery) Offset(offset int) *ZoneQuery + func (zq *ZoneQuery) Only(ctx context.Context) (*Zone, error) + func (zq *ZoneQuery) OnlyID(ctx context.Context) (id int, err error) + func (zq *ZoneQuery) OnlyIDX(ctx context.Context) int + func (zq *ZoneQuery) OnlyX(ctx context.Context) *Zone + func (zq *ZoneQuery) Order(o ...OrderFunc) *ZoneQuery + func (zq *ZoneQuery) QueryOwner() *UserQuery + func (zq *ZoneQuery) Select(field string, fields ...string) *ZoneSelect + func (zq *ZoneQuery) Unique(unique bool) *ZoneQuery + func (zq *ZoneQuery) Where(ps ...predicate.Zone) *ZoneQuery + func (zq *ZoneQuery) WithOwner(opts ...func(*UserQuery)) *ZoneQuery + type ZoneSelect struct + func (zs *ZoneSelect) Bool(ctx context.Context) (_ bool, err error) + func (zs *ZoneSelect) BoolX(ctx context.Context) bool + func (zs *ZoneSelect) Bools(ctx context.Context) ([]bool, error) + func (zs *ZoneSelect) BoolsX(ctx context.Context) []bool + func (zs *ZoneSelect) Float64(ctx context.Context) (_ float64, err error) + func (zs *ZoneSelect) Float64X(ctx context.Context) float64 + func (zs *ZoneSelect) Float64s(ctx context.Context) ([]float64, error) + func (zs *ZoneSelect) Float64sX(ctx context.Context) []float64 + func (zs *ZoneSelect) Int(ctx context.Context) (_ int, err error) + func (zs *ZoneSelect) IntX(ctx context.Context) int + func (zs *ZoneSelect) Ints(ctx context.Context) ([]int, error) + func (zs *ZoneSelect) IntsX(ctx context.Context) []int + func (zs *ZoneSelect) Scan(ctx context.Context, v interface{}) error + func (zs *ZoneSelect) ScanX(ctx context.Context, v interface{}) + func (zs *ZoneSelect) String(ctx context.Context) (_ string, err error) + func (zs *ZoneSelect) StringX(ctx context.Context) string + func (zs *ZoneSelect) Strings(ctx context.Context) ([]string, error) + func (zs *ZoneSelect) StringsX(ctx context.Context) []string + type ZoneUpdate struct + func (zu *ZoneUpdate) ClearOwner() *ZoneUpdate + func (zu *ZoneUpdate) Exec(ctx context.Context) error + func (zu *ZoneUpdate) ExecX(ctx context.Context) + func (zu *ZoneUpdate) Mutation() *ZoneMutation + func (zu *ZoneUpdate) Save(ctx context.Context) (int, error) + func (zu *ZoneUpdate) SaveX(ctx context.Context) int + func (zu *ZoneUpdate) SetDomain(s string) *ZoneUpdate + func (zu *ZoneUpdate) SetNillableOwnerID(id *int) *ZoneUpdate + func (zu *ZoneUpdate) SetOwner(u *User) *ZoneUpdate + func (zu *ZoneUpdate) SetOwnerID(id int) *ZoneUpdate + func (zu *ZoneUpdate) Where(ps ...predicate.Zone) *ZoneUpdate + type ZoneUpdateOne struct + func (zuo *ZoneUpdateOne) ClearOwner() *ZoneUpdateOne + func (zuo *ZoneUpdateOne) Exec(ctx context.Context) error + func (zuo *ZoneUpdateOne) ExecX(ctx context.Context) + func (zuo *ZoneUpdateOne) Mutation() *ZoneMutation + func (zuo *ZoneUpdateOne) Save(ctx context.Context) (*Zone, error) + func (zuo *ZoneUpdateOne) SaveX(ctx context.Context) *Zone + func (zuo *ZoneUpdateOne) Select(field string, fields ...string) *ZoneUpdateOne + func (zuo *ZoneUpdateOne) SetDomain(s string) *ZoneUpdateOne + func (zuo *ZoneUpdateOne) SetNillableOwnerID(id *int) *ZoneUpdateOne + func (zuo *ZoneUpdateOne) SetOwner(u *User) *ZoneUpdateOne + func (zuo *ZoneUpdateOne) SetOwnerID(id int) *ZoneUpdateOne + type Zones []*Zone