Documentation
¶
Index ¶
- Constants
- 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
- type Client
- func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error)
- func (c *Client) Close() error
- func (c *Client) Debug() *Client
- func (c *Client) Intercept(interceptors ...Interceptor)
- func (c *Client) Mutate(ctx context.Context, m Mutation) (Value, error)
- func (c *Client) Tx(ctx context.Context) (*Tx, error)
- func (c *Client) Use(hooks ...Hook)
- type CommitFunc
- type CommitHook
- type Committer
- type ConstraintError
- type Hook
- type InterceptFunc
- type Interceptor
- type MutateFunc
- type Mutation
- type Mutator
- type NotFoundError
- type NotLoadedError
- type NotSingularError
- type Op
- type Option
- type OrderFunc
- type Policy
- type Querier
- type QuerierFunc
- type Query
- type QueryContext
- type Rent591Home
- func (r *Rent591Home) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (r *Rent591Home) QueryRent591homeSurroundings() *Rent591HomeSurroundingQuery
- func (r *Rent591Home) QueryRent591homeTags() *Rent591HomeTagQuery
- func (r *Rent591Home) String() string
- func (r *Rent591Home) Unwrap() *Rent591Home
- func (r *Rent591Home) Update() *Rent591HomeUpdateOne
- func (r *Rent591Home) Value(name string) (ent.Value, error)
- type Rent591HomeClient
- func (c *Rent591HomeClient) Create() *Rent591HomeCreate
- func (c *Rent591HomeClient) CreateBulk(builders ...*Rent591HomeCreate) *Rent591HomeCreateBulk
- func (c *Rent591HomeClient) Delete() *Rent591HomeDelete
- func (c *Rent591HomeClient) DeleteOne(r *Rent591Home) *Rent591HomeDeleteOne
- func (c *Rent591HomeClient) DeleteOneID(id int) *Rent591HomeDeleteOne
- func (c *Rent591HomeClient) Get(ctx context.Context, id int) (*Rent591Home, error)
- func (c *Rent591HomeClient) GetX(ctx context.Context, id int) *Rent591Home
- func (c *Rent591HomeClient) Hooks() []Hook
- func (c *Rent591HomeClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeClient) Interceptors() []Interceptor
- func (c *Rent591HomeClient) Query() *Rent591HomeQuery
- func (c *Rent591HomeClient) QueryRent591homeDetails(r *Rent591Home) *Rent591HomeDetailQuery
- func (c *Rent591HomeClient) QueryRent591homeSurroundings(r *Rent591Home) *Rent591HomeSurroundingQuery
- func (c *Rent591HomeClient) QueryRent591homeTags(r *Rent591Home) *Rent591HomeTagQuery
- func (c *Rent591HomeClient) Update() *Rent591HomeUpdate
- func (c *Rent591HomeClient) UpdateOne(r *Rent591Home) *Rent591HomeUpdateOne
- func (c *Rent591HomeClient) UpdateOneID(id int) *Rent591HomeUpdateOne
- func (c *Rent591HomeClient) Use(hooks ...Hook)
- type Rent591HomeCreate
- func (rc *Rent591HomeCreate) AddRent591homeTagIDs(ids ...int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) AddRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) Exec(ctx context.Context) error
- func (rc *Rent591HomeCreate) ExecX(ctx context.Context)
- func (rc *Rent591HomeCreate) Mutation() *Rent591HomeMutation
- func (rc *Rent591HomeCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeUpsertOne
- func (rc *Rent591HomeCreate) OnConflictColumns(columns ...string) *Rent591HomeUpsertOne
- func (rc *Rent591HomeCreate) Save(ctx context.Context) (*Rent591Home, error)
- func (rc *Rent591HomeCreate) SaveX(ctx context.Context) *Rent591Home
- func (rc *Rent591HomeCreate) SetArea(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetCasesID(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetCid(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetCommunity(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetContact(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetCreatedAt(t time.Time) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetDiscountPriceStr(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetFloorStr(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetHurry(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetIsCombine(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetIsSocial(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetIsVideo(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetIsVip(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetKindName(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetLocation(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetNillableCreatedAt(t *time.Time) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetNillableRegionName(s *string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetNillableRent591homeDetailsID(id *int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetNillableRent591homeSurroundingsID(id *int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetNillableUpdatedAt(t *time.Time) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetPhotoList(s []string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetPostID(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetPreferred(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetPrice(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetPriceUnit(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetRefreshTime(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetRegionName(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetRent591homeDetailsID(id int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetRent591homeSurroundings(r *Rent591HomeSurrounding) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetRent591homeSurroundingsID(id int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetRoleName(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetRoomStr(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetSectionName(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetStreetName(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetTitle(s string) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetType(i int) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetUpdatedAt(t time.Time) *Rent591HomeCreate
- func (rc *Rent591HomeCreate) SetYesterdayHit(i int) *Rent591HomeCreate
- type Rent591HomeCreateBulk
- func (rcb *Rent591HomeCreateBulk) Exec(ctx context.Context) error
- func (rcb *Rent591HomeCreateBulk) ExecX(ctx context.Context)
- func (rcb *Rent591HomeCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeUpsertBulk
- func (rcb *Rent591HomeCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeUpsertBulk
- func (rcb *Rent591HomeCreateBulk) Save(ctx context.Context) ([]*Rent591Home, error)
- func (rcb *Rent591HomeCreateBulk) SaveX(ctx context.Context) []*Rent591Home
- type Rent591HomeDelete
- type Rent591HomeDeleteOne
- type Rent591HomeDetail
- func (rd *Rent591HomeDetail) QueryRent591homeDetailBreadcrumbs() *Rent591HomeDetailBreadcrumbQuery
- func (rd *Rent591HomeDetail) QueryRent591homeDetailBrowses() *Rent591HomeDetailBrowseQuery
- func (rd *Rent591HomeDetail) QueryRent591homeDetailInfos() *Rent591HomeDetailInfoQuery
- func (rd *Rent591HomeDetail) QueryRent591homeDetailNavdatas() *Rent591HomeDetailNavDataQuery
- func (rd *Rent591HomeDetail) QueryRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundQuery
- func (rd *Rent591HomeDetail) QueryRent591homeDetailPublishs() *Rent591HomeDetailPublishQuery
- func (rd *Rent591HomeDetail) QueryRent591homeDetailShareinfos() *Rent591HomeDetailShareInfoQuery
- func (rd *Rent591HomeDetail) QueryRent591homeDetailTags() *Rent591HomeDetailTagQuery
- func (rd *Rent591HomeDetail) QueryRent591homes() *Rent591HomeQuery
- func (rd *Rent591HomeDetail) String() string
- func (rd *Rent591HomeDetail) Unwrap() *Rent591HomeDetail
- func (rd *Rent591HomeDetail) Update() *Rent591HomeDetailUpdateOne
- func (rd *Rent591HomeDetail) Value(name string) (ent.Value, error)
- type Rent591HomeDetailBreadcrumb
- func (rdb *Rent591HomeDetailBreadcrumb) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdb *Rent591HomeDetailBreadcrumb) String() string
- func (rdb *Rent591HomeDetailBreadcrumb) Unwrap() *Rent591HomeDetailBreadcrumb
- func (rdb *Rent591HomeDetailBreadcrumb) Update() *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdb *Rent591HomeDetailBreadcrumb) Value(name string) (ent.Value, error)
- type Rent591HomeDetailBreadcrumbClient
- func (c *Rent591HomeDetailBreadcrumbClient) Create() *Rent591HomeDetailBreadcrumbCreate
- func (c *Rent591HomeDetailBreadcrumbClient) CreateBulk(builders ...*Rent591HomeDetailBreadcrumbCreate) *Rent591HomeDetailBreadcrumbCreateBulk
- func (c *Rent591HomeDetailBreadcrumbClient) Delete() *Rent591HomeDetailBreadcrumbDelete
- func (c *Rent591HomeDetailBreadcrumbClient) DeleteOne(rdb *Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbDeleteOne
- func (c *Rent591HomeDetailBreadcrumbClient) DeleteOneID(id int) *Rent591HomeDetailBreadcrumbDeleteOne
- func (c *Rent591HomeDetailBreadcrumbClient) Get(ctx context.Context, id int) (*Rent591HomeDetailBreadcrumb, error)
- func (c *Rent591HomeDetailBreadcrumbClient) GetX(ctx context.Context, id int) *Rent591HomeDetailBreadcrumb
- func (c *Rent591HomeDetailBreadcrumbClient) Hooks() []Hook
- func (c *Rent591HomeDetailBreadcrumbClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailBreadcrumbClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailBreadcrumbClient) Query() *Rent591HomeDetailBreadcrumbQuery
- func (c *Rent591HomeDetailBreadcrumbClient) QueryRent591homeDetails(rdb *Rent591HomeDetailBreadcrumb) *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailBreadcrumbClient) Update() *Rent591HomeDetailBreadcrumbUpdate
- func (c *Rent591HomeDetailBreadcrumbClient) UpdateOne(rdb *Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbUpdateOne
- func (c *Rent591HomeDetailBreadcrumbClient) UpdateOneID(id int) *Rent591HomeDetailBreadcrumbUpdateOne
- func (c *Rent591HomeDetailBreadcrumbClient) Use(hooks ...Hook)
- type Rent591HomeDetailBreadcrumbCreate
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbCreate
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbCreate
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) Exec(ctx context.Context) error
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) ExecX(ctx context.Context)
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) Mutation() *Rent591HomeDetailBreadcrumbMutation
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailBreadcrumbUpsertOne
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailBreadcrumbUpsertOne
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) Save(ctx context.Context) (*Rent591HomeDetailBreadcrumb, error)
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) SaveX(ctx context.Context) *Rent591HomeDetailBreadcrumb
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) SetLink(s string) *Rent591HomeDetailBreadcrumbCreate
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) SetName(s string) *Rent591HomeDetailBreadcrumbCreate
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) SetPostID(i int) *Rent591HomeDetailBreadcrumbCreate
- func (rdbc *Rent591HomeDetailBreadcrumbCreate) SetQuery(s string) *Rent591HomeDetailBreadcrumbCreate
- type Rent591HomeDetailBreadcrumbCreateBulk
- func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) Exec(ctx context.Context) error
- func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) ExecX(ctx context.Context)
- func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailBreadcrumbUpsertBulk
- func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailBreadcrumbUpsertBulk
- func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailBreadcrumb, error)
- func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailBreadcrumb
- type Rent591HomeDetailBreadcrumbDelete
- type Rent591HomeDetailBreadcrumbDeleteOne
- func (rdbdo *Rent591HomeDetailBreadcrumbDeleteOne) Exec(ctx context.Context) error
- func (rdbdo *Rent591HomeDetailBreadcrumbDeleteOne) ExecX(ctx context.Context)
- func (rdbdo *Rent591HomeDetailBreadcrumbDeleteOne) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbDeleteOne
- type Rent591HomeDetailBreadcrumbEdges
- type Rent591HomeDetailBreadcrumbGroupBy
- func (rdbgb *Rent591HomeDetailBreadcrumbGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBreadcrumbGroupBy
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) IntsX(ctx context.Context) []int
- func (rdbgb *Rent591HomeDetailBreadcrumbGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailBreadcrumbGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailBreadcrumbGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailBreadcrumbGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailBreadcrumbMutation
- func (m *Rent591HomeDetailBreadcrumbMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailBreadcrumbMutation) AddPostID(i int)
- func (m *Rent591HomeDetailBreadcrumbMutation) AddRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailBreadcrumbMutation) AddedEdges() []string
- func (m *Rent591HomeDetailBreadcrumbMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailBreadcrumbMutation) AddedFields() []string
- func (m *Rent591HomeDetailBreadcrumbMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailBreadcrumbMutation) AddedPostID() (r int, exists bool)
- func (m *Rent591HomeDetailBreadcrumbMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailBreadcrumbMutation) ClearField(name string) error
- func (m *Rent591HomeDetailBreadcrumbMutation) ClearRent591homeDetails()
- func (m *Rent591HomeDetailBreadcrumbMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailBreadcrumbMutation) ClearedFields() []string
- func (m Rent591HomeDetailBreadcrumbMutation) Client() *Client
- func (m *Rent591HomeDetailBreadcrumbMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailBreadcrumbMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailBreadcrumbMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailBreadcrumbMutation) Fields() []string
- func (m *Rent591HomeDetailBreadcrumbMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailBreadcrumbMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailBreadcrumbMutation) Link() (r string, exists bool)
- func (m *Rent591HomeDetailBreadcrumbMutation) Name() (r string, exists bool)
- func (m *Rent591HomeDetailBreadcrumbMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailBreadcrumbMutation) OldLink(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailBreadcrumbMutation) OldName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailBreadcrumbMutation) OldPostID(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailBreadcrumbMutation) OldQuery(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailBreadcrumbMutation) Op() Op
- func (m *Rent591HomeDetailBreadcrumbMutation) PostID() (r int, exists bool)
- func (m *Rent591HomeDetailBreadcrumbMutation) Query() (r string, exists bool)
- func (m *Rent591HomeDetailBreadcrumbMutation) RemoveRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailBreadcrumbMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailBreadcrumbMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailBreadcrumbMutation) RemovedRent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailBreadcrumbMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeDetailBreadcrumbMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailBreadcrumbMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailBreadcrumbMutation) ResetField(name string) error
- func (m *Rent591HomeDetailBreadcrumbMutation) ResetLink()
- func (m *Rent591HomeDetailBreadcrumbMutation) ResetName()
- func (m *Rent591HomeDetailBreadcrumbMutation) ResetPostID()
- func (m *Rent591HomeDetailBreadcrumbMutation) ResetQuery()
- func (m *Rent591HomeDetailBreadcrumbMutation) ResetRent591homeDetails()
- func (m *Rent591HomeDetailBreadcrumbMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailBreadcrumbMutation) SetLink(s string)
- func (m *Rent591HomeDetailBreadcrumbMutation) SetName(s string)
- func (m *Rent591HomeDetailBreadcrumbMutation) SetOp(op Op)
- func (m *Rent591HomeDetailBreadcrumbMutation) SetPostID(i int)
- func (m *Rent591HomeDetailBreadcrumbMutation) SetQuery(s string)
- func (m Rent591HomeDetailBreadcrumbMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailBreadcrumbMutation) Type() string
- func (m *Rent591HomeDetailBreadcrumbMutation) Where(ps ...predicate.Rent591HomeDetailBreadcrumb)
- func (m *Rent591HomeDetailBreadcrumbMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailBreadcrumbQuery
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBreadcrumbSelect
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) All(ctx context.Context) ([]*Rent591HomeDetailBreadcrumb, error)
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) AllX(ctx context.Context) []*Rent591HomeDetailBreadcrumb
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Clone() *Rent591HomeDetailBreadcrumbQuery
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Count(ctx context.Context) (int, error)
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) CountX(ctx context.Context) int
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Exist(ctx context.Context) (bool, error)
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) ExistX(ctx context.Context) bool
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) First(ctx context.Context) (*Rent591HomeDetailBreadcrumb, error)
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) FirstIDX(ctx context.Context) int
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) FirstX(ctx context.Context) *Rent591HomeDetailBreadcrumb
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailBreadcrumbGroupBy
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) IDsX(ctx context.Context) []int
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Limit(limit int) *Rent591HomeDetailBreadcrumbQuery
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Offset(offset int) *Rent591HomeDetailBreadcrumbQuery
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Only(ctx context.Context) (*Rent591HomeDetailBreadcrumb, error)
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) OnlyIDX(ctx context.Context) int
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) OnlyX(ctx context.Context) *Rent591HomeDetailBreadcrumb
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Order(o ...rent591homedetailbreadcrumb.OrderOption) *Rent591HomeDetailBreadcrumbQuery
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Select(fields ...string) *Rent591HomeDetailBreadcrumbSelect
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Unique(unique bool) *Rent591HomeDetailBreadcrumbQuery
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbQuery
- func (rdbq *Rent591HomeDetailBreadcrumbQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailBreadcrumbQuery
- type Rent591HomeDetailBreadcrumbSelect
- func (rdbs *Rent591HomeDetailBreadcrumbSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBreadcrumbSelect
- func (s *Rent591HomeDetailBreadcrumbSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailBreadcrumbSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailBreadcrumbSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailBreadcrumbSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailBreadcrumbSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailBreadcrumbSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailBreadcrumbSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailBreadcrumbSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailBreadcrumbSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailBreadcrumbSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailBreadcrumbSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailBreadcrumbSelect) IntsX(ctx context.Context) []int
- func (rdbs *Rent591HomeDetailBreadcrumbSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailBreadcrumbSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailBreadcrumbSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailBreadcrumbSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailBreadcrumbSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailBreadcrumbSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) AddPostID(i int) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) ClearRent591homeDetails() *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) Exec(ctx context.Context) error
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) ExecX(ctx context.Context)
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) Mutation() *Rent591HomeDetailBreadcrumbMutation
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) Save(ctx context.Context) (int, error)
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SaveX(ctx context.Context) int
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SetLink(s string) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SetName(s string) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SetPostID(i int) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SetQuery(s string) *Rent591HomeDetailBreadcrumbUpdate
- func (rdbu *Rent591HomeDetailBreadcrumbUpdate) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbUpdate
- type Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) AddPostID(i int) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Exec(ctx context.Context) error
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) ExecX(ctx context.Context)
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Mutation() *Rent591HomeDetailBreadcrumbMutation
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailBreadcrumb, error)
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailBreadcrumb
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SetLink(s string) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SetName(s string) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SetPostID(i int) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SetQuery(s string) *Rent591HomeDetailBreadcrumbUpdateOne
- func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbUpdateOne
- type Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) AddPostID(v int) *Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) SetLink(v string) *Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) SetName(v string) *Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) SetPostID(v int) *Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) SetQuery(v string) *Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) UpdateLink() *Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) UpdateName() *Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) UpdatePostID() *Rent591HomeDetailBreadcrumbUpsert
- func (u *Rent591HomeDetailBreadcrumbUpsert) UpdateQuery() *Rent591HomeDetailBreadcrumbUpsert
- type Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) AddPostID(v int) *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) DoNothing() *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) Ignore() *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) SetLink(v string) *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) SetName(v string) *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) SetPostID(v int) *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) SetQuery(v string) *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) Update(set func(*Rent591HomeDetailBreadcrumbUpsert)) *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdateLink() *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdateName() *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdateNewValues() *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdatePostID() *Rent591HomeDetailBreadcrumbUpsertBulk
- func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdateQuery() *Rent591HomeDetailBreadcrumbUpsertBulk
- type Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) AddPostID(v int) *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) DoNothing() *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) Ignore() *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) SetLink(v string) *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) SetName(v string) *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) SetPostID(v int) *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) SetQuery(v string) *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) Update(set func(*Rent591HomeDetailBreadcrumbUpsert)) *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdateLink() *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdateName() *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdateNewValues() *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdatePostID() *Rent591HomeDetailBreadcrumbUpsertOne
- func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdateQuery() *Rent591HomeDetailBreadcrumbUpsertOne
- type Rent591HomeDetailBreadcrumbs
- type Rent591HomeDetailBrowse
- func (rdb *Rent591HomeDetailBrowse) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdb *Rent591HomeDetailBrowse) String() string
- func (rdb *Rent591HomeDetailBrowse) Unwrap() *Rent591HomeDetailBrowse
- func (rdb *Rent591HomeDetailBrowse) Update() *Rent591HomeDetailBrowseUpdateOne
- func (rdb *Rent591HomeDetailBrowse) Value(name string) (ent.Value, error)
- type Rent591HomeDetailBrowseClient
- func (c *Rent591HomeDetailBrowseClient) Create() *Rent591HomeDetailBrowseCreate
- func (c *Rent591HomeDetailBrowseClient) CreateBulk(builders ...*Rent591HomeDetailBrowseCreate) *Rent591HomeDetailBrowseCreateBulk
- func (c *Rent591HomeDetailBrowseClient) Delete() *Rent591HomeDetailBrowseDelete
- func (c *Rent591HomeDetailBrowseClient) DeleteOne(rdb *Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseDeleteOne
- func (c *Rent591HomeDetailBrowseClient) DeleteOneID(id int) *Rent591HomeDetailBrowseDeleteOne
- func (c *Rent591HomeDetailBrowseClient) Get(ctx context.Context, id int) (*Rent591HomeDetailBrowse, error)
- func (c *Rent591HomeDetailBrowseClient) GetX(ctx context.Context, id int) *Rent591HomeDetailBrowse
- func (c *Rent591HomeDetailBrowseClient) Hooks() []Hook
- func (c *Rent591HomeDetailBrowseClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailBrowseClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailBrowseClient) Query() *Rent591HomeDetailBrowseQuery
- func (c *Rent591HomeDetailBrowseClient) QueryRent591homeDetails(rdb *Rent591HomeDetailBrowse) *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailBrowseClient) Update() *Rent591HomeDetailBrowseUpdate
- func (c *Rent591HomeDetailBrowseClient) UpdateOne(rdb *Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseUpdateOne
- func (c *Rent591HomeDetailBrowseClient) UpdateOneID(id int) *Rent591HomeDetailBrowseUpdateOne
- func (c *Rent591HomeDetailBrowseClient) Use(hooks ...Hook)
- type Rent591HomeDetailBrowseCreate
- func (rdbc *Rent591HomeDetailBrowseCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseCreate
- func (rdbc *Rent591HomeDetailBrowseCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseCreate
- func (rdbc *Rent591HomeDetailBrowseCreate) Exec(ctx context.Context) error
- func (rdbc *Rent591HomeDetailBrowseCreate) ExecX(ctx context.Context)
- func (rdbc *Rent591HomeDetailBrowseCreate) Mutation() *Rent591HomeDetailBrowseMutation
- func (rdbc *Rent591HomeDetailBrowseCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailBrowseUpsertOne
- func (rdbc *Rent591HomeDetailBrowseCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailBrowseUpsertOne
- func (rdbc *Rent591HomeDetailBrowseCreate) Save(ctx context.Context) (*Rent591HomeDetailBrowse, error)
- func (rdbc *Rent591HomeDetailBrowseCreate) SaveX(ctx context.Context) *Rent591HomeDetailBrowse
- func (rdbc *Rent591HomeDetailBrowseCreate) SetMobile(i int) *Rent591HomeDetailBrowseCreate
- func (rdbc *Rent591HomeDetailBrowseCreate) SetPc(i int) *Rent591HomeDetailBrowseCreate
- type Rent591HomeDetailBrowseCreateBulk
- func (rdbcb *Rent591HomeDetailBrowseCreateBulk) Exec(ctx context.Context) error
- func (rdbcb *Rent591HomeDetailBrowseCreateBulk) ExecX(ctx context.Context)
- func (rdbcb *Rent591HomeDetailBrowseCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailBrowseUpsertBulk
- func (rdbcb *Rent591HomeDetailBrowseCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailBrowseUpsertBulk
- func (rdbcb *Rent591HomeDetailBrowseCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailBrowse, error)
- func (rdbcb *Rent591HomeDetailBrowseCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailBrowse
- type Rent591HomeDetailBrowseDelete
- type Rent591HomeDetailBrowseDeleteOne
- type Rent591HomeDetailBrowseEdges
- type Rent591HomeDetailBrowseGroupBy
- func (rdbgb *Rent591HomeDetailBrowseGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBrowseGroupBy
- func (s *Rent591HomeDetailBrowseGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailBrowseGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailBrowseGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailBrowseGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailBrowseGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailBrowseGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailBrowseGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailBrowseGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailBrowseGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailBrowseGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailBrowseGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailBrowseGroupBy) IntsX(ctx context.Context) []int
- func (rdbgb *Rent591HomeDetailBrowseGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailBrowseGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailBrowseGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailBrowseGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailBrowseGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailBrowseGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailBrowseMutation
- func (m *Rent591HomeDetailBrowseMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailBrowseMutation) AddMobile(i int)
- func (m *Rent591HomeDetailBrowseMutation) AddPc(i int)
- func (m *Rent591HomeDetailBrowseMutation) AddRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailBrowseMutation) AddedEdges() []string
- func (m *Rent591HomeDetailBrowseMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailBrowseMutation) AddedFields() []string
- func (m *Rent591HomeDetailBrowseMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailBrowseMutation) AddedMobile() (r int, exists bool)
- func (m *Rent591HomeDetailBrowseMutation) AddedPc() (r int, exists bool)
- func (m *Rent591HomeDetailBrowseMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailBrowseMutation) ClearField(name string) error
- func (m *Rent591HomeDetailBrowseMutation) ClearRent591homeDetails()
- func (m *Rent591HomeDetailBrowseMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailBrowseMutation) ClearedFields() []string
- func (m Rent591HomeDetailBrowseMutation) Client() *Client
- func (m *Rent591HomeDetailBrowseMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailBrowseMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailBrowseMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailBrowseMutation) Fields() []string
- func (m *Rent591HomeDetailBrowseMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailBrowseMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailBrowseMutation) Mobile() (r int, exists bool)
- func (m *Rent591HomeDetailBrowseMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailBrowseMutation) OldMobile(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailBrowseMutation) OldPc(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailBrowseMutation) Op() Op
- func (m *Rent591HomeDetailBrowseMutation) Pc() (r int, exists bool)
- func (m *Rent591HomeDetailBrowseMutation) RemoveRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailBrowseMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailBrowseMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailBrowseMutation) RemovedRent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailBrowseMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeDetailBrowseMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailBrowseMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailBrowseMutation) ResetField(name string) error
- func (m *Rent591HomeDetailBrowseMutation) ResetMobile()
- func (m *Rent591HomeDetailBrowseMutation) ResetPc()
- func (m *Rent591HomeDetailBrowseMutation) ResetRent591homeDetails()
- func (m *Rent591HomeDetailBrowseMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailBrowseMutation) SetMobile(i int)
- func (m *Rent591HomeDetailBrowseMutation) SetOp(op Op)
- func (m *Rent591HomeDetailBrowseMutation) SetPc(i int)
- func (m Rent591HomeDetailBrowseMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailBrowseMutation) Type() string
- func (m *Rent591HomeDetailBrowseMutation) Where(ps ...predicate.Rent591HomeDetailBrowse)
- func (m *Rent591HomeDetailBrowseMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailBrowseQuery
- func (rdbq *Rent591HomeDetailBrowseQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBrowseSelect
- func (rdbq *Rent591HomeDetailBrowseQuery) All(ctx context.Context) ([]*Rent591HomeDetailBrowse, error)
- func (rdbq *Rent591HomeDetailBrowseQuery) AllX(ctx context.Context) []*Rent591HomeDetailBrowse
- func (rdbq *Rent591HomeDetailBrowseQuery) Clone() *Rent591HomeDetailBrowseQuery
- func (rdbq *Rent591HomeDetailBrowseQuery) Count(ctx context.Context) (int, error)
- func (rdbq *Rent591HomeDetailBrowseQuery) CountX(ctx context.Context) int
- func (rdbq *Rent591HomeDetailBrowseQuery) Exist(ctx context.Context) (bool, error)
- func (rdbq *Rent591HomeDetailBrowseQuery) ExistX(ctx context.Context) bool
- func (rdbq *Rent591HomeDetailBrowseQuery) First(ctx context.Context) (*Rent591HomeDetailBrowse, error)
- func (rdbq *Rent591HomeDetailBrowseQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdbq *Rent591HomeDetailBrowseQuery) FirstIDX(ctx context.Context) int
- func (rdbq *Rent591HomeDetailBrowseQuery) FirstX(ctx context.Context) *Rent591HomeDetailBrowse
- func (rdbq *Rent591HomeDetailBrowseQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailBrowseGroupBy
- func (rdbq *Rent591HomeDetailBrowseQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdbq *Rent591HomeDetailBrowseQuery) IDsX(ctx context.Context) []int
- func (rdbq *Rent591HomeDetailBrowseQuery) Limit(limit int) *Rent591HomeDetailBrowseQuery
- func (rdbq *Rent591HomeDetailBrowseQuery) Offset(offset int) *Rent591HomeDetailBrowseQuery
- func (rdbq *Rent591HomeDetailBrowseQuery) Only(ctx context.Context) (*Rent591HomeDetailBrowse, error)
- func (rdbq *Rent591HomeDetailBrowseQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdbq *Rent591HomeDetailBrowseQuery) OnlyIDX(ctx context.Context) int
- func (rdbq *Rent591HomeDetailBrowseQuery) OnlyX(ctx context.Context) *Rent591HomeDetailBrowse
- func (rdbq *Rent591HomeDetailBrowseQuery) Order(o ...rent591homedetailbrowse.OrderOption) *Rent591HomeDetailBrowseQuery
- func (rdbq *Rent591HomeDetailBrowseQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdbq *Rent591HomeDetailBrowseQuery) Select(fields ...string) *Rent591HomeDetailBrowseSelect
- func (rdbq *Rent591HomeDetailBrowseQuery) Unique(unique bool) *Rent591HomeDetailBrowseQuery
- func (rdbq *Rent591HomeDetailBrowseQuery) Where(ps ...predicate.Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseQuery
- func (rdbq *Rent591HomeDetailBrowseQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailBrowseQuery
- type Rent591HomeDetailBrowseSelect
- func (rdbs *Rent591HomeDetailBrowseSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBrowseSelect
- func (s *Rent591HomeDetailBrowseSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailBrowseSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailBrowseSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailBrowseSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailBrowseSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailBrowseSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailBrowseSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailBrowseSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailBrowseSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailBrowseSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailBrowseSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailBrowseSelect) IntsX(ctx context.Context) []int
- func (rdbs *Rent591HomeDetailBrowseSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailBrowseSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailBrowseSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailBrowseSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailBrowseSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailBrowseSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) AddMobile(i int) *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) AddPc(i int) *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) ClearRent591homeDetails() *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) Exec(ctx context.Context) error
- func (rdbu *Rent591HomeDetailBrowseUpdate) ExecX(ctx context.Context)
- func (rdbu *Rent591HomeDetailBrowseUpdate) Mutation() *Rent591HomeDetailBrowseMutation
- func (rdbu *Rent591HomeDetailBrowseUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) Save(ctx context.Context) (int, error)
- func (rdbu *Rent591HomeDetailBrowseUpdate) SaveX(ctx context.Context) int
- func (rdbu *Rent591HomeDetailBrowseUpdate) SetMobile(i int) *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) SetPc(i int) *Rent591HomeDetailBrowseUpdate
- func (rdbu *Rent591HomeDetailBrowseUpdate) Where(ps ...predicate.Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseUpdate
- type Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) AddMobile(i int) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) AddPc(i int) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Exec(ctx context.Context) error
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) ExecX(ctx context.Context)
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Mutation() *Rent591HomeDetailBrowseMutation
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailBrowse, error)
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailBrowse
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) SetMobile(i int) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) SetPc(i int) *Rent591HomeDetailBrowseUpdateOne
- func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Where(ps ...predicate.Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseUpdateOne
- type Rent591HomeDetailBrowseUpsert
- func (u *Rent591HomeDetailBrowseUpsert) AddMobile(v int) *Rent591HomeDetailBrowseUpsert
- func (u *Rent591HomeDetailBrowseUpsert) AddPc(v int) *Rent591HomeDetailBrowseUpsert
- func (u *Rent591HomeDetailBrowseUpsert) SetMobile(v int) *Rent591HomeDetailBrowseUpsert
- func (u *Rent591HomeDetailBrowseUpsert) SetPc(v int) *Rent591HomeDetailBrowseUpsert
- func (u *Rent591HomeDetailBrowseUpsert) UpdateMobile() *Rent591HomeDetailBrowseUpsert
- func (u *Rent591HomeDetailBrowseUpsert) UpdatePc() *Rent591HomeDetailBrowseUpsert
- type Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) AddMobile(v int) *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) AddPc(v int) *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) DoNothing() *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailBrowseUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailBrowseUpsertBulk) Ignore() *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) SetMobile(v int) *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) SetPc(v int) *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) Update(set func(*Rent591HomeDetailBrowseUpsert)) *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) UpdateMobile() *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) UpdateNewValues() *Rent591HomeDetailBrowseUpsertBulk
- func (u *Rent591HomeDetailBrowseUpsertBulk) UpdatePc() *Rent591HomeDetailBrowseUpsertBulk
- type Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) AddMobile(v int) *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) AddPc(v int) *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) DoNothing() *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailBrowseUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailBrowseUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailBrowseUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailBrowseUpsertOne) Ignore() *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) SetMobile(v int) *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) SetPc(v int) *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) Update(set func(*Rent591HomeDetailBrowseUpsert)) *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) UpdateMobile() *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) UpdateNewValues() *Rent591HomeDetailBrowseUpsertOne
- func (u *Rent591HomeDetailBrowseUpsertOne) UpdatePc() *Rent591HomeDetailBrowseUpsertOne
- type Rent591HomeDetailBrowses
- type Rent591HomeDetailClient
- func (c *Rent591HomeDetailClient) Create() *Rent591HomeDetailCreate
- func (c *Rent591HomeDetailClient) CreateBulk(builders ...*Rent591HomeDetailCreate) *Rent591HomeDetailCreateBulk
- func (c *Rent591HomeDetailClient) Delete() *Rent591HomeDetailDelete
- func (c *Rent591HomeDetailClient) DeleteOne(rd *Rent591HomeDetail) *Rent591HomeDetailDeleteOne
- func (c *Rent591HomeDetailClient) DeleteOneID(id int) *Rent591HomeDetailDeleteOne
- func (c *Rent591HomeDetailClient) Get(ctx context.Context, id int) (*Rent591HomeDetail, error)
- func (c *Rent591HomeDetailClient) GetX(ctx context.Context, id int) *Rent591HomeDetail
- func (c *Rent591HomeDetailClient) Hooks() []Hook
- func (c *Rent591HomeDetailClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailClient) Query() *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailClient) QueryRent591homeDetailBreadcrumbs(rd *Rent591HomeDetail) *Rent591HomeDetailBreadcrumbQuery
- func (c *Rent591HomeDetailClient) QueryRent591homeDetailBrowses(rd *Rent591HomeDetail) *Rent591HomeDetailBrowseQuery
- func (c *Rent591HomeDetailClient) QueryRent591homeDetailInfos(rd *Rent591HomeDetail) *Rent591HomeDetailInfoQuery
- func (c *Rent591HomeDetailClient) QueryRent591homeDetailNavdatas(rd *Rent591HomeDetail) *Rent591HomeDetailNavDataQuery
- func (c *Rent591HomeDetailClient) QueryRent591homeDetailPositionRounds(rd *Rent591HomeDetail) *Rent591HomeDetailPositionRoundQuery
- func (c *Rent591HomeDetailClient) QueryRent591homeDetailPublishs(rd *Rent591HomeDetail) *Rent591HomeDetailPublishQuery
- func (c *Rent591HomeDetailClient) QueryRent591homeDetailShareinfos(rd *Rent591HomeDetail) *Rent591HomeDetailShareInfoQuery
- func (c *Rent591HomeDetailClient) QueryRent591homeDetailTags(rd *Rent591HomeDetail) *Rent591HomeDetailTagQuery
- func (c *Rent591HomeDetailClient) QueryRent591homes(rd *Rent591HomeDetail) *Rent591HomeQuery
- func (c *Rent591HomeDetailClient) Update() *Rent591HomeDetailUpdate
- func (c *Rent591HomeDetailClient) UpdateOne(rd *Rent591HomeDetail) *Rent591HomeDetailUpdateOne
- func (c *Rent591HomeDetailClient) UpdateOneID(id int) *Rent591HomeDetailUpdateOne
- func (c *Rent591HomeDetailClient) Use(hooks ...Hook)
- type Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) Exec(ctx context.Context) error
- func (rdc *Rent591HomeDetailCreate) ExecX(ctx context.Context)
- func (rdc *Rent591HomeDetailCreate) Mutation() *Rent591HomeDetailMutation
- func (rdc *Rent591HomeDetailCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailUpsertOne
- func (rdc *Rent591HomeDetailCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailUpsertOne
- func (rdc *Rent591HomeDetailCreate) Save(ctx context.Context) (*Rent591HomeDetail, error)
- func (rdc *Rent591HomeDetailCreate) SaveX(ctx context.Context) *Rent591HomeDetail
- func (rdc *Rent591HomeDetailCreate) SetCreatedAt(t time.Time) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetDealText(s string) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetDealTime(i int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetDeposit(s string) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetKind(i int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetNillableCreatedAt(t *time.Time) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetNillableDealText(s *string) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetNillableRent591homeDetailPositionRoundsID(id *int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetNillableRent591homesID(id *int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetNillableUpdatedAt(t *time.Time) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetPrice(i int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetPriceUnit(s string) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetRegionID(i int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetRelieved(i int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetRent591homeDetailPositionRounds(r *Rent591HomeDetailPositionRound) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetRent591homeDetailPositionRoundsID(id int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetRent591homes(r *Rent591Home) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetRent591homesID(id int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetSectionID(i int) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetTitle(s string) *Rent591HomeDetailCreate
- func (rdc *Rent591HomeDetailCreate) SetUpdatedAt(t time.Time) *Rent591HomeDetailCreate
- type Rent591HomeDetailCreateBulk
- func (rdcb *Rent591HomeDetailCreateBulk) Exec(ctx context.Context) error
- func (rdcb *Rent591HomeDetailCreateBulk) ExecX(ctx context.Context)
- func (rdcb *Rent591HomeDetailCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailUpsertBulk
- func (rdcb *Rent591HomeDetailCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailUpsertBulk
- func (rdcb *Rent591HomeDetailCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetail, error)
- func (rdcb *Rent591HomeDetailCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetail
- type Rent591HomeDetailDelete
- type Rent591HomeDetailDeleteOne
- type Rent591HomeDetailEdges
- func (e Rent591HomeDetailEdges) Rent591homeDetailBreadcrumbsOrErr() ([]*Rent591HomeDetailBreadcrumb, error)
- func (e Rent591HomeDetailEdges) Rent591homeDetailBrowsesOrErr() ([]*Rent591HomeDetailBrowse, error)
- func (e Rent591HomeDetailEdges) Rent591homeDetailInfosOrErr() ([]*Rent591HomeDetailInfo, error)
- func (e Rent591HomeDetailEdges) Rent591homeDetailNavdatasOrErr() ([]*Rent591HomeDetailNavData, error)
- func (e Rent591HomeDetailEdges) Rent591homeDetailPositionRoundsOrErr() (*Rent591HomeDetailPositionRound, error)
- func (e Rent591HomeDetailEdges) Rent591homeDetailPublishsOrErr() ([]*Rent591HomeDetailPublish, error)
- func (e Rent591HomeDetailEdges) Rent591homeDetailShareinfosOrErr() ([]*Rent591HomeDetailShareInfo, error)
- func (e Rent591HomeDetailEdges) Rent591homeDetailTagsOrErr() ([]*Rent591HomeDetailTag, error)
- func (e Rent591HomeDetailEdges) Rent591homesOrErr() (*Rent591Home, error)
- type Rent591HomeDetailGroupBy
- func (rdgb *Rent591HomeDetailGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailGroupBy
- func (s *Rent591HomeDetailGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailGroupBy) IntsX(ctx context.Context) []int
- func (rdgb *Rent591HomeDetailGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailInfo
- func (rdi *Rent591HomeDetailInfo) GetValue(name string) (ent.Value, error)
- func (rdi *Rent591HomeDetailInfo) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdi *Rent591HomeDetailInfo) String() string
- func (rdi *Rent591HomeDetailInfo) Unwrap() *Rent591HomeDetailInfo
- func (rdi *Rent591HomeDetailInfo) Update() *Rent591HomeDetailInfoUpdateOne
- type Rent591HomeDetailInfoClient
- func (c *Rent591HomeDetailInfoClient) Create() *Rent591HomeDetailInfoCreate
- func (c *Rent591HomeDetailInfoClient) CreateBulk(builders ...*Rent591HomeDetailInfoCreate) *Rent591HomeDetailInfoCreateBulk
- func (c *Rent591HomeDetailInfoClient) Delete() *Rent591HomeDetailInfoDelete
- func (c *Rent591HomeDetailInfoClient) DeleteOne(rdi *Rent591HomeDetailInfo) *Rent591HomeDetailInfoDeleteOne
- func (c *Rent591HomeDetailInfoClient) DeleteOneID(id int) *Rent591HomeDetailInfoDeleteOne
- func (c *Rent591HomeDetailInfoClient) Get(ctx context.Context, id int) (*Rent591HomeDetailInfo, error)
- func (c *Rent591HomeDetailInfoClient) GetX(ctx context.Context, id int) *Rent591HomeDetailInfo
- func (c *Rent591HomeDetailInfoClient) Hooks() []Hook
- func (c *Rent591HomeDetailInfoClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailInfoClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailInfoClient) Query() *Rent591HomeDetailInfoQuery
- func (c *Rent591HomeDetailInfoClient) QueryRent591homeDetails(rdi *Rent591HomeDetailInfo) *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailInfoClient) Update() *Rent591HomeDetailInfoUpdate
- func (c *Rent591HomeDetailInfoClient) UpdateOne(rdi *Rent591HomeDetailInfo) *Rent591HomeDetailInfoUpdateOne
- func (c *Rent591HomeDetailInfoClient) UpdateOneID(id int) *Rent591HomeDetailInfoUpdateOne
- func (c *Rent591HomeDetailInfoClient) Use(hooks ...Hook)
- type Rent591HomeDetailInfoCreate
- func (rdic *Rent591HomeDetailInfoCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoCreate
- func (rdic *Rent591HomeDetailInfoCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoCreate
- func (rdic *Rent591HomeDetailInfoCreate) Exec(ctx context.Context) error
- func (rdic *Rent591HomeDetailInfoCreate) ExecX(ctx context.Context)
- func (rdic *Rent591HomeDetailInfoCreate) Mutation() *Rent591HomeDetailInfoMutation
- func (rdic *Rent591HomeDetailInfoCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailInfoUpsertOne
- func (rdic *Rent591HomeDetailInfoCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailInfoUpsertOne
- func (rdic *Rent591HomeDetailInfoCreate) Save(ctx context.Context) (*Rent591HomeDetailInfo, error)
- func (rdic *Rent591HomeDetailInfoCreate) SaveX(ctx context.Context) *Rent591HomeDetailInfo
- func (rdic *Rent591HomeDetailInfoCreate) SetKey(i int) *Rent591HomeDetailInfoCreate
- func (rdic *Rent591HomeDetailInfoCreate) SetName(s string) *Rent591HomeDetailInfoCreate
- func (rdic *Rent591HomeDetailInfoCreate) SetValue(s string) *Rent591HomeDetailInfoCreate
- type Rent591HomeDetailInfoCreateBulk
- func (rdicb *Rent591HomeDetailInfoCreateBulk) Exec(ctx context.Context) error
- func (rdicb *Rent591HomeDetailInfoCreateBulk) ExecX(ctx context.Context)
- func (rdicb *Rent591HomeDetailInfoCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailInfoUpsertBulk
- func (rdicb *Rent591HomeDetailInfoCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailInfoUpsertBulk
- func (rdicb *Rent591HomeDetailInfoCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailInfo, error)
- func (rdicb *Rent591HomeDetailInfoCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailInfo
- type Rent591HomeDetailInfoDelete
- type Rent591HomeDetailInfoDeleteOne
- type Rent591HomeDetailInfoEdges
- type Rent591HomeDetailInfoGroupBy
- func (rdigb *Rent591HomeDetailInfoGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailInfoGroupBy
- func (s *Rent591HomeDetailInfoGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailInfoGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailInfoGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailInfoGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailInfoGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailInfoGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailInfoGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailInfoGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailInfoGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailInfoGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailInfoGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailInfoGroupBy) IntsX(ctx context.Context) []int
- func (rdigb *Rent591HomeDetailInfoGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailInfoGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailInfoGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailInfoGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailInfoGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailInfoGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailInfoMutation
- func (m *Rent591HomeDetailInfoMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailInfoMutation) AddKey(i int)
- func (m *Rent591HomeDetailInfoMutation) AddRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailInfoMutation) AddedEdges() []string
- func (m *Rent591HomeDetailInfoMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailInfoMutation) AddedFields() []string
- func (m *Rent591HomeDetailInfoMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailInfoMutation) AddedKey() (r int, exists bool)
- func (m *Rent591HomeDetailInfoMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailInfoMutation) ClearField(name string) error
- func (m *Rent591HomeDetailInfoMutation) ClearRent591homeDetails()
- func (m *Rent591HomeDetailInfoMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailInfoMutation) ClearedFields() []string
- func (m Rent591HomeDetailInfoMutation) Client() *Client
- func (m *Rent591HomeDetailInfoMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailInfoMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailInfoMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailInfoMutation) Fields() []string
- func (m *Rent591HomeDetailInfoMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailInfoMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailInfoMutation) Key() (r int, exists bool)
- func (m *Rent591HomeDetailInfoMutation) Name() (r string, exists bool)
- func (m *Rent591HomeDetailInfoMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailInfoMutation) OldKey(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailInfoMutation) OldName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailInfoMutation) OldValue(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailInfoMutation) Op() Op
- func (m *Rent591HomeDetailInfoMutation) RemoveRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailInfoMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailInfoMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailInfoMutation) RemovedRent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailInfoMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeDetailInfoMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailInfoMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailInfoMutation) ResetField(name string) error
- func (m *Rent591HomeDetailInfoMutation) ResetKey()
- func (m *Rent591HomeDetailInfoMutation) ResetName()
- func (m *Rent591HomeDetailInfoMutation) ResetRent591homeDetails()
- func (m *Rent591HomeDetailInfoMutation) ResetValue()
- func (m *Rent591HomeDetailInfoMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailInfoMutation) SetKey(i int)
- func (m *Rent591HomeDetailInfoMutation) SetName(s string)
- func (m *Rent591HomeDetailInfoMutation) SetOp(op Op)
- func (m *Rent591HomeDetailInfoMutation) SetValue(s string)
- func (m Rent591HomeDetailInfoMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailInfoMutation) Type() string
- func (m *Rent591HomeDetailInfoMutation) Value() (r string, exists bool)
- func (m *Rent591HomeDetailInfoMutation) Where(ps ...predicate.Rent591HomeDetailInfo)
- func (m *Rent591HomeDetailInfoMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailInfoQuery
- func (rdiq *Rent591HomeDetailInfoQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailInfoSelect
- func (rdiq *Rent591HomeDetailInfoQuery) All(ctx context.Context) ([]*Rent591HomeDetailInfo, error)
- func (rdiq *Rent591HomeDetailInfoQuery) AllX(ctx context.Context) []*Rent591HomeDetailInfo
- func (rdiq *Rent591HomeDetailInfoQuery) Clone() *Rent591HomeDetailInfoQuery
- func (rdiq *Rent591HomeDetailInfoQuery) Count(ctx context.Context) (int, error)
- func (rdiq *Rent591HomeDetailInfoQuery) CountX(ctx context.Context) int
- func (rdiq *Rent591HomeDetailInfoQuery) Exist(ctx context.Context) (bool, error)
- func (rdiq *Rent591HomeDetailInfoQuery) ExistX(ctx context.Context) bool
- func (rdiq *Rent591HomeDetailInfoQuery) First(ctx context.Context) (*Rent591HomeDetailInfo, error)
- func (rdiq *Rent591HomeDetailInfoQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdiq *Rent591HomeDetailInfoQuery) FirstIDX(ctx context.Context) int
- func (rdiq *Rent591HomeDetailInfoQuery) FirstX(ctx context.Context) *Rent591HomeDetailInfo
- func (rdiq *Rent591HomeDetailInfoQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailInfoGroupBy
- func (rdiq *Rent591HomeDetailInfoQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdiq *Rent591HomeDetailInfoQuery) IDsX(ctx context.Context) []int
- func (rdiq *Rent591HomeDetailInfoQuery) Limit(limit int) *Rent591HomeDetailInfoQuery
- func (rdiq *Rent591HomeDetailInfoQuery) Offset(offset int) *Rent591HomeDetailInfoQuery
- func (rdiq *Rent591HomeDetailInfoQuery) Only(ctx context.Context) (*Rent591HomeDetailInfo, error)
- func (rdiq *Rent591HomeDetailInfoQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdiq *Rent591HomeDetailInfoQuery) OnlyIDX(ctx context.Context) int
- func (rdiq *Rent591HomeDetailInfoQuery) OnlyX(ctx context.Context) *Rent591HomeDetailInfo
- func (rdiq *Rent591HomeDetailInfoQuery) Order(o ...rent591homedetailinfo.OrderOption) *Rent591HomeDetailInfoQuery
- func (rdiq *Rent591HomeDetailInfoQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdiq *Rent591HomeDetailInfoQuery) Select(fields ...string) *Rent591HomeDetailInfoSelect
- func (rdiq *Rent591HomeDetailInfoQuery) Unique(unique bool) *Rent591HomeDetailInfoQuery
- func (rdiq *Rent591HomeDetailInfoQuery) Where(ps ...predicate.Rent591HomeDetailInfo) *Rent591HomeDetailInfoQuery
- func (rdiq *Rent591HomeDetailInfoQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailInfoQuery
- type Rent591HomeDetailInfoSelect
- func (rdis *Rent591HomeDetailInfoSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailInfoSelect
- func (s *Rent591HomeDetailInfoSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailInfoSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailInfoSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailInfoSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailInfoSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailInfoSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailInfoSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailInfoSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailInfoSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailInfoSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailInfoSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailInfoSelect) IntsX(ctx context.Context) []int
- func (rdis *Rent591HomeDetailInfoSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailInfoSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailInfoSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailInfoSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailInfoSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailInfoSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) AddKey(i int) *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) ClearRent591homeDetails() *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) Exec(ctx context.Context) error
- func (rdiu *Rent591HomeDetailInfoUpdate) ExecX(ctx context.Context)
- func (rdiu *Rent591HomeDetailInfoUpdate) Mutation() *Rent591HomeDetailInfoMutation
- func (rdiu *Rent591HomeDetailInfoUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) Save(ctx context.Context) (int, error)
- func (rdiu *Rent591HomeDetailInfoUpdate) SaveX(ctx context.Context) int
- func (rdiu *Rent591HomeDetailInfoUpdate) SetKey(i int) *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) SetName(s string) *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) SetValue(s string) *Rent591HomeDetailInfoUpdate
- func (rdiu *Rent591HomeDetailInfoUpdate) Where(ps ...predicate.Rent591HomeDetailInfo) *Rent591HomeDetailInfoUpdate
- type Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) AddKey(i int) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) Exec(ctx context.Context) error
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) ExecX(ctx context.Context)
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) Mutation() *Rent591HomeDetailInfoMutation
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailInfo, error)
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailInfo
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) SetKey(i int) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) SetName(s string) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) SetValue(s string) *Rent591HomeDetailInfoUpdateOne
- func (rdiuo *Rent591HomeDetailInfoUpdateOne) Where(ps ...predicate.Rent591HomeDetailInfo) *Rent591HomeDetailInfoUpdateOne
- type Rent591HomeDetailInfoUpsert
- func (u *Rent591HomeDetailInfoUpsert) AddKey(v int) *Rent591HomeDetailInfoUpsert
- func (u *Rent591HomeDetailInfoUpsert) SetKey(v int) *Rent591HomeDetailInfoUpsert
- func (u *Rent591HomeDetailInfoUpsert) SetName(v string) *Rent591HomeDetailInfoUpsert
- func (u *Rent591HomeDetailInfoUpsert) SetValue(v string) *Rent591HomeDetailInfoUpsert
- func (u *Rent591HomeDetailInfoUpsert) UpdateKey() *Rent591HomeDetailInfoUpsert
- func (u *Rent591HomeDetailInfoUpsert) UpdateName() *Rent591HomeDetailInfoUpsert
- func (u *Rent591HomeDetailInfoUpsert) UpdateValue() *Rent591HomeDetailInfoUpsert
- type Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) AddKey(v int) *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) DoNothing() *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailInfoUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailInfoUpsertBulk) Ignore() *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) SetKey(v int) *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) SetName(v string) *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) SetValue(v string) *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) Update(set func(*Rent591HomeDetailInfoUpsert)) *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) UpdateKey() *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) UpdateName() *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) UpdateNewValues() *Rent591HomeDetailInfoUpsertBulk
- func (u *Rent591HomeDetailInfoUpsertBulk) UpdateValue() *Rent591HomeDetailInfoUpsertBulk
- type Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) AddKey(v int) *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) DoNothing() *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailInfoUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailInfoUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailInfoUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailInfoUpsertOne) Ignore() *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) SetKey(v int) *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) SetName(v string) *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) SetValue(v string) *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) Update(set func(*Rent591HomeDetailInfoUpsert)) *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) UpdateKey() *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) UpdateName() *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) UpdateNewValues() *Rent591HomeDetailInfoUpsertOne
- func (u *Rent591HomeDetailInfoUpsertOne) UpdateValue() *Rent591HomeDetailInfoUpsertOne
- type Rent591HomeDetailInfos
- type Rent591HomeDetailMutation
- func (m *Rent591HomeDetailMutation) AddDealTime(i int)
- func (m *Rent591HomeDetailMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailMutation) AddKind(i int)
- func (m *Rent591HomeDetailMutation) AddPrice(i int)
- func (m *Rent591HomeDetailMutation) AddRegionID(i int)
- func (m *Rent591HomeDetailMutation) AddRelieved(i int)
- func (m *Rent591HomeDetailMutation) AddRent591homeDetailBreadcrumbIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) AddRent591homeDetailBrowseIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) AddRent591homeDetailInfoIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) AddRent591homeDetailNavdataIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) AddRent591homeDetailPublishIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) AddRent591homeDetailShareinfoIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) AddRent591homeDetailTagIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) AddSectionID(i int)
- func (m *Rent591HomeDetailMutation) AddedDealTime() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) AddedEdges() []string
- func (m *Rent591HomeDetailMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailMutation) AddedFields() []string
- func (m *Rent591HomeDetailMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailMutation) AddedKind() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) AddedPrice() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) AddedRegionID() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) AddedRelieved() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) AddedSectionID() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) ClearDealText()
- func (m *Rent591HomeDetailMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailMutation) ClearField(name string) error
- func (m *Rent591HomeDetailMutation) ClearRent591homeDetailBreadcrumbs()
- func (m *Rent591HomeDetailMutation) ClearRent591homeDetailBrowses()
- func (m *Rent591HomeDetailMutation) ClearRent591homeDetailInfos()
- func (m *Rent591HomeDetailMutation) ClearRent591homeDetailNavdatas()
- func (m *Rent591HomeDetailMutation) ClearRent591homeDetailPositionRounds()
- func (m *Rent591HomeDetailMutation) ClearRent591homeDetailPublishs()
- func (m *Rent591HomeDetailMutation) ClearRent591homeDetailShareinfos()
- func (m *Rent591HomeDetailMutation) ClearRent591homeDetailTags()
- func (m *Rent591HomeDetailMutation) ClearRent591homes()
- func (m *Rent591HomeDetailMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailMutation) ClearedFields() []string
- func (m Rent591HomeDetailMutation) Client() *Client
- func (m *Rent591HomeDetailMutation) CreatedAt() (r time.Time, exists bool)
- func (m *Rent591HomeDetailMutation) DealText() (r string, exists bool)
- func (m *Rent591HomeDetailMutation) DealTextCleared() bool
- func (m *Rent591HomeDetailMutation) DealTime() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) Deposit() (r string, exists bool)
- func (m *Rent591HomeDetailMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailMutation) Fields() []string
- func (m *Rent591HomeDetailMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailMutation) Kind() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error)
- func (m *Rent591HomeDetailMutation) OldDealText(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailMutation) OldDealTime(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailMutation) OldDeposit(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailMutation) OldKind(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailMutation) OldPrice(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailMutation) OldPriceUnit(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailMutation) OldRegionID(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailMutation) OldRelieved(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailMutation) OldSectionID(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailMutation) OldTitle(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error)
- func (m *Rent591HomeDetailMutation) Op() Op
- func (m *Rent591HomeDetailMutation) Price() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) PriceUnit() (r string, exists bool)
- func (m *Rent591HomeDetailMutation) RegionID() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) Relieved() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailBreadcrumbIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailBrowseIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailInfoIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailNavdataIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailPublishIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailShareinfoIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailTagIDs(ids ...int)
- func (m *Rent591HomeDetailMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailBreadcrumbsIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailBrowsesIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailInfosIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailNavdatasIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailPublishsIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailShareinfosIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailTagsIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailBreadcrumbsCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homeDetailBreadcrumbsIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailBrowsesCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homeDetailBrowsesIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailInfosCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homeDetailInfosIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailNavdatasCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homeDetailNavdatasIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsID() (id int, exists bool)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailPublishsCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homeDetailPublishsIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailShareinfosCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homeDetailShareinfosIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homeDetailTagsCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homeDetailTagsIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) Rent591homesCleared() bool
- func (m *Rent591HomeDetailMutation) Rent591homesID() (id int, exists bool)
- func (m *Rent591HomeDetailMutation) Rent591homesIDs() (ids []int)
- func (m *Rent591HomeDetailMutation) ResetCreatedAt()
- func (m *Rent591HomeDetailMutation) ResetDealText()
- func (m *Rent591HomeDetailMutation) ResetDealTime()
- func (m *Rent591HomeDetailMutation) ResetDeposit()
- func (m *Rent591HomeDetailMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailMutation) ResetField(name string) error
- func (m *Rent591HomeDetailMutation) ResetKind()
- func (m *Rent591HomeDetailMutation) ResetPrice()
- func (m *Rent591HomeDetailMutation) ResetPriceUnit()
- func (m *Rent591HomeDetailMutation) ResetRegionID()
- func (m *Rent591HomeDetailMutation) ResetRelieved()
- func (m *Rent591HomeDetailMutation) ResetRent591homeDetailBreadcrumbs()
- func (m *Rent591HomeDetailMutation) ResetRent591homeDetailBrowses()
- func (m *Rent591HomeDetailMutation) ResetRent591homeDetailInfos()
- func (m *Rent591HomeDetailMutation) ResetRent591homeDetailNavdatas()
- func (m *Rent591HomeDetailMutation) ResetRent591homeDetailPositionRounds()
- func (m *Rent591HomeDetailMutation) ResetRent591homeDetailPublishs()
- func (m *Rent591HomeDetailMutation) ResetRent591homeDetailShareinfos()
- func (m *Rent591HomeDetailMutation) ResetRent591homeDetailTags()
- func (m *Rent591HomeDetailMutation) ResetRent591homes()
- func (m *Rent591HomeDetailMutation) ResetSectionID()
- func (m *Rent591HomeDetailMutation) ResetTitle()
- func (m *Rent591HomeDetailMutation) ResetUpdatedAt()
- func (m *Rent591HomeDetailMutation) SectionID() (r int, exists bool)
- func (m *Rent591HomeDetailMutation) SetCreatedAt(t time.Time)
- func (m *Rent591HomeDetailMutation) SetDealText(s string)
- func (m *Rent591HomeDetailMutation) SetDealTime(i int)
- func (m *Rent591HomeDetailMutation) SetDeposit(s string)
- func (m *Rent591HomeDetailMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailMutation) SetKind(i int)
- func (m *Rent591HomeDetailMutation) SetOp(op Op)
- func (m *Rent591HomeDetailMutation) SetPrice(i int)
- func (m *Rent591HomeDetailMutation) SetPriceUnit(s string)
- func (m *Rent591HomeDetailMutation) SetRegionID(i int)
- func (m *Rent591HomeDetailMutation) SetRelieved(i int)
- func (m *Rent591HomeDetailMutation) SetRent591homeDetailPositionRoundsID(id int)
- func (m *Rent591HomeDetailMutation) SetRent591homesID(id int)
- func (m *Rent591HomeDetailMutation) SetSectionID(i int)
- func (m *Rent591HomeDetailMutation) SetTitle(s string)
- func (m *Rent591HomeDetailMutation) SetUpdatedAt(t time.Time)
- func (m *Rent591HomeDetailMutation) Title() (r string, exists bool)
- func (m Rent591HomeDetailMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailMutation) Type() string
- func (m *Rent591HomeDetailMutation) UpdatedAt() (r time.Time, exists bool)
- func (m *Rent591HomeDetailMutation) Where(ps ...predicate.Rent591HomeDetail)
- func (m *Rent591HomeDetailMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailNavData
- func (rdnd *Rent591HomeDetailNavData) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdnd *Rent591HomeDetailNavData) String() string
- func (rdnd *Rent591HomeDetailNavData) Unwrap() *Rent591HomeDetailNavData
- func (rdnd *Rent591HomeDetailNavData) Update() *Rent591HomeDetailNavDataUpdateOne
- func (rdnd *Rent591HomeDetailNavData) Value(name string) (ent.Value, error)
- type Rent591HomeDetailNavDataClient
- func (c *Rent591HomeDetailNavDataClient) Create() *Rent591HomeDetailNavDataCreate
- func (c *Rent591HomeDetailNavDataClient) CreateBulk(builders ...*Rent591HomeDetailNavDataCreate) *Rent591HomeDetailNavDataCreateBulk
- func (c *Rent591HomeDetailNavDataClient) Delete() *Rent591HomeDetailNavDataDelete
- func (c *Rent591HomeDetailNavDataClient) DeleteOne(rdnd *Rent591HomeDetailNavData) *Rent591HomeDetailNavDataDeleteOne
- func (c *Rent591HomeDetailNavDataClient) DeleteOneID(id int) *Rent591HomeDetailNavDataDeleteOne
- func (c *Rent591HomeDetailNavDataClient) Get(ctx context.Context, id int) (*Rent591HomeDetailNavData, error)
- func (c *Rent591HomeDetailNavDataClient) GetX(ctx context.Context, id int) *Rent591HomeDetailNavData
- func (c *Rent591HomeDetailNavDataClient) Hooks() []Hook
- func (c *Rent591HomeDetailNavDataClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailNavDataClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailNavDataClient) Query() *Rent591HomeDetailNavDataQuery
- func (c *Rent591HomeDetailNavDataClient) QueryRent591homeDetails(rdnd *Rent591HomeDetailNavData) *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailNavDataClient) Update() *Rent591HomeDetailNavDataUpdate
- func (c *Rent591HomeDetailNavDataClient) UpdateOne(rdnd *Rent591HomeDetailNavData) *Rent591HomeDetailNavDataUpdateOne
- func (c *Rent591HomeDetailNavDataClient) UpdateOneID(id int) *Rent591HomeDetailNavDataUpdateOne
- func (c *Rent591HomeDetailNavDataClient) Use(hooks ...Hook)
- type Rent591HomeDetailNavDataCreate
- func (rdndc *Rent591HomeDetailNavDataCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataCreate
- func (rdndc *Rent591HomeDetailNavDataCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataCreate
- func (rdndc *Rent591HomeDetailNavDataCreate) Exec(ctx context.Context) error
- func (rdndc *Rent591HomeDetailNavDataCreate) ExecX(ctx context.Context)
- func (rdndc *Rent591HomeDetailNavDataCreate) Mutation() *Rent591HomeDetailNavDataMutation
- func (rdndc *Rent591HomeDetailNavDataCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailNavDataUpsertOne
- func (rdndc *Rent591HomeDetailNavDataCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailNavDataUpsertOne
- func (rdndc *Rent591HomeDetailNavDataCreate) Save(ctx context.Context) (*Rent591HomeDetailNavData, error)
- func (rdndc *Rent591HomeDetailNavDataCreate) SaveX(ctx context.Context) *Rent591HomeDetailNavData
- func (rdndc *Rent591HomeDetailNavDataCreate) SetActive(i int) *Rent591HomeDetailNavDataCreate
- func (rdndc *Rent591HomeDetailNavDataCreate) SetKey(s string) *Rent591HomeDetailNavDataCreate
- func (rdndc *Rent591HomeDetailNavDataCreate) SetTitle(s string) *Rent591HomeDetailNavDataCreate
- type Rent591HomeDetailNavDataCreateBulk
- func (rdndcb *Rent591HomeDetailNavDataCreateBulk) Exec(ctx context.Context) error
- func (rdndcb *Rent591HomeDetailNavDataCreateBulk) ExecX(ctx context.Context)
- func (rdndcb *Rent591HomeDetailNavDataCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailNavDataUpsertBulk
- func (rdndcb *Rent591HomeDetailNavDataCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailNavDataUpsertBulk
- func (rdndcb *Rent591HomeDetailNavDataCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailNavData, error)
- func (rdndcb *Rent591HomeDetailNavDataCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailNavData
- type Rent591HomeDetailNavDataDelete
- type Rent591HomeDetailNavDataDeleteOne
- type Rent591HomeDetailNavDataEdges
- type Rent591HomeDetailNavDataGroupBy
- func (rdndgb *Rent591HomeDetailNavDataGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailNavDataGroupBy
- func (s *Rent591HomeDetailNavDataGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailNavDataGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailNavDataGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailNavDataGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailNavDataGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailNavDataGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailNavDataGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailNavDataGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailNavDataGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailNavDataGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailNavDataGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailNavDataGroupBy) IntsX(ctx context.Context) []int
- func (rdndgb *Rent591HomeDetailNavDataGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailNavDataGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailNavDataGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailNavDataGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailNavDataGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailNavDataGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailNavDataMutation
- func (m *Rent591HomeDetailNavDataMutation) Active() (r int, exists bool)
- func (m *Rent591HomeDetailNavDataMutation) AddActive(i int)
- func (m *Rent591HomeDetailNavDataMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailNavDataMutation) AddRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailNavDataMutation) AddedActive() (r int, exists bool)
- func (m *Rent591HomeDetailNavDataMutation) AddedEdges() []string
- func (m *Rent591HomeDetailNavDataMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailNavDataMutation) AddedFields() []string
- func (m *Rent591HomeDetailNavDataMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailNavDataMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailNavDataMutation) ClearField(name string) error
- func (m *Rent591HomeDetailNavDataMutation) ClearRent591homeDetails()
- func (m *Rent591HomeDetailNavDataMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailNavDataMutation) ClearedFields() []string
- func (m Rent591HomeDetailNavDataMutation) Client() *Client
- func (m *Rent591HomeDetailNavDataMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailNavDataMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailNavDataMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailNavDataMutation) Fields() []string
- func (m *Rent591HomeDetailNavDataMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailNavDataMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailNavDataMutation) Key() (r string, exists bool)
- func (m *Rent591HomeDetailNavDataMutation) OldActive(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailNavDataMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailNavDataMutation) OldKey(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailNavDataMutation) OldTitle(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailNavDataMutation) Op() Op
- func (m *Rent591HomeDetailNavDataMutation) RemoveRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailNavDataMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailNavDataMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailNavDataMutation) RemovedRent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailNavDataMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeDetailNavDataMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailNavDataMutation) ResetActive()
- func (m *Rent591HomeDetailNavDataMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailNavDataMutation) ResetField(name string) error
- func (m *Rent591HomeDetailNavDataMutation) ResetKey()
- func (m *Rent591HomeDetailNavDataMutation) ResetRent591homeDetails()
- func (m *Rent591HomeDetailNavDataMutation) ResetTitle()
- func (m *Rent591HomeDetailNavDataMutation) SetActive(i int)
- func (m *Rent591HomeDetailNavDataMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailNavDataMutation) SetKey(s string)
- func (m *Rent591HomeDetailNavDataMutation) SetOp(op Op)
- func (m *Rent591HomeDetailNavDataMutation) SetTitle(s string)
- func (m *Rent591HomeDetailNavDataMutation) Title() (r string, exists bool)
- func (m Rent591HomeDetailNavDataMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailNavDataMutation) Type() string
- func (m *Rent591HomeDetailNavDataMutation) Where(ps ...predicate.Rent591HomeDetailNavData)
- func (m *Rent591HomeDetailNavDataMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailNavDataQuery
- func (rdndq *Rent591HomeDetailNavDataQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailNavDataSelect
- func (rdndq *Rent591HomeDetailNavDataQuery) All(ctx context.Context) ([]*Rent591HomeDetailNavData, error)
- func (rdndq *Rent591HomeDetailNavDataQuery) AllX(ctx context.Context) []*Rent591HomeDetailNavData
- func (rdndq *Rent591HomeDetailNavDataQuery) Clone() *Rent591HomeDetailNavDataQuery
- func (rdndq *Rent591HomeDetailNavDataQuery) Count(ctx context.Context) (int, error)
- func (rdndq *Rent591HomeDetailNavDataQuery) CountX(ctx context.Context) int
- func (rdndq *Rent591HomeDetailNavDataQuery) Exist(ctx context.Context) (bool, error)
- func (rdndq *Rent591HomeDetailNavDataQuery) ExistX(ctx context.Context) bool
- func (rdndq *Rent591HomeDetailNavDataQuery) First(ctx context.Context) (*Rent591HomeDetailNavData, error)
- func (rdndq *Rent591HomeDetailNavDataQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdndq *Rent591HomeDetailNavDataQuery) FirstIDX(ctx context.Context) int
- func (rdndq *Rent591HomeDetailNavDataQuery) FirstX(ctx context.Context) *Rent591HomeDetailNavData
- func (rdndq *Rent591HomeDetailNavDataQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailNavDataGroupBy
- func (rdndq *Rent591HomeDetailNavDataQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdndq *Rent591HomeDetailNavDataQuery) IDsX(ctx context.Context) []int
- func (rdndq *Rent591HomeDetailNavDataQuery) Limit(limit int) *Rent591HomeDetailNavDataQuery
- func (rdndq *Rent591HomeDetailNavDataQuery) Offset(offset int) *Rent591HomeDetailNavDataQuery
- func (rdndq *Rent591HomeDetailNavDataQuery) Only(ctx context.Context) (*Rent591HomeDetailNavData, error)
- func (rdndq *Rent591HomeDetailNavDataQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdndq *Rent591HomeDetailNavDataQuery) OnlyIDX(ctx context.Context) int
- func (rdndq *Rent591HomeDetailNavDataQuery) OnlyX(ctx context.Context) *Rent591HomeDetailNavData
- func (rdndq *Rent591HomeDetailNavDataQuery) Order(o ...rent591homedetailnavdata.OrderOption) *Rent591HomeDetailNavDataQuery
- func (rdndq *Rent591HomeDetailNavDataQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdndq *Rent591HomeDetailNavDataQuery) Select(fields ...string) *Rent591HomeDetailNavDataSelect
- func (rdndq *Rent591HomeDetailNavDataQuery) Unique(unique bool) *Rent591HomeDetailNavDataQuery
- func (rdndq *Rent591HomeDetailNavDataQuery) Where(ps ...predicate.Rent591HomeDetailNavData) *Rent591HomeDetailNavDataQuery
- func (rdndq *Rent591HomeDetailNavDataQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailNavDataQuery
- type Rent591HomeDetailNavDataSelect
- func (rdnds *Rent591HomeDetailNavDataSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailNavDataSelect
- func (s *Rent591HomeDetailNavDataSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailNavDataSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailNavDataSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailNavDataSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailNavDataSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailNavDataSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailNavDataSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailNavDataSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailNavDataSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailNavDataSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailNavDataSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailNavDataSelect) IntsX(ctx context.Context) []int
- func (rdnds *Rent591HomeDetailNavDataSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailNavDataSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailNavDataSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailNavDataSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailNavDataSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailNavDataSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailNavDataSlice
- type Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) AddActive(i int) *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) ClearRent591homeDetails() *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) Exec(ctx context.Context) error
- func (rdndu *Rent591HomeDetailNavDataUpdate) ExecX(ctx context.Context)
- func (rdndu *Rent591HomeDetailNavDataUpdate) Mutation() *Rent591HomeDetailNavDataMutation
- func (rdndu *Rent591HomeDetailNavDataUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) Save(ctx context.Context) (int, error)
- func (rdndu *Rent591HomeDetailNavDataUpdate) SaveX(ctx context.Context) int
- func (rdndu *Rent591HomeDetailNavDataUpdate) SetActive(i int) *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) SetKey(s string) *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) SetTitle(s string) *Rent591HomeDetailNavDataUpdate
- func (rdndu *Rent591HomeDetailNavDataUpdate) Where(ps ...predicate.Rent591HomeDetailNavData) *Rent591HomeDetailNavDataUpdate
- type Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) AddActive(i int) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Exec(ctx context.Context) error
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) ExecX(ctx context.Context)
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Mutation() *Rent591HomeDetailNavDataMutation
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailNavData, error)
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailNavData
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) SetActive(i int) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) SetKey(s string) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) SetTitle(s string) *Rent591HomeDetailNavDataUpdateOne
- func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Where(ps ...predicate.Rent591HomeDetailNavData) *Rent591HomeDetailNavDataUpdateOne
- type Rent591HomeDetailNavDataUpsert
- func (u *Rent591HomeDetailNavDataUpsert) AddActive(v int) *Rent591HomeDetailNavDataUpsert
- func (u *Rent591HomeDetailNavDataUpsert) SetActive(v int) *Rent591HomeDetailNavDataUpsert
- func (u *Rent591HomeDetailNavDataUpsert) SetKey(v string) *Rent591HomeDetailNavDataUpsert
- func (u *Rent591HomeDetailNavDataUpsert) SetTitle(v string) *Rent591HomeDetailNavDataUpsert
- func (u *Rent591HomeDetailNavDataUpsert) UpdateActive() *Rent591HomeDetailNavDataUpsert
- func (u *Rent591HomeDetailNavDataUpsert) UpdateKey() *Rent591HomeDetailNavDataUpsert
- func (u *Rent591HomeDetailNavDataUpsert) UpdateTitle() *Rent591HomeDetailNavDataUpsert
- type Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) AddActive(v int) *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) DoNothing() *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailNavDataUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailNavDataUpsertBulk) Ignore() *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) SetActive(v int) *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) SetKey(v string) *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) SetTitle(v string) *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) Update(set func(*Rent591HomeDetailNavDataUpsert)) *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) UpdateActive() *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) UpdateKey() *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) UpdateNewValues() *Rent591HomeDetailNavDataUpsertBulk
- func (u *Rent591HomeDetailNavDataUpsertBulk) UpdateTitle() *Rent591HomeDetailNavDataUpsertBulk
- type Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) AddActive(v int) *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) DoNothing() *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailNavDataUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailNavDataUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailNavDataUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailNavDataUpsertOne) Ignore() *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) SetActive(v int) *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) SetKey(v string) *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) SetTitle(v string) *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) Update(set func(*Rent591HomeDetailNavDataUpsert)) *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) UpdateActive() *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) UpdateKey() *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) UpdateNewValues() *Rent591HomeDetailNavDataUpsertOne
- func (u *Rent591HomeDetailNavDataUpsertOne) UpdateTitle() *Rent591HomeDetailNavDataUpsertOne
- type Rent591HomeDetailPositionRound
- func (rdpr *Rent591HomeDetailPositionRound) QueryRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataQuery
- func (rdpr *Rent591HomeDetailPositionRound) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdpr *Rent591HomeDetailPositionRound) String() string
- func (rdpr *Rent591HomeDetailPositionRound) Unwrap() *Rent591HomeDetailPositionRound
- func (rdpr *Rent591HomeDetailPositionRound) Update() *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpr *Rent591HomeDetailPositionRound) Value(name string) (ent.Value, error)
- type Rent591HomeDetailPositionRoundClient
- func (c *Rent591HomeDetailPositionRoundClient) Create() *Rent591HomeDetailPositionRoundCreate
- func (c *Rent591HomeDetailPositionRoundClient) CreateBulk(builders ...*Rent591HomeDetailPositionRoundCreate) *Rent591HomeDetailPositionRoundCreateBulk
- func (c *Rent591HomeDetailPositionRoundClient) Delete() *Rent591HomeDetailPositionRoundDelete
- func (c *Rent591HomeDetailPositionRoundClient) DeleteOne(rdpr *Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDeleteOne
- func (c *Rent591HomeDetailPositionRoundClient) DeleteOneID(id int) *Rent591HomeDetailPositionRoundDeleteOne
- func (c *Rent591HomeDetailPositionRoundClient) Get(ctx context.Context, id int) (*Rent591HomeDetailPositionRound, error)
- func (c *Rent591HomeDetailPositionRoundClient) GetX(ctx context.Context, id int) *Rent591HomeDetailPositionRound
- func (c *Rent591HomeDetailPositionRoundClient) Hooks() []Hook
- func (c *Rent591HomeDetailPositionRoundClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailPositionRoundClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailPositionRoundClient) Query() *Rent591HomeDetailPositionRoundQuery
- func (c *Rent591HomeDetailPositionRoundClient) QueryRent591homeDetailPositionRoundDatas(rdpr *Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataQuery
- func (c *Rent591HomeDetailPositionRoundClient) QueryRent591homeDetails(rdpr *Rent591HomeDetailPositionRound) *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailPositionRoundClient) Update() *Rent591HomeDetailPositionRoundUpdate
- func (c *Rent591HomeDetailPositionRoundClient) UpdateOne(rdpr *Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundUpdateOne
- func (c *Rent591HomeDetailPositionRoundClient) UpdateOneID(id int) *Rent591HomeDetailPositionRoundUpdateOne
- func (c *Rent591HomeDetailPositionRoundClient) Use(hooks ...Hook)
- type Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) Exec(ctx context.Context) error
- func (rdprc *Rent591HomeDetailPositionRoundCreate) ExecX(ctx context.Context)
- func (rdprc *Rent591HomeDetailPositionRoundCreate) Mutation() *Rent591HomeDetailPositionRoundMutation
- func (rdprc *Rent591HomeDetailPositionRoundCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundUpsertOne
- func (rdprc *Rent591HomeDetailPositionRoundCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundUpsertOne
- func (rdprc *Rent591HomeDetailPositionRoundCreate) Save(ctx context.Context) (*Rent591HomeDetailPositionRound, error)
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SaveX(ctx context.Context) *Rent591HomeDetailPositionRound
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetActive(i int) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetAddress(s string) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetCommunityID(i int) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetCommunityName(s string) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetKey(s string) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetLat(f float64) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetLng(f float64) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetNillableRent591homeDetailsID(id *int) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetRent591homeDetailsID(id int) *Rent591HomeDetailPositionRoundCreate
- func (rdprc *Rent591HomeDetailPositionRoundCreate) SetTitle(s string) *Rent591HomeDetailPositionRoundCreate
- type Rent591HomeDetailPositionRoundCreateBulk
- func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) Exec(ctx context.Context) error
- func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) ExecX(ctx context.Context)
- func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundUpsertBulk
- func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundUpsertBulk
- func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailPositionRound, error)
- func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailPositionRound
- type Rent591HomeDetailPositionRoundData
- func (rdprd *Rent591HomeDetailPositionRoundData) QueryRent591homeDetailPositionRoundDataChildrens() *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprd *Rent591HomeDetailPositionRoundData) QueryRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundQuery
- func (rdprd *Rent591HomeDetailPositionRoundData) String() string
- func (rdprd *Rent591HomeDetailPositionRoundData) Unwrap() *Rent591HomeDetailPositionRoundData
- func (rdprd *Rent591HomeDetailPositionRoundData) Update() *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprd *Rent591HomeDetailPositionRoundData) Value(name string) (ent.Value, error)
- type Rent591HomeDetailPositionRoundDataChildren
- func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) QueryRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) String() string
- func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) Unwrap() *Rent591HomeDetailPositionRoundDataChildren
- func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) Update() *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) Value(name string) (ent.Value, error)
- type Rent591HomeDetailPositionRoundDataChildrenClient
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Create() *Rent591HomeDetailPositionRoundDataChildrenCreate
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) CreateBulk(builders ...*Rent591HomeDetailPositionRoundDataChildrenCreate) *Rent591HomeDetailPositionRoundDataChildrenCreateBulk
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Delete() *Rent591HomeDetailPositionRoundDataChildrenDelete
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) DeleteOne(rdprdc *Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenDeleteOne
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) DeleteOneID(id int) *Rent591HomeDetailPositionRoundDataChildrenDeleteOne
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Get(ctx context.Context, id int) (*Rent591HomeDetailPositionRoundDataChildren, error)
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) GetX(ctx context.Context, id int) *Rent591HomeDetailPositionRoundDataChildren
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Hooks() []Hook
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Query() *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) QueryRent591homeDetailPositionRoundDatas(rdprdc *Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataQuery
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Update() *Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) UpdateOne(rdprdc *Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) UpdateOneID(id int) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Use(hooks ...Hook)
- type Rent591HomeDetailPositionRoundDataChildrenCreate
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenCreate
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenCreate
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) Exec(ctx context.Context) error
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) ExecX(ctx context.Context)
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) Mutation() *Rent591HomeDetailPositionRoundDataChildrenMutation
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) Save(ctx context.Context) (*Rent591HomeDetailPositionRoundDataChildren, error)
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) SaveX(ctx context.Context) *Rent591HomeDetailPositionRoundDataChildren
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) SetKey(s string) *Rent591HomeDetailPositionRoundDataChildrenCreate
- func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) SetName(s string) *Rent591HomeDetailPositionRoundDataChildrenCreate
- type Rent591HomeDetailPositionRoundDataChildrenCreateBulk
- func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) Exec(ctx context.Context) error
- func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) ExecX(ctx context.Context)
- func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailPositionRoundDataChildren, error)
- func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailPositionRoundDataChildren
- type Rent591HomeDetailPositionRoundDataChildrenDelete
- func (rdprdcd *Rent591HomeDetailPositionRoundDataChildrenDelete) Exec(ctx context.Context) (int, error)
- func (rdprdcd *Rent591HomeDetailPositionRoundDataChildrenDelete) ExecX(ctx context.Context) int
- func (rdprdcd *Rent591HomeDetailPositionRoundDataChildrenDelete) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenDelete
- type Rent591HomeDetailPositionRoundDataChildrenDeleteOne
- func (rdprdcdo *Rent591HomeDetailPositionRoundDataChildrenDeleteOne) Exec(ctx context.Context) error
- func (rdprdcdo *Rent591HomeDetailPositionRoundDataChildrenDeleteOne) ExecX(ctx context.Context)
- func (rdprdcdo *Rent591HomeDetailPositionRoundDataChildrenDeleteOne) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenDeleteOne
- type Rent591HomeDetailPositionRoundDataChildrenEdges
- type Rent591HomeDetailPositionRoundDataChildrenGroupBy
- func (rdprdcgb *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataChildrenGroupBy
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) IntsX(ctx context.Context) []int
- func (rdprdcgb *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailPositionRoundDataChildrenMutation
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddRent591homeDetailPositionRoundDataIDs(ids ...int)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddedEdges() []string
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddedFields() []string
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearField(name string) error
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearRent591homeDetailPositionRoundDatas()
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearedFields() []string
- func (m Rent591HomeDetailPositionRoundDataChildrenMutation) Client() *Client
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Fields() []string
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Key() (r string, exists bool)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Name() (r string, exists bool)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) OldKey(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) OldName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Op() Op
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedRent591homeDetailPositionRoundDatasIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Rent591homeDetailPositionRoundDatasCleared() bool
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Rent591homeDetailPositionRoundDatasIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetField(name string) error
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetKey()
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetName()
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetRent591homeDetailPositionRoundDatas()
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) SetKey(s string)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) SetName(s string)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) SetOp(op Op)
- func (m Rent591HomeDetailPositionRoundDataChildrenMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Type() string
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren)
- func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataChildrenSelect
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) All(ctx context.Context) ([]*Rent591HomeDetailPositionRoundDataChildren, error)
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) AllX(ctx context.Context) []*Rent591HomeDetailPositionRoundDataChildren
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Clone() *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Count(ctx context.Context) (int, error)
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) CountX(ctx context.Context) int
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Exist(ctx context.Context) (bool, error)
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) ExistX(ctx context.Context) bool
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) First(ctx context.Context) (*Rent591HomeDetailPositionRoundDataChildren, error)
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) FirstIDX(ctx context.Context) int
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) FirstX(ctx context.Context) *Rent591HomeDetailPositionRoundDataChildren
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailPositionRoundDataChildrenGroupBy
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) IDsX(ctx context.Context) []int
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Limit(limit int) *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Offset(offset int) *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Only(ctx context.Context) (*Rent591HomeDetailPositionRoundDataChildren, error)
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyIDX(ctx context.Context) int
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyX(ctx context.Context) *Rent591HomeDetailPositionRoundDataChildren
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Order(o ...rent591homedetailpositionrounddatachildren.OrderOption) *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) QueryRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Select(fields ...string) *Rent591HomeDetailPositionRoundDataChildrenSelect
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Unique(unique bool) *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) WithRent591homeDetailPositionRoundDatas(opts ...func(*Rent591HomeDetailPositionRoundDataQuery)) *Rent591HomeDetailPositionRoundDataChildrenQuery
- type Rent591HomeDetailPositionRoundDataChildrenSelect
- func (rdprdcs *Rent591HomeDetailPositionRoundDataChildrenSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataChildrenSelect
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) IntsX(ctx context.Context) []int
- func (rdprdcs *Rent591HomeDetailPositionRoundDataChildrenSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) ClearRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) Exec(ctx context.Context) error
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) ExecX(ctx context.Context)
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) Mutation() *Rent591HomeDetailPositionRoundDataChildrenMutation
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) RemoveRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) Save(ctx context.Context) (int, error)
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) SaveX(ctx context.Context) int
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) SetKey(s string) *Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) SetName(s string) *Rent591HomeDetailPositionRoundDataChildrenUpdate
- func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenUpdate
- type Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) ClearRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Exec(ctx context.Context) error
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) ExecX(ctx context.Context)
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Mutation() *Rent591HomeDetailPositionRoundDataChildrenMutation
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) RemoveRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailPositionRoundDataChildren, error)
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailPositionRoundDataChildren
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SetKey(s string) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SetName(s string) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
- type Rent591HomeDetailPositionRoundDataChildrenUpsert
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsert) SetKey(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsert
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsert) SetName(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsert
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsert) UpdateKey() *Rent591HomeDetailPositionRoundDataChildrenUpsert
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsert) UpdateName() *Rent591HomeDetailPositionRoundDataChildrenUpsert
- type Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) DoNothing() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Ignore() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) SetKey(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) SetName(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Update(set func(*Rent591HomeDetailPositionRoundDataChildrenUpsert)) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateKey() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateName() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateNewValues() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
- type Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) DoNothing() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Ignore() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) SetKey(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) SetName(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Update(set func(*Rent591HomeDetailPositionRoundDataChildrenUpsert)) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateKey() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateName() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateNewValues() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
- type Rent591HomeDetailPositionRoundDataChildrens
- type Rent591HomeDetailPositionRoundDataClient
- func (c *Rent591HomeDetailPositionRoundDataClient) Create() *Rent591HomeDetailPositionRoundDataCreate
- func (c *Rent591HomeDetailPositionRoundDataClient) CreateBulk(builders ...*Rent591HomeDetailPositionRoundDataCreate) *Rent591HomeDetailPositionRoundDataCreateBulk
- func (c *Rent591HomeDetailPositionRoundDataClient) Delete() *Rent591HomeDetailPositionRoundDataDelete
- func (c *Rent591HomeDetailPositionRoundDataClient) DeleteOne(rdprd *Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataDeleteOne
- func (c *Rent591HomeDetailPositionRoundDataClient) DeleteOneID(id int) *Rent591HomeDetailPositionRoundDataDeleteOne
- func (c *Rent591HomeDetailPositionRoundDataClient) Get(ctx context.Context, id int) (*Rent591HomeDetailPositionRoundData, error)
- func (c *Rent591HomeDetailPositionRoundDataClient) GetX(ctx context.Context, id int) *Rent591HomeDetailPositionRoundData
- func (c *Rent591HomeDetailPositionRoundDataClient) Hooks() []Hook
- func (c *Rent591HomeDetailPositionRoundDataClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailPositionRoundDataClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailPositionRoundDataClient) Query() *Rent591HomeDetailPositionRoundDataQuery
- func (c *Rent591HomeDetailPositionRoundDataClient) QueryRent591homeDetailPositionRoundDataChildrens(rdprd *Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (c *Rent591HomeDetailPositionRoundDataClient) QueryRent591homeDetailPositionRounds(rdprd *Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundQuery
- func (c *Rent591HomeDetailPositionRoundDataClient) Update() *Rent591HomeDetailPositionRoundDataUpdate
- func (c *Rent591HomeDetailPositionRoundDataClient) UpdateOne(rdprd *Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (c *Rent591HomeDetailPositionRoundDataClient) UpdateOneID(id int) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (c *Rent591HomeDetailPositionRoundDataClient) Use(hooks ...Hook)
- type Rent591HomeDetailPositionRoundDataCreate
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataCreate
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataCreate
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataCreate
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataCreate
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) Exec(ctx context.Context) error
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) ExecX(ctx context.Context)
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) Mutation() *Rent591HomeDetailPositionRoundDataMutation
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundDataUpsertOne
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundDataUpsertOne
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) Save(ctx context.Context) (*Rent591HomeDetailPositionRoundData, error)
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) SaveX(ctx context.Context) *Rent591HomeDetailPositionRoundData
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) SetKey(s string) *Rent591HomeDetailPositionRoundDataCreate
- func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) SetName(s string) *Rent591HomeDetailPositionRoundDataCreate
- type Rent591HomeDetailPositionRoundDataCreateBulk
- func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) Exec(ctx context.Context) error
- func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) ExecX(ctx context.Context)
- func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailPositionRoundData, error)
- func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailPositionRoundData
- type Rent591HomeDetailPositionRoundDataDelete
- func (rdprdd *Rent591HomeDetailPositionRoundDataDelete) Exec(ctx context.Context) (int, error)
- func (rdprdd *Rent591HomeDetailPositionRoundDataDelete) ExecX(ctx context.Context) int
- func (rdprdd *Rent591HomeDetailPositionRoundDataDelete) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataDelete
- type Rent591HomeDetailPositionRoundDataDeleteOne
- func (rdprddo *Rent591HomeDetailPositionRoundDataDeleteOne) Exec(ctx context.Context) error
- func (rdprddo *Rent591HomeDetailPositionRoundDataDeleteOne) ExecX(ctx context.Context)
- func (rdprddo *Rent591HomeDetailPositionRoundDataDeleteOne) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataDeleteOne
- type Rent591HomeDetailPositionRoundDataEdges
- type Rent591HomeDetailPositionRoundDataGroupBy
- func (rdprdgb *Rent591HomeDetailPositionRoundDataGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataGroupBy
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) IntsX(ctx context.Context) []int
- func (rdprdgb *Rent591HomeDetailPositionRoundDataGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailPositionRoundDataGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailPositionRoundDataMutation
- func (m *Rent591HomeDetailPositionRoundDataMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailPositionRoundDataMutation) AddRent591homeDetailPositionRoundDataChildrenIDs(ids ...int)
- func (m *Rent591HomeDetailPositionRoundDataMutation) AddRent591homeDetailPositionRoundIDs(ids ...int)
- func (m *Rent591HomeDetailPositionRoundDataMutation) AddedEdges() []string
- func (m *Rent591HomeDetailPositionRoundDataMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailPositionRoundDataMutation) AddedFields() []string
- func (m *Rent591HomeDetailPositionRoundDataMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailPositionRoundDataMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailPositionRoundDataMutation) ClearField(name string) error
- func (m *Rent591HomeDetailPositionRoundDataMutation) ClearRent591homeDetailPositionRoundDataChildrens()
- func (m *Rent591HomeDetailPositionRoundDataMutation) ClearRent591homeDetailPositionRounds()
- func (m *Rent591HomeDetailPositionRoundDataMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailPositionRoundDataMutation) ClearedFields() []string
- func (m Rent591HomeDetailPositionRoundDataMutation) Client() *Client
- func (m *Rent591HomeDetailPositionRoundDataMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailPositionRoundDataMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailPositionRoundDataMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailPositionRoundDataMutation) Fields() []string
- func (m *Rent591HomeDetailPositionRoundDataMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailPositionRoundDataMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailPositionRoundDataMutation) Key() (r string, exists bool)
- func (m *Rent591HomeDetailPositionRoundDataMutation) Name() (r string, exists bool)
- func (m *Rent591HomeDetailPositionRoundDataMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailPositionRoundDataMutation) OldKey(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPositionRoundDataMutation) OldName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPositionRoundDataMutation) Op() Op
- func (m *Rent591HomeDetailPositionRoundDataMutation) RemoveRent591homeDetailPositionRoundDataChildrenIDs(ids ...int)
- func (m *Rent591HomeDetailPositionRoundDataMutation) RemoveRent591homeDetailPositionRoundIDs(ids ...int)
- func (m *Rent591HomeDetailPositionRoundDataMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailPositionRoundDataMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailPositionRoundDataMutation) RemovedRent591homeDetailPositionRoundDataChildrensIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundDataMutation) RemovedRent591homeDetailPositionRoundsIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundDataChildrensCleared() bool
- func (m *Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundDataChildrensIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundsCleared() bool
- func (m *Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundsIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundDataMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailPositionRoundDataMutation) ResetField(name string) error
- func (m *Rent591HomeDetailPositionRoundDataMutation) ResetKey()
- func (m *Rent591HomeDetailPositionRoundDataMutation) ResetName()
- func (m *Rent591HomeDetailPositionRoundDataMutation) ResetRent591homeDetailPositionRoundDataChildrens()
- func (m *Rent591HomeDetailPositionRoundDataMutation) ResetRent591homeDetailPositionRounds()
- func (m *Rent591HomeDetailPositionRoundDataMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailPositionRoundDataMutation) SetKey(s string)
- func (m *Rent591HomeDetailPositionRoundDataMutation) SetName(s string)
- func (m *Rent591HomeDetailPositionRoundDataMutation) SetOp(op Op)
- func (m Rent591HomeDetailPositionRoundDataMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailPositionRoundDataMutation) Type() string
- func (m *Rent591HomeDetailPositionRoundDataMutation) Where(ps ...predicate.Rent591HomeDetailPositionRoundData)
- func (m *Rent591HomeDetailPositionRoundDataMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailPositionRoundDataQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataSelect
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) All(ctx context.Context) ([]*Rent591HomeDetailPositionRoundData, error)
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) AllX(ctx context.Context) []*Rent591HomeDetailPositionRoundData
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Clone() *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Count(ctx context.Context) (int, error)
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) CountX(ctx context.Context) int
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Exist(ctx context.Context) (bool, error)
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) ExistX(ctx context.Context) bool
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) First(ctx context.Context) (*Rent591HomeDetailPositionRoundData, error)
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) FirstIDX(ctx context.Context) int
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) FirstX(ctx context.Context) *Rent591HomeDetailPositionRoundData
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailPositionRoundDataGroupBy
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) IDsX(ctx context.Context) []int
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Limit(limit int) *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Offset(offset int) *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Only(ctx context.Context) (*Rent591HomeDetailPositionRoundData, error)
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) OnlyIDX(ctx context.Context) int
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) OnlyX(ctx context.Context) *Rent591HomeDetailPositionRoundData
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Order(o ...rent591homedetailpositionrounddata.OrderOption) *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) QueryRent591homeDetailPositionRoundDataChildrens() *Rent591HomeDetailPositionRoundDataChildrenQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) QueryRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Select(fields ...string) *Rent591HomeDetailPositionRoundDataSelect
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Unique(unique bool) *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) WithRent591homeDetailPositionRoundDataChildrens(opts ...func(*Rent591HomeDetailPositionRoundDataChildrenQuery)) *Rent591HomeDetailPositionRoundDataQuery
- func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) WithRent591homeDetailPositionRounds(opts ...func(*Rent591HomeDetailPositionRoundQuery)) *Rent591HomeDetailPositionRoundDataQuery
- type Rent591HomeDetailPositionRoundDataSelect
- func (rdprds *Rent591HomeDetailPositionRoundDataSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataSelect
- func (s *Rent591HomeDetailPositionRoundDataSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailPositionRoundDataSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailPositionRoundDataSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailPositionRoundDataSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailPositionRoundDataSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailPositionRoundDataSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailPositionRoundDataSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailPositionRoundDataSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailPositionRoundDataSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailPositionRoundDataSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailPositionRoundDataSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailPositionRoundDataSelect) IntsX(ctx context.Context) []int
- func (rdprds *Rent591HomeDetailPositionRoundDataSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailPositionRoundDataSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailPositionRoundDataSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailPositionRoundDataSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailPositionRoundDataSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailPositionRoundDataSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailPositionRoundDataSlice
- type Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) ClearRent591homeDetailPositionRoundDataChildrens() *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) ClearRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) Exec(ctx context.Context) error
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) ExecX(ctx context.Context)
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) Mutation() *Rent591HomeDetailPositionRoundDataMutation
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) Save(ctx context.Context) (int, error)
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) SaveX(ctx context.Context) int
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) SetKey(s string) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) SetName(s string) *Rent591HomeDetailPositionRoundDataUpdate
- func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataUpdate
- type Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) ClearRent591homeDetailPositionRoundDataChildrens() *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) ClearRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Exec(ctx context.Context) error
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) ExecX(ctx context.Context)
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Mutation() *Rent591HomeDetailPositionRoundDataMutation
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailPositionRoundData, error)
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailPositionRoundData
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) SetKey(s string) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) SetName(s string) *Rent591HomeDetailPositionRoundDataUpdateOne
- func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataUpdateOne
- type Rent591HomeDetailPositionRoundDataUpsert
- func (u *Rent591HomeDetailPositionRoundDataUpsert) SetKey(v string) *Rent591HomeDetailPositionRoundDataUpsert
- func (u *Rent591HomeDetailPositionRoundDataUpsert) SetName(v string) *Rent591HomeDetailPositionRoundDataUpsert
- func (u *Rent591HomeDetailPositionRoundDataUpsert) UpdateKey() *Rent591HomeDetailPositionRoundDataUpsert
- func (u *Rent591HomeDetailPositionRoundDataUpsert) UpdateName() *Rent591HomeDetailPositionRoundDataUpsert
- type Rent591HomeDetailPositionRoundDataUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) DoNothing() *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) Ignore() *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) SetKey(v string) *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) SetName(v string) *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) Update(set func(*Rent591HomeDetailPositionRoundDataUpsert)) *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateKey() *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateName() *Rent591HomeDetailPositionRoundDataUpsertBulk
- func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateNewValues() *Rent591HomeDetailPositionRoundDataUpsertBulk
- type Rent591HomeDetailPositionRoundDataUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) DoNothing() *Rent591HomeDetailPositionRoundDataUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) Ignore() *Rent591HomeDetailPositionRoundDataUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) SetKey(v string) *Rent591HomeDetailPositionRoundDataUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) SetName(v string) *Rent591HomeDetailPositionRoundDataUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) Update(set func(*Rent591HomeDetailPositionRoundDataUpsert)) *Rent591HomeDetailPositionRoundDataUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) UpdateKey() *Rent591HomeDetailPositionRoundDataUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) UpdateName() *Rent591HomeDetailPositionRoundDataUpsertOne
- func (u *Rent591HomeDetailPositionRoundDataUpsertOne) UpdateNewValues() *Rent591HomeDetailPositionRoundDataUpsertOne
- type Rent591HomeDetailPositionRoundDelete
- func (rdprd *Rent591HomeDetailPositionRoundDelete) Exec(ctx context.Context) (int, error)
- func (rdprd *Rent591HomeDetailPositionRoundDelete) ExecX(ctx context.Context) int
- func (rdprd *Rent591HomeDetailPositionRoundDelete) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDelete
- type Rent591HomeDetailPositionRoundDeleteOne
- func (rdprdo *Rent591HomeDetailPositionRoundDeleteOne) Exec(ctx context.Context) error
- func (rdprdo *Rent591HomeDetailPositionRoundDeleteOne) ExecX(ctx context.Context)
- func (rdprdo *Rent591HomeDetailPositionRoundDeleteOne) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDeleteOne
- type Rent591HomeDetailPositionRoundEdges
- type Rent591HomeDetailPositionRoundGroupBy
- func (rdprgb *Rent591HomeDetailPositionRoundGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundGroupBy
- func (s *Rent591HomeDetailPositionRoundGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailPositionRoundGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailPositionRoundGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailPositionRoundGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailPositionRoundGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailPositionRoundGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailPositionRoundGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailPositionRoundGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailPositionRoundGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailPositionRoundGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailPositionRoundGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailPositionRoundGroupBy) IntsX(ctx context.Context) []int
- func (rdprgb *Rent591HomeDetailPositionRoundGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailPositionRoundGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailPositionRoundGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailPositionRoundGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailPositionRoundGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailPositionRoundGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailPositionRoundMutation
- func (m *Rent591HomeDetailPositionRoundMutation) Active() (r int, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) AddActive(i int)
- func (m *Rent591HomeDetailPositionRoundMutation) AddCommunityID(i int)
- func (m *Rent591HomeDetailPositionRoundMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailPositionRoundMutation) AddLat(f float64)
- func (m *Rent591HomeDetailPositionRoundMutation) AddLng(f float64)
- func (m *Rent591HomeDetailPositionRoundMutation) AddRent591homeDetailPositionRoundDataIDs(ids ...int)
- func (m *Rent591HomeDetailPositionRoundMutation) AddedActive() (r int, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) AddedCommunityID() (r int, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) AddedEdges() []string
- func (m *Rent591HomeDetailPositionRoundMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailPositionRoundMutation) AddedFields() []string
- func (m *Rent591HomeDetailPositionRoundMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailPositionRoundMutation) AddedLat() (r float64, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) AddedLng() (r float64, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) Address() (r string, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailPositionRoundMutation) ClearField(name string) error
- func (m *Rent591HomeDetailPositionRoundMutation) ClearRent591homeDetailPositionRoundDatas()
- func (m *Rent591HomeDetailPositionRoundMutation) ClearRent591homeDetails()
- func (m *Rent591HomeDetailPositionRoundMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailPositionRoundMutation) ClearedFields() []string
- func (m Rent591HomeDetailPositionRoundMutation) Client() *Client
- func (m *Rent591HomeDetailPositionRoundMutation) CommunityID() (r int, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) CommunityName() (r string, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailPositionRoundMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailPositionRoundMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailPositionRoundMutation) Fields() []string
- func (m *Rent591HomeDetailPositionRoundMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailPositionRoundMutation) Key() (r string, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) Lat() (r float64, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) Lng() (r float64, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) OldActive(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailPositionRoundMutation) OldAddress(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPositionRoundMutation) OldCommunityID(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailPositionRoundMutation) OldCommunityName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPositionRoundMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailPositionRoundMutation) OldKey(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPositionRoundMutation) OldLat(ctx context.Context) (v float64, err error)
- func (m *Rent591HomeDetailPositionRoundMutation) OldLng(ctx context.Context) (v float64, err error)
- func (m *Rent591HomeDetailPositionRoundMutation) OldTitle(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPositionRoundMutation) Op() Op
- func (m *Rent591HomeDetailPositionRoundMutation) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int)
- func (m *Rent591HomeDetailPositionRoundMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailPositionRoundMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailPositionRoundMutation) RemovedRent591homeDetailPositionRoundDatasIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailPositionRoundDatasCleared() bool
- func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailPositionRoundDatasIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsID() (id int, exists bool)
- func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailPositionRoundMutation) ResetActive()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetAddress()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetCommunityID()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetCommunityName()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailPositionRoundMutation) ResetField(name string) error
- func (m *Rent591HomeDetailPositionRoundMutation) ResetKey()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetLat()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetLng()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetRent591homeDetailPositionRoundDatas()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetRent591homeDetails()
- func (m *Rent591HomeDetailPositionRoundMutation) ResetTitle()
- func (m *Rent591HomeDetailPositionRoundMutation) SetActive(i int)
- func (m *Rent591HomeDetailPositionRoundMutation) SetAddress(s string)
- func (m *Rent591HomeDetailPositionRoundMutation) SetCommunityID(i int)
- func (m *Rent591HomeDetailPositionRoundMutation) SetCommunityName(s string)
- func (m *Rent591HomeDetailPositionRoundMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailPositionRoundMutation) SetKey(s string)
- func (m *Rent591HomeDetailPositionRoundMutation) SetLat(f float64)
- func (m *Rent591HomeDetailPositionRoundMutation) SetLng(f float64)
- func (m *Rent591HomeDetailPositionRoundMutation) SetOp(op Op)
- func (m *Rent591HomeDetailPositionRoundMutation) SetRent591homeDetailsID(id int)
- func (m *Rent591HomeDetailPositionRoundMutation) SetTitle(s string)
- func (m *Rent591HomeDetailPositionRoundMutation) Title() (r string, exists bool)
- func (m Rent591HomeDetailPositionRoundMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailPositionRoundMutation) Type() string
- func (m *Rent591HomeDetailPositionRoundMutation) Where(ps ...predicate.Rent591HomeDetailPositionRound)
- func (m *Rent591HomeDetailPositionRoundMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailPositionRoundQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundSelect
- func (rdprq *Rent591HomeDetailPositionRoundQuery) All(ctx context.Context) ([]*Rent591HomeDetailPositionRound, error)
- func (rdprq *Rent591HomeDetailPositionRoundQuery) AllX(ctx context.Context) []*Rent591HomeDetailPositionRound
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Clone() *Rent591HomeDetailPositionRoundQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Count(ctx context.Context) (int, error)
- func (rdprq *Rent591HomeDetailPositionRoundQuery) CountX(ctx context.Context) int
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Exist(ctx context.Context) (bool, error)
- func (rdprq *Rent591HomeDetailPositionRoundQuery) ExistX(ctx context.Context) bool
- func (rdprq *Rent591HomeDetailPositionRoundQuery) First(ctx context.Context) (*Rent591HomeDetailPositionRound, error)
- func (rdprq *Rent591HomeDetailPositionRoundQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdprq *Rent591HomeDetailPositionRoundQuery) FirstIDX(ctx context.Context) int
- func (rdprq *Rent591HomeDetailPositionRoundQuery) FirstX(ctx context.Context) *Rent591HomeDetailPositionRound
- func (rdprq *Rent591HomeDetailPositionRoundQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailPositionRoundGroupBy
- func (rdprq *Rent591HomeDetailPositionRoundQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdprq *Rent591HomeDetailPositionRoundQuery) IDsX(ctx context.Context) []int
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Limit(limit int) *Rent591HomeDetailPositionRoundQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Offset(offset int) *Rent591HomeDetailPositionRoundQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Only(ctx context.Context) (*Rent591HomeDetailPositionRound, error)
- func (rdprq *Rent591HomeDetailPositionRoundQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdprq *Rent591HomeDetailPositionRoundQuery) OnlyIDX(ctx context.Context) int
- func (rdprq *Rent591HomeDetailPositionRoundQuery) OnlyX(ctx context.Context) *Rent591HomeDetailPositionRound
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Order(o ...rent591homedetailpositionround.OrderOption) *Rent591HomeDetailPositionRoundQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) QueryRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Select(fields ...string) *Rent591HomeDetailPositionRoundSelect
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Unique(unique bool) *Rent591HomeDetailPositionRoundQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) WithRent591homeDetailPositionRoundDatas(opts ...func(*Rent591HomeDetailPositionRoundDataQuery)) *Rent591HomeDetailPositionRoundQuery
- func (rdprq *Rent591HomeDetailPositionRoundQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailPositionRoundQuery
- type Rent591HomeDetailPositionRoundSelect
- func (rdprs *Rent591HomeDetailPositionRoundSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundSelect
- func (s *Rent591HomeDetailPositionRoundSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailPositionRoundSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailPositionRoundSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailPositionRoundSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailPositionRoundSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailPositionRoundSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailPositionRoundSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailPositionRoundSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailPositionRoundSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailPositionRoundSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailPositionRoundSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailPositionRoundSelect) IntsX(ctx context.Context) []int
- func (rdprs *Rent591HomeDetailPositionRoundSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailPositionRoundSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailPositionRoundSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailPositionRoundSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailPositionRoundSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailPositionRoundSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddActive(i int) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddCommunityID(i int) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddLat(f float64) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddLng(f float64) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) ClearRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) ClearRent591homeDetails() *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) Exec(ctx context.Context) error
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) ExecX(ctx context.Context)
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) Mutation() *Rent591HomeDetailPositionRoundMutation
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) RemoveRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) Save(ctx context.Context) (int, error)
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SaveX(ctx context.Context) int
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetActive(i int) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetAddress(s string) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetCommunityID(i int) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetCommunityName(s string) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetKey(s string) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetLat(f float64) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetLng(f float64) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetNillableRent591homeDetailsID(id *int) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetRent591homeDetailsID(id int) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetTitle(s string) *Rent591HomeDetailPositionRoundUpdate
- func (rdpru *Rent591HomeDetailPositionRoundUpdate) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundUpdate
- type Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddActive(i int) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddCommunityID(i int) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddLat(f float64) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddLng(f float64) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) ClearRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Exec(ctx context.Context) error
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) ExecX(ctx context.Context)
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Mutation() *Rent591HomeDetailPositionRoundMutation
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) RemoveRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailPositionRound, error)
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailPositionRound
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetActive(i int) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetAddress(s string) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetCommunityID(i int) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetCommunityName(s string) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetKey(s string) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetLat(f float64) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetLng(f float64) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetNillableRent591homeDetailsID(id *int) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetRent591homeDetailsID(id int) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetTitle(s string) *Rent591HomeDetailPositionRoundUpdateOne
- func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundUpdateOne
- type Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) AddActive(v int) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) AddCommunityID(v int) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) AddLat(v float64) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) AddLng(v float64) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) SetActive(v int) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) SetAddress(v string) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) SetCommunityID(v int) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) SetCommunityName(v string) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) SetKey(v string) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) SetLat(v float64) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) SetLng(v float64) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) SetTitle(v string) *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) UpdateActive() *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) UpdateAddress() *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) UpdateCommunityID() *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) UpdateCommunityName() *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) UpdateKey() *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) UpdateLat() *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) UpdateLng() *Rent591HomeDetailPositionRoundUpsert
- func (u *Rent591HomeDetailPositionRoundUpsert) UpdateTitle() *Rent591HomeDetailPositionRoundUpsert
- type Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) AddActive(v int) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) AddCommunityID(v int) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) AddLat(v float64) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) AddLng(v float64) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) DoNothing() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) Ignore() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetActive(v int) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetAddress(v string) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetCommunityID(v int) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetCommunityName(v string) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetKey(v string) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetLat(v float64) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetLng(v float64) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetTitle(v string) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) Update(set func(*Rent591HomeDetailPositionRoundUpsert)) *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateActive() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateAddress() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateCommunityID() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateCommunityName() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateKey() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateLat() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateLng() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateNewValues() *Rent591HomeDetailPositionRoundUpsertBulk
- func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateTitle() *Rent591HomeDetailPositionRoundUpsertBulk
- type Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) AddActive(v int) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) AddCommunityID(v int) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) AddLat(v float64) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) AddLng(v float64) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) DoNothing() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailPositionRoundUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailPositionRoundUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailPositionRoundUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailPositionRoundUpsertOne) Ignore() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) SetActive(v int) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) SetAddress(v string) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) SetCommunityID(v int) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) SetCommunityName(v string) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) SetKey(v string) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) SetLat(v float64) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) SetLng(v float64) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) SetTitle(v string) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) Update(set func(*Rent591HomeDetailPositionRoundUpsert)) *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateActive() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateAddress() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateCommunityID() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateCommunityName() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateKey() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateLat() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateLng() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateNewValues() *Rent591HomeDetailPositionRoundUpsertOne
- func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateTitle() *Rent591HomeDetailPositionRoundUpsertOne
- type Rent591HomeDetailPositionRounds
- type Rent591HomeDetailPublish
- func (rdp *Rent591HomeDetailPublish) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdp *Rent591HomeDetailPublish) String() string
- func (rdp *Rent591HomeDetailPublish) Unwrap() *Rent591HomeDetailPublish
- func (rdp *Rent591HomeDetailPublish) Update() *Rent591HomeDetailPublishUpdateOne
- func (rdp *Rent591HomeDetailPublish) Value(name string) (ent.Value, error)
- type Rent591HomeDetailPublishClient
- func (c *Rent591HomeDetailPublishClient) Create() *Rent591HomeDetailPublishCreate
- func (c *Rent591HomeDetailPublishClient) CreateBulk(builders ...*Rent591HomeDetailPublishCreate) *Rent591HomeDetailPublishCreateBulk
- func (c *Rent591HomeDetailPublishClient) Delete() *Rent591HomeDetailPublishDelete
- func (c *Rent591HomeDetailPublishClient) DeleteOne(rdp *Rent591HomeDetailPublish) *Rent591HomeDetailPublishDeleteOne
- func (c *Rent591HomeDetailPublishClient) DeleteOneID(id int) *Rent591HomeDetailPublishDeleteOne
- func (c *Rent591HomeDetailPublishClient) Get(ctx context.Context, id int) (*Rent591HomeDetailPublish, error)
- func (c *Rent591HomeDetailPublishClient) GetX(ctx context.Context, id int) *Rent591HomeDetailPublish
- func (c *Rent591HomeDetailPublishClient) Hooks() []Hook
- func (c *Rent591HomeDetailPublishClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailPublishClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailPublishClient) Query() *Rent591HomeDetailPublishQuery
- func (c *Rent591HomeDetailPublishClient) QueryRent591homeDetails(rdp *Rent591HomeDetailPublish) *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailPublishClient) Update() *Rent591HomeDetailPublishUpdate
- func (c *Rent591HomeDetailPublishClient) UpdateOne(rdp *Rent591HomeDetailPublish) *Rent591HomeDetailPublishUpdateOne
- func (c *Rent591HomeDetailPublishClient) UpdateOneID(id int) *Rent591HomeDetailPublishUpdateOne
- func (c *Rent591HomeDetailPublishClient) Use(hooks ...Hook)
- type Rent591HomeDetailPublishCreate
- func (rdpc *Rent591HomeDetailPublishCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishCreate
- func (rdpc *Rent591HomeDetailPublishCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishCreate
- func (rdpc *Rent591HomeDetailPublishCreate) Exec(ctx context.Context) error
- func (rdpc *Rent591HomeDetailPublishCreate) ExecX(ctx context.Context)
- func (rdpc *Rent591HomeDetailPublishCreate) Mutation() *Rent591HomeDetailPublishMutation
- func (rdpc *Rent591HomeDetailPublishCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPublishUpsertOne
- func (rdpc *Rent591HomeDetailPublishCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailPublishUpsertOne
- func (rdpc *Rent591HomeDetailPublishCreate) Save(ctx context.Context) (*Rent591HomeDetailPublish, error)
- func (rdpc *Rent591HomeDetailPublishCreate) SaveX(ctx context.Context) *Rent591HomeDetailPublish
- func (rdpc *Rent591HomeDetailPublishCreate) SetKey(s string) *Rent591HomeDetailPublishCreate
- func (rdpc *Rent591HomeDetailPublishCreate) SetName(s string) *Rent591HomeDetailPublishCreate
- func (rdpc *Rent591HomeDetailPublishCreate) SetPostID(i int) *Rent591HomeDetailPublishCreate
- func (rdpc *Rent591HomeDetailPublishCreate) SetPostTime(s string) *Rent591HomeDetailPublishCreate
- func (rdpc *Rent591HomeDetailPublishCreate) SetUpdateTime(s string) *Rent591HomeDetailPublishCreate
- type Rent591HomeDetailPublishCreateBulk
- func (rdpcb *Rent591HomeDetailPublishCreateBulk) Exec(ctx context.Context) error
- func (rdpcb *Rent591HomeDetailPublishCreateBulk) ExecX(ctx context.Context)
- func (rdpcb *Rent591HomeDetailPublishCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPublishUpsertBulk
- func (rdpcb *Rent591HomeDetailPublishCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailPublishUpsertBulk
- func (rdpcb *Rent591HomeDetailPublishCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailPublish, error)
- func (rdpcb *Rent591HomeDetailPublishCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailPublish
- type Rent591HomeDetailPublishDelete
- type Rent591HomeDetailPublishDeleteOne
- type Rent591HomeDetailPublishEdges
- type Rent591HomeDetailPublishGroupBy
- func (rdpgb *Rent591HomeDetailPublishGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPublishGroupBy
- func (s *Rent591HomeDetailPublishGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailPublishGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailPublishGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailPublishGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailPublishGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailPublishGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailPublishGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailPublishGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailPublishGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailPublishGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailPublishGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailPublishGroupBy) IntsX(ctx context.Context) []int
- func (rdpgb *Rent591HomeDetailPublishGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailPublishGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailPublishGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailPublishGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailPublishGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailPublishGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailPublishMutation
- func (m *Rent591HomeDetailPublishMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailPublishMutation) AddPostID(i int)
- func (m *Rent591HomeDetailPublishMutation) AddRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailPublishMutation) AddedEdges() []string
- func (m *Rent591HomeDetailPublishMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailPublishMutation) AddedFields() []string
- func (m *Rent591HomeDetailPublishMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailPublishMutation) AddedPostID() (r int, exists bool)
- func (m *Rent591HomeDetailPublishMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailPublishMutation) ClearField(name string) error
- func (m *Rent591HomeDetailPublishMutation) ClearRent591homeDetails()
- func (m *Rent591HomeDetailPublishMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailPublishMutation) ClearedFields() []string
- func (m Rent591HomeDetailPublishMutation) Client() *Client
- func (m *Rent591HomeDetailPublishMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailPublishMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailPublishMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailPublishMutation) Fields() []string
- func (m *Rent591HomeDetailPublishMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailPublishMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailPublishMutation) Key() (r string, exists bool)
- func (m *Rent591HomeDetailPublishMutation) Name() (r string, exists bool)
- func (m *Rent591HomeDetailPublishMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailPublishMutation) OldKey(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPublishMutation) OldName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPublishMutation) OldPostID(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailPublishMutation) OldPostTime(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPublishMutation) OldUpdateTime(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailPublishMutation) Op() Op
- func (m *Rent591HomeDetailPublishMutation) PostID() (r int, exists bool)
- func (m *Rent591HomeDetailPublishMutation) PostTime() (r string, exists bool)
- func (m *Rent591HomeDetailPublishMutation) RemoveRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailPublishMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailPublishMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailPublishMutation) RemovedRent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailPublishMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeDetailPublishMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailPublishMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailPublishMutation) ResetField(name string) error
- func (m *Rent591HomeDetailPublishMutation) ResetKey()
- func (m *Rent591HomeDetailPublishMutation) ResetName()
- func (m *Rent591HomeDetailPublishMutation) ResetPostID()
- func (m *Rent591HomeDetailPublishMutation) ResetPostTime()
- func (m *Rent591HomeDetailPublishMutation) ResetRent591homeDetails()
- func (m *Rent591HomeDetailPublishMutation) ResetUpdateTime()
- func (m *Rent591HomeDetailPublishMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailPublishMutation) SetKey(s string)
- func (m *Rent591HomeDetailPublishMutation) SetName(s string)
- func (m *Rent591HomeDetailPublishMutation) SetOp(op Op)
- func (m *Rent591HomeDetailPublishMutation) SetPostID(i int)
- func (m *Rent591HomeDetailPublishMutation) SetPostTime(s string)
- func (m *Rent591HomeDetailPublishMutation) SetUpdateTime(s string)
- func (m Rent591HomeDetailPublishMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailPublishMutation) Type() string
- func (m *Rent591HomeDetailPublishMutation) UpdateTime() (r string, exists bool)
- func (m *Rent591HomeDetailPublishMutation) Where(ps ...predicate.Rent591HomeDetailPublish)
- func (m *Rent591HomeDetailPublishMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailPublishQuery
- func (rdpq *Rent591HomeDetailPublishQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPublishSelect
- func (rdpq *Rent591HomeDetailPublishQuery) All(ctx context.Context) ([]*Rent591HomeDetailPublish, error)
- func (rdpq *Rent591HomeDetailPublishQuery) AllX(ctx context.Context) []*Rent591HomeDetailPublish
- func (rdpq *Rent591HomeDetailPublishQuery) Clone() *Rent591HomeDetailPublishQuery
- func (rdpq *Rent591HomeDetailPublishQuery) Count(ctx context.Context) (int, error)
- func (rdpq *Rent591HomeDetailPublishQuery) CountX(ctx context.Context) int
- func (rdpq *Rent591HomeDetailPublishQuery) Exist(ctx context.Context) (bool, error)
- func (rdpq *Rent591HomeDetailPublishQuery) ExistX(ctx context.Context) bool
- func (rdpq *Rent591HomeDetailPublishQuery) First(ctx context.Context) (*Rent591HomeDetailPublish, error)
- func (rdpq *Rent591HomeDetailPublishQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdpq *Rent591HomeDetailPublishQuery) FirstIDX(ctx context.Context) int
- func (rdpq *Rent591HomeDetailPublishQuery) FirstX(ctx context.Context) *Rent591HomeDetailPublish
- func (rdpq *Rent591HomeDetailPublishQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailPublishGroupBy
- func (rdpq *Rent591HomeDetailPublishQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdpq *Rent591HomeDetailPublishQuery) IDsX(ctx context.Context) []int
- func (rdpq *Rent591HomeDetailPublishQuery) Limit(limit int) *Rent591HomeDetailPublishQuery
- func (rdpq *Rent591HomeDetailPublishQuery) Offset(offset int) *Rent591HomeDetailPublishQuery
- func (rdpq *Rent591HomeDetailPublishQuery) Only(ctx context.Context) (*Rent591HomeDetailPublish, error)
- func (rdpq *Rent591HomeDetailPublishQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdpq *Rent591HomeDetailPublishQuery) OnlyIDX(ctx context.Context) int
- func (rdpq *Rent591HomeDetailPublishQuery) OnlyX(ctx context.Context) *Rent591HomeDetailPublish
- func (rdpq *Rent591HomeDetailPublishQuery) Order(o ...rent591homedetailpublish.OrderOption) *Rent591HomeDetailPublishQuery
- func (rdpq *Rent591HomeDetailPublishQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdpq *Rent591HomeDetailPublishQuery) Select(fields ...string) *Rent591HomeDetailPublishSelect
- func (rdpq *Rent591HomeDetailPublishQuery) Unique(unique bool) *Rent591HomeDetailPublishQuery
- func (rdpq *Rent591HomeDetailPublishQuery) Where(ps ...predicate.Rent591HomeDetailPublish) *Rent591HomeDetailPublishQuery
- func (rdpq *Rent591HomeDetailPublishQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailPublishQuery
- type Rent591HomeDetailPublishSelect
- func (rdps *Rent591HomeDetailPublishSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPublishSelect
- func (s *Rent591HomeDetailPublishSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailPublishSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailPublishSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailPublishSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailPublishSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailPublishSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailPublishSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailPublishSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailPublishSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailPublishSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailPublishSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailPublishSelect) IntsX(ctx context.Context) []int
- func (rdps *Rent591HomeDetailPublishSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailPublishSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailPublishSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailPublishSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailPublishSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailPublishSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) AddPostID(i int) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) ClearRent591homeDetails() *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) Exec(ctx context.Context) error
- func (rdpu *Rent591HomeDetailPublishUpdate) ExecX(ctx context.Context)
- func (rdpu *Rent591HomeDetailPublishUpdate) Mutation() *Rent591HomeDetailPublishMutation
- func (rdpu *Rent591HomeDetailPublishUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) Save(ctx context.Context) (int, error)
- func (rdpu *Rent591HomeDetailPublishUpdate) SaveX(ctx context.Context) int
- func (rdpu *Rent591HomeDetailPublishUpdate) SetKey(s string) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) SetName(s string) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) SetPostID(i int) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) SetPostTime(s string) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) SetUpdateTime(s string) *Rent591HomeDetailPublishUpdate
- func (rdpu *Rent591HomeDetailPublishUpdate) Where(ps ...predicate.Rent591HomeDetailPublish) *Rent591HomeDetailPublishUpdate
- type Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) AddPostID(i int) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) Exec(ctx context.Context) error
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) ExecX(ctx context.Context)
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) Mutation() *Rent591HomeDetailPublishMutation
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailPublish, error)
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailPublish
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetKey(s string) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetName(s string) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetPostID(i int) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetPostTime(s string) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetUpdateTime(s string) *Rent591HomeDetailPublishUpdateOne
- func (rdpuo *Rent591HomeDetailPublishUpdateOne) Where(ps ...predicate.Rent591HomeDetailPublish) *Rent591HomeDetailPublishUpdateOne
- type Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) AddPostID(v int) *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) SetKey(v string) *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) SetName(v string) *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) SetPostID(v int) *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) SetPostTime(v string) *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) SetUpdateTime(v string) *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) UpdateKey() *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) UpdateName() *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) UpdatePostID() *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) UpdatePostTime() *Rent591HomeDetailPublishUpsert
- func (u *Rent591HomeDetailPublishUpsert) UpdateUpdateTime() *Rent591HomeDetailPublishUpsert
- type Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) AddPostID(v int) *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) DoNothing() *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailPublishUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailPublishUpsertBulk) Ignore() *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) SetKey(v string) *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) SetName(v string) *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) SetPostID(v int) *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) SetPostTime(v string) *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) SetUpdateTime(v string) *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) Update(set func(*Rent591HomeDetailPublishUpsert)) *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) UpdateKey() *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) UpdateName() *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) UpdateNewValues() *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) UpdatePostID() *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) UpdatePostTime() *Rent591HomeDetailPublishUpsertBulk
- func (u *Rent591HomeDetailPublishUpsertBulk) UpdateUpdateTime() *Rent591HomeDetailPublishUpsertBulk
- type Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) AddPostID(v int) *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) DoNothing() *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailPublishUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailPublishUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailPublishUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailPublishUpsertOne) Ignore() *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) SetKey(v string) *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) SetName(v string) *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) SetPostID(v int) *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) SetPostTime(v string) *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) SetUpdateTime(v string) *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) Update(set func(*Rent591HomeDetailPublishUpsert)) *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) UpdateKey() *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) UpdateName() *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) UpdateNewValues() *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) UpdatePostID() *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) UpdatePostTime() *Rent591HomeDetailPublishUpsertOne
- func (u *Rent591HomeDetailPublishUpsertOne) UpdateUpdateTime() *Rent591HomeDetailPublishUpsertOne
- type Rent591HomeDetailPublishes
- type Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailSelect
- func (rdq *Rent591HomeDetailQuery) All(ctx context.Context) ([]*Rent591HomeDetail, error)
- func (rdq *Rent591HomeDetailQuery) AllX(ctx context.Context) []*Rent591HomeDetail
- func (rdq *Rent591HomeDetailQuery) Clone() *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) Count(ctx context.Context) (int, error)
- func (rdq *Rent591HomeDetailQuery) CountX(ctx context.Context) int
- func (rdq *Rent591HomeDetailQuery) Exist(ctx context.Context) (bool, error)
- func (rdq *Rent591HomeDetailQuery) ExistX(ctx context.Context) bool
- func (rdq *Rent591HomeDetailQuery) First(ctx context.Context) (*Rent591HomeDetail, error)
- func (rdq *Rent591HomeDetailQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdq *Rent591HomeDetailQuery) FirstIDX(ctx context.Context) int
- func (rdq *Rent591HomeDetailQuery) FirstX(ctx context.Context) *Rent591HomeDetail
- func (rdq *Rent591HomeDetailQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailGroupBy
- func (rdq *Rent591HomeDetailQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdq *Rent591HomeDetailQuery) IDsX(ctx context.Context) []int
- func (rdq *Rent591HomeDetailQuery) Limit(limit int) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) Offset(offset int) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) Only(ctx context.Context) (*Rent591HomeDetail, error)
- func (rdq *Rent591HomeDetailQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdq *Rent591HomeDetailQuery) OnlyIDX(ctx context.Context) int
- func (rdq *Rent591HomeDetailQuery) OnlyX(ctx context.Context) *Rent591HomeDetail
- func (rdq *Rent591HomeDetailQuery) Order(o ...rent591homedetail.OrderOption) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailBreadcrumbs() *Rent591HomeDetailBreadcrumbQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailBrowses() *Rent591HomeDetailBrowseQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailInfos() *Rent591HomeDetailInfoQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailNavdatas() *Rent591HomeDetailNavDataQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailPublishs() *Rent591HomeDetailPublishQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailShareinfos() *Rent591HomeDetailShareInfoQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailTags() *Rent591HomeDetailTagQuery
- func (rdq *Rent591HomeDetailQuery) QueryRent591homes() *Rent591HomeQuery
- func (rdq *Rent591HomeDetailQuery) Select(fields ...string) *Rent591HomeDetailSelect
- func (rdq *Rent591HomeDetailQuery) Unique(unique bool) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) Where(ps ...predicate.Rent591HomeDetail) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailBreadcrumbs(opts ...func(*Rent591HomeDetailBreadcrumbQuery)) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailBrowses(opts ...func(*Rent591HomeDetailBrowseQuery)) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailInfos(opts ...func(*Rent591HomeDetailInfoQuery)) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailNavdatas(opts ...func(*Rent591HomeDetailNavDataQuery)) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailPositionRounds(opts ...func(*Rent591HomeDetailPositionRoundQuery)) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailPublishs(opts ...func(*Rent591HomeDetailPublishQuery)) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailShareinfos(opts ...func(*Rent591HomeDetailShareInfoQuery)) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailTags(opts ...func(*Rent591HomeDetailTagQuery)) *Rent591HomeDetailQuery
- func (rdq *Rent591HomeDetailQuery) WithRent591homes(opts ...func(*Rent591HomeQuery)) *Rent591HomeDetailQuery
- type Rent591HomeDetailSelect
- func (rds *Rent591HomeDetailSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailSelect
- func (s *Rent591HomeDetailSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailSelect) IntsX(ctx context.Context) []int
- func (rds *Rent591HomeDetailSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailShareInfo
- func (rdsi *Rent591HomeDetailShareInfo) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdsi *Rent591HomeDetailShareInfo) String() string
- func (rdsi *Rent591HomeDetailShareInfo) Unwrap() *Rent591HomeDetailShareInfo
- func (rdsi *Rent591HomeDetailShareInfo) Update() *Rent591HomeDetailShareInfoUpdateOne
- func (rdsi *Rent591HomeDetailShareInfo) Value(name string) (ent.Value, error)
- type Rent591HomeDetailShareInfoClient
- func (c *Rent591HomeDetailShareInfoClient) Create() *Rent591HomeDetailShareInfoCreate
- func (c *Rent591HomeDetailShareInfoClient) CreateBulk(builders ...*Rent591HomeDetailShareInfoCreate) *Rent591HomeDetailShareInfoCreateBulk
- func (c *Rent591HomeDetailShareInfoClient) Delete() *Rent591HomeDetailShareInfoDelete
- func (c *Rent591HomeDetailShareInfoClient) DeleteOne(rdsi *Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoDeleteOne
- func (c *Rent591HomeDetailShareInfoClient) DeleteOneID(id int) *Rent591HomeDetailShareInfoDeleteOne
- func (c *Rent591HomeDetailShareInfoClient) Get(ctx context.Context, id int) (*Rent591HomeDetailShareInfo, error)
- func (c *Rent591HomeDetailShareInfoClient) GetX(ctx context.Context, id int) *Rent591HomeDetailShareInfo
- func (c *Rent591HomeDetailShareInfoClient) Hooks() []Hook
- func (c *Rent591HomeDetailShareInfoClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailShareInfoClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailShareInfoClient) Query() *Rent591HomeDetailShareInfoQuery
- func (c *Rent591HomeDetailShareInfoClient) QueryRent591homeDetails(rdsi *Rent591HomeDetailShareInfo) *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailShareInfoClient) Update() *Rent591HomeDetailShareInfoUpdate
- func (c *Rent591HomeDetailShareInfoClient) UpdateOne(rdsi *Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoUpdateOne
- func (c *Rent591HomeDetailShareInfoClient) UpdateOneID(id int) *Rent591HomeDetailShareInfoUpdateOne
- func (c *Rent591HomeDetailShareInfoClient) Use(hooks ...Hook)
- type Rent591HomeDetailShareInfoCreate
- func (rdsic *Rent591HomeDetailShareInfoCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoCreate
- func (rdsic *Rent591HomeDetailShareInfoCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoCreate
- func (rdsic *Rent591HomeDetailShareInfoCreate) Exec(ctx context.Context) error
- func (rdsic *Rent591HomeDetailShareInfoCreate) ExecX(ctx context.Context)
- func (rdsic *Rent591HomeDetailShareInfoCreate) Mutation() *Rent591HomeDetailShareInfoMutation
- func (rdsic *Rent591HomeDetailShareInfoCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailShareInfoUpsertOne
- func (rdsic *Rent591HomeDetailShareInfoCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailShareInfoUpsertOne
- func (rdsic *Rent591HomeDetailShareInfoCreate) Save(ctx context.Context) (*Rent591HomeDetailShareInfo, error)
- func (rdsic *Rent591HomeDetailShareInfoCreate) SaveX(ctx context.Context) *Rent591HomeDetailShareInfo
- func (rdsic *Rent591HomeDetailShareInfoCreate) SetFrom(s string) *Rent591HomeDetailShareInfoCreate
- func (rdsic *Rent591HomeDetailShareInfoCreate) SetTitle(s string) *Rent591HomeDetailShareInfoCreate
- func (rdsic *Rent591HomeDetailShareInfoCreate) SetURL(s string) *Rent591HomeDetailShareInfoCreate
- type Rent591HomeDetailShareInfoCreateBulk
- func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) Exec(ctx context.Context) error
- func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) ExecX(ctx context.Context)
- func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailShareInfoUpsertBulk
- func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailShareInfoUpsertBulk
- func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailShareInfo, error)
- func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailShareInfo
- type Rent591HomeDetailShareInfoDelete
- type Rent591HomeDetailShareInfoDeleteOne
- type Rent591HomeDetailShareInfoEdges
- type Rent591HomeDetailShareInfoGroupBy
- func (rdsigb *Rent591HomeDetailShareInfoGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailShareInfoGroupBy
- func (s *Rent591HomeDetailShareInfoGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailShareInfoGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailShareInfoGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailShareInfoGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailShareInfoGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailShareInfoGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailShareInfoGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailShareInfoGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailShareInfoGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailShareInfoGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailShareInfoGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailShareInfoGroupBy) IntsX(ctx context.Context) []int
- func (rdsigb *Rent591HomeDetailShareInfoGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailShareInfoGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailShareInfoGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailShareInfoGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailShareInfoGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailShareInfoGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailShareInfoMutation
- func (m *Rent591HomeDetailShareInfoMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailShareInfoMutation) AddRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailShareInfoMutation) AddedEdges() []string
- func (m *Rent591HomeDetailShareInfoMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailShareInfoMutation) AddedFields() []string
- func (m *Rent591HomeDetailShareInfoMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailShareInfoMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailShareInfoMutation) ClearField(name string) error
- func (m *Rent591HomeDetailShareInfoMutation) ClearRent591homeDetails()
- func (m *Rent591HomeDetailShareInfoMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailShareInfoMutation) ClearedFields() []string
- func (m Rent591HomeDetailShareInfoMutation) Client() *Client
- func (m *Rent591HomeDetailShareInfoMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailShareInfoMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailShareInfoMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailShareInfoMutation) Fields() []string
- func (m *Rent591HomeDetailShareInfoMutation) From() (r string, exists bool)
- func (m *Rent591HomeDetailShareInfoMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailShareInfoMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailShareInfoMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailShareInfoMutation) OldFrom(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailShareInfoMutation) OldTitle(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailShareInfoMutation) OldURL(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailShareInfoMutation) Op() Op
- func (m *Rent591HomeDetailShareInfoMutation) RemoveRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailShareInfoMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailShareInfoMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailShareInfoMutation) RemovedRent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailShareInfoMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeDetailShareInfoMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailShareInfoMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailShareInfoMutation) ResetField(name string) error
- func (m *Rent591HomeDetailShareInfoMutation) ResetFrom()
- func (m *Rent591HomeDetailShareInfoMutation) ResetRent591homeDetails()
- func (m *Rent591HomeDetailShareInfoMutation) ResetTitle()
- func (m *Rent591HomeDetailShareInfoMutation) ResetURL()
- func (m *Rent591HomeDetailShareInfoMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailShareInfoMutation) SetFrom(s string)
- func (m *Rent591HomeDetailShareInfoMutation) SetOp(op Op)
- func (m *Rent591HomeDetailShareInfoMutation) SetTitle(s string)
- func (m *Rent591HomeDetailShareInfoMutation) SetURL(s string)
- func (m *Rent591HomeDetailShareInfoMutation) Title() (r string, exists bool)
- func (m Rent591HomeDetailShareInfoMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailShareInfoMutation) Type() string
- func (m *Rent591HomeDetailShareInfoMutation) URL() (r string, exists bool)
- func (m *Rent591HomeDetailShareInfoMutation) Where(ps ...predicate.Rent591HomeDetailShareInfo)
- func (m *Rent591HomeDetailShareInfoMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailShareInfoQuery
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailShareInfoSelect
- func (rdsiq *Rent591HomeDetailShareInfoQuery) All(ctx context.Context) ([]*Rent591HomeDetailShareInfo, error)
- func (rdsiq *Rent591HomeDetailShareInfoQuery) AllX(ctx context.Context) []*Rent591HomeDetailShareInfo
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Clone() *Rent591HomeDetailShareInfoQuery
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Count(ctx context.Context) (int, error)
- func (rdsiq *Rent591HomeDetailShareInfoQuery) CountX(ctx context.Context) int
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Exist(ctx context.Context) (bool, error)
- func (rdsiq *Rent591HomeDetailShareInfoQuery) ExistX(ctx context.Context) bool
- func (rdsiq *Rent591HomeDetailShareInfoQuery) First(ctx context.Context) (*Rent591HomeDetailShareInfo, error)
- func (rdsiq *Rent591HomeDetailShareInfoQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdsiq *Rent591HomeDetailShareInfoQuery) FirstIDX(ctx context.Context) int
- func (rdsiq *Rent591HomeDetailShareInfoQuery) FirstX(ctx context.Context) *Rent591HomeDetailShareInfo
- func (rdsiq *Rent591HomeDetailShareInfoQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailShareInfoGroupBy
- func (rdsiq *Rent591HomeDetailShareInfoQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdsiq *Rent591HomeDetailShareInfoQuery) IDsX(ctx context.Context) []int
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Limit(limit int) *Rent591HomeDetailShareInfoQuery
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Offset(offset int) *Rent591HomeDetailShareInfoQuery
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Only(ctx context.Context) (*Rent591HomeDetailShareInfo, error)
- func (rdsiq *Rent591HomeDetailShareInfoQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdsiq *Rent591HomeDetailShareInfoQuery) OnlyIDX(ctx context.Context) int
- func (rdsiq *Rent591HomeDetailShareInfoQuery) OnlyX(ctx context.Context) *Rent591HomeDetailShareInfo
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Order(o ...rent591homedetailshareinfo.OrderOption) *Rent591HomeDetailShareInfoQuery
- func (rdsiq *Rent591HomeDetailShareInfoQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Select(fields ...string) *Rent591HomeDetailShareInfoSelect
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Unique(unique bool) *Rent591HomeDetailShareInfoQuery
- func (rdsiq *Rent591HomeDetailShareInfoQuery) Where(ps ...predicate.Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoQuery
- func (rdsiq *Rent591HomeDetailShareInfoQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailShareInfoQuery
- type Rent591HomeDetailShareInfoSelect
- func (rdsis *Rent591HomeDetailShareInfoSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailShareInfoSelect
- func (s *Rent591HomeDetailShareInfoSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailShareInfoSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailShareInfoSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailShareInfoSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailShareInfoSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailShareInfoSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailShareInfoSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailShareInfoSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailShareInfoSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailShareInfoSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailShareInfoSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailShareInfoSelect) IntsX(ctx context.Context) []int
- func (rdsis *Rent591HomeDetailShareInfoSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailShareInfoSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailShareInfoSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailShareInfoSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailShareInfoSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailShareInfoSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) ClearRent591homeDetails() *Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) Exec(ctx context.Context) error
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) ExecX(ctx context.Context)
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) Mutation() *Rent591HomeDetailShareInfoMutation
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) Save(ctx context.Context) (int, error)
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) SaveX(ctx context.Context) int
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) SetFrom(s string) *Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) SetTitle(s string) *Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) SetURL(s string) *Rent591HomeDetailShareInfoUpdate
- func (rdsiu *Rent591HomeDetailShareInfoUpdate) Where(ps ...predicate.Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoUpdate
- type Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Exec(ctx context.Context) error
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) ExecX(ctx context.Context)
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Mutation() *Rent591HomeDetailShareInfoMutation
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailShareInfo, error)
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailShareInfo
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) SetFrom(s string) *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) SetTitle(s string) *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) SetURL(s string) *Rent591HomeDetailShareInfoUpdateOne
- func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Where(ps ...predicate.Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoUpdateOne
- type Rent591HomeDetailShareInfoUpsert
- func (u *Rent591HomeDetailShareInfoUpsert) SetFrom(v string) *Rent591HomeDetailShareInfoUpsert
- func (u *Rent591HomeDetailShareInfoUpsert) SetTitle(v string) *Rent591HomeDetailShareInfoUpsert
- func (u *Rent591HomeDetailShareInfoUpsert) SetURL(v string) *Rent591HomeDetailShareInfoUpsert
- func (u *Rent591HomeDetailShareInfoUpsert) UpdateFrom() *Rent591HomeDetailShareInfoUpsert
- func (u *Rent591HomeDetailShareInfoUpsert) UpdateTitle() *Rent591HomeDetailShareInfoUpsert
- func (u *Rent591HomeDetailShareInfoUpsert) UpdateURL() *Rent591HomeDetailShareInfoUpsert
- type Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) DoNothing() *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailShareInfoUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailShareInfoUpsertBulk) Ignore() *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) SetFrom(v string) *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) SetTitle(v string) *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) SetURL(v string) *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) Update(set func(*Rent591HomeDetailShareInfoUpsert)) *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) UpdateFrom() *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) UpdateNewValues() *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) UpdateTitle() *Rent591HomeDetailShareInfoUpsertBulk
- func (u *Rent591HomeDetailShareInfoUpsertBulk) UpdateURL() *Rent591HomeDetailShareInfoUpsertBulk
- type Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) DoNothing() *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailShareInfoUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailShareInfoUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailShareInfoUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailShareInfoUpsertOne) Ignore() *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) SetFrom(v string) *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) SetTitle(v string) *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) SetURL(v string) *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) Update(set func(*Rent591HomeDetailShareInfoUpsert)) *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) UpdateFrom() *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) UpdateNewValues() *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) UpdateTitle() *Rent591HomeDetailShareInfoUpsertOne
- func (u *Rent591HomeDetailShareInfoUpsertOne) UpdateURL() *Rent591HomeDetailShareInfoUpsertOne
- type Rent591HomeDetailShareInfos
- type Rent591HomeDetailTag
- func (rdt *Rent591HomeDetailTag) GetValue(name string) (ent.Value, error)
- func (rdt *Rent591HomeDetailTag) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdt *Rent591HomeDetailTag) String() string
- func (rdt *Rent591HomeDetailTag) Unwrap() *Rent591HomeDetailTag
- func (rdt *Rent591HomeDetailTag) Update() *Rent591HomeDetailTagUpdateOne
- type Rent591HomeDetailTagClient
- func (c *Rent591HomeDetailTagClient) Create() *Rent591HomeDetailTagCreate
- func (c *Rent591HomeDetailTagClient) CreateBulk(builders ...*Rent591HomeDetailTagCreate) *Rent591HomeDetailTagCreateBulk
- func (c *Rent591HomeDetailTagClient) Delete() *Rent591HomeDetailTagDelete
- func (c *Rent591HomeDetailTagClient) DeleteOne(rdt *Rent591HomeDetailTag) *Rent591HomeDetailTagDeleteOne
- func (c *Rent591HomeDetailTagClient) DeleteOneID(id int) *Rent591HomeDetailTagDeleteOne
- func (c *Rent591HomeDetailTagClient) Get(ctx context.Context, id int) (*Rent591HomeDetailTag, error)
- func (c *Rent591HomeDetailTagClient) GetX(ctx context.Context, id int) *Rent591HomeDetailTag
- func (c *Rent591HomeDetailTagClient) Hooks() []Hook
- func (c *Rent591HomeDetailTagClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeDetailTagClient) Interceptors() []Interceptor
- func (c *Rent591HomeDetailTagClient) Query() *Rent591HomeDetailTagQuery
- func (c *Rent591HomeDetailTagClient) QueryRent591homeDetails(rdt *Rent591HomeDetailTag) *Rent591HomeDetailQuery
- func (c *Rent591HomeDetailTagClient) Update() *Rent591HomeDetailTagUpdate
- func (c *Rent591HomeDetailTagClient) UpdateOne(rdt *Rent591HomeDetailTag) *Rent591HomeDetailTagUpdateOne
- func (c *Rent591HomeDetailTagClient) UpdateOneID(id int) *Rent591HomeDetailTagUpdateOne
- func (c *Rent591HomeDetailTagClient) Use(hooks ...Hook)
- type Rent591HomeDetailTagCreate
- func (rdtc *Rent591HomeDetailTagCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagCreate
- func (rdtc *Rent591HomeDetailTagCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagCreate
- func (rdtc *Rent591HomeDetailTagCreate) Exec(ctx context.Context) error
- func (rdtc *Rent591HomeDetailTagCreate) ExecX(ctx context.Context)
- func (rdtc *Rent591HomeDetailTagCreate) Mutation() *Rent591HomeDetailTagMutation
- func (rdtc *Rent591HomeDetailTagCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailTagUpsertOne
- func (rdtc *Rent591HomeDetailTagCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailTagUpsertOne
- func (rdtc *Rent591HomeDetailTagCreate) Save(ctx context.Context) (*Rent591HomeDetailTag, error)
- func (rdtc *Rent591HomeDetailTagCreate) SaveX(ctx context.Context) *Rent591HomeDetailTag
- func (rdtc *Rent591HomeDetailTagCreate) SetPostID(i int) *Rent591HomeDetailTagCreate
- func (rdtc *Rent591HomeDetailTagCreate) SetValue(s string) *Rent591HomeDetailTagCreate
- type Rent591HomeDetailTagCreateBulk
- func (rdtcb *Rent591HomeDetailTagCreateBulk) Exec(ctx context.Context) error
- func (rdtcb *Rent591HomeDetailTagCreateBulk) ExecX(ctx context.Context)
- func (rdtcb *Rent591HomeDetailTagCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailTagUpsertBulk
- func (rdtcb *Rent591HomeDetailTagCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailTagUpsertBulk
- func (rdtcb *Rent591HomeDetailTagCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailTag, error)
- func (rdtcb *Rent591HomeDetailTagCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailTag
- type Rent591HomeDetailTagDelete
- type Rent591HomeDetailTagDeleteOne
- type Rent591HomeDetailTagEdges
- type Rent591HomeDetailTagGroupBy
- func (rdtgb *Rent591HomeDetailTagGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailTagGroupBy
- func (s *Rent591HomeDetailTagGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailTagGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailTagGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailTagGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailTagGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailTagGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailTagGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailTagGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailTagGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailTagGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailTagGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailTagGroupBy) IntsX(ctx context.Context) []int
- func (rdtgb *Rent591HomeDetailTagGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailTagGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailTagGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailTagGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailTagGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailTagGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeDetailTagMutation
- func (m *Rent591HomeDetailTagMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeDetailTagMutation) AddPostID(i int)
- func (m *Rent591HomeDetailTagMutation) AddRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailTagMutation) AddedEdges() []string
- func (m *Rent591HomeDetailTagMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailTagMutation) AddedFields() []string
- func (m *Rent591HomeDetailTagMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailTagMutation) AddedPostID() (r int, exists bool)
- func (m *Rent591HomeDetailTagMutation) ClearEdge(name string) error
- func (m *Rent591HomeDetailTagMutation) ClearField(name string) error
- func (m *Rent591HomeDetailTagMutation) ClearRent591homeDetails()
- func (m *Rent591HomeDetailTagMutation) ClearedEdges() []string
- func (m *Rent591HomeDetailTagMutation) ClearedFields() []string
- func (m Rent591HomeDetailTagMutation) Client() *Client
- func (m *Rent591HomeDetailTagMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeDetailTagMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeDetailTagMutation) FieldCleared(name string) bool
- func (m *Rent591HomeDetailTagMutation) Fields() []string
- func (m *Rent591HomeDetailTagMutation) ID() (id int, exists bool)
- func (m *Rent591HomeDetailTagMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeDetailTagMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeDetailTagMutation) OldPostID(ctx context.Context) (v int, err error)
- func (m *Rent591HomeDetailTagMutation) OldValue(ctx context.Context) (v string, err error)
- func (m *Rent591HomeDetailTagMutation) Op() Op
- func (m *Rent591HomeDetailTagMutation) PostID() (r int, exists bool)
- func (m *Rent591HomeDetailTagMutation) RemoveRent591homeDetailIDs(ids ...int)
- func (m *Rent591HomeDetailTagMutation) RemovedEdges() []string
- func (m *Rent591HomeDetailTagMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeDetailTagMutation) RemovedRent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailTagMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeDetailTagMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeDetailTagMutation) ResetEdge(name string) error
- func (m *Rent591HomeDetailTagMutation) ResetField(name string) error
- func (m *Rent591HomeDetailTagMutation) ResetPostID()
- func (m *Rent591HomeDetailTagMutation) ResetRent591homeDetails()
- func (m *Rent591HomeDetailTagMutation) ResetValue()
- func (m *Rent591HomeDetailTagMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeDetailTagMutation) SetOp(op Op)
- func (m *Rent591HomeDetailTagMutation) SetPostID(i int)
- func (m *Rent591HomeDetailTagMutation) SetValue(s string)
- func (m Rent591HomeDetailTagMutation) Tx() (*Tx, error)
- func (m *Rent591HomeDetailTagMutation) Type() string
- func (m *Rent591HomeDetailTagMutation) Value() (r string, exists bool)
- func (m *Rent591HomeDetailTagMutation) Where(ps ...predicate.Rent591HomeDetailTag)
- func (m *Rent591HomeDetailTagMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeDetailTagQuery
- func (rdtq *Rent591HomeDetailTagQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailTagSelect
- func (rdtq *Rent591HomeDetailTagQuery) All(ctx context.Context) ([]*Rent591HomeDetailTag, error)
- func (rdtq *Rent591HomeDetailTagQuery) AllX(ctx context.Context) []*Rent591HomeDetailTag
- func (rdtq *Rent591HomeDetailTagQuery) Clone() *Rent591HomeDetailTagQuery
- func (rdtq *Rent591HomeDetailTagQuery) Count(ctx context.Context) (int, error)
- func (rdtq *Rent591HomeDetailTagQuery) CountX(ctx context.Context) int
- func (rdtq *Rent591HomeDetailTagQuery) Exist(ctx context.Context) (bool, error)
- func (rdtq *Rent591HomeDetailTagQuery) ExistX(ctx context.Context) bool
- func (rdtq *Rent591HomeDetailTagQuery) First(ctx context.Context) (*Rent591HomeDetailTag, error)
- func (rdtq *Rent591HomeDetailTagQuery) FirstID(ctx context.Context) (id int, err error)
- func (rdtq *Rent591HomeDetailTagQuery) FirstIDX(ctx context.Context) int
- func (rdtq *Rent591HomeDetailTagQuery) FirstX(ctx context.Context) *Rent591HomeDetailTag
- func (rdtq *Rent591HomeDetailTagQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailTagGroupBy
- func (rdtq *Rent591HomeDetailTagQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rdtq *Rent591HomeDetailTagQuery) IDsX(ctx context.Context) []int
- func (rdtq *Rent591HomeDetailTagQuery) Limit(limit int) *Rent591HomeDetailTagQuery
- func (rdtq *Rent591HomeDetailTagQuery) Offset(offset int) *Rent591HomeDetailTagQuery
- func (rdtq *Rent591HomeDetailTagQuery) Only(ctx context.Context) (*Rent591HomeDetailTag, error)
- func (rdtq *Rent591HomeDetailTagQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rdtq *Rent591HomeDetailTagQuery) OnlyIDX(ctx context.Context) int
- func (rdtq *Rent591HomeDetailTagQuery) OnlyX(ctx context.Context) *Rent591HomeDetailTag
- func (rdtq *Rent591HomeDetailTagQuery) Order(o ...rent591homedetailtag.OrderOption) *Rent591HomeDetailTagQuery
- func (rdtq *Rent591HomeDetailTagQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rdtq *Rent591HomeDetailTagQuery) Select(fields ...string) *Rent591HomeDetailTagSelect
- func (rdtq *Rent591HomeDetailTagQuery) Unique(unique bool) *Rent591HomeDetailTagQuery
- func (rdtq *Rent591HomeDetailTagQuery) Where(ps ...predicate.Rent591HomeDetailTag) *Rent591HomeDetailTagQuery
- func (rdtq *Rent591HomeDetailTagQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailTagQuery
- type Rent591HomeDetailTagSelect
- func (rdts *Rent591HomeDetailTagSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailTagSelect
- func (s *Rent591HomeDetailTagSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeDetailTagSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeDetailTagSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeDetailTagSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeDetailTagSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeDetailTagSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeDetailTagSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeDetailTagSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeDetailTagSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeDetailTagSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeDetailTagSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeDetailTagSelect) IntsX(ctx context.Context) []int
- func (rdts *Rent591HomeDetailTagSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeDetailTagSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeDetailTagSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeDetailTagSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeDetailTagSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeDetailTagSelect) StringsX(ctx context.Context) []string
- type Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) AddPostID(i int) *Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) ClearRent591homeDetails() *Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) Exec(ctx context.Context) error
- func (rdtu *Rent591HomeDetailTagUpdate) ExecX(ctx context.Context)
- func (rdtu *Rent591HomeDetailTagUpdate) Mutation() *Rent591HomeDetailTagMutation
- func (rdtu *Rent591HomeDetailTagUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) Save(ctx context.Context) (int, error)
- func (rdtu *Rent591HomeDetailTagUpdate) SaveX(ctx context.Context) int
- func (rdtu *Rent591HomeDetailTagUpdate) SetPostID(i int) *Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) SetValue(s string) *Rent591HomeDetailTagUpdate
- func (rdtu *Rent591HomeDetailTagUpdate) Where(ps ...predicate.Rent591HomeDetailTag) *Rent591HomeDetailTagUpdate
- type Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) AddPostID(i int) *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) Exec(ctx context.Context) error
- func (rdtuo *Rent591HomeDetailTagUpdateOne) ExecX(ctx context.Context)
- func (rdtuo *Rent591HomeDetailTagUpdateOne) Mutation() *Rent591HomeDetailTagMutation
- func (rdtuo *Rent591HomeDetailTagUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailTag, error)
- func (rdtuo *Rent591HomeDetailTagUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailTag
- func (rdtuo *Rent591HomeDetailTagUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) SetPostID(i int) *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) SetValue(s string) *Rent591HomeDetailTagUpdateOne
- func (rdtuo *Rent591HomeDetailTagUpdateOne) Where(ps ...predicate.Rent591HomeDetailTag) *Rent591HomeDetailTagUpdateOne
- type Rent591HomeDetailTagUpsert
- func (u *Rent591HomeDetailTagUpsert) AddPostID(v int) *Rent591HomeDetailTagUpsert
- func (u *Rent591HomeDetailTagUpsert) SetPostID(v int) *Rent591HomeDetailTagUpsert
- func (u *Rent591HomeDetailTagUpsert) SetValue(v string) *Rent591HomeDetailTagUpsert
- func (u *Rent591HomeDetailTagUpsert) UpdatePostID() *Rent591HomeDetailTagUpsert
- func (u *Rent591HomeDetailTagUpsert) UpdateValue() *Rent591HomeDetailTagUpsert
- type Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) AddPostID(v int) *Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) DoNothing() *Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailTagUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailTagUpsertBulk) Ignore() *Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) SetPostID(v int) *Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) SetValue(v string) *Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) Update(set func(*Rent591HomeDetailTagUpsert)) *Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) UpdateNewValues() *Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) UpdatePostID() *Rent591HomeDetailTagUpsertBulk
- func (u *Rent591HomeDetailTagUpsertBulk) UpdateValue() *Rent591HomeDetailTagUpsertBulk
- type Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) AddPostID(v int) *Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) DoNothing() *Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailTagUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailTagUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailTagUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailTagUpsertOne) Ignore() *Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) SetPostID(v int) *Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) SetValue(v string) *Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) Update(set func(*Rent591HomeDetailTagUpsert)) *Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) UpdateNewValues() *Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) UpdatePostID() *Rent591HomeDetailTagUpsertOne
- func (u *Rent591HomeDetailTagUpsertOne) UpdateValue() *Rent591HomeDetailTagUpsertOne
- type Rent591HomeDetailTags
- type Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddDealTime(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddKind(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddPrice(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRegionID(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRelieved(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) AddSectionID(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearDealText() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailBreadcrumbs() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailBrowses() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailInfos() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailNavdatas() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailPositionRounds() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailPublishs() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailShareinfos() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailTags() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) ClearRent591homes() *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) Exec(ctx context.Context) error
- func (rdu *Rent591HomeDetailUpdate) ExecX(ctx context.Context)
- func (rdu *Rent591HomeDetailUpdate) Mutation() *Rent591HomeDetailMutation
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) Save(ctx context.Context) (int, error)
- func (rdu *Rent591HomeDetailUpdate) SaveX(ctx context.Context) int
- func (rdu *Rent591HomeDetailUpdate) SetCreatedAt(t time.Time) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetDealText(s string) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetDealTime(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetDeposit(s string) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetKind(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetNillableCreatedAt(t *time.Time) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetNillableDealText(s *string) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetNillableRent591homeDetailPositionRoundsID(id *int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetNillableRent591homesID(id *int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetPrice(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetPriceUnit(s string) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetRegionID(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetRelieved(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetRent591homeDetailPositionRounds(r *Rent591HomeDetailPositionRound) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetRent591homeDetailPositionRoundsID(id int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetRent591homes(r *Rent591Home) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetRent591homesID(id int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetSectionID(i int) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetTitle(s string) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) SetUpdatedAt(t time.Time) *Rent591HomeDetailUpdate
- func (rdu *Rent591HomeDetailUpdate) Where(ps ...predicate.Rent591HomeDetail) *Rent591HomeDetailUpdate
- type Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddDealTime(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddKind(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddPrice(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRegionID(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRelieved(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) AddSectionID(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearDealText() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailBreadcrumbs() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailBrowses() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailInfos() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailNavdatas() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailPositionRounds() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailPublishs() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailShareinfos() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailTags() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homes() *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) Exec(ctx context.Context) error
- func (rduo *Rent591HomeDetailUpdateOne) ExecX(ctx context.Context)
- func (rduo *Rent591HomeDetailUpdateOne) Mutation() *Rent591HomeDetailMutation
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) Save(ctx context.Context) (*Rent591HomeDetail, error)
- func (rduo *Rent591HomeDetailUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetail
- func (rduo *Rent591HomeDetailUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetCreatedAt(t time.Time) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetDealText(s string) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetDealTime(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetDeposit(s string) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetKind(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetNillableCreatedAt(t *time.Time) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetNillableDealText(s *string) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetNillableRent591homeDetailPositionRoundsID(id *int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetNillableRent591homesID(id *int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetPrice(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetPriceUnit(s string) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetRegionID(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetRelieved(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetRent591homeDetailPositionRounds(r *Rent591HomeDetailPositionRound) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetRent591homeDetailPositionRoundsID(id int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetRent591homes(r *Rent591Home) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetRent591homesID(id int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetSectionID(i int) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetTitle(s string) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) SetUpdatedAt(t time.Time) *Rent591HomeDetailUpdateOne
- func (rduo *Rent591HomeDetailUpdateOne) Where(ps ...predicate.Rent591HomeDetail) *Rent591HomeDetailUpdateOne
- type Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) AddDealTime(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) AddKind(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) AddPrice(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) AddRegionID(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) AddRelieved(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) AddSectionID(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) ClearDealText() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetCreatedAt(v time.Time) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetDealText(v string) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetDealTime(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetDeposit(v string) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetKind(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetPrice(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetPriceUnit(v string) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetRegionID(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetRelieved(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetSectionID(v int) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetTitle(v string) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) SetUpdatedAt(v time.Time) *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateCreatedAt() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateDealText() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateDealTime() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateDeposit() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateKind() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdatePrice() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdatePriceUnit() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateRegionID() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateRelieved() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateSectionID() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateTitle() *Rent591HomeDetailUpsert
- func (u *Rent591HomeDetailUpsert) UpdateUpdatedAt() *Rent591HomeDetailUpsert
- type Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) AddDealTime(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) AddKind(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) AddPrice(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) AddRegionID(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) AddRelieved(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) AddSectionID(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) ClearDealText() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) DoNothing() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailUpsertBulk) Ignore() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetCreatedAt(v time.Time) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetDealText(v string) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetDealTime(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetDeposit(v string) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetKind(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetPrice(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetPriceUnit(v string) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetRegionID(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetRelieved(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetSectionID(v int) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetTitle(v string) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) SetUpdatedAt(v time.Time) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) Update(set func(*Rent591HomeDetailUpsert)) *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateCreatedAt() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateDealText() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateDealTime() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateDeposit() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateKind() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateNewValues() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdatePrice() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdatePriceUnit() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateRegionID() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateRelieved() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateSectionID() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateTitle() *Rent591HomeDetailUpsertBulk
- func (u *Rent591HomeDetailUpsertBulk) UpdateUpdatedAt() *Rent591HomeDetailUpsertBulk
- type Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) AddDealTime(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) AddKind(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) AddPrice(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) AddRegionID(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) AddRelieved(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) AddSectionID(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) ClearDealText() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) DoNothing() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeDetailUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeDetailUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeDetailUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeDetailUpsertOne) Ignore() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetCreatedAt(v time.Time) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetDealText(v string) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetDealTime(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetDeposit(v string) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetKind(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetPrice(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetPriceUnit(v string) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetRegionID(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetRelieved(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetSectionID(v int) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetTitle(v string) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) SetUpdatedAt(v time.Time) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) Update(set func(*Rent591HomeDetailUpsert)) *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateCreatedAt() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateDealText() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateDealTime() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateDeposit() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateKind() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateNewValues() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdatePrice() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdatePriceUnit() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateRegionID() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateRelieved() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateSectionID() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateTitle() *Rent591HomeDetailUpsertOne
- func (u *Rent591HomeDetailUpsertOne) UpdateUpdatedAt() *Rent591HomeDetailUpsertOne
- type Rent591HomeDetails
- type Rent591HomeEdges
- type Rent591HomeGroupBy
- func (rgb *Rent591HomeGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeGroupBy
- func (s *Rent591HomeGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeGroupBy) IntsX(ctx context.Context) []int
- func (rgb *Rent591HomeGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeMutation
- func (m *Rent591HomeMutation) AddCasesID(i int)
- func (m *Rent591HomeMutation) AddCid(i int)
- func (m *Rent591HomeMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeMutation) AddHurry(i int)
- func (m *Rent591HomeMutation) AddIsCombine(i int)
- func (m *Rent591HomeMutation) AddIsSocial(i int)
- func (m *Rent591HomeMutation) AddIsVideo(i int)
- func (m *Rent591HomeMutation) AddIsVip(i int)
- func (m *Rent591HomeMutation) AddPostID(i int)
- func (m *Rent591HomeMutation) AddPreferred(i int)
- func (m *Rent591HomeMutation) AddPrice(i int)
- func (m *Rent591HomeMutation) AddRent591homeTagIDs(ids ...int)
- func (m *Rent591HomeMutation) AddType(i int)
- func (m *Rent591HomeMutation) AddYesterdayHit(i int)
- func (m *Rent591HomeMutation) AddedCasesID() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedCid() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedEdges() []string
- func (m *Rent591HomeMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeMutation) AddedFields() []string
- func (m *Rent591HomeMutation) AddedHurry() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeMutation) AddedIsCombine() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedIsSocial() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedIsVideo() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedIsVip() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedPostID() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedPreferred() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedPrice() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedType() (r int, exists bool)
- func (m *Rent591HomeMutation) AddedYesterdayHit() (r int, exists bool)
- func (m *Rent591HomeMutation) AppendPhotoList(s []string)
- func (m *Rent591HomeMutation) AppendedPhotoList() ([]string, bool)
- func (m *Rent591HomeMutation) Area() (r string, exists bool)
- func (m *Rent591HomeMutation) CasesID() (r int, exists bool)
- func (m *Rent591HomeMutation) Cid() (r int, exists bool)
- func (m *Rent591HomeMutation) ClearEdge(name string) error
- func (m *Rent591HomeMutation) ClearField(name string) error
- func (m *Rent591HomeMutation) ClearPhotoList()
- func (m *Rent591HomeMutation) ClearRegionName()
- func (m *Rent591HomeMutation) ClearRent591homeDetails()
- func (m *Rent591HomeMutation) ClearRent591homeSurroundings()
- func (m *Rent591HomeMutation) ClearRent591homeTags()
- func (m *Rent591HomeMutation) ClearedEdges() []string
- func (m *Rent591HomeMutation) ClearedFields() []string
- func (m Rent591HomeMutation) Client() *Client
- func (m *Rent591HomeMutation) Community() (r string, exists bool)
- func (m *Rent591HomeMutation) Contact() (r string, exists bool)
- func (m *Rent591HomeMutation) CreatedAt() (r time.Time, exists bool)
- func (m *Rent591HomeMutation) DiscountPriceStr() (r string, exists bool)
- func (m *Rent591HomeMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeMutation) FieldCleared(name string) bool
- func (m *Rent591HomeMutation) Fields() []string
- func (m *Rent591HomeMutation) FloorStr() (r string, exists bool)
- func (m *Rent591HomeMutation) GetType() (r int, exists bool)
- func (m *Rent591HomeMutation) Hurry() (r int, exists bool)
- func (m *Rent591HomeMutation) ID() (id int, exists bool)
- func (m *Rent591HomeMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeMutation) IsCombine() (r int, exists bool)
- func (m *Rent591HomeMutation) IsSocial() (r int, exists bool)
- func (m *Rent591HomeMutation) IsVideo() (r int, exists bool)
- func (m *Rent591HomeMutation) IsVip() (r int, exists bool)
- func (m *Rent591HomeMutation) KindName() (r string, exists bool)
- func (m *Rent591HomeMutation) Location() (r string, exists bool)
- func (m *Rent591HomeMutation) OldArea(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldCasesID(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldCid(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldCommunity(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldContact(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error)
- func (m *Rent591HomeMutation) OldDiscountPriceStr(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeMutation) OldFloorStr(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldHurry(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldIsCombine(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldIsSocial(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldIsVideo(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldIsVip(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldKindName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldLocation(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldPhotoList(ctx context.Context) (v []string, err error)
- func (m *Rent591HomeMutation) OldPostID(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldPreferred(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldPrice(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldPriceUnit(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldRefreshTime(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldRegionName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldRoleName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldRoomStr(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldSectionName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldStreetName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldTitle(ctx context.Context) (v string, err error)
- func (m *Rent591HomeMutation) OldType(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) OldUpdatedAt(ctx context.Context) (v time.Time, err error)
- func (m *Rent591HomeMutation) OldYesterdayHit(ctx context.Context) (v int, err error)
- func (m *Rent591HomeMutation) Op() Op
- func (m *Rent591HomeMutation) PhotoList() (r []string, exists bool)
- func (m *Rent591HomeMutation) PhotoListCleared() bool
- func (m *Rent591HomeMutation) PostID() (r int, exists bool)
- func (m *Rent591HomeMutation) Preferred() (r int, exists bool)
- func (m *Rent591HomeMutation) Price() (r int, exists bool)
- func (m *Rent591HomeMutation) PriceUnit() (r string, exists bool)
- func (m *Rent591HomeMutation) RefreshTime() (r string, exists bool)
- func (m *Rent591HomeMutation) RegionName() (r string, exists bool)
- func (m *Rent591HomeMutation) RegionNameCleared() bool
- func (m *Rent591HomeMutation) RemoveRent591homeTagIDs(ids ...int)
- func (m *Rent591HomeMutation) RemovedEdges() []string
- func (m *Rent591HomeMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeMutation) RemovedRent591homeTagsIDs() (ids []int)
- func (m *Rent591HomeMutation) Rent591homeDetailsCleared() bool
- func (m *Rent591HomeMutation) Rent591homeDetailsID() (id int, exists bool)
- func (m *Rent591HomeMutation) Rent591homeDetailsIDs() (ids []int)
- func (m *Rent591HomeMutation) Rent591homeSurroundingsCleared() bool
- func (m *Rent591HomeMutation) Rent591homeSurroundingsID() (id int, exists bool)
- func (m *Rent591HomeMutation) Rent591homeSurroundingsIDs() (ids []int)
- func (m *Rent591HomeMutation) Rent591homeTagsCleared() bool
- func (m *Rent591HomeMutation) Rent591homeTagsIDs() (ids []int)
- func (m *Rent591HomeMutation) ResetArea()
- func (m *Rent591HomeMutation) ResetCasesID()
- func (m *Rent591HomeMutation) ResetCid()
- func (m *Rent591HomeMutation) ResetCommunity()
- func (m *Rent591HomeMutation) ResetContact()
- func (m *Rent591HomeMutation) ResetCreatedAt()
- func (m *Rent591HomeMutation) ResetDiscountPriceStr()
- func (m *Rent591HomeMutation) ResetEdge(name string) error
- func (m *Rent591HomeMutation) ResetField(name string) error
- func (m *Rent591HomeMutation) ResetFloorStr()
- func (m *Rent591HomeMutation) ResetHurry()
- func (m *Rent591HomeMutation) ResetIsCombine()
- func (m *Rent591HomeMutation) ResetIsSocial()
- func (m *Rent591HomeMutation) ResetIsVideo()
- func (m *Rent591HomeMutation) ResetIsVip()
- func (m *Rent591HomeMutation) ResetKindName()
- func (m *Rent591HomeMutation) ResetLocation()
- func (m *Rent591HomeMutation) ResetPhotoList()
- func (m *Rent591HomeMutation) ResetPostID()
- func (m *Rent591HomeMutation) ResetPreferred()
- func (m *Rent591HomeMutation) ResetPrice()
- func (m *Rent591HomeMutation) ResetPriceUnit()
- func (m *Rent591HomeMutation) ResetRefreshTime()
- func (m *Rent591HomeMutation) ResetRegionName()
- func (m *Rent591HomeMutation) ResetRent591homeDetails()
- func (m *Rent591HomeMutation) ResetRent591homeSurroundings()
- func (m *Rent591HomeMutation) ResetRent591homeTags()
- func (m *Rent591HomeMutation) ResetRoleName()
- func (m *Rent591HomeMutation) ResetRoomStr()
- func (m *Rent591HomeMutation) ResetSectionName()
- func (m *Rent591HomeMutation) ResetStreetName()
- func (m *Rent591HomeMutation) ResetTitle()
- func (m *Rent591HomeMutation) ResetType()
- func (m *Rent591HomeMutation) ResetUpdatedAt()
- func (m *Rent591HomeMutation) ResetYesterdayHit()
- func (m *Rent591HomeMutation) RoleName() (r string, exists bool)
- func (m *Rent591HomeMutation) RoomStr() (r string, exists bool)
- func (m *Rent591HomeMutation) SectionName() (r string, exists bool)
- func (m *Rent591HomeMutation) SetArea(s string)
- func (m *Rent591HomeMutation) SetCasesID(i int)
- func (m *Rent591HomeMutation) SetCid(i int)
- func (m *Rent591HomeMutation) SetCommunity(s string)
- func (m *Rent591HomeMutation) SetContact(s string)
- func (m *Rent591HomeMutation) SetCreatedAt(t time.Time)
- func (m *Rent591HomeMutation) SetDiscountPriceStr(s string)
- func (m *Rent591HomeMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeMutation) SetFloorStr(s string)
- func (m *Rent591HomeMutation) SetHurry(i int)
- func (m *Rent591HomeMutation) SetIsCombine(i int)
- func (m *Rent591HomeMutation) SetIsSocial(i int)
- func (m *Rent591HomeMutation) SetIsVideo(i int)
- func (m *Rent591HomeMutation) SetIsVip(i int)
- func (m *Rent591HomeMutation) SetKindName(s string)
- func (m *Rent591HomeMutation) SetLocation(s string)
- func (m *Rent591HomeMutation) SetOp(op Op)
- func (m *Rent591HomeMutation) SetPhotoList(s []string)
- func (m *Rent591HomeMutation) SetPostID(i int)
- func (m *Rent591HomeMutation) SetPreferred(i int)
- func (m *Rent591HomeMutation) SetPrice(i int)
- func (m *Rent591HomeMutation) SetPriceUnit(s string)
- func (m *Rent591HomeMutation) SetRefreshTime(s string)
- func (m *Rent591HomeMutation) SetRegionName(s string)
- func (m *Rent591HomeMutation) SetRent591homeDetailsID(id int)
- func (m *Rent591HomeMutation) SetRent591homeSurroundingsID(id int)
- func (m *Rent591HomeMutation) SetRoleName(s string)
- func (m *Rent591HomeMutation) SetRoomStr(s string)
- func (m *Rent591HomeMutation) SetSectionName(s string)
- func (m *Rent591HomeMutation) SetStreetName(s string)
- func (m *Rent591HomeMutation) SetTitle(s string)
- func (m *Rent591HomeMutation) SetType(i int)
- func (m *Rent591HomeMutation) SetUpdatedAt(t time.Time)
- func (m *Rent591HomeMutation) SetYesterdayHit(i int)
- func (m *Rent591HomeMutation) StreetName() (r string, exists bool)
- func (m *Rent591HomeMutation) Title() (r string, exists bool)
- func (m Rent591HomeMutation) Tx() (*Tx, error)
- func (m *Rent591HomeMutation) Type() string
- func (m *Rent591HomeMutation) UpdatedAt() (r time.Time, exists bool)
- func (m *Rent591HomeMutation) Where(ps ...predicate.Rent591Home)
- func (m *Rent591HomeMutation) WhereP(ps ...func(*sql.Selector))
- func (m *Rent591HomeMutation) YesterdayHit() (r int, exists bool)
- type Rent591HomeQuery
- func (rq *Rent591HomeQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeSelect
- func (rq *Rent591HomeQuery) All(ctx context.Context) ([]*Rent591Home, error)
- func (rq *Rent591HomeQuery) AllX(ctx context.Context) []*Rent591Home
- func (rq *Rent591HomeQuery) Clone() *Rent591HomeQuery
- func (rq *Rent591HomeQuery) Count(ctx context.Context) (int, error)
- func (rq *Rent591HomeQuery) CountX(ctx context.Context) int
- func (rq *Rent591HomeQuery) Exist(ctx context.Context) (bool, error)
- func (rq *Rent591HomeQuery) ExistX(ctx context.Context) bool
- func (rq *Rent591HomeQuery) First(ctx context.Context) (*Rent591Home, error)
- func (rq *Rent591HomeQuery) FirstID(ctx context.Context) (id int, err error)
- func (rq *Rent591HomeQuery) FirstIDX(ctx context.Context) int
- func (rq *Rent591HomeQuery) FirstX(ctx context.Context) *Rent591Home
- func (rq *Rent591HomeQuery) GroupBy(field string, fields ...string) *Rent591HomeGroupBy
- func (rq *Rent591HomeQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rq *Rent591HomeQuery) IDsX(ctx context.Context) []int
- func (rq *Rent591HomeQuery) Limit(limit int) *Rent591HomeQuery
- func (rq *Rent591HomeQuery) Offset(offset int) *Rent591HomeQuery
- func (rq *Rent591HomeQuery) Only(ctx context.Context) (*Rent591Home, error)
- func (rq *Rent591HomeQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rq *Rent591HomeQuery) OnlyIDX(ctx context.Context) int
- func (rq *Rent591HomeQuery) OnlyX(ctx context.Context) *Rent591Home
- func (rq *Rent591HomeQuery) Order(o ...rent591home.OrderOption) *Rent591HomeQuery
- func (rq *Rent591HomeQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
- func (rq *Rent591HomeQuery) QueryRent591homeSurroundings() *Rent591HomeSurroundingQuery
- func (rq *Rent591HomeQuery) QueryRent591homeTags() *Rent591HomeTagQuery
- func (rq *Rent591HomeQuery) Select(fields ...string) *Rent591HomeSelect
- func (rq *Rent591HomeQuery) Unique(unique bool) *Rent591HomeQuery
- func (rq *Rent591HomeQuery) Where(ps ...predicate.Rent591Home) *Rent591HomeQuery
- func (rq *Rent591HomeQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeQuery
- func (rq *Rent591HomeQuery) WithRent591homeSurroundings(opts ...func(*Rent591HomeSurroundingQuery)) *Rent591HomeQuery
- func (rq *Rent591HomeQuery) WithRent591homeTags(opts ...func(*Rent591HomeTagQuery)) *Rent591HomeQuery
- type Rent591HomeSelect
- func (rs *Rent591HomeSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeSelect
- func (s *Rent591HomeSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeSelect) IntsX(ctx context.Context) []int
- func (rs *Rent591HomeSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeSelect) StringsX(ctx context.Context) []string
- type Rent591HomeSurrounding
- func (rs *Rent591HomeSurrounding) QueryRent591homes() *Rent591HomeQuery
- func (rs *Rent591HomeSurrounding) String() string
- func (rs *Rent591HomeSurrounding) Unwrap() *Rent591HomeSurrounding
- func (rs *Rent591HomeSurrounding) Update() *Rent591HomeSurroundingUpdateOne
- func (rs *Rent591HomeSurrounding) Value(name string) (ent.Value, error)
- type Rent591HomeSurroundingClient
- func (c *Rent591HomeSurroundingClient) Create() *Rent591HomeSurroundingCreate
- func (c *Rent591HomeSurroundingClient) CreateBulk(builders ...*Rent591HomeSurroundingCreate) *Rent591HomeSurroundingCreateBulk
- func (c *Rent591HomeSurroundingClient) Delete() *Rent591HomeSurroundingDelete
- func (c *Rent591HomeSurroundingClient) DeleteOne(rs *Rent591HomeSurrounding) *Rent591HomeSurroundingDeleteOne
- func (c *Rent591HomeSurroundingClient) DeleteOneID(id int) *Rent591HomeSurroundingDeleteOne
- func (c *Rent591HomeSurroundingClient) Get(ctx context.Context, id int) (*Rent591HomeSurrounding, error)
- func (c *Rent591HomeSurroundingClient) GetX(ctx context.Context, id int) *Rent591HomeSurrounding
- func (c *Rent591HomeSurroundingClient) Hooks() []Hook
- func (c *Rent591HomeSurroundingClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeSurroundingClient) Interceptors() []Interceptor
- func (c *Rent591HomeSurroundingClient) Query() *Rent591HomeSurroundingQuery
- func (c *Rent591HomeSurroundingClient) QueryRent591homes(rs *Rent591HomeSurrounding) *Rent591HomeQuery
- func (c *Rent591HomeSurroundingClient) Update() *Rent591HomeSurroundingUpdate
- func (c *Rent591HomeSurroundingClient) UpdateOne(rs *Rent591HomeSurrounding) *Rent591HomeSurroundingUpdateOne
- func (c *Rent591HomeSurroundingClient) UpdateOneID(id int) *Rent591HomeSurroundingUpdateOne
- func (c *Rent591HomeSurroundingClient) Use(hooks ...Hook)
- type Rent591HomeSurroundingCreate
- func (rsc *Rent591HomeSurroundingCreate) Exec(ctx context.Context) error
- func (rsc *Rent591HomeSurroundingCreate) ExecX(ctx context.Context)
- func (rsc *Rent591HomeSurroundingCreate) Mutation() *Rent591HomeSurroundingMutation
- func (rsc *Rent591HomeSurroundingCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeSurroundingUpsertOne
- func (rsc *Rent591HomeSurroundingCreate) OnConflictColumns(columns ...string) *Rent591HomeSurroundingUpsertOne
- func (rsc *Rent591HomeSurroundingCreate) Save(ctx context.Context) (*Rent591HomeSurrounding, error)
- func (rsc *Rent591HomeSurroundingCreate) SaveX(ctx context.Context) *Rent591HomeSurrounding
- func (rsc *Rent591HomeSurroundingCreate) SetCreatedAt(t time.Time) *Rent591HomeSurroundingCreate
- func (rsc *Rent591HomeSurroundingCreate) SetDesc(s string) *Rent591HomeSurroundingCreate
- func (rsc *Rent591HomeSurroundingCreate) SetDistance(s string) *Rent591HomeSurroundingCreate
- func (rsc *Rent591HomeSurroundingCreate) SetNillableCreatedAt(t *time.Time) *Rent591HomeSurroundingCreate
- func (rsc *Rent591HomeSurroundingCreate) SetNillableRent591homesID(id *int) *Rent591HomeSurroundingCreate
- func (rsc *Rent591HomeSurroundingCreate) SetRent591homes(r *Rent591Home) *Rent591HomeSurroundingCreate
- func (rsc *Rent591HomeSurroundingCreate) SetRent591homesID(id int) *Rent591HomeSurroundingCreate
- func (rsc *Rent591HomeSurroundingCreate) SetType(s string) *Rent591HomeSurroundingCreate
- type Rent591HomeSurroundingCreateBulk
- func (rscb *Rent591HomeSurroundingCreateBulk) Exec(ctx context.Context) error
- func (rscb *Rent591HomeSurroundingCreateBulk) ExecX(ctx context.Context)
- func (rscb *Rent591HomeSurroundingCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeSurroundingUpsertBulk
- func (rscb *Rent591HomeSurroundingCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeSurroundingUpsertBulk
- func (rscb *Rent591HomeSurroundingCreateBulk) Save(ctx context.Context) ([]*Rent591HomeSurrounding, error)
- func (rscb *Rent591HomeSurroundingCreateBulk) SaveX(ctx context.Context) []*Rent591HomeSurrounding
- type Rent591HomeSurroundingDelete
- type Rent591HomeSurroundingDeleteOne
- type Rent591HomeSurroundingEdges
- type Rent591HomeSurroundingGroupBy
- func (rsgb *Rent591HomeSurroundingGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeSurroundingGroupBy
- func (s *Rent591HomeSurroundingGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeSurroundingGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeSurroundingGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeSurroundingGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeSurroundingGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeSurroundingGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeSurroundingGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeSurroundingGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeSurroundingGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeSurroundingGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeSurroundingGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeSurroundingGroupBy) IntsX(ctx context.Context) []int
- func (rsgb *Rent591HomeSurroundingGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeSurroundingGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeSurroundingGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeSurroundingGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeSurroundingGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeSurroundingGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeSurroundingMutation
- func (m *Rent591HomeSurroundingMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeSurroundingMutation) AddedEdges() []string
- func (m *Rent591HomeSurroundingMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeSurroundingMutation) AddedFields() []string
- func (m *Rent591HomeSurroundingMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeSurroundingMutation) ClearEdge(name string) error
- func (m *Rent591HomeSurroundingMutation) ClearField(name string) error
- func (m *Rent591HomeSurroundingMutation) ClearRent591homes()
- func (m *Rent591HomeSurroundingMutation) ClearedEdges() []string
- func (m *Rent591HomeSurroundingMutation) ClearedFields() []string
- func (m Rent591HomeSurroundingMutation) Client() *Client
- func (m *Rent591HomeSurroundingMutation) CreatedAt() (r time.Time, exists bool)
- func (m *Rent591HomeSurroundingMutation) Desc() (r string, exists bool)
- func (m *Rent591HomeSurroundingMutation) Distance() (r string, exists bool)
- func (m *Rent591HomeSurroundingMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeSurroundingMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeSurroundingMutation) FieldCleared(name string) bool
- func (m *Rent591HomeSurroundingMutation) Fields() []string
- func (m *Rent591HomeSurroundingMutation) GetType() (r string, exists bool)
- func (m *Rent591HomeSurroundingMutation) ID() (id int, exists bool)
- func (m *Rent591HomeSurroundingMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeSurroundingMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error)
- func (m *Rent591HomeSurroundingMutation) OldDesc(ctx context.Context) (v string, err error)
- func (m *Rent591HomeSurroundingMutation) OldDistance(ctx context.Context) (v string, err error)
- func (m *Rent591HomeSurroundingMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeSurroundingMutation) OldType(ctx context.Context) (v string, err error)
- func (m *Rent591HomeSurroundingMutation) Op() Op
- func (m *Rent591HomeSurroundingMutation) RemovedEdges() []string
- func (m *Rent591HomeSurroundingMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeSurroundingMutation) Rent591homesCleared() bool
- func (m *Rent591HomeSurroundingMutation) Rent591homesID() (id int, exists bool)
- func (m *Rent591HomeSurroundingMutation) Rent591homesIDs() (ids []int)
- func (m *Rent591HomeSurroundingMutation) ResetCreatedAt()
- func (m *Rent591HomeSurroundingMutation) ResetDesc()
- func (m *Rent591HomeSurroundingMutation) ResetDistance()
- func (m *Rent591HomeSurroundingMutation) ResetEdge(name string) error
- func (m *Rent591HomeSurroundingMutation) ResetField(name string) error
- func (m *Rent591HomeSurroundingMutation) ResetRent591homes()
- func (m *Rent591HomeSurroundingMutation) ResetType()
- func (m *Rent591HomeSurroundingMutation) SetCreatedAt(t time.Time)
- func (m *Rent591HomeSurroundingMutation) SetDesc(s string)
- func (m *Rent591HomeSurroundingMutation) SetDistance(s string)
- func (m *Rent591HomeSurroundingMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeSurroundingMutation) SetOp(op Op)
- func (m *Rent591HomeSurroundingMutation) SetRent591homesID(id int)
- func (m *Rent591HomeSurroundingMutation) SetType(s string)
- func (m Rent591HomeSurroundingMutation) Tx() (*Tx, error)
- func (m *Rent591HomeSurroundingMutation) Type() string
- func (m *Rent591HomeSurroundingMutation) Where(ps ...predicate.Rent591HomeSurrounding)
- func (m *Rent591HomeSurroundingMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeSurroundingQuery
- func (rsq *Rent591HomeSurroundingQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeSurroundingSelect
- func (rsq *Rent591HomeSurroundingQuery) All(ctx context.Context) ([]*Rent591HomeSurrounding, error)
- func (rsq *Rent591HomeSurroundingQuery) AllX(ctx context.Context) []*Rent591HomeSurrounding
- func (rsq *Rent591HomeSurroundingQuery) Clone() *Rent591HomeSurroundingQuery
- func (rsq *Rent591HomeSurroundingQuery) Count(ctx context.Context) (int, error)
- func (rsq *Rent591HomeSurroundingQuery) CountX(ctx context.Context) int
- func (rsq *Rent591HomeSurroundingQuery) Exist(ctx context.Context) (bool, error)
- func (rsq *Rent591HomeSurroundingQuery) ExistX(ctx context.Context) bool
- func (rsq *Rent591HomeSurroundingQuery) First(ctx context.Context) (*Rent591HomeSurrounding, error)
- func (rsq *Rent591HomeSurroundingQuery) FirstID(ctx context.Context) (id int, err error)
- func (rsq *Rent591HomeSurroundingQuery) FirstIDX(ctx context.Context) int
- func (rsq *Rent591HomeSurroundingQuery) FirstX(ctx context.Context) *Rent591HomeSurrounding
- func (rsq *Rent591HomeSurroundingQuery) GroupBy(field string, fields ...string) *Rent591HomeSurroundingGroupBy
- func (rsq *Rent591HomeSurroundingQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rsq *Rent591HomeSurroundingQuery) IDsX(ctx context.Context) []int
- func (rsq *Rent591HomeSurroundingQuery) Limit(limit int) *Rent591HomeSurroundingQuery
- func (rsq *Rent591HomeSurroundingQuery) Offset(offset int) *Rent591HomeSurroundingQuery
- func (rsq *Rent591HomeSurroundingQuery) Only(ctx context.Context) (*Rent591HomeSurrounding, error)
- func (rsq *Rent591HomeSurroundingQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rsq *Rent591HomeSurroundingQuery) OnlyIDX(ctx context.Context) int
- func (rsq *Rent591HomeSurroundingQuery) OnlyX(ctx context.Context) *Rent591HomeSurrounding
- func (rsq *Rent591HomeSurroundingQuery) Order(o ...rent591homesurrounding.OrderOption) *Rent591HomeSurroundingQuery
- func (rsq *Rent591HomeSurroundingQuery) QueryRent591homes() *Rent591HomeQuery
- func (rsq *Rent591HomeSurroundingQuery) Select(fields ...string) *Rent591HomeSurroundingSelect
- func (rsq *Rent591HomeSurroundingQuery) Unique(unique bool) *Rent591HomeSurroundingQuery
- func (rsq *Rent591HomeSurroundingQuery) Where(ps ...predicate.Rent591HomeSurrounding) *Rent591HomeSurroundingQuery
- func (rsq *Rent591HomeSurroundingQuery) WithRent591homes(opts ...func(*Rent591HomeQuery)) *Rent591HomeSurroundingQuery
- type Rent591HomeSurroundingSelect
- func (rss *Rent591HomeSurroundingSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeSurroundingSelect
- func (s *Rent591HomeSurroundingSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeSurroundingSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeSurroundingSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeSurroundingSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeSurroundingSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeSurroundingSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeSurroundingSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeSurroundingSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeSurroundingSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeSurroundingSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeSurroundingSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeSurroundingSelect) IntsX(ctx context.Context) []int
- func (rss *Rent591HomeSurroundingSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeSurroundingSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeSurroundingSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeSurroundingSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeSurroundingSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeSurroundingSelect) StringsX(ctx context.Context) []string
- type Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) ClearRent591homes() *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) Exec(ctx context.Context) error
- func (rsu *Rent591HomeSurroundingUpdate) ExecX(ctx context.Context)
- func (rsu *Rent591HomeSurroundingUpdate) Mutation() *Rent591HomeSurroundingMutation
- func (rsu *Rent591HomeSurroundingUpdate) Save(ctx context.Context) (int, error)
- func (rsu *Rent591HomeSurroundingUpdate) SaveX(ctx context.Context) int
- func (rsu *Rent591HomeSurroundingUpdate) SetCreatedAt(t time.Time) *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) SetDesc(s string) *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) SetDistance(s string) *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) SetNillableCreatedAt(t *time.Time) *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) SetNillableRent591homesID(id *int) *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) SetRent591homes(r *Rent591Home) *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) SetRent591homesID(id int) *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) SetType(s string) *Rent591HomeSurroundingUpdate
- func (rsu *Rent591HomeSurroundingUpdate) Where(ps ...predicate.Rent591HomeSurrounding) *Rent591HomeSurroundingUpdate
- type Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) ClearRent591homes() *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) Exec(ctx context.Context) error
- func (rsuo *Rent591HomeSurroundingUpdateOne) ExecX(ctx context.Context)
- func (rsuo *Rent591HomeSurroundingUpdateOne) Mutation() *Rent591HomeSurroundingMutation
- func (rsuo *Rent591HomeSurroundingUpdateOne) Save(ctx context.Context) (*Rent591HomeSurrounding, error)
- func (rsuo *Rent591HomeSurroundingUpdateOne) SaveX(ctx context.Context) *Rent591HomeSurrounding
- func (rsuo *Rent591HomeSurroundingUpdateOne) Select(field string, fields ...string) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) SetCreatedAt(t time.Time) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) SetDesc(s string) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) SetDistance(s string) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) SetNillableCreatedAt(t *time.Time) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) SetNillableRent591homesID(id *int) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) SetRent591homes(r *Rent591Home) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) SetRent591homesID(id int) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) SetType(s string) *Rent591HomeSurroundingUpdateOne
- func (rsuo *Rent591HomeSurroundingUpdateOne) Where(ps ...predicate.Rent591HomeSurrounding) *Rent591HomeSurroundingUpdateOne
- type Rent591HomeSurroundingUpsert
- func (u *Rent591HomeSurroundingUpsert) SetCreatedAt(v time.Time) *Rent591HomeSurroundingUpsert
- func (u *Rent591HomeSurroundingUpsert) SetDesc(v string) *Rent591HomeSurroundingUpsert
- func (u *Rent591HomeSurroundingUpsert) SetDistance(v string) *Rent591HomeSurroundingUpsert
- func (u *Rent591HomeSurroundingUpsert) SetType(v string) *Rent591HomeSurroundingUpsert
- func (u *Rent591HomeSurroundingUpsert) UpdateCreatedAt() *Rent591HomeSurroundingUpsert
- func (u *Rent591HomeSurroundingUpsert) UpdateDesc() *Rent591HomeSurroundingUpsert
- func (u *Rent591HomeSurroundingUpsert) UpdateDistance() *Rent591HomeSurroundingUpsert
- func (u *Rent591HomeSurroundingUpsert) UpdateType() *Rent591HomeSurroundingUpsert
- type Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) DoNothing() *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeSurroundingUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeSurroundingUpsertBulk) Ignore() *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) SetCreatedAt(v time.Time) *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) SetDesc(v string) *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) SetDistance(v string) *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) SetType(v string) *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) Update(set func(*Rent591HomeSurroundingUpsert)) *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) UpdateCreatedAt() *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) UpdateDesc() *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) UpdateDistance() *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) UpdateNewValues() *Rent591HomeSurroundingUpsertBulk
- func (u *Rent591HomeSurroundingUpsertBulk) UpdateType() *Rent591HomeSurroundingUpsertBulk
- type Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) DoNothing() *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeSurroundingUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeSurroundingUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeSurroundingUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeSurroundingUpsertOne) Ignore() *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) SetCreatedAt(v time.Time) *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) SetDesc(v string) *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) SetDistance(v string) *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) SetType(v string) *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) Update(set func(*Rent591HomeSurroundingUpsert)) *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) UpdateCreatedAt() *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) UpdateDesc() *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) UpdateDistance() *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) UpdateNewValues() *Rent591HomeSurroundingUpsertOne
- func (u *Rent591HomeSurroundingUpsertOne) UpdateType() *Rent591HomeSurroundingUpsertOne
- type Rent591HomeSurroundings
- type Rent591HomeTag
- type Rent591HomeTagClient
- func (c *Rent591HomeTagClient) Create() *Rent591HomeTagCreate
- func (c *Rent591HomeTagClient) CreateBulk(builders ...*Rent591HomeTagCreate) *Rent591HomeTagCreateBulk
- func (c *Rent591HomeTagClient) Delete() *Rent591HomeTagDelete
- func (c *Rent591HomeTagClient) DeleteOne(rt *Rent591HomeTag) *Rent591HomeTagDeleteOne
- func (c *Rent591HomeTagClient) DeleteOneID(id int) *Rent591HomeTagDeleteOne
- func (c *Rent591HomeTagClient) Get(ctx context.Context, id int) (*Rent591HomeTag, error)
- func (c *Rent591HomeTagClient) GetX(ctx context.Context, id int) *Rent591HomeTag
- func (c *Rent591HomeTagClient) Hooks() []Hook
- func (c *Rent591HomeTagClient) Intercept(interceptors ...Interceptor)
- func (c *Rent591HomeTagClient) Interceptors() []Interceptor
- func (c *Rent591HomeTagClient) Query() *Rent591HomeTagQuery
- func (c *Rent591HomeTagClient) QueryRent591homes(rt *Rent591HomeTag) *Rent591HomeQuery
- func (c *Rent591HomeTagClient) Update() *Rent591HomeTagUpdate
- func (c *Rent591HomeTagClient) UpdateOne(rt *Rent591HomeTag) *Rent591HomeTagUpdateOne
- func (c *Rent591HomeTagClient) UpdateOneID(id int) *Rent591HomeTagUpdateOne
- func (c *Rent591HomeTagClient) Use(hooks ...Hook)
- type Rent591HomeTagCreate
- func (rtc *Rent591HomeTagCreate) AddRent591homeIDs(ids ...int) *Rent591HomeTagCreate
- func (rtc *Rent591HomeTagCreate) AddRent591homes(r ...*Rent591Home) *Rent591HomeTagCreate
- func (rtc *Rent591HomeTagCreate) Exec(ctx context.Context) error
- func (rtc *Rent591HomeTagCreate) ExecX(ctx context.Context)
- func (rtc *Rent591HomeTagCreate) Mutation() *Rent591HomeTagMutation
- func (rtc *Rent591HomeTagCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeTagUpsertOne
- func (rtc *Rent591HomeTagCreate) OnConflictColumns(columns ...string) *Rent591HomeTagUpsertOne
- func (rtc *Rent591HomeTagCreate) Save(ctx context.Context) (*Rent591HomeTag, error)
- func (rtc *Rent591HomeTagCreate) SaveX(ctx context.Context) *Rent591HomeTag
- func (rtc *Rent591HomeTagCreate) SetCreatedAt(t time.Time) *Rent591HomeTagCreate
- func (rtc *Rent591HomeTagCreate) SetName(s string) *Rent591HomeTagCreate
- func (rtc *Rent591HomeTagCreate) SetNillableCreatedAt(t *time.Time) *Rent591HomeTagCreate
- type Rent591HomeTagCreateBulk
- func (rtcb *Rent591HomeTagCreateBulk) Exec(ctx context.Context) error
- func (rtcb *Rent591HomeTagCreateBulk) ExecX(ctx context.Context)
- func (rtcb *Rent591HomeTagCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeTagUpsertBulk
- func (rtcb *Rent591HomeTagCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeTagUpsertBulk
- func (rtcb *Rent591HomeTagCreateBulk) Save(ctx context.Context) ([]*Rent591HomeTag, error)
- func (rtcb *Rent591HomeTagCreateBulk) SaveX(ctx context.Context) []*Rent591HomeTag
- type Rent591HomeTagDelete
- type Rent591HomeTagDeleteOne
- type Rent591HomeTagEdges
- type Rent591HomeTagGroupBy
- func (rtgb *Rent591HomeTagGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeTagGroupBy
- func (s *Rent591HomeTagGroupBy) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeTagGroupBy) BoolX(ctx context.Context) bool
- func (s *Rent591HomeTagGroupBy) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeTagGroupBy) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeTagGroupBy) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeTagGroupBy) Float64X(ctx context.Context) float64
- func (s *Rent591HomeTagGroupBy) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeTagGroupBy) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeTagGroupBy) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeTagGroupBy) IntX(ctx context.Context) int
- func (s *Rent591HomeTagGroupBy) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeTagGroupBy) IntsX(ctx context.Context) []int
- func (rtgb *Rent591HomeTagGroupBy) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeTagGroupBy) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeTagGroupBy) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeTagGroupBy) StringX(ctx context.Context) string
- func (s *Rent591HomeTagGroupBy) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeTagGroupBy) StringsX(ctx context.Context) []string
- type Rent591HomeTagMutation
- func (m *Rent591HomeTagMutation) AddField(name string, value ent.Value) error
- func (m *Rent591HomeTagMutation) AddRent591homeIDs(ids ...int)
- func (m *Rent591HomeTagMutation) AddedEdges() []string
- func (m *Rent591HomeTagMutation) AddedField(name string) (ent.Value, bool)
- func (m *Rent591HomeTagMutation) AddedFields() []string
- func (m *Rent591HomeTagMutation) AddedIDs(name string) []ent.Value
- func (m *Rent591HomeTagMutation) ClearEdge(name string) error
- func (m *Rent591HomeTagMutation) ClearField(name string) error
- func (m *Rent591HomeTagMutation) ClearRent591homes()
- func (m *Rent591HomeTagMutation) ClearedEdges() []string
- func (m *Rent591HomeTagMutation) ClearedFields() []string
- func (m Rent591HomeTagMutation) Client() *Client
- func (m *Rent591HomeTagMutation) CreatedAt() (r time.Time, exists bool)
- func (m *Rent591HomeTagMutation) EdgeCleared(name string) bool
- func (m *Rent591HomeTagMutation) Field(name string) (ent.Value, bool)
- func (m *Rent591HomeTagMutation) FieldCleared(name string) bool
- func (m *Rent591HomeTagMutation) Fields() []string
- func (m *Rent591HomeTagMutation) ID() (id int, exists bool)
- func (m *Rent591HomeTagMutation) IDs(ctx context.Context) ([]int, error)
- func (m *Rent591HomeTagMutation) Name() (r string, exists bool)
- func (m *Rent591HomeTagMutation) OldCreatedAt(ctx context.Context) (v time.Time, err error)
- func (m *Rent591HomeTagMutation) OldField(ctx context.Context, name string) (ent.Value, error)
- func (m *Rent591HomeTagMutation) OldName(ctx context.Context) (v string, err error)
- func (m *Rent591HomeTagMutation) Op() Op
- func (m *Rent591HomeTagMutation) RemoveRent591homeIDs(ids ...int)
- func (m *Rent591HomeTagMutation) RemovedEdges() []string
- func (m *Rent591HomeTagMutation) RemovedIDs(name string) []ent.Value
- func (m *Rent591HomeTagMutation) RemovedRent591homesIDs() (ids []int)
- func (m *Rent591HomeTagMutation) Rent591homesCleared() bool
- func (m *Rent591HomeTagMutation) Rent591homesIDs() (ids []int)
- func (m *Rent591HomeTagMutation) ResetCreatedAt()
- func (m *Rent591HomeTagMutation) ResetEdge(name string) error
- func (m *Rent591HomeTagMutation) ResetField(name string) error
- func (m *Rent591HomeTagMutation) ResetName()
- func (m *Rent591HomeTagMutation) ResetRent591homes()
- func (m *Rent591HomeTagMutation) SetCreatedAt(t time.Time)
- func (m *Rent591HomeTagMutation) SetField(name string, value ent.Value) error
- func (m *Rent591HomeTagMutation) SetName(s string)
- func (m *Rent591HomeTagMutation) SetOp(op Op)
- func (m Rent591HomeTagMutation) Tx() (*Tx, error)
- func (m *Rent591HomeTagMutation) Type() string
- func (m *Rent591HomeTagMutation) Where(ps ...predicate.Rent591HomeTag)
- func (m *Rent591HomeTagMutation) WhereP(ps ...func(*sql.Selector))
- type Rent591HomeTagQuery
- func (rtq *Rent591HomeTagQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeTagSelect
- func (rtq *Rent591HomeTagQuery) All(ctx context.Context) ([]*Rent591HomeTag, error)
- func (rtq *Rent591HomeTagQuery) AllX(ctx context.Context) []*Rent591HomeTag
- func (rtq *Rent591HomeTagQuery) Clone() *Rent591HomeTagQuery
- func (rtq *Rent591HomeTagQuery) Count(ctx context.Context) (int, error)
- func (rtq *Rent591HomeTagQuery) CountX(ctx context.Context) int
- func (rtq *Rent591HomeTagQuery) Exist(ctx context.Context) (bool, error)
- func (rtq *Rent591HomeTagQuery) ExistX(ctx context.Context) bool
- func (rtq *Rent591HomeTagQuery) First(ctx context.Context) (*Rent591HomeTag, error)
- func (rtq *Rent591HomeTagQuery) FirstID(ctx context.Context) (id int, err error)
- func (rtq *Rent591HomeTagQuery) FirstIDX(ctx context.Context) int
- func (rtq *Rent591HomeTagQuery) FirstX(ctx context.Context) *Rent591HomeTag
- func (rtq *Rent591HomeTagQuery) GroupBy(field string, fields ...string) *Rent591HomeTagGroupBy
- func (rtq *Rent591HomeTagQuery) IDs(ctx context.Context) (ids []int, err error)
- func (rtq *Rent591HomeTagQuery) IDsX(ctx context.Context) []int
- func (rtq *Rent591HomeTagQuery) Limit(limit int) *Rent591HomeTagQuery
- func (rtq *Rent591HomeTagQuery) Offset(offset int) *Rent591HomeTagQuery
- func (rtq *Rent591HomeTagQuery) Only(ctx context.Context) (*Rent591HomeTag, error)
- func (rtq *Rent591HomeTagQuery) OnlyID(ctx context.Context) (id int, err error)
- func (rtq *Rent591HomeTagQuery) OnlyIDX(ctx context.Context) int
- func (rtq *Rent591HomeTagQuery) OnlyX(ctx context.Context) *Rent591HomeTag
- func (rtq *Rent591HomeTagQuery) Order(o ...rent591hometag.OrderOption) *Rent591HomeTagQuery
- func (rtq *Rent591HomeTagQuery) QueryRent591homes() *Rent591HomeQuery
- func (rtq *Rent591HomeTagQuery) Select(fields ...string) *Rent591HomeTagSelect
- func (rtq *Rent591HomeTagQuery) Unique(unique bool) *Rent591HomeTagQuery
- func (rtq *Rent591HomeTagQuery) Where(ps ...predicate.Rent591HomeTag) *Rent591HomeTagQuery
- func (rtq *Rent591HomeTagQuery) WithRent591homes(opts ...func(*Rent591HomeQuery)) *Rent591HomeTagQuery
- type Rent591HomeTagSelect
- func (rts *Rent591HomeTagSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeTagSelect
- func (s *Rent591HomeTagSelect) Bool(ctx context.Context) (_ bool, err error)
- func (s *Rent591HomeTagSelect) BoolX(ctx context.Context) bool
- func (s *Rent591HomeTagSelect) Bools(ctx context.Context) ([]bool, error)
- func (s *Rent591HomeTagSelect) BoolsX(ctx context.Context) []bool
- func (s *Rent591HomeTagSelect) Float64(ctx context.Context) (_ float64, err error)
- func (s *Rent591HomeTagSelect) Float64X(ctx context.Context) float64
- func (s *Rent591HomeTagSelect) Float64s(ctx context.Context) ([]float64, error)
- func (s *Rent591HomeTagSelect) Float64sX(ctx context.Context) []float64
- func (s *Rent591HomeTagSelect) Int(ctx context.Context) (_ int, err error)
- func (s *Rent591HomeTagSelect) IntX(ctx context.Context) int
- func (s *Rent591HomeTagSelect) Ints(ctx context.Context) ([]int, error)
- func (s *Rent591HomeTagSelect) IntsX(ctx context.Context) []int
- func (rts *Rent591HomeTagSelect) Scan(ctx context.Context, v any) error
- func (s *Rent591HomeTagSelect) ScanX(ctx context.Context, v any)
- func (s *Rent591HomeTagSelect) String(ctx context.Context) (_ string, err error)
- func (s *Rent591HomeTagSelect) StringX(ctx context.Context) string
- func (s *Rent591HomeTagSelect) Strings(ctx context.Context) ([]string, error)
- func (s *Rent591HomeTagSelect) StringsX(ctx context.Context) []string
- type Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) AddRent591homeIDs(ids ...int) *Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) AddRent591homes(r ...*Rent591Home) *Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) ClearRent591homes() *Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) Exec(ctx context.Context) error
- func (rtu *Rent591HomeTagUpdate) ExecX(ctx context.Context)
- func (rtu *Rent591HomeTagUpdate) Mutation() *Rent591HomeTagMutation
- func (rtu *Rent591HomeTagUpdate) RemoveRent591homeIDs(ids ...int) *Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) RemoveRent591homes(r ...*Rent591Home) *Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) Save(ctx context.Context) (int, error)
- func (rtu *Rent591HomeTagUpdate) SaveX(ctx context.Context) int
- func (rtu *Rent591HomeTagUpdate) SetCreatedAt(t time.Time) *Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) SetName(s string) *Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) SetNillableCreatedAt(t *time.Time) *Rent591HomeTagUpdate
- func (rtu *Rent591HomeTagUpdate) Where(ps ...predicate.Rent591HomeTag) *Rent591HomeTagUpdate
- type Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) AddRent591homeIDs(ids ...int) *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) AddRent591homes(r ...*Rent591Home) *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) ClearRent591homes() *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) Exec(ctx context.Context) error
- func (rtuo *Rent591HomeTagUpdateOne) ExecX(ctx context.Context)
- func (rtuo *Rent591HomeTagUpdateOne) Mutation() *Rent591HomeTagMutation
- func (rtuo *Rent591HomeTagUpdateOne) RemoveRent591homeIDs(ids ...int) *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) RemoveRent591homes(r ...*Rent591Home) *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) Save(ctx context.Context) (*Rent591HomeTag, error)
- func (rtuo *Rent591HomeTagUpdateOne) SaveX(ctx context.Context) *Rent591HomeTag
- func (rtuo *Rent591HomeTagUpdateOne) Select(field string, fields ...string) *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) SetCreatedAt(t time.Time) *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) SetName(s string) *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) SetNillableCreatedAt(t *time.Time) *Rent591HomeTagUpdateOne
- func (rtuo *Rent591HomeTagUpdateOne) Where(ps ...predicate.Rent591HomeTag) *Rent591HomeTagUpdateOne
- type Rent591HomeTagUpsert
- type Rent591HomeTagUpsertBulk
- func (u *Rent591HomeTagUpsertBulk) DoNothing() *Rent591HomeTagUpsertBulk
- func (u *Rent591HomeTagUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeTagUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeTagUpsertBulk) Ignore() *Rent591HomeTagUpsertBulk
- func (u *Rent591HomeTagUpsertBulk) SetCreatedAt(v time.Time) *Rent591HomeTagUpsertBulk
- func (u *Rent591HomeTagUpsertBulk) SetName(v string) *Rent591HomeTagUpsertBulk
- func (u *Rent591HomeTagUpsertBulk) Update(set func(*Rent591HomeTagUpsert)) *Rent591HomeTagUpsertBulk
- func (u *Rent591HomeTagUpsertBulk) UpdateCreatedAt() *Rent591HomeTagUpsertBulk
- func (u *Rent591HomeTagUpsertBulk) UpdateName() *Rent591HomeTagUpsertBulk
- func (u *Rent591HomeTagUpsertBulk) UpdateNewValues() *Rent591HomeTagUpsertBulk
- type Rent591HomeTagUpsertOne
- func (u *Rent591HomeTagUpsertOne) DoNothing() *Rent591HomeTagUpsertOne
- func (u *Rent591HomeTagUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeTagUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeTagUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeTagUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeTagUpsertOne) Ignore() *Rent591HomeTagUpsertOne
- func (u *Rent591HomeTagUpsertOne) SetCreatedAt(v time.Time) *Rent591HomeTagUpsertOne
- func (u *Rent591HomeTagUpsertOne) SetName(v string) *Rent591HomeTagUpsertOne
- func (u *Rent591HomeTagUpsertOne) Update(set func(*Rent591HomeTagUpsert)) *Rent591HomeTagUpsertOne
- func (u *Rent591HomeTagUpsertOne) UpdateCreatedAt() *Rent591HomeTagUpsertOne
- func (u *Rent591HomeTagUpsertOne) UpdateName() *Rent591HomeTagUpsertOne
- func (u *Rent591HomeTagUpsertOne) UpdateNewValues() *Rent591HomeTagUpsertOne
- type Rent591HomeTags
- type Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddCasesID(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddCid(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddHurry(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddIsCombine(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddIsSocial(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddIsVideo(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddIsVip(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddPostID(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddPreferred(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddPrice(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddRent591homeTagIDs(ids ...int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddType(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AddYesterdayHit(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) AppendPhotoList(s []string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) ClearPhotoList() *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) ClearRegionName() *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) ClearRent591homeDetails() *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) ClearRent591homeSurroundings() *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) ClearRent591homeTags() *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) Exec(ctx context.Context) error
- func (ru *Rent591HomeUpdate) ExecX(ctx context.Context)
- func (ru *Rent591HomeUpdate) Mutation() *Rent591HomeMutation
- func (ru *Rent591HomeUpdate) RemoveRent591homeTagIDs(ids ...int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) RemoveRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) Save(ctx context.Context) (int, error)
- func (ru *Rent591HomeUpdate) SaveX(ctx context.Context) int
- func (ru *Rent591HomeUpdate) SetArea(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetCasesID(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetCid(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetCommunity(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetContact(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetCreatedAt(t time.Time) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetDiscountPriceStr(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetFloorStr(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetHurry(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetIsCombine(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetIsSocial(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetIsVideo(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetIsVip(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetKindName(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetLocation(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetNillableCreatedAt(t *time.Time) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetNillableRegionName(s *string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetNillableRent591homeDetailsID(id *int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetNillableRent591homeSurroundingsID(id *int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetPhotoList(s []string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetPostID(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetPreferred(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetPrice(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetPriceUnit(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetRefreshTime(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetRegionName(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetRent591homeDetailsID(id int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetRent591homeSurroundings(r *Rent591HomeSurrounding) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetRent591homeSurroundingsID(id int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetRoleName(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetRoomStr(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetSectionName(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetStreetName(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetTitle(s string) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetType(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetUpdatedAt(t time.Time) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) SetYesterdayHit(i int) *Rent591HomeUpdate
- func (ru *Rent591HomeUpdate) Where(ps ...predicate.Rent591Home) *Rent591HomeUpdate
- type Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddCasesID(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddCid(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddHurry(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddIsCombine(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddIsSocial(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddIsVideo(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddIsVip(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddPostID(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddPreferred(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddPrice(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddRent591homeTagIDs(ids ...int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddType(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AddYesterdayHit(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) AppendPhotoList(s []string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) ClearPhotoList() *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) ClearRegionName() *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) ClearRent591homeDetails() *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) ClearRent591homeSurroundings() *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) ClearRent591homeTags() *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) Exec(ctx context.Context) error
- func (ruo *Rent591HomeUpdateOne) ExecX(ctx context.Context)
- func (ruo *Rent591HomeUpdateOne) Mutation() *Rent591HomeMutation
- func (ruo *Rent591HomeUpdateOne) RemoveRent591homeTagIDs(ids ...int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) RemoveRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) Save(ctx context.Context) (*Rent591Home, error)
- func (ruo *Rent591HomeUpdateOne) SaveX(ctx context.Context) *Rent591Home
- func (ruo *Rent591HomeUpdateOne) Select(field string, fields ...string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetArea(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetCasesID(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetCid(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetCommunity(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetContact(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetCreatedAt(t time.Time) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetDiscountPriceStr(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetFloorStr(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetHurry(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetIsCombine(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetIsSocial(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetIsVideo(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetIsVip(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetKindName(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetLocation(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetNillableCreatedAt(t *time.Time) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetNillableRegionName(s *string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetNillableRent591homeDetailsID(id *int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetNillableRent591homeSurroundingsID(id *int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetPhotoList(s []string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetPostID(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetPreferred(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetPrice(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetPriceUnit(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetRefreshTime(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetRegionName(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetRent591homeDetailsID(id int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetRent591homeSurroundings(r *Rent591HomeSurrounding) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetRent591homeSurroundingsID(id int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetRoleName(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetRoomStr(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetSectionName(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetStreetName(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetTitle(s string) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetType(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetUpdatedAt(t time.Time) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) SetYesterdayHit(i int) *Rent591HomeUpdateOne
- func (ruo *Rent591HomeUpdateOne) Where(ps ...predicate.Rent591Home) *Rent591HomeUpdateOne
- type Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddCasesID(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddCid(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddHurry(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddIsCombine(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddIsSocial(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddIsVideo(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddIsVip(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddPostID(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddPreferred(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddPrice(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddType(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) AddYesterdayHit(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) ClearPhotoList() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) ClearRegionName() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetArea(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetCasesID(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetCid(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetCommunity(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetContact(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetCreatedAt(v time.Time) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetDiscountPriceStr(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetFloorStr(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetHurry(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetIsCombine(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetIsSocial(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetIsVideo(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetIsVip(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetKindName(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetLocation(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetPhotoList(v []string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetPostID(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetPreferred(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetPrice(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetPriceUnit(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetRefreshTime(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetRegionName(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetRoleName(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetRoomStr(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetSectionName(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetStreetName(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetTitle(v string) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetType(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetUpdatedAt(v time.Time) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) SetYesterdayHit(v int) *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateArea() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateCasesID() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateCid() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateCommunity() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateContact() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateCreatedAt() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateDiscountPriceStr() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateFloorStr() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateHurry() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateIsCombine() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateIsSocial() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateIsVideo() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateIsVip() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateKindName() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateLocation() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdatePhotoList() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdatePostID() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdatePreferred() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdatePrice() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdatePriceUnit() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateRefreshTime() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateRegionName() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateRoleName() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateRoomStr() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateSectionName() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateStreetName() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateTitle() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateType() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateUpdatedAt() *Rent591HomeUpsert
- func (u *Rent591HomeUpsert) UpdateYesterdayHit() *Rent591HomeUpsert
- type Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddCasesID(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddCid(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddHurry(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddIsCombine(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddIsSocial(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddIsVideo(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddIsVip(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddPostID(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddPreferred(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddPrice(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddType(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) AddYesterdayHit(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) ClearPhotoList() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) ClearRegionName() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) DoNothing() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) Exec(ctx context.Context) error
- func (u *Rent591HomeUpsertBulk) ExecX(ctx context.Context)
- func (u *Rent591HomeUpsertBulk) Ignore() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetArea(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetCasesID(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetCid(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetCommunity(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetContact(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetCreatedAt(v time.Time) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetDiscountPriceStr(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetFloorStr(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetHurry(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetIsCombine(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetIsSocial(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetIsVideo(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetIsVip(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetKindName(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetLocation(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetPhotoList(v []string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetPostID(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetPreferred(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetPrice(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetPriceUnit(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetRefreshTime(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetRegionName(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetRoleName(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetRoomStr(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetSectionName(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetStreetName(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetTitle(v string) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetType(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetUpdatedAt(v time.Time) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) SetYesterdayHit(v int) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) Update(set func(*Rent591HomeUpsert)) *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateArea() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateCasesID() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateCid() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateCommunity() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateContact() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateCreatedAt() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateDiscountPriceStr() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateFloorStr() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateHurry() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateIsCombine() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateIsSocial() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateIsVideo() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateIsVip() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateKindName() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateLocation() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateNewValues() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdatePhotoList() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdatePostID() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdatePreferred() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdatePrice() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdatePriceUnit() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateRefreshTime() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateRegionName() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateRoleName() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateRoomStr() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateSectionName() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateStreetName() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateTitle() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateType() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateUpdatedAt() *Rent591HomeUpsertBulk
- func (u *Rent591HomeUpsertBulk) UpdateYesterdayHit() *Rent591HomeUpsertBulk
- type Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddCasesID(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddCid(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddHurry(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddIsCombine(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddIsSocial(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddIsVideo(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddIsVip(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddPostID(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddPreferred(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddPrice(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddType(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) AddYesterdayHit(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) ClearPhotoList() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) ClearRegionName() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) DoNothing() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) Exec(ctx context.Context) error
- func (u *Rent591HomeUpsertOne) ExecX(ctx context.Context)
- func (u *Rent591HomeUpsertOne) ID(ctx context.Context) (id int, err error)
- func (u *Rent591HomeUpsertOne) IDX(ctx context.Context) int
- func (u *Rent591HomeUpsertOne) Ignore() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetArea(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetCasesID(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetCid(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetCommunity(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetContact(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetCreatedAt(v time.Time) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetDiscountPriceStr(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetFloorStr(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetHurry(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetIsCombine(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetIsSocial(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetIsVideo(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetIsVip(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetKindName(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetLocation(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetPhotoList(v []string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetPostID(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetPreferred(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetPrice(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetPriceUnit(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetRefreshTime(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetRegionName(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetRoleName(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetRoomStr(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetSectionName(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetStreetName(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetTitle(v string) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetType(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetUpdatedAt(v time.Time) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) SetYesterdayHit(v int) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) Update(set func(*Rent591HomeUpsert)) *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateArea() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateCasesID() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateCid() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateCommunity() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateContact() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateCreatedAt() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateDiscountPriceStr() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateFloorStr() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateHurry() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateIsCombine() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateIsSocial() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateIsVideo() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateIsVip() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateKindName() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateLocation() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateNewValues() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdatePhotoList() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdatePostID() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdatePreferred() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdatePrice() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdatePriceUnit() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateRefreshTime() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateRegionName() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateRoleName() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateRoomStr() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateSectionName() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateStreetName() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateTitle() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateType() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateUpdatedAt() *Rent591HomeUpsertOne
- func (u *Rent591HomeUpsertOne) UpdateYesterdayHit() *Rent591HomeUpsertOne
- type Rent591Homes
- type RollbackFunc
- type RollbackHook
- type Rollbacker
- type TraverseFunc
- type Traverser
- type Tx
- type ValidationError
- type Value
Constants ¶
const ( // Operation types. OpCreate = ent.OpCreate OpDelete = ent.OpDelete OpDeleteOne = ent.OpDeleteOne OpUpdate = ent.OpUpdate OpUpdateOne = ent.OpUpdateOne // Node types. TypeRent591Home = "Rent591Home" TypeRent591HomeDetail = "Rent591HomeDetail" TypeRent591HomeDetailBreadcrumb = "Rent591HomeDetailBreadcrumb" TypeRent591HomeDetailBrowse = "Rent591HomeDetailBrowse" TypeRent591HomeDetailInfo = "Rent591HomeDetailInfo" TypeRent591HomeDetailPositionRound = "Rent591HomeDetailPositionRound" TypeRent591HomeDetailPositionRoundData = "Rent591HomeDetailPositionRoundData" TypeRent591HomeDetailPositionRoundDataChildren = "Rent591HomeDetailPositionRoundDataChildren" TypeRent591HomeDetailPublish = "Rent591HomeDetailPublish" TypeRent591HomeDetailTag = "Rent591HomeDetailTag" TypeRent591HomeSurrounding = "Rent591HomeSurrounding" TypeRent591HomeTag = "Rent591HomeTag" )
Variables ¶
This section is empty.
Functions ¶
func IsConstraintError ¶
IsConstraintError returns a boolean indicating whether the error is a constraint failure.
func IsNotFound ¶
IsNotFound returns a boolean indicating whether the error is a not found error.
func IsNotLoaded ¶
IsNotLoaded returns a boolean indicating whether the error is a not loaded error.
func IsNotSingular ¶
IsNotSingular returns a boolean indicating whether the error is a not singular error.
func IsValidationError ¶
IsValidationError returns a boolean indicating whether the error is a validation error.
func NewContext ¶
NewContext returns a new context with the given Client attached.
Types ¶
type AggregateFunc ¶
AggregateFunc applies an aggregation step on the group-by traversal/selector.
func As ¶
func As(fn AggregateFunc, end string) AggregateFunc
As is a pseudo aggregation function for renaming another other functions with custom names. For example:
GroupBy(field1, field2). Aggregate(ent.As(ent.Sum(field1), "sum_field1"), (ent.As(ent.Sum(field2), "sum_field2")). Scan(ctx, &v)
func Count ¶
func Count() AggregateFunc
Count applies the "count" aggregation function on each group.
func Max ¶
func Max(field string) AggregateFunc
Max applies the "max" aggregation function on the given field of each group.
func Mean ¶
func Mean(field string) AggregateFunc
Mean applies the "mean" aggregation function on the given field of each group.
func Min ¶
func Min(field string) AggregateFunc
Min applies the "min" aggregation function on the given field of each group.
func Sum ¶
func Sum(field string) AggregateFunc
Sum applies the "sum" aggregation function on the given field of each group.
type Client ¶
type Client struct { // Schema is the client for creating, migrating and dropping schema. Schema *migrate.Schema // Rent591Home is the client for interacting with the Rent591Home builders. Rent591Home *Rent591HomeClient // Rent591HomeDetail is the client for interacting with the Rent591HomeDetail builders. Rent591HomeDetail *Rent591HomeDetailClient // Rent591HomeDetailBreadcrumb is the client for interacting with the Rent591HomeDetailBreadcrumb builders. Rent591HomeDetailBreadcrumb *Rent591HomeDetailBreadcrumbClient // Rent591HomeDetailBrowse is the client for interacting with the Rent591HomeDetailBrowse builders. Rent591HomeDetailBrowse *Rent591HomeDetailBrowseClient // Rent591HomeDetailInfo is the client for interacting with the Rent591HomeDetailInfo builders. Rent591HomeDetailInfo *Rent591HomeDetailInfoClient Rent591HomeDetailNavData *Rent591HomeDetailNavDataClient // Rent591HomeDetailPositionRound is the client for interacting with the Rent591HomeDetailPositionRound builders. Rent591HomeDetailPositionRound *Rent591HomeDetailPositionRoundClient // Rent591HomeDetailPositionRoundData is the client for interacting with the Rent591HomeDetailPositionRoundData builders. Rent591HomeDetailPositionRoundData *Rent591HomeDetailPositionRoundDataClient // Rent591HomeDetailPositionRoundDataChildren is the client for interacting with the Rent591HomeDetailPositionRoundDataChildren builders. Rent591HomeDetailPositionRoundDataChildren *Rent591HomeDetailPositionRoundDataChildrenClient // Rent591HomeDetailPublish is the client for interacting with the Rent591HomeDetailPublish builders. Rent591HomeDetailPublish *Rent591HomeDetailPublishClient Rent591HomeDetailShareInfo *Rent591HomeDetailShareInfoClient // Rent591HomeDetailTag is the client for interacting with the Rent591HomeDetailTag builders. Rent591HomeDetailTag *Rent591HomeDetailTagClient // Rent591HomeSurrounding is the client for interacting with the Rent591HomeSurrounding builders. Rent591HomeSurrounding *Rent591HomeSurroundingClient // Rent591HomeTag is the client for interacting with the Rent591HomeTag builders. Rent591HomeTag *Rent591HomeTagClient // contains filtered or unexported fields }
Client is the client that holds all ent builders.
func FromContext ¶
FromContext returns a Client stored inside a context, or nil if there isn't one.
func Open ¶
Open opens a database/sql.DB specified by the driver name and the data source name, and returns a new client attached to it. Optional parameters can be added for configuring the client.
func (*Client) Debug ¶
Debug returns a new debug-client. It's used to get verbose logging on specific operations.
client.Debug(). Rent591Home. Query(). Count(ctx)
func (*Client) Intercept ¶
func (c *Client) Intercept(interceptors ...Interceptor)
Intercept adds the query interceptors to all the entity clients. In order to add interceptors to a specific client, call: `client.Node.Intercept(...)`.
type CommitFunc ¶
The CommitFunc type is an adapter to allow the use of ordinary function as a Committer. If f is a function with the appropriate signature, CommitFunc(f) is a Committer that calls f.
type CommitHook ¶
CommitHook defines the "commit middleware". A function that gets a Committer and returns a Committer. For example:
hook := func(next ent.Committer) ent.Committer { return ent.CommitFunc(func(ctx context.Context, tx *ent.Tx) error { // Do some stuff before. if err := next.Commit(ctx, tx); err != nil { return err } // Do some stuff after. return nil }) }
type ConstraintError ¶
type ConstraintError struct {
// contains filtered or unexported fields
}
ConstraintError returns when trying to create/update one or more entities and one or more of their constraints failed. For example, violation of edge or field uniqueness.
func (ConstraintError) Error ¶
func (e ConstraintError) Error() string
Error implements the error interface.
func (*ConstraintError) Unwrap ¶
func (e *ConstraintError) Unwrap() error
Unwrap implements the errors.Wrapper interface.
type InterceptFunc ¶
type InterceptFunc = ent.InterceptFunc
ent aliases to avoid import conflicts in user's code.
type Interceptor ¶
type Interceptor = ent.Interceptor
ent aliases to avoid import conflicts in user's code.
type MutateFunc ¶
type MutateFunc = ent.MutateFunc
ent aliases to avoid import conflicts in user's code.
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
NotFoundError returns when trying to fetch a specific entity and it was not found in the database.
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
Error implements the error interface.
type NotLoadedError ¶
type NotLoadedError struct {
// contains filtered or unexported fields
}
NotLoadedError returns when trying to get a node that was not loaded by the query.
func (*NotLoadedError) Error ¶
func (e *NotLoadedError) Error() string
Error implements the error interface.
type NotSingularError ¶
type NotSingularError struct {
// contains filtered or unexported fields
}
NotSingularError returns when trying to fetch a singular entity and more then one was found in the database.
func (*NotSingularError) Error ¶
func (e *NotSingularError) Error() string
Error implements the error interface.
type OrderFunc ¶
OrderFunc applies an ordering on the sql selector. Deprecated: Use Asc/Desc functions or the package builders instead.
type QuerierFunc ¶
type QuerierFunc = ent.QuerierFunc
ent aliases to avoid import conflicts in user's code.
type QueryContext ¶
type QueryContext = ent.QueryContext
ent aliases to avoid import conflicts in user's code.
type Rent591Home ¶
type Rent591Home struct { // ID of the ent. ID int `json:"id,omitempty"` // Title holds the value of the "title" field. Title string `json:"title,omitempty"` // Type holds the value of the "type" field. Type int `json:"type,omitempty"` // PostID holds the value of the "post_id" field. PostID int `json:"post_id,omitempty"` // KindName holds the value of the "kind_name" field. KindName string `json:"kind_name,omitempty"` // RoomStr holds the value of the "room_str" field. RoomStr string `json:"room_str,omitempty"` // FloorStr holds the value of the "floor_str" field. FloorStr string `json:"floor_str,omitempty"` // Community holds the value of the "community" field. Community string `json:"community,omitempty"` // Price holds the value of the "price" field. Price int `json:"price,omitempty"` // PriceUnit holds the value of the "price_unit" field. PriceUnit string `json:"price_unit,omitempty"` // PhotoList holds the value of the "photo_list" field. PhotoList []string `json:"photo_list,omitempty"` // RegionName holds the value of the "region_name" field. RegionName string `json:"region_name,omitempty"` // SectionName holds the value of the "section_name" field. SectionName string `json:"section_name,omitempty"` // StreetName holds the value of the "street_name" field. StreetName string `json:"street_name,omitempty"` // Location holds the value of the "location" field. Location string `json:"location,omitempty"` // Area holds the value of the "area" field. Area string `json:"area,omitempty"` // RoleName holds the value of the "role_name" field. RoleName string `json:"role_name,omitempty"` // Contact holds the value of the "contact" field. Contact string `json:"contact,omitempty"` // RefreshTime holds the value of the "refresh_time" field. RefreshTime string `json:"refresh_time,omitempty"` // YesterdayHit holds the value of the "yesterday_hit" field. YesterdayHit int `json:"yesterday_hit,omitempty"` // IsVip holds the value of the "is_vip" field. IsVip int `json:"is_vip,omitempty"` // IsCombine holds the value of the "is_combine" field. IsCombine int `json:"is_combine,omitempty"` // Hurry holds the value of the "hurry" field. Hurry int `json:"hurry,omitempty"` // IsSocial holds the value of the "is_social" field. IsSocial int `json:"is_social,omitempty"` // DiscountPriceStr holds the value of the "discount_price_str" field. DiscountPriceStr string `json:"discount_price_str,omitempty"` // CasesID holds the value of the "cases_id" field. CasesID int `json:"cases_id,omitempty"` // IsVideo holds the value of the "is_video" field. IsVideo int `json:"is_video,omitempty"` // Preferred holds the value of the "preferred" field. Preferred int `json:"preferred,omitempty"` // Cid holds the value of the "cid" field. Cid int `json:"cid,omitempty"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at,omitempty"` // UpdatedAt holds the value of the "updated_at" field. UpdatedAt time.Time `json:"updated_at,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeQuery when eager-loading is set. Edges Rent591HomeEdges `json:"edges"` // contains filtered or unexported fields }
Rent591Home is the model entity for the Rent591Home schema.
func (*Rent591Home) QueryRent591homeDetails ¶
func (r *Rent591Home) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591Home entity.
func (*Rent591Home) QueryRent591homeSurroundings ¶
func (r *Rent591Home) QueryRent591homeSurroundings() *Rent591HomeSurroundingQuery
QueryRent591homeSurroundings queries the "rent591home_surroundings" edge of the Rent591Home entity.
func (*Rent591Home) QueryRent591homeTags ¶
func (r *Rent591Home) QueryRent591homeTags() *Rent591HomeTagQuery
QueryRent591homeTags queries the "rent591home_tags" edge of the Rent591Home entity.
func (*Rent591Home) String ¶
func (r *Rent591Home) String() string
String implements the fmt.Stringer.
func (*Rent591Home) Unwrap ¶
func (r *Rent591Home) Unwrap() *Rent591Home
Unwrap unwraps the Rent591Home entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591Home) Update ¶
func (r *Rent591Home) Update() *Rent591HomeUpdateOne
Update returns a builder for updating this Rent591Home. Note that you need to call Rent591Home.Unwrap() before calling this method if this Rent591Home was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeClient ¶
type Rent591HomeClient struct {
// contains filtered or unexported fields
}
Rent591HomeClient is a client for the Rent591Home schema.
func NewRent591HomeClient ¶
func NewRent591HomeClient(c config) *Rent591HomeClient
NewRent591HomeClient returns a client for the Rent591Home from the given config.
func (*Rent591HomeClient) Create ¶
func (c *Rent591HomeClient) Create() *Rent591HomeCreate
Create returns a builder for creating a Rent591Home entity.
func (*Rent591HomeClient) CreateBulk ¶
func (c *Rent591HomeClient) CreateBulk(builders ...*Rent591HomeCreate) *Rent591HomeCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591Home entities.
func (*Rent591HomeClient) Delete ¶
func (c *Rent591HomeClient) Delete() *Rent591HomeDelete
Delete returns a delete builder for Rent591Home.
func (*Rent591HomeClient) DeleteOne ¶
func (c *Rent591HomeClient) DeleteOne(r *Rent591Home) *Rent591HomeDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeClient) DeleteOneID ¶
func (c *Rent591HomeClient) DeleteOneID(id int) *Rent591HomeDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeClient) Get ¶
func (c *Rent591HomeClient) Get(ctx context.Context, id int) (*Rent591Home, error)
Get returns a Rent591Home entity by its id.
func (*Rent591HomeClient) GetX ¶
func (c *Rent591HomeClient) GetX(ctx context.Context, id int) *Rent591Home
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeClient) Hooks ¶
func (c *Rent591HomeClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeClient) Intercept ¶
func (c *Rent591HomeClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591home.Intercept(f(g(h())))`.
func (*Rent591HomeClient) Interceptors ¶
func (c *Rent591HomeClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeClient) Query ¶
func (c *Rent591HomeClient) Query() *Rent591HomeQuery
Query returns a query builder for Rent591Home.
func (*Rent591HomeClient) QueryRent591homeDetails ¶
func (c *Rent591HomeClient) QueryRent591homeDetails(r *Rent591Home) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591Home.
func (*Rent591HomeClient) QueryRent591homeSurroundings ¶
func (c *Rent591HomeClient) QueryRent591homeSurroundings(r *Rent591Home) *Rent591HomeSurroundingQuery
QueryRent591homeSurroundings queries the rent591home_surroundings edge of a Rent591Home.
func (*Rent591HomeClient) QueryRent591homeTags ¶
func (c *Rent591HomeClient) QueryRent591homeTags(r *Rent591Home) *Rent591HomeTagQuery
QueryRent591homeTags queries the rent591home_tags edge of a Rent591Home.
func (*Rent591HomeClient) Update ¶
func (c *Rent591HomeClient) Update() *Rent591HomeUpdate
Update returns an update builder for Rent591Home.
func (*Rent591HomeClient) UpdateOne ¶
func (c *Rent591HomeClient) UpdateOne(r *Rent591Home) *Rent591HomeUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeClient) UpdateOneID ¶
func (c *Rent591HomeClient) UpdateOneID(id int) *Rent591HomeUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeClient) Use ¶
func (c *Rent591HomeClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591home.Hooks(f(g(h())))`.
type Rent591HomeCreate ¶
type Rent591HomeCreate struct {
// contains filtered or unexported fields
}
Rent591HomeCreate is the builder for creating a Rent591Home entity.
func (*Rent591HomeCreate) AddRent591homeTagIDs ¶
func (rc *Rent591HomeCreate) AddRent591homeTagIDs(ids ...int) *Rent591HomeCreate
AddRent591homeTagIDs adds the "rent591home_tags" edge to the Rent591HomeTag entity by IDs.
func (*Rent591HomeCreate) AddRent591homeTags ¶
func (rc *Rent591HomeCreate) AddRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeCreate
AddRent591homeTags adds the "rent591home_tags" edges to the Rent591HomeTag entity.
func (*Rent591HomeCreate) Exec ¶
func (rc *Rent591HomeCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeCreate) ExecX ¶
func (rc *Rent591HomeCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeCreate) Mutation ¶
func (rc *Rent591HomeCreate) Mutation() *Rent591HomeMutation
Mutation returns the Rent591HomeMutation object of the builder.
func (*Rent591HomeCreate) OnConflict ¶
func (rc *Rent591HomeCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591Home.Create(). SetTitle(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeUpsert) { SetTitle(v+v). }). Exec(ctx)
func (*Rent591HomeCreate) OnConflictColumns ¶
func (rc *Rent591HomeCreate) OnConflictColumns(columns ...string) *Rent591HomeUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591Home.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeCreate) Save ¶
func (rc *Rent591HomeCreate) Save(ctx context.Context) (*Rent591Home, error)
Save creates the Rent591Home in the database.
func (*Rent591HomeCreate) SaveX ¶
func (rc *Rent591HomeCreate) SaveX(ctx context.Context) *Rent591Home
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeCreate) SetArea ¶
func (rc *Rent591HomeCreate) SetArea(s string) *Rent591HomeCreate
SetArea sets the "area" field.
func (*Rent591HomeCreate) SetCasesID ¶
func (rc *Rent591HomeCreate) SetCasesID(i int) *Rent591HomeCreate
SetCasesID sets the "cases_id" field.
func (*Rent591HomeCreate) SetCid ¶
func (rc *Rent591HomeCreate) SetCid(i int) *Rent591HomeCreate
SetCid sets the "cid" field.
func (*Rent591HomeCreate) SetCommunity ¶
func (rc *Rent591HomeCreate) SetCommunity(s string) *Rent591HomeCreate
SetCommunity sets the "community" field.
func (*Rent591HomeCreate) SetContact ¶
func (rc *Rent591HomeCreate) SetContact(s string) *Rent591HomeCreate
SetContact sets the "contact" field.
func (*Rent591HomeCreate) SetCreatedAt ¶
func (rc *Rent591HomeCreate) SetCreatedAt(t time.Time) *Rent591HomeCreate
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeCreate) SetDiscountPriceStr ¶
func (rc *Rent591HomeCreate) SetDiscountPriceStr(s string) *Rent591HomeCreate
SetDiscountPriceStr sets the "discount_price_str" field.
func (*Rent591HomeCreate) SetFloorStr ¶
func (rc *Rent591HomeCreate) SetFloorStr(s string) *Rent591HomeCreate
SetFloorStr sets the "floor_str" field.
func (*Rent591HomeCreate) SetHurry ¶
func (rc *Rent591HomeCreate) SetHurry(i int) *Rent591HomeCreate
SetHurry sets the "hurry" field.
func (*Rent591HomeCreate) SetIsCombine ¶
func (rc *Rent591HomeCreate) SetIsCombine(i int) *Rent591HomeCreate
SetIsCombine sets the "is_combine" field.
func (*Rent591HomeCreate) SetIsSocial ¶
func (rc *Rent591HomeCreate) SetIsSocial(i int) *Rent591HomeCreate
SetIsSocial sets the "is_social" field.
func (*Rent591HomeCreate) SetIsVideo ¶
func (rc *Rent591HomeCreate) SetIsVideo(i int) *Rent591HomeCreate
SetIsVideo sets the "is_video" field.
func (*Rent591HomeCreate) SetIsVip ¶
func (rc *Rent591HomeCreate) SetIsVip(i int) *Rent591HomeCreate
SetIsVip sets the "is_vip" field.
func (*Rent591HomeCreate) SetKindName ¶
func (rc *Rent591HomeCreate) SetKindName(s string) *Rent591HomeCreate
SetKindName sets the "kind_name" field.
func (*Rent591HomeCreate) SetLocation ¶
func (rc *Rent591HomeCreate) SetLocation(s string) *Rent591HomeCreate
SetLocation sets the "location" field.
func (*Rent591HomeCreate) SetNillableCreatedAt ¶
func (rc *Rent591HomeCreate) SetNillableCreatedAt(t *time.Time) *Rent591HomeCreate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeCreate) SetNillableRegionName ¶
func (rc *Rent591HomeCreate) SetNillableRegionName(s *string) *Rent591HomeCreate
SetNillableRegionName sets the "region_name" field if the given value is not nil.
func (*Rent591HomeCreate) SetNillableRent591homeDetailsID ¶
func (rc *Rent591HomeCreate) SetNillableRent591homeDetailsID(id *int) *Rent591HomeCreate
SetNillableRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID if the given value is not nil.
func (*Rent591HomeCreate) SetNillableRent591homeSurroundingsID ¶
func (rc *Rent591HomeCreate) SetNillableRent591homeSurroundingsID(id *int) *Rent591HomeCreate
SetNillableRent591homeSurroundingsID sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity by ID if the given value is not nil.
func (*Rent591HomeCreate) SetNillableUpdatedAt ¶
func (rc *Rent591HomeCreate) SetNillableUpdatedAt(t *time.Time) *Rent591HomeCreate
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*Rent591HomeCreate) SetPhotoList ¶
func (rc *Rent591HomeCreate) SetPhotoList(s []string) *Rent591HomeCreate
SetPhotoList sets the "photo_list" field.
func (*Rent591HomeCreate) SetPostID ¶
func (rc *Rent591HomeCreate) SetPostID(i int) *Rent591HomeCreate
SetPostID sets the "post_id" field.
func (*Rent591HomeCreate) SetPreferred ¶
func (rc *Rent591HomeCreate) SetPreferred(i int) *Rent591HomeCreate
SetPreferred sets the "preferred" field.
func (*Rent591HomeCreate) SetPrice ¶
func (rc *Rent591HomeCreate) SetPrice(i int) *Rent591HomeCreate
SetPrice sets the "price" field.
func (*Rent591HomeCreate) SetPriceUnit ¶
func (rc *Rent591HomeCreate) SetPriceUnit(s string) *Rent591HomeCreate
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeCreate) SetRefreshTime ¶
func (rc *Rent591HomeCreate) SetRefreshTime(s string) *Rent591HomeCreate
SetRefreshTime sets the "refresh_time" field.
func (*Rent591HomeCreate) SetRegionName ¶
func (rc *Rent591HomeCreate) SetRegionName(s string) *Rent591HomeCreate
SetRegionName sets the "region_name" field.
func (*Rent591HomeCreate) SetRent591homeDetails ¶
func (rc *Rent591HomeCreate) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeCreate
SetRent591homeDetails sets the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeCreate) SetRent591homeDetailsID ¶
func (rc *Rent591HomeCreate) SetRent591homeDetailsID(id int) *Rent591HomeCreate
SetRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID.
func (*Rent591HomeCreate) SetRent591homeSurroundings ¶
func (rc *Rent591HomeCreate) SetRent591homeSurroundings(r *Rent591HomeSurrounding) *Rent591HomeCreate
SetRent591homeSurroundings sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity.
func (*Rent591HomeCreate) SetRent591homeSurroundingsID ¶
func (rc *Rent591HomeCreate) SetRent591homeSurroundingsID(id int) *Rent591HomeCreate
SetRent591homeSurroundingsID sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity by ID.
func (*Rent591HomeCreate) SetRoleName ¶
func (rc *Rent591HomeCreate) SetRoleName(s string) *Rent591HomeCreate
SetRoleName sets the "role_name" field.
func (*Rent591HomeCreate) SetRoomStr ¶
func (rc *Rent591HomeCreate) SetRoomStr(s string) *Rent591HomeCreate
SetRoomStr sets the "room_str" field.
func (*Rent591HomeCreate) SetSectionName ¶
func (rc *Rent591HomeCreate) SetSectionName(s string) *Rent591HomeCreate
SetSectionName sets the "section_name" field.
func (*Rent591HomeCreate) SetStreetName ¶
func (rc *Rent591HomeCreate) SetStreetName(s string) *Rent591HomeCreate
SetStreetName sets the "street_name" field.
func (*Rent591HomeCreate) SetTitle ¶
func (rc *Rent591HomeCreate) SetTitle(s string) *Rent591HomeCreate
SetTitle sets the "title" field.
func (*Rent591HomeCreate) SetType ¶
func (rc *Rent591HomeCreate) SetType(i int) *Rent591HomeCreate
SetType sets the "type" field.
func (*Rent591HomeCreate) SetUpdatedAt ¶
func (rc *Rent591HomeCreate) SetUpdatedAt(t time.Time) *Rent591HomeCreate
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeCreate) SetYesterdayHit ¶
func (rc *Rent591HomeCreate) SetYesterdayHit(i int) *Rent591HomeCreate
SetYesterdayHit sets the "yesterday_hit" field.
type Rent591HomeCreateBulk ¶
type Rent591HomeCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeCreateBulk is the builder for creating many Rent591Home entities in bulk.
func (*Rent591HomeCreateBulk) Exec ¶
func (rcb *Rent591HomeCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeCreateBulk) ExecX ¶
func (rcb *Rent591HomeCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeCreateBulk) OnConflict ¶
func (rcb *Rent591HomeCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591Home.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeUpsert) { SetTitle(v+v). }). Exec(ctx)
func (*Rent591HomeCreateBulk) OnConflictColumns ¶
func (rcb *Rent591HomeCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591Home.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeCreateBulk) Save ¶
func (rcb *Rent591HomeCreateBulk) Save(ctx context.Context) ([]*Rent591Home, error)
Save creates the Rent591Home entities in the database.
func (*Rent591HomeCreateBulk) SaveX ¶
func (rcb *Rent591HomeCreateBulk) SaveX(ctx context.Context) []*Rent591Home
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDelete ¶
type Rent591HomeDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDelete is the builder for deleting a Rent591Home entity.
func (*Rent591HomeDelete) Exec ¶
func (rd *Rent591HomeDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDelete) ExecX ¶
func (rd *Rent591HomeDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDelete) Where ¶
func (rd *Rent591HomeDelete) Where(ps ...predicate.Rent591Home) *Rent591HomeDelete
Where appends a list predicates to the Rent591HomeDelete builder.
type Rent591HomeDeleteOne ¶
type Rent591HomeDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDeleteOne is the builder for deleting a single Rent591Home entity.
func (*Rent591HomeDeleteOne) Exec ¶
func (rdo *Rent591HomeDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDeleteOne) ExecX ¶
func (rdo *Rent591HomeDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDeleteOne) Where ¶
func (rdo *Rent591HomeDeleteOne) Where(ps ...predicate.Rent591Home) *Rent591HomeDeleteOne
Where appends a list predicates to the Rent591HomeDelete builder.
type Rent591HomeDetail ¶
type Rent591HomeDetail struct { // ID of the ent. ID int `json:"id,omitempty"` // Title holds the value of the "title" field. Title string `json:"title,omitempty"` // Deposit holds the value of the "deposit" field. Deposit string `json:"deposit,omitempty"` // Kind holds the value of the "kind" field. Kind int `json:"kind,omitempty"` // Relieved holds the value of the "relieved" field. Relieved int `json:"relieved,omitempty"` // RegionID holds the value of the "region_id" field. RegionID int `json:"region_id,omitempty"` // SectionID holds the value of the "section_id" field. SectionID int `json:"section_id,omitempty"` // DealText holds the value of the "deal_text" field. DealText string `json:"deal_text,omitempty"` // DealTime holds the value of the "deal_time" field. DealTime int `json:"deal_time,omitempty"` // Price holds the value of the "price" field. Price int `json:"price,omitempty"` // PriceUnit holds the value of the "price_unit" field. PriceUnit string `json:"price_unit,omitempty"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at,omitempty"` // UpdatedAt holds the value of the "updated_at" field. UpdatedAt time.Time `json:"updated_at,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailQuery when eager-loading is set. Edges Rent591HomeDetailEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetail is the model entity for the Rent591HomeDetail schema.
func (*Rent591HomeDetail) QueryRent591homeDetailBreadcrumbs ¶
func (rd *Rent591HomeDetail) QueryRent591homeDetailBreadcrumbs() *Rent591HomeDetailBreadcrumbQuery
QueryRent591homeDetailBreadcrumbs queries the "rent591home_detail_breadcrumbs" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) QueryRent591homeDetailBrowses ¶
func (rd *Rent591HomeDetail) QueryRent591homeDetailBrowses() *Rent591HomeDetailBrowseQuery
QueryRent591homeDetailBrowses queries the "rent591home_detail_browses" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) QueryRent591homeDetailInfos ¶
func (rd *Rent591HomeDetail) QueryRent591homeDetailInfos() *Rent591HomeDetailInfoQuery
QueryRent591homeDetailInfos queries the "rent591home_detail_infos" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) QueryRent591homeDetailNavdatas ¶
func (rd *Rent591HomeDetail) QueryRent591homeDetailNavdatas() *Rent591HomeDetailNavDataQuery
QueryRent591homeDetailNavdatas queries the "rent591home_detail_navdatas" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) QueryRent591homeDetailPositionRounds ¶
func (rd *Rent591HomeDetail) QueryRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundQuery
QueryRent591homeDetailPositionRounds queries the "rent591home_detail_position_rounds" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) QueryRent591homeDetailPublishs ¶
func (rd *Rent591HomeDetail) QueryRent591homeDetailPublishs() *Rent591HomeDetailPublishQuery
QueryRent591homeDetailPublishs queries the "rent591home_detail_publishs" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) QueryRent591homeDetailShareinfos ¶
func (rd *Rent591HomeDetail) QueryRent591homeDetailShareinfos() *Rent591HomeDetailShareInfoQuery
QueryRent591homeDetailShareinfos queries the "rent591home_detail_shareinfos" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) QueryRent591homeDetailTags ¶
func (rd *Rent591HomeDetail) QueryRent591homeDetailTags() *Rent591HomeDetailTagQuery
QueryRent591homeDetailTags queries the "rent591home_detail_tags" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) QueryRent591homes ¶
func (rd *Rent591HomeDetail) QueryRent591homes() *Rent591HomeQuery
QueryRent591homes queries the "rent591homes" edge of the Rent591HomeDetail entity.
func (*Rent591HomeDetail) String ¶
func (rd *Rent591HomeDetail) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetail) Unwrap ¶
func (rd *Rent591HomeDetail) Unwrap() *Rent591HomeDetail
Unwrap unwraps the Rent591HomeDetail entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetail) Update ¶
func (rd *Rent591HomeDetail) Update() *Rent591HomeDetailUpdateOne
Update returns a builder for updating this Rent591HomeDetail. Note that you need to call Rent591HomeDetail.Unwrap() before calling this method if this Rent591HomeDetail was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailBreadcrumb ¶
type Rent591HomeDetailBreadcrumb struct { // ID of the ent. ID int `json:"id,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // PostID holds the value of the "post_id" field. PostID int `json:"post_id,omitempty"` // Query holds the value of the "query" field. Query string `json:"query,omitempty"` // Link holds the value of the "link" field. Link string `json:"link,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailBreadcrumbQuery when eager-loading is set. Edges Rent591HomeDetailBreadcrumbEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetailBreadcrumb is the model entity for the Rent591HomeDetailBreadcrumb schema.
func (*Rent591HomeDetailBreadcrumb) QueryRent591homeDetails ¶
func (rdb *Rent591HomeDetailBreadcrumb) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailBreadcrumb) String ¶
func (rdb *Rent591HomeDetailBreadcrumb) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailBreadcrumb) Unwrap ¶
func (rdb *Rent591HomeDetailBreadcrumb) Unwrap() *Rent591HomeDetailBreadcrumb
Unwrap unwraps the Rent591HomeDetailBreadcrumb entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailBreadcrumb) Update ¶
func (rdb *Rent591HomeDetailBreadcrumb) Update() *Rent591HomeDetailBreadcrumbUpdateOne
Update returns a builder for updating this Rent591HomeDetailBreadcrumb. Note that you need to call Rent591HomeDetailBreadcrumb.Unwrap() before calling this method if this Rent591HomeDetailBreadcrumb was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailBreadcrumbClient ¶
type Rent591HomeDetailBreadcrumbClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbClient is a client for the Rent591HomeDetailBreadcrumb schema.
func NewRent591HomeDetailBreadcrumbClient ¶
func NewRent591HomeDetailBreadcrumbClient(c config) *Rent591HomeDetailBreadcrumbClient
NewRent591HomeDetailBreadcrumbClient returns a client for the Rent591HomeDetailBreadcrumb from the given config.
func (*Rent591HomeDetailBreadcrumbClient) Create ¶
func (c *Rent591HomeDetailBreadcrumbClient) Create() *Rent591HomeDetailBreadcrumbCreate
Create returns a builder for creating a Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailBreadcrumbClient) CreateBulk ¶
func (c *Rent591HomeDetailBreadcrumbClient) CreateBulk(builders ...*Rent591HomeDetailBreadcrumbCreate) *Rent591HomeDetailBreadcrumbCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailBreadcrumb entities.
func (*Rent591HomeDetailBreadcrumbClient) Delete ¶
func (c *Rent591HomeDetailBreadcrumbClient) Delete() *Rent591HomeDetailBreadcrumbDelete
Delete returns a delete builder for Rent591HomeDetailBreadcrumb.
func (*Rent591HomeDetailBreadcrumbClient) DeleteOne ¶
func (c *Rent591HomeDetailBreadcrumbClient) DeleteOne(rdb *Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailBreadcrumbClient) DeleteOneID ¶
func (c *Rent591HomeDetailBreadcrumbClient) DeleteOneID(id int) *Rent591HomeDetailBreadcrumbDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailBreadcrumbClient) Get ¶
func (c *Rent591HomeDetailBreadcrumbClient) Get(ctx context.Context, id int) (*Rent591HomeDetailBreadcrumb, error)
Get returns a Rent591HomeDetailBreadcrumb entity by its id.
func (*Rent591HomeDetailBreadcrumbClient) GetX ¶
func (c *Rent591HomeDetailBreadcrumbClient) GetX(ctx context.Context, id int) *Rent591HomeDetailBreadcrumb
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbClient) Hooks ¶
func (c *Rent591HomeDetailBreadcrumbClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailBreadcrumbClient) Intercept ¶
func (c *Rent591HomeDetailBreadcrumbClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailbreadcrumb.Intercept(f(g(h())))`.
func (*Rent591HomeDetailBreadcrumbClient) Interceptors ¶
func (c *Rent591HomeDetailBreadcrumbClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailBreadcrumbClient) Query ¶
func (c *Rent591HomeDetailBreadcrumbClient) Query() *Rent591HomeDetailBreadcrumbQuery
Query returns a query builder for Rent591HomeDetailBreadcrumb.
func (*Rent591HomeDetailBreadcrumbClient) QueryRent591homeDetails ¶
func (c *Rent591HomeDetailBreadcrumbClient) QueryRent591homeDetails(rdb *Rent591HomeDetailBreadcrumb) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591HomeDetailBreadcrumb.
func (*Rent591HomeDetailBreadcrumbClient) Update ¶
func (c *Rent591HomeDetailBreadcrumbClient) Update() *Rent591HomeDetailBreadcrumbUpdate
Update returns an update builder for Rent591HomeDetailBreadcrumb.
func (*Rent591HomeDetailBreadcrumbClient) UpdateOne ¶
func (c *Rent591HomeDetailBreadcrumbClient) UpdateOne(rdb *Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailBreadcrumbClient) UpdateOneID ¶
func (c *Rent591HomeDetailBreadcrumbClient) UpdateOneID(id int) *Rent591HomeDetailBreadcrumbUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailBreadcrumbClient) Use ¶
func (c *Rent591HomeDetailBreadcrumbClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailbreadcrumb.Hooks(f(g(h())))`.
type Rent591HomeDetailBreadcrumbCreate ¶
type Rent591HomeDetailBreadcrumbCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbCreate is the builder for creating a Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailBreadcrumbCreate) AddRent591homeDetailIDs ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbCreate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailBreadcrumbCreate) AddRent591homeDetails ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbCreate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBreadcrumbCreate) Exec ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBreadcrumbCreate) ExecX ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbCreate) Mutation ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) Mutation() *Rent591HomeDetailBreadcrumbMutation
Mutation returns the Rent591HomeDetailBreadcrumbMutation object of the builder.
func (*Rent591HomeDetailBreadcrumbCreate) OnConflict ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailBreadcrumbUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailBreadcrumb.Create(). SetName(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailBreadcrumbUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeDetailBreadcrumbCreate) OnConflictColumns ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailBreadcrumbUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailBreadcrumb.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailBreadcrumbCreate) Save ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) Save(ctx context.Context) (*Rent591HomeDetailBreadcrumb, error)
Save creates the Rent591HomeDetailBreadcrumb in the database.
func (*Rent591HomeDetailBreadcrumbCreate) SaveX ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) SaveX(ctx context.Context) *Rent591HomeDetailBreadcrumb
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailBreadcrumbCreate) SetLink ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) SetLink(s string) *Rent591HomeDetailBreadcrumbCreate
SetLink sets the "link" field.
func (*Rent591HomeDetailBreadcrumbCreate) SetName ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) SetName(s string) *Rent591HomeDetailBreadcrumbCreate
SetName sets the "name" field.
func (*Rent591HomeDetailBreadcrumbCreate) SetPostID ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) SetPostID(i int) *Rent591HomeDetailBreadcrumbCreate
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailBreadcrumbCreate) SetQuery ¶
func (rdbc *Rent591HomeDetailBreadcrumbCreate) SetQuery(s string) *Rent591HomeDetailBreadcrumbCreate
SetQuery sets the "query" field.
type Rent591HomeDetailBreadcrumbCreateBulk ¶
type Rent591HomeDetailBreadcrumbCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbCreateBulk is the builder for creating many Rent591HomeDetailBreadcrumb entities in bulk.
func (*Rent591HomeDetailBreadcrumbCreateBulk) Exec ¶
func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBreadcrumbCreateBulk) ExecX ¶
func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbCreateBulk) OnConflict ¶
func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailBreadcrumbUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailBreadcrumb.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailBreadcrumbUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeDetailBreadcrumbCreateBulk) OnConflictColumns ¶
func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailBreadcrumbUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailBreadcrumb.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailBreadcrumbCreateBulk) Save ¶
func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailBreadcrumb, error)
Save creates the Rent591HomeDetailBreadcrumb entities in the database.
func (*Rent591HomeDetailBreadcrumbCreateBulk) SaveX ¶
func (rdbcb *Rent591HomeDetailBreadcrumbCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailBreadcrumb
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailBreadcrumbDelete ¶
type Rent591HomeDetailBreadcrumbDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbDelete is the builder for deleting a Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailBreadcrumbDelete) Exec ¶
func (rdbd *Rent591HomeDetailBreadcrumbDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailBreadcrumbDelete) ExecX ¶
func (rdbd *Rent591HomeDetailBreadcrumbDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbDelete) Where ¶
func (rdbd *Rent591HomeDetailBreadcrumbDelete) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbDelete
Where appends a list predicates to the Rent591HomeDetailBreadcrumbDelete builder.
type Rent591HomeDetailBreadcrumbDeleteOne ¶
type Rent591HomeDetailBreadcrumbDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbDeleteOne is the builder for deleting a single Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailBreadcrumbDeleteOne) Exec ¶
func (rdbdo *Rent591HomeDetailBreadcrumbDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailBreadcrumbDeleteOne) ExecX ¶
func (rdbdo *Rent591HomeDetailBreadcrumbDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbDeleteOne) Where ¶
func (rdbdo *Rent591HomeDetailBreadcrumbDeleteOne) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbDeleteOne
Where appends a list predicates to the Rent591HomeDetailBreadcrumbDelete builder.
type Rent591HomeDetailBreadcrumbEdges ¶
type Rent591HomeDetailBreadcrumbEdges struct { // Rent591homeDetails holds the value of the rent591home_details edge. Rent591homeDetails []*Rent591HomeDetail `json:"rent591home_details,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailBreadcrumbEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailBreadcrumbEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeDetailBreadcrumbEdges) Rent591homeDetailsOrErr() ([]*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailBreadcrumbGroupBy ¶
type Rent591HomeDetailBreadcrumbGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbGroupBy is the group-by builder for Rent591HomeDetailBreadcrumb entities.
func (*Rent591HomeDetailBreadcrumbGroupBy) Aggregate ¶
func (rdbgb *Rent591HomeDetailBreadcrumbGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBreadcrumbGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailBreadcrumbGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbGroupBy) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbGroupBy) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbGroupBy) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbGroupBy) Scan ¶
func (rdbgb *Rent591HomeDetailBreadcrumbGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailBreadcrumbGroupBy) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailBreadcrumbMutation ¶
type Rent591HomeDetailBreadcrumbMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbMutation represents an operation that mutates the Rent591HomeDetailBreadcrumb nodes in the graph.
func (*Rent591HomeDetailBreadcrumbMutation) AddField ¶
func (m *Rent591HomeDetailBreadcrumbMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailBreadcrumbMutation) AddPostID ¶
func (m *Rent591HomeDetailBreadcrumbMutation) AddPostID(i int)
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailBreadcrumbMutation) AddRent591homeDetailIDs ¶
func (m *Rent591HomeDetailBreadcrumbMutation) AddRent591homeDetailIDs(ids ...int)
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by ids.
func (*Rent591HomeDetailBreadcrumbMutation) AddedEdges ¶
func (m *Rent591HomeDetailBreadcrumbMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) AddedField ¶
func (m *Rent591HomeDetailBreadcrumbMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailBreadcrumbMutation) AddedFields ¶
func (m *Rent591HomeDetailBreadcrumbMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) AddedIDs ¶
func (m *Rent591HomeDetailBreadcrumbMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) AddedPostID ¶
func (m *Rent591HomeDetailBreadcrumbMutation) AddedPostID() (r int, exists bool)
AddedPostID returns the value that was added to the "post_id" field in this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) ClearEdge ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailBreadcrumbMutation) ClearField ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailBreadcrumbMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBreadcrumbMutation) ClearedEdges ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) ClearedFields ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailBreadcrumbMutation) Client ¶
func (m Rent591HomeDetailBreadcrumbMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailBreadcrumbMutation) EdgeCleared ¶
func (m *Rent591HomeDetailBreadcrumbMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) Field ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailBreadcrumbMutation) FieldCleared ¶
func (m *Rent591HomeDetailBreadcrumbMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) Fields ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailBreadcrumbMutation) ID ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailBreadcrumbMutation) IDs ¶
func (m *Rent591HomeDetailBreadcrumbMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailBreadcrumbMutation) Link ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Link() (r string, exists bool)
Link returns the value of the "link" field in the mutation.
func (*Rent591HomeDetailBreadcrumbMutation) Name ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Name() (r string, exists bool)
Name returns the value of the "name" field in the mutation.
func (*Rent591HomeDetailBreadcrumbMutation) OldField ¶
func (m *Rent591HomeDetailBreadcrumbMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailBreadcrumbMutation) OldLink ¶
func (m *Rent591HomeDetailBreadcrumbMutation) OldLink(ctx context.Context) (v string, err error)
OldLink returns the old "link" field's value of the Rent591HomeDetailBreadcrumb entity. If the Rent591HomeDetailBreadcrumb object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailBreadcrumbMutation) OldName ¶
func (m *Rent591HomeDetailBreadcrumbMutation) OldName(ctx context.Context) (v string, err error)
OldName returns the old "name" field's value of the Rent591HomeDetailBreadcrumb entity. If the Rent591HomeDetailBreadcrumb object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailBreadcrumbMutation) OldPostID ¶
func (m *Rent591HomeDetailBreadcrumbMutation) OldPostID(ctx context.Context) (v int, err error)
OldPostID returns the old "post_id" field's value of the Rent591HomeDetailBreadcrumb entity. If the Rent591HomeDetailBreadcrumb object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailBreadcrumbMutation) OldQuery ¶
func (m *Rent591HomeDetailBreadcrumbMutation) OldQuery(ctx context.Context) (v string, err error)
OldQuery returns the old "query" field's value of the Rent591HomeDetailBreadcrumb entity. If the Rent591HomeDetailBreadcrumb object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailBreadcrumbMutation) Op ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailBreadcrumbMutation) PostID ¶
func (m *Rent591HomeDetailBreadcrumbMutation) PostID() (r int, exists bool)
PostID returns the value of the "post_id" field in the mutation.
func (*Rent591HomeDetailBreadcrumbMutation) Query ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Query() (r string, exists bool)
Query returns the value of the "query" field in the mutation.
func (*Rent591HomeDetailBreadcrumbMutation) RemoveRent591homeDetailIDs ¶
func (m *Rent591HomeDetailBreadcrumbMutation) RemoveRent591homeDetailIDs(ids ...int)
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailBreadcrumbMutation) RemovedEdges ¶
func (m *Rent591HomeDetailBreadcrumbMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) RemovedIDs ¶
func (m *Rent591HomeDetailBreadcrumbMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailBreadcrumbMutation) RemovedRent591homeDetailsIDs ¶
func (m *Rent591HomeDetailBreadcrumbMutation) RemovedRent591homeDetailsIDs() (ids []int)
RemovedRent591homeDetails returns the removed IDs of the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBreadcrumbMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeDetailBreadcrumbMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation.
func (*Rent591HomeDetailBreadcrumbMutation) ResetEdge ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailBreadcrumbMutation) ResetField ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailBreadcrumbMutation) ResetLink ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ResetLink()
ResetLink resets all changes to the "link" field.
func (*Rent591HomeDetailBreadcrumbMutation) ResetName ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ResetName()
ResetName resets all changes to the "name" field.
func (*Rent591HomeDetailBreadcrumbMutation) ResetPostID ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ResetPostID()
ResetPostID resets all changes to the "post_id" field.
func (*Rent591HomeDetailBreadcrumbMutation) ResetQuery ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ResetQuery()
ResetQuery resets all changes to the "query" field.
func (*Rent591HomeDetailBreadcrumbMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeDetailBreadcrumbMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeDetailBreadcrumbMutation) SetField ¶
func (m *Rent591HomeDetailBreadcrumbMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailBreadcrumbMutation) SetLink ¶
func (m *Rent591HomeDetailBreadcrumbMutation) SetLink(s string)
SetLink sets the "link" field.
func (*Rent591HomeDetailBreadcrumbMutation) SetName ¶
func (m *Rent591HomeDetailBreadcrumbMutation) SetName(s string)
SetName sets the "name" field.
func (*Rent591HomeDetailBreadcrumbMutation) SetOp ¶
func (m *Rent591HomeDetailBreadcrumbMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailBreadcrumbMutation) SetPostID ¶
func (m *Rent591HomeDetailBreadcrumbMutation) SetPostID(i int)
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailBreadcrumbMutation) SetQuery ¶
func (m *Rent591HomeDetailBreadcrumbMutation) SetQuery(s string)
SetQuery sets the "query" field.
func (Rent591HomeDetailBreadcrumbMutation) Tx ¶
func (m Rent591HomeDetailBreadcrumbMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailBreadcrumbMutation) Type ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailBreadcrumb).
func (*Rent591HomeDetailBreadcrumbMutation) Where ¶
func (m *Rent591HomeDetailBreadcrumbMutation) Where(ps ...predicate.Rent591HomeDetailBreadcrumb)
Where appends a list predicates to the Rent591HomeDetailBreadcrumbMutation builder.
func (*Rent591HomeDetailBreadcrumbMutation) WhereP ¶
func (m *Rent591HomeDetailBreadcrumbMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailBreadcrumbMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailBreadcrumbQuery ¶
type Rent591HomeDetailBreadcrumbQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbQuery is the builder for querying Rent591HomeDetailBreadcrumb entities.
func (*Rent591HomeDetailBreadcrumbQuery) Aggregate ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBreadcrumbSelect
Aggregate returns a Rent591HomeDetailBreadcrumbSelect configured with the given aggregations.
func (*Rent591HomeDetailBreadcrumbQuery) All ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) All(ctx context.Context) ([]*Rent591HomeDetailBreadcrumb, error)
All executes the query and returns a list of Rent591HomeDetailBreadcrumbs.
func (*Rent591HomeDetailBreadcrumbQuery) AllX ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) AllX(ctx context.Context) []*Rent591HomeDetailBreadcrumb
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbQuery) Clone ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Clone() *Rent591HomeDetailBreadcrumbQuery
Clone returns a duplicate of the Rent591HomeDetailBreadcrumbQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailBreadcrumbQuery) Count ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailBreadcrumbQuery) CountX ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbQuery) Exist ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailBreadcrumbQuery) ExistX ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbQuery) First ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) First(ctx context.Context) (*Rent591HomeDetailBreadcrumb, error)
First returns the first Rent591HomeDetailBreadcrumb entity from the query. Returns a *NotFoundError when no Rent591HomeDetailBreadcrumb was found.
func (*Rent591HomeDetailBreadcrumbQuery) FirstID ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailBreadcrumb ID from the query. Returns a *NotFoundError when no Rent591HomeDetailBreadcrumb ID was found.
func (*Rent591HomeDetailBreadcrumbQuery) FirstIDX ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbQuery) FirstX ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) FirstX(ctx context.Context) *Rent591HomeDetailBreadcrumb
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbQuery) GroupBy ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailBreadcrumbGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Name string `json:"name,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailBreadcrumb.Query(). GroupBy(rent591homedetailbreadcrumb.FieldName). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailBreadcrumbQuery) IDs ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailBreadcrumb IDs.
func (*Rent591HomeDetailBreadcrumbQuery) IDsX ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbQuery) Limit ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Limit(limit int) *Rent591HomeDetailBreadcrumbQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailBreadcrumbQuery) Offset ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Offset(offset int) *Rent591HomeDetailBreadcrumbQuery
Offset to start from.
func (*Rent591HomeDetailBreadcrumbQuery) Only ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Only(ctx context.Context) (*Rent591HomeDetailBreadcrumb, error)
Only returns a single Rent591HomeDetailBreadcrumb entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailBreadcrumb entity is found. Returns a *NotFoundError when no Rent591HomeDetailBreadcrumb entities are found.
func (*Rent591HomeDetailBreadcrumbQuery) OnlyID ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailBreadcrumb ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailBreadcrumb ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailBreadcrumbQuery) OnlyIDX ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbQuery) OnlyX ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) OnlyX(ctx context.Context) *Rent591HomeDetailBreadcrumb
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbQuery) Order ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Order(o ...rent591homedetailbreadcrumb.OrderOption) *Rent591HomeDetailBreadcrumbQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailBreadcrumbQuery) QueryRent591homeDetails ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeDetailBreadcrumbQuery) Select ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Select(fields ...string) *Rent591HomeDetailBreadcrumbSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Name string `json:"name,omitempty"` } client.Rent591HomeDetailBreadcrumb.Query(). Select(rent591homedetailbreadcrumb.FieldName). Scan(ctx, &v)
func (*Rent591HomeDetailBreadcrumbQuery) Unique ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Unique(unique bool) *Rent591HomeDetailBreadcrumbQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailBreadcrumbQuery) Where ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbQuery
Where adds a new predicate for the Rent591HomeDetailBreadcrumbQuery builder.
func (*Rent591HomeDetailBreadcrumbQuery) WithRent591homeDetails ¶
func (rdbq *Rent591HomeDetailBreadcrumbQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailBreadcrumbQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailBreadcrumbSelect ¶
type Rent591HomeDetailBreadcrumbSelect struct { *Rent591HomeDetailBreadcrumbQuery // contains filtered or unexported fields }
Rent591HomeDetailBreadcrumbSelect is the builder for selecting fields of Rent591HomeDetailBreadcrumb entities.
func (*Rent591HomeDetailBreadcrumbSelect) Aggregate ¶
func (rdbs *Rent591HomeDetailBreadcrumbSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBreadcrumbSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailBreadcrumbSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbSelect) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbSelect) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbSelect) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbSelect) Scan ¶
func (rdbs *Rent591HomeDetailBreadcrumbSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailBreadcrumbSelect) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBreadcrumbSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailBreadcrumbUpdate ¶
type Rent591HomeDetailBreadcrumbUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbUpdate is the builder for updating Rent591HomeDetailBreadcrumb entities.
func (*Rent591HomeDetailBreadcrumbUpdate) AddPostID ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) AddPostID(i int) *Rent591HomeDetailBreadcrumbUpdate
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpdate) AddRent591homeDetailIDs ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbUpdate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailBreadcrumbUpdate) AddRent591homeDetails ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbUpdate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBreadcrumbUpdate) ClearRent591homeDetails ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) ClearRent591homeDetails() *Rent591HomeDetailBreadcrumbUpdate
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBreadcrumbUpdate) Exec ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBreadcrumbUpdate) ExecX ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbUpdate) Mutation ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) Mutation() *Rent591HomeDetailBreadcrumbMutation
Mutation returns the Rent591HomeDetailBreadcrumbMutation object of the builder.
func (*Rent591HomeDetailBreadcrumbUpdate) RemoveRent591homeDetailIDs ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbUpdate
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailBreadcrumbUpdate) RemoveRent591homeDetails ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbUpdate
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailBreadcrumbUpdate) Save ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailBreadcrumbUpdate) SaveX ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbUpdate) SetLink ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SetLink(s string) *Rent591HomeDetailBreadcrumbUpdate
SetLink sets the "link" field.
func (*Rent591HomeDetailBreadcrumbUpdate) SetName ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SetName(s string) *Rent591HomeDetailBreadcrumbUpdate
SetName sets the "name" field.
func (*Rent591HomeDetailBreadcrumbUpdate) SetPostID ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SetPostID(i int) *Rent591HomeDetailBreadcrumbUpdate
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpdate) SetQuery ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) SetQuery(s string) *Rent591HomeDetailBreadcrumbUpdate
SetQuery sets the "query" field.
func (*Rent591HomeDetailBreadcrumbUpdate) Where ¶
func (rdbu *Rent591HomeDetailBreadcrumbUpdate) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbUpdate
Where appends a list predicates to the Rent591HomeDetailBreadcrumbUpdate builder.
type Rent591HomeDetailBreadcrumbUpdateOne ¶
type Rent591HomeDetailBreadcrumbUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbUpdateOne is the builder for updating a single Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailBreadcrumbUpdateOne) AddPostID ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) AddPostID(i int) *Rent591HomeDetailBreadcrumbUpdateOne
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpdateOne) AddRent591homeDetailIDs ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbUpdateOne
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailBreadcrumbUpdateOne) AddRent591homeDetails ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbUpdateOne
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBreadcrumbUpdateOne) ClearRent591homeDetails ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailBreadcrumbUpdateOne
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBreadcrumbUpdateOne) Exec ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailBreadcrumbUpdateOne) ExecX ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbUpdateOne) Mutation ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Mutation() *Rent591HomeDetailBreadcrumbMutation
Mutation returns the Rent591HomeDetailBreadcrumbMutation object of the builder.
func (*Rent591HomeDetailBreadcrumbUpdateOne) RemoveRent591homeDetailIDs ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBreadcrumbUpdateOne
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailBreadcrumbUpdateOne) RemoveRent591homeDetails ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBreadcrumbUpdateOne
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailBreadcrumbUpdateOne) Save ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailBreadcrumb, error)
Save executes the query and returns the updated Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailBreadcrumbUpdateOne) SaveX ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailBreadcrumb
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbUpdateOne) Select ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailBreadcrumbUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailBreadcrumbUpdateOne) SetLink ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SetLink(s string) *Rent591HomeDetailBreadcrumbUpdateOne
SetLink sets the "link" field.
func (*Rent591HomeDetailBreadcrumbUpdateOne) SetName ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SetName(s string) *Rent591HomeDetailBreadcrumbUpdateOne
SetName sets the "name" field.
func (*Rent591HomeDetailBreadcrumbUpdateOne) SetPostID ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SetPostID(i int) *Rent591HomeDetailBreadcrumbUpdateOne
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpdateOne) SetQuery ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) SetQuery(s string) *Rent591HomeDetailBreadcrumbUpdateOne
SetQuery sets the "query" field.
func (*Rent591HomeDetailBreadcrumbUpdateOne) Where ¶
func (rdbuo *Rent591HomeDetailBreadcrumbUpdateOne) Where(ps ...predicate.Rent591HomeDetailBreadcrumb) *Rent591HomeDetailBreadcrumbUpdateOne
Where appends a list predicates to the Rent591HomeDetailBreadcrumbUpdate builder.
type Rent591HomeDetailBreadcrumbUpsert ¶
Rent591HomeDetailBreadcrumbUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailBreadcrumbUpsert) AddPostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) AddPostID(v int) *Rent591HomeDetailBreadcrumbUpsert
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpsert) SetLink ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) SetLink(v string) *Rent591HomeDetailBreadcrumbUpsert
SetLink sets the "link" field.
func (*Rent591HomeDetailBreadcrumbUpsert) SetName ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) SetName(v string) *Rent591HomeDetailBreadcrumbUpsert
SetName sets the "name" field.
func (*Rent591HomeDetailBreadcrumbUpsert) SetPostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) SetPostID(v int) *Rent591HomeDetailBreadcrumbUpsert
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpsert) SetQuery ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) SetQuery(v string) *Rent591HomeDetailBreadcrumbUpsert
SetQuery sets the "query" field.
func (*Rent591HomeDetailBreadcrumbUpsert) UpdateLink ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) UpdateLink() *Rent591HomeDetailBreadcrumbUpsert
UpdateLink sets the "link" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsert) UpdateName ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) UpdateName() *Rent591HomeDetailBreadcrumbUpsert
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsert) UpdatePostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) UpdatePostID() *Rent591HomeDetailBreadcrumbUpsert
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsert) UpdateQuery ¶
func (u *Rent591HomeDetailBreadcrumbUpsert) UpdateQuery() *Rent591HomeDetailBreadcrumbUpsert
UpdateQuery sets the "query" field to the value that was provided on create.
type Rent591HomeDetailBreadcrumbUpsertBulk ¶
type Rent591HomeDetailBreadcrumbUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailBreadcrumb nodes.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) AddPostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) AddPostID(v int) *Rent591HomeDetailBreadcrumbUpsertBulk
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) DoNothing() *Rent591HomeDetailBreadcrumbUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) Exec ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) Ignore() *Rent591HomeDetailBreadcrumbUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailBreadcrumb.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailBreadcrumbUpsertBulk) SetLink ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) SetLink(v string) *Rent591HomeDetailBreadcrumbUpsertBulk
SetLink sets the "link" field.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) SetName ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) SetName(v string) *Rent591HomeDetailBreadcrumbUpsertBulk
SetName sets the "name" field.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) SetPostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) SetPostID(v int) *Rent591HomeDetailBreadcrumbUpsertBulk
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) SetQuery ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) SetQuery(v string) *Rent591HomeDetailBreadcrumbUpsertBulk
SetQuery sets the "query" field.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) Update ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) Update(set func(*Rent591HomeDetailBreadcrumbUpsert)) *Rent591HomeDetailBreadcrumbUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailBreadcrumbCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) UpdateLink ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdateLink() *Rent591HomeDetailBreadcrumbUpsertBulk
UpdateLink sets the "link" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) UpdateName ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdateName() *Rent591HomeDetailBreadcrumbUpsertBulk
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdateNewValues() *Rent591HomeDetailBreadcrumbUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailBreadcrumb.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailBreadcrumbUpsertBulk) UpdatePostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdatePostID() *Rent591HomeDetailBreadcrumbUpsertBulk
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsertBulk) UpdateQuery ¶
func (u *Rent591HomeDetailBreadcrumbUpsertBulk) UpdateQuery() *Rent591HomeDetailBreadcrumbUpsertBulk
UpdateQuery sets the "query" field to the value that was provided on create.
type Rent591HomeDetailBreadcrumbUpsertOne ¶
type Rent591HomeDetailBreadcrumbUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBreadcrumbUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailBreadcrumb node.
func (*Rent591HomeDetailBreadcrumbUpsertOne) AddPostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) AddPostID(v int) *Rent591HomeDetailBreadcrumbUpsertOne
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) DoNothing() *Rent591HomeDetailBreadcrumbUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailBreadcrumbUpsertOne) Exec ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBreadcrumbUpsertOne) ExecX ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbUpsertOne) ID ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailBreadcrumbUpsertOne) IDX ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailBreadcrumbUpsertOne) Ignore ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) Ignore() *Rent591HomeDetailBreadcrumbUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailBreadcrumb.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailBreadcrumbUpsertOne) SetLink ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) SetLink(v string) *Rent591HomeDetailBreadcrumbUpsertOne
SetLink sets the "link" field.
func (*Rent591HomeDetailBreadcrumbUpsertOne) SetName ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) SetName(v string) *Rent591HomeDetailBreadcrumbUpsertOne
SetName sets the "name" field.
func (*Rent591HomeDetailBreadcrumbUpsertOne) SetPostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) SetPostID(v int) *Rent591HomeDetailBreadcrumbUpsertOne
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailBreadcrumbUpsertOne) SetQuery ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) SetQuery(v string) *Rent591HomeDetailBreadcrumbUpsertOne
SetQuery sets the "query" field.
func (*Rent591HomeDetailBreadcrumbUpsertOne) Update ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) Update(set func(*Rent591HomeDetailBreadcrumbUpsert)) *Rent591HomeDetailBreadcrumbUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailBreadcrumbCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailBreadcrumbUpsertOne) UpdateLink ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdateLink() *Rent591HomeDetailBreadcrumbUpsertOne
UpdateLink sets the "link" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsertOne) UpdateName ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdateName() *Rent591HomeDetailBreadcrumbUpsertOne
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdateNewValues() *Rent591HomeDetailBreadcrumbUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailBreadcrumb.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailBreadcrumbUpsertOne) UpdatePostID ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdatePostID() *Rent591HomeDetailBreadcrumbUpsertOne
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailBreadcrumbUpsertOne) UpdateQuery ¶
func (u *Rent591HomeDetailBreadcrumbUpsertOne) UpdateQuery() *Rent591HomeDetailBreadcrumbUpsertOne
UpdateQuery sets the "query" field to the value that was provided on create.
type Rent591HomeDetailBreadcrumbs ¶
type Rent591HomeDetailBreadcrumbs []*Rent591HomeDetailBreadcrumb
Rent591HomeDetailBreadcrumbs is a parsable slice of Rent591HomeDetailBreadcrumb.
type Rent591HomeDetailBrowse ¶
type Rent591HomeDetailBrowse struct { // ID of the ent. ID int `json:"id,omitempty"` // Pc holds the value of the "pc" field. Pc int `json:"pc,omitempty"` // Mobile holds the value of the "mobile" field. Mobile int `json:"mobile,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailBrowseQuery when eager-loading is set. Edges Rent591HomeDetailBrowseEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetailBrowse is the model entity for the Rent591HomeDetailBrowse schema.
func (*Rent591HomeDetailBrowse) QueryRent591homeDetails ¶
func (rdb *Rent591HomeDetailBrowse) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailBrowse) String ¶
func (rdb *Rent591HomeDetailBrowse) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailBrowse) Unwrap ¶
func (rdb *Rent591HomeDetailBrowse) Unwrap() *Rent591HomeDetailBrowse
Unwrap unwraps the Rent591HomeDetailBrowse entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailBrowse) Update ¶
func (rdb *Rent591HomeDetailBrowse) Update() *Rent591HomeDetailBrowseUpdateOne
Update returns a builder for updating this Rent591HomeDetailBrowse. Note that you need to call Rent591HomeDetailBrowse.Unwrap() before calling this method if this Rent591HomeDetailBrowse was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailBrowseClient ¶
type Rent591HomeDetailBrowseClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseClient is a client for the Rent591HomeDetailBrowse schema.
func NewRent591HomeDetailBrowseClient ¶
func NewRent591HomeDetailBrowseClient(c config) *Rent591HomeDetailBrowseClient
NewRent591HomeDetailBrowseClient returns a client for the Rent591HomeDetailBrowse from the given config.
func (*Rent591HomeDetailBrowseClient) Create ¶
func (c *Rent591HomeDetailBrowseClient) Create() *Rent591HomeDetailBrowseCreate
Create returns a builder for creating a Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailBrowseClient) CreateBulk ¶
func (c *Rent591HomeDetailBrowseClient) CreateBulk(builders ...*Rent591HomeDetailBrowseCreate) *Rent591HomeDetailBrowseCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailBrowse entities.
func (*Rent591HomeDetailBrowseClient) Delete ¶
func (c *Rent591HomeDetailBrowseClient) Delete() *Rent591HomeDetailBrowseDelete
Delete returns a delete builder for Rent591HomeDetailBrowse.
func (*Rent591HomeDetailBrowseClient) DeleteOne ¶
func (c *Rent591HomeDetailBrowseClient) DeleteOne(rdb *Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailBrowseClient) DeleteOneID ¶
func (c *Rent591HomeDetailBrowseClient) DeleteOneID(id int) *Rent591HomeDetailBrowseDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailBrowseClient) Get ¶
func (c *Rent591HomeDetailBrowseClient) Get(ctx context.Context, id int) (*Rent591HomeDetailBrowse, error)
Get returns a Rent591HomeDetailBrowse entity by its id.
func (*Rent591HomeDetailBrowseClient) GetX ¶
func (c *Rent591HomeDetailBrowseClient) GetX(ctx context.Context, id int) *Rent591HomeDetailBrowse
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailBrowseClient) Hooks ¶
func (c *Rent591HomeDetailBrowseClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailBrowseClient) Intercept ¶
func (c *Rent591HomeDetailBrowseClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailbrowse.Intercept(f(g(h())))`.
func (*Rent591HomeDetailBrowseClient) Interceptors ¶
func (c *Rent591HomeDetailBrowseClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailBrowseClient) Query ¶
func (c *Rent591HomeDetailBrowseClient) Query() *Rent591HomeDetailBrowseQuery
Query returns a query builder for Rent591HomeDetailBrowse.
func (*Rent591HomeDetailBrowseClient) QueryRent591homeDetails ¶
func (c *Rent591HomeDetailBrowseClient) QueryRent591homeDetails(rdb *Rent591HomeDetailBrowse) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591HomeDetailBrowse.
func (*Rent591HomeDetailBrowseClient) Update ¶
func (c *Rent591HomeDetailBrowseClient) Update() *Rent591HomeDetailBrowseUpdate
Update returns an update builder for Rent591HomeDetailBrowse.
func (*Rent591HomeDetailBrowseClient) UpdateOne ¶
func (c *Rent591HomeDetailBrowseClient) UpdateOne(rdb *Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailBrowseClient) UpdateOneID ¶
func (c *Rent591HomeDetailBrowseClient) UpdateOneID(id int) *Rent591HomeDetailBrowseUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailBrowseClient) Use ¶
func (c *Rent591HomeDetailBrowseClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailbrowse.Hooks(f(g(h())))`.
type Rent591HomeDetailBrowseCreate ¶
type Rent591HomeDetailBrowseCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseCreate is the builder for creating a Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailBrowseCreate) AddRent591homeDetailIDs ¶
func (rdbc *Rent591HomeDetailBrowseCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseCreate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailBrowseCreate) AddRent591homeDetails ¶
func (rdbc *Rent591HomeDetailBrowseCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseCreate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBrowseCreate) Exec ¶
func (rdbc *Rent591HomeDetailBrowseCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBrowseCreate) ExecX ¶
func (rdbc *Rent591HomeDetailBrowseCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBrowseCreate) Mutation ¶
func (rdbc *Rent591HomeDetailBrowseCreate) Mutation() *Rent591HomeDetailBrowseMutation
Mutation returns the Rent591HomeDetailBrowseMutation object of the builder.
func (*Rent591HomeDetailBrowseCreate) OnConflict ¶
func (rdbc *Rent591HomeDetailBrowseCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailBrowseUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailBrowse.Create(). SetPc(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailBrowseUpsert) { SetPc(v+v). }). Exec(ctx)
func (*Rent591HomeDetailBrowseCreate) OnConflictColumns ¶
func (rdbc *Rent591HomeDetailBrowseCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailBrowseUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailBrowse.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailBrowseCreate) Save ¶
func (rdbc *Rent591HomeDetailBrowseCreate) Save(ctx context.Context) (*Rent591HomeDetailBrowse, error)
Save creates the Rent591HomeDetailBrowse in the database.
func (*Rent591HomeDetailBrowseCreate) SaveX ¶
func (rdbc *Rent591HomeDetailBrowseCreate) SaveX(ctx context.Context) *Rent591HomeDetailBrowse
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailBrowseCreate) SetMobile ¶
func (rdbc *Rent591HomeDetailBrowseCreate) SetMobile(i int) *Rent591HomeDetailBrowseCreate
SetMobile sets the "mobile" field.
func (*Rent591HomeDetailBrowseCreate) SetPc ¶
func (rdbc *Rent591HomeDetailBrowseCreate) SetPc(i int) *Rent591HomeDetailBrowseCreate
SetPc sets the "pc" field.
type Rent591HomeDetailBrowseCreateBulk ¶
type Rent591HomeDetailBrowseCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseCreateBulk is the builder for creating many Rent591HomeDetailBrowse entities in bulk.
func (*Rent591HomeDetailBrowseCreateBulk) Exec ¶
func (rdbcb *Rent591HomeDetailBrowseCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBrowseCreateBulk) ExecX ¶
func (rdbcb *Rent591HomeDetailBrowseCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBrowseCreateBulk) OnConflict ¶
func (rdbcb *Rent591HomeDetailBrowseCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailBrowseUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailBrowse.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailBrowseUpsert) { SetPc(v+v). }). Exec(ctx)
func (*Rent591HomeDetailBrowseCreateBulk) OnConflictColumns ¶
func (rdbcb *Rent591HomeDetailBrowseCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailBrowseUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailBrowse.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailBrowseCreateBulk) Save ¶
func (rdbcb *Rent591HomeDetailBrowseCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailBrowse, error)
Save creates the Rent591HomeDetailBrowse entities in the database.
func (*Rent591HomeDetailBrowseCreateBulk) SaveX ¶
func (rdbcb *Rent591HomeDetailBrowseCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailBrowse
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailBrowseDelete ¶
type Rent591HomeDetailBrowseDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseDelete is the builder for deleting a Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailBrowseDelete) Exec ¶
func (rdbd *Rent591HomeDetailBrowseDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailBrowseDelete) ExecX ¶
func (rdbd *Rent591HomeDetailBrowseDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBrowseDelete) Where ¶
func (rdbd *Rent591HomeDetailBrowseDelete) Where(ps ...predicate.Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseDelete
Where appends a list predicates to the Rent591HomeDetailBrowseDelete builder.
type Rent591HomeDetailBrowseDeleteOne ¶
type Rent591HomeDetailBrowseDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseDeleteOne is the builder for deleting a single Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailBrowseDeleteOne) Exec ¶
func (rdbdo *Rent591HomeDetailBrowseDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailBrowseDeleteOne) ExecX ¶
func (rdbdo *Rent591HomeDetailBrowseDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBrowseDeleteOne) Where ¶
func (rdbdo *Rent591HomeDetailBrowseDeleteOne) Where(ps ...predicate.Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseDeleteOne
Where appends a list predicates to the Rent591HomeDetailBrowseDelete builder.
type Rent591HomeDetailBrowseEdges ¶
type Rent591HomeDetailBrowseEdges struct { // Rent591homeDetails holds the value of the rent591home_details edge. Rent591homeDetails []*Rent591HomeDetail `json:"rent591home_details,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailBrowseEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailBrowseEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeDetailBrowseEdges) Rent591homeDetailsOrErr() ([]*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailBrowseGroupBy ¶
type Rent591HomeDetailBrowseGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseGroupBy is the group-by builder for Rent591HomeDetailBrowse entities.
func (*Rent591HomeDetailBrowseGroupBy) Aggregate ¶
func (rdbgb *Rent591HomeDetailBrowseGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBrowseGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailBrowseGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseGroupBy) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailBrowseGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailBrowseGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailBrowseGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseGroupBy) Scan ¶
func (rdbgb *Rent591HomeDetailBrowseGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailBrowseGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailBrowseMutation ¶
type Rent591HomeDetailBrowseMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseMutation represents an operation that mutates the Rent591HomeDetailBrowse nodes in the graph.
func (*Rent591HomeDetailBrowseMutation) AddField ¶
func (m *Rent591HomeDetailBrowseMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailBrowseMutation) AddMobile ¶
func (m *Rent591HomeDetailBrowseMutation) AddMobile(i int)
AddMobile adds i to the "mobile" field.
func (*Rent591HomeDetailBrowseMutation) AddPc ¶
func (m *Rent591HomeDetailBrowseMutation) AddPc(i int)
AddPc adds i to the "pc" field.
func (*Rent591HomeDetailBrowseMutation) AddRent591homeDetailIDs ¶
func (m *Rent591HomeDetailBrowseMutation) AddRent591homeDetailIDs(ids ...int)
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by ids.
func (*Rent591HomeDetailBrowseMutation) AddedEdges ¶
func (m *Rent591HomeDetailBrowseMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailBrowseMutation) AddedField ¶
func (m *Rent591HomeDetailBrowseMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailBrowseMutation) AddedFields ¶
func (m *Rent591HomeDetailBrowseMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailBrowseMutation) AddedIDs ¶
func (m *Rent591HomeDetailBrowseMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailBrowseMutation) AddedMobile ¶
func (m *Rent591HomeDetailBrowseMutation) AddedMobile() (r int, exists bool)
AddedMobile returns the value that was added to the "mobile" field in this mutation.
func (*Rent591HomeDetailBrowseMutation) AddedPc ¶
func (m *Rent591HomeDetailBrowseMutation) AddedPc() (r int, exists bool)
AddedPc returns the value that was added to the "pc" field in this mutation.
func (*Rent591HomeDetailBrowseMutation) ClearEdge ¶
func (m *Rent591HomeDetailBrowseMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailBrowseMutation) ClearField ¶
func (m *Rent591HomeDetailBrowseMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailBrowseMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeDetailBrowseMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBrowseMutation) ClearedEdges ¶
func (m *Rent591HomeDetailBrowseMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailBrowseMutation) ClearedFields ¶
func (m *Rent591HomeDetailBrowseMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailBrowseMutation) Client ¶
func (m Rent591HomeDetailBrowseMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailBrowseMutation) EdgeCleared ¶
func (m *Rent591HomeDetailBrowseMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailBrowseMutation) Field ¶
func (m *Rent591HomeDetailBrowseMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailBrowseMutation) FieldCleared ¶
func (m *Rent591HomeDetailBrowseMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailBrowseMutation) Fields ¶
func (m *Rent591HomeDetailBrowseMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailBrowseMutation) ID ¶
func (m *Rent591HomeDetailBrowseMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailBrowseMutation) IDs ¶
func (m *Rent591HomeDetailBrowseMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailBrowseMutation) Mobile ¶
func (m *Rent591HomeDetailBrowseMutation) Mobile() (r int, exists bool)
Mobile returns the value of the "mobile" field in the mutation.
func (*Rent591HomeDetailBrowseMutation) OldField ¶
func (m *Rent591HomeDetailBrowseMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailBrowseMutation) OldMobile ¶
func (m *Rent591HomeDetailBrowseMutation) OldMobile(ctx context.Context) (v int, err error)
OldMobile returns the old "mobile" field's value of the Rent591HomeDetailBrowse entity. If the Rent591HomeDetailBrowse object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailBrowseMutation) OldPc ¶
func (m *Rent591HomeDetailBrowseMutation) OldPc(ctx context.Context) (v int, err error)
OldPc returns the old "pc" field's value of the Rent591HomeDetailBrowse entity. If the Rent591HomeDetailBrowse object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailBrowseMutation) Op ¶
func (m *Rent591HomeDetailBrowseMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailBrowseMutation) Pc ¶
func (m *Rent591HomeDetailBrowseMutation) Pc() (r int, exists bool)
Pc returns the value of the "pc" field in the mutation.
func (*Rent591HomeDetailBrowseMutation) RemoveRent591homeDetailIDs ¶
func (m *Rent591HomeDetailBrowseMutation) RemoveRent591homeDetailIDs(ids ...int)
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailBrowseMutation) RemovedEdges ¶
func (m *Rent591HomeDetailBrowseMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailBrowseMutation) RemovedIDs ¶
func (m *Rent591HomeDetailBrowseMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailBrowseMutation) RemovedRent591homeDetailsIDs ¶
func (m *Rent591HomeDetailBrowseMutation) RemovedRent591homeDetailsIDs() (ids []int)
RemovedRent591homeDetails returns the removed IDs of the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBrowseMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeDetailBrowseMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeDetailBrowseMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeDetailBrowseMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation.
func (*Rent591HomeDetailBrowseMutation) ResetEdge ¶
func (m *Rent591HomeDetailBrowseMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailBrowseMutation) ResetField ¶
func (m *Rent591HomeDetailBrowseMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailBrowseMutation) ResetMobile ¶
func (m *Rent591HomeDetailBrowseMutation) ResetMobile()
ResetMobile resets all changes to the "mobile" field.
func (*Rent591HomeDetailBrowseMutation) ResetPc ¶
func (m *Rent591HomeDetailBrowseMutation) ResetPc()
ResetPc resets all changes to the "pc" field.
func (*Rent591HomeDetailBrowseMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeDetailBrowseMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeDetailBrowseMutation) SetField ¶
func (m *Rent591HomeDetailBrowseMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailBrowseMutation) SetMobile ¶
func (m *Rent591HomeDetailBrowseMutation) SetMobile(i int)
SetMobile sets the "mobile" field.
func (*Rent591HomeDetailBrowseMutation) SetOp ¶
func (m *Rent591HomeDetailBrowseMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailBrowseMutation) SetPc ¶
func (m *Rent591HomeDetailBrowseMutation) SetPc(i int)
SetPc sets the "pc" field.
func (Rent591HomeDetailBrowseMutation) Tx ¶
func (m Rent591HomeDetailBrowseMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailBrowseMutation) Type ¶
func (m *Rent591HomeDetailBrowseMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailBrowse).
func (*Rent591HomeDetailBrowseMutation) Where ¶
func (m *Rent591HomeDetailBrowseMutation) Where(ps ...predicate.Rent591HomeDetailBrowse)
Where appends a list predicates to the Rent591HomeDetailBrowseMutation builder.
func (*Rent591HomeDetailBrowseMutation) WhereP ¶
func (m *Rent591HomeDetailBrowseMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailBrowseMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailBrowseQuery ¶
type Rent591HomeDetailBrowseQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseQuery is the builder for querying Rent591HomeDetailBrowse entities.
func (*Rent591HomeDetailBrowseQuery) Aggregate ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBrowseSelect
Aggregate returns a Rent591HomeDetailBrowseSelect configured with the given aggregations.
func (*Rent591HomeDetailBrowseQuery) All ¶
func (rdbq *Rent591HomeDetailBrowseQuery) All(ctx context.Context) ([]*Rent591HomeDetailBrowse, error)
All executes the query and returns a list of Rent591HomeDetailBrowses.
func (*Rent591HomeDetailBrowseQuery) AllX ¶
func (rdbq *Rent591HomeDetailBrowseQuery) AllX(ctx context.Context) []*Rent591HomeDetailBrowse
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailBrowseQuery) Clone ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Clone() *Rent591HomeDetailBrowseQuery
Clone returns a duplicate of the Rent591HomeDetailBrowseQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailBrowseQuery) Count ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailBrowseQuery) CountX ¶
func (rdbq *Rent591HomeDetailBrowseQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailBrowseQuery) Exist ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailBrowseQuery) ExistX ¶
func (rdbq *Rent591HomeDetailBrowseQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailBrowseQuery) First ¶
func (rdbq *Rent591HomeDetailBrowseQuery) First(ctx context.Context) (*Rent591HomeDetailBrowse, error)
First returns the first Rent591HomeDetailBrowse entity from the query. Returns a *NotFoundError when no Rent591HomeDetailBrowse was found.
func (*Rent591HomeDetailBrowseQuery) FirstID ¶
func (rdbq *Rent591HomeDetailBrowseQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailBrowse ID from the query. Returns a *NotFoundError when no Rent591HomeDetailBrowse ID was found.
func (*Rent591HomeDetailBrowseQuery) FirstIDX ¶
func (rdbq *Rent591HomeDetailBrowseQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailBrowseQuery) FirstX ¶
func (rdbq *Rent591HomeDetailBrowseQuery) FirstX(ctx context.Context) *Rent591HomeDetailBrowse
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailBrowseQuery) GroupBy ¶
func (rdbq *Rent591HomeDetailBrowseQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailBrowseGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Pc int `json:"pc,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailBrowse.Query(). GroupBy(rent591homedetailbrowse.FieldPc). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailBrowseQuery) IDs ¶
func (rdbq *Rent591HomeDetailBrowseQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailBrowse IDs.
func (*Rent591HomeDetailBrowseQuery) IDsX ¶
func (rdbq *Rent591HomeDetailBrowseQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailBrowseQuery) Limit ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Limit(limit int) *Rent591HomeDetailBrowseQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailBrowseQuery) Offset ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Offset(offset int) *Rent591HomeDetailBrowseQuery
Offset to start from.
func (*Rent591HomeDetailBrowseQuery) Only ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Only(ctx context.Context) (*Rent591HomeDetailBrowse, error)
Only returns a single Rent591HomeDetailBrowse entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailBrowse entity is found. Returns a *NotFoundError when no Rent591HomeDetailBrowse entities are found.
func (*Rent591HomeDetailBrowseQuery) OnlyID ¶
func (rdbq *Rent591HomeDetailBrowseQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailBrowse ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailBrowse ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailBrowseQuery) OnlyIDX ¶
func (rdbq *Rent591HomeDetailBrowseQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailBrowseQuery) OnlyX ¶
func (rdbq *Rent591HomeDetailBrowseQuery) OnlyX(ctx context.Context) *Rent591HomeDetailBrowse
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailBrowseQuery) Order ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Order(o ...rent591homedetailbrowse.OrderOption) *Rent591HomeDetailBrowseQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailBrowseQuery) QueryRent591homeDetails ¶
func (rdbq *Rent591HomeDetailBrowseQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeDetailBrowseQuery) Select ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Select(fields ...string) *Rent591HomeDetailBrowseSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Pc int `json:"pc,omitempty"` } client.Rent591HomeDetailBrowse.Query(). Select(rent591homedetailbrowse.FieldPc). Scan(ctx, &v)
func (*Rent591HomeDetailBrowseQuery) Unique ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Unique(unique bool) *Rent591HomeDetailBrowseQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailBrowseQuery) Where ¶
func (rdbq *Rent591HomeDetailBrowseQuery) Where(ps ...predicate.Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseQuery
Where adds a new predicate for the Rent591HomeDetailBrowseQuery builder.
func (*Rent591HomeDetailBrowseQuery) WithRent591homeDetails ¶
func (rdbq *Rent591HomeDetailBrowseQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailBrowseQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailBrowseSelect ¶
type Rent591HomeDetailBrowseSelect struct { *Rent591HomeDetailBrowseQuery // contains filtered or unexported fields }
Rent591HomeDetailBrowseSelect is the builder for selecting fields of Rent591HomeDetailBrowse entities.
func (*Rent591HomeDetailBrowseSelect) Aggregate ¶
func (rdbs *Rent591HomeDetailBrowseSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailBrowseSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailBrowseSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailBrowseSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailBrowseSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseSelect) Scan ¶
func (rdbs *Rent591HomeDetailBrowseSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailBrowseSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailBrowseSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailBrowseUpdate ¶
type Rent591HomeDetailBrowseUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseUpdate is the builder for updating Rent591HomeDetailBrowse entities.
func (*Rent591HomeDetailBrowseUpdate) AddMobile ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) AddMobile(i int) *Rent591HomeDetailBrowseUpdate
AddMobile adds i to the "mobile" field.
func (*Rent591HomeDetailBrowseUpdate) AddPc ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) AddPc(i int) *Rent591HomeDetailBrowseUpdate
AddPc adds i to the "pc" field.
func (*Rent591HomeDetailBrowseUpdate) AddRent591homeDetailIDs ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseUpdate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailBrowseUpdate) AddRent591homeDetails ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseUpdate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBrowseUpdate) ClearRent591homeDetails ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) ClearRent591homeDetails() *Rent591HomeDetailBrowseUpdate
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBrowseUpdate) Exec ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBrowseUpdate) ExecX ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBrowseUpdate) Mutation ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) Mutation() *Rent591HomeDetailBrowseMutation
Mutation returns the Rent591HomeDetailBrowseMutation object of the builder.
func (*Rent591HomeDetailBrowseUpdate) RemoveRent591homeDetailIDs ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseUpdate
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailBrowseUpdate) RemoveRent591homeDetails ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseUpdate
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailBrowseUpdate) Save ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailBrowseUpdate) SaveX ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailBrowseUpdate) SetMobile ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) SetMobile(i int) *Rent591HomeDetailBrowseUpdate
SetMobile sets the "mobile" field.
func (*Rent591HomeDetailBrowseUpdate) SetPc ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) SetPc(i int) *Rent591HomeDetailBrowseUpdate
SetPc sets the "pc" field.
func (*Rent591HomeDetailBrowseUpdate) Where ¶
func (rdbu *Rent591HomeDetailBrowseUpdate) Where(ps ...predicate.Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseUpdate
Where appends a list predicates to the Rent591HomeDetailBrowseUpdate builder.
type Rent591HomeDetailBrowseUpdateOne ¶
type Rent591HomeDetailBrowseUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseUpdateOne is the builder for updating a single Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailBrowseUpdateOne) AddMobile ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) AddMobile(i int) *Rent591HomeDetailBrowseUpdateOne
AddMobile adds i to the "mobile" field.
func (*Rent591HomeDetailBrowseUpdateOne) AddPc ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) AddPc(i int) *Rent591HomeDetailBrowseUpdateOne
AddPc adds i to the "pc" field.
func (*Rent591HomeDetailBrowseUpdateOne) AddRent591homeDetailIDs ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseUpdateOne
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailBrowseUpdateOne) AddRent591homeDetails ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseUpdateOne
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBrowseUpdateOne) ClearRent591homeDetails ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailBrowseUpdateOne
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailBrowseUpdateOne) Exec ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailBrowseUpdateOne) ExecX ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBrowseUpdateOne) Mutation ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Mutation() *Rent591HomeDetailBrowseMutation
Mutation returns the Rent591HomeDetailBrowseMutation object of the builder.
func (*Rent591HomeDetailBrowseUpdateOne) RemoveRent591homeDetailIDs ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailBrowseUpdateOne
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailBrowseUpdateOne) RemoveRent591homeDetails ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailBrowseUpdateOne
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailBrowseUpdateOne) Save ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailBrowse, error)
Save executes the query and returns the updated Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailBrowseUpdateOne) SaveX ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailBrowse
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailBrowseUpdateOne) Select ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailBrowseUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailBrowseUpdateOne) SetMobile ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) SetMobile(i int) *Rent591HomeDetailBrowseUpdateOne
SetMobile sets the "mobile" field.
func (*Rent591HomeDetailBrowseUpdateOne) SetPc ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) SetPc(i int) *Rent591HomeDetailBrowseUpdateOne
SetPc sets the "pc" field.
func (*Rent591HomeDetailBrowseUpdateOne) Where ¶
func (rdbuo *Rent591HomeDetailBrowseUpdateOne) Where(ps ...predicate.Rent591HomeDetailBrowse) *Rent591HomeDetailBrowseUpdateOne
Where appends a list predicates to the Rent591HomeDetailBrowseUpdate builder.
type Rent591HomeDetailBrowseUpsert ¶
Rent591HomeDetailBrowseUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailBrowseUpsert) AddMobile ¶
func (u *Rent591HomeDetailBrowseUpsert) AddMobile(v int) *Rent591HomeDetailBrowseUpsert
AddMobile adds v to the "mobile" field.
func (*Rent591HomeDetailBrowseUpsert) AddPc ¶
func (u *Rent591HomeDetailBrowseUpsert) AddPc(v int) *Rent591HomeDetailBrowseUpsert
AddPc adds v to the "pc" field.
func (*Rent591HomeDetailBrowseUpsert) SetMobile ¶
func (u *Rent591HomeDetailBrowseUpsert) SetMobile(v int) *Rent591HomeDetailBrowseUpsert
SetMobile sets the "mobile" field.
func (*Rent591HomeDetailBrowseUpsert) SetPc ¶
func (u *Rent591HomeDetailBrowseUpsert) SetPc(v int) *Rent591HomeDetailBrowseUpsert
SetPc sets the "pc" field.
func (*Rent591HomeDetailBrowseUpsert) UpdateMobile ¶
func (u *Rent591HomeDetailBrowseUpsert) UpdateMobile() *Rent591HomeDetailBrowseUpsert
UpdateMobile sets the "mobile" field to the value that was provided on create.
func (*Rent591HomeDetailBrowseUpsert) UpdatePc ¶
func (u *Rent591HomeDetailBrowseUpsert) UpdatePc() *Rent591HomeDetailBrowseUpsert
UpdatePc sets the "pc" field to the value that was provided on create.
type Rent591HomeDetailBrowseUpsertBulk ¶
type Rent591HomeDetailBrowseUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailBrowse nodes.
func (*Rent591HomeDetailBrowseUpsertBulk) AddMobile ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) AddMobile(v int) *Rent591HomeDetailBrowseUpsertBulk
AddMobile adds v to the "mobile" field.
func (*Rent591HomeDetailBrowseUpsertBulk) AddPc ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) AddPc(v int) *Rent591HomeDetailBrowseUpsertBulk
AddPc adds v to the "pc" field.
func (*Rent591HomeDetailBrowseUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) DoNothing() *Rent591HomeDetailBrowseUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailBrowseUpsertBulk) Exec ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBrowseUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBrowseUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) Ignore() *Rent591HomeDetailBrowseUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailBrowse.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailBrowseUpsertBulk) SetMobile ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) SetMobile(v int) *Rent591HomeDetailBrowseUpsertBulk
SetMobile sets the "mobile" field.
func (*Rent591HomeDetailBrowseUpsertBulk) SetPc ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) SetPc(v int) *Rent591HomeDetailBrowseUpsertBulk
SetPc sets the "pc" field.
func (*Rent591HomeDetailBrowseUpsertBulk) Update ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) Update(set func(*Rent591HomeDetailBrowseUpsert)) *Rent591HomeDetailBrowseUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailBrowseCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailBrowseUpsertBulk) UpdateMobile ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) UpdateMobile() *Rent591HomeDetailBrowseUpsertBulk
UpdateMobile sets the "mobile" field to the value that was provided on create.
func (*Rent591HomeDetailBrowseUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) UpdateNewValues() *Rent591HomeDetailBrowseUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailBrowse.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailBrowseUpsertBulk) UpdatePc ¶
func (u *Rent591HomeDetailBrowseUpsertBulk) UpdatePc() *Rent591HomeDetailBrowseUpsertBulk
UpdatePc sets the "pc" field to the value that was provided on create.
type Rent591HomeDetailBrowseUpsertOne ¶
type Rent591HomeDetailBrowseUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailBrowseUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailBrowse node.
func (*Rent591HomeDetailBrowseUpsertOne) AddMobile ¶
func (u *Rent591HomeDetailBrowseUpsertOne) AddMobile(v int) *Rent591HomeDetailBrowseUpsertOne
AddMobile adds v to the "mobile" field.
func (*Rent591HomeDetailBrowseUpsertOne) AddPc ¶
func (u *Rent591HomeDetailBrowseUpsertOne) AddPc(v int) *Rent591HomeDetailBrowseUpsertOne
AddPc adds v to the "pc" field.
func (*Rent591HomeDetailBrowseUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailBrowseUpsertOne) DoNothing() *Rent591HomeDetailBrowseUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailBrowseUpsertOne) Exec ¶
func (u *Rent591HomeDetailBrowseUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailBrowseUpsertOne) ExecX ¶
func (u *Rent591HomeDetailBrowseUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailBrowseUpsertOne) ID ¶
func (u *Rent591HomeDetailBrowseUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailBrowseUpsertOne) IDX ¶
func (u *Rent591HomeDetailBrowseUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailBrowseUpsertOne) Ignore ¶
func (u *Rent591HomeDetailBrowseUpsertOne) Ignore() *Rent591HomeDetailBrowseUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailBrowse.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailBrowseUpsertOne) SetMobile ¶
func (u *Rent591HomeDetailBrowseUpsertOne) SetMobile(v int) *Rent591HomeDetailBrowseUpsertOne
SetMobile sets the "mobile" field.
func (*Rent591HomeDetailBrowseUpsertOne) SetPc ¶
func (u *Rent591HomeDetailBrowseUpsertOne) SetPc(v int) *Rent591HomeDetailBrowseUpsertOne
SetPc sets the "pc" field.
func (*Rent591HomeDetailBrowseUpsertOne) Update ¶
func (u *Rent591HomeDetailBrowseUpsertOne) Update(set func(*Rent591HomeDetailBrowseUpsert)) *Rent591HomeDetailBrowseUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailBrowseCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailBrowseUpsertOne) UpdateMobile ¶
func (u *Rent591HomeDetailBrowseUpsertOne) UpdateMobile() *Rent591HomeDetailBrowseUpsertOne
UpdateMobile sets the "mobile" field to the value that was provided on create.
func (*Rent591HomeDetailBrowseUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailBrowseUpsertOne) UpdateNewValues() *Rent591HomeDetailBrowseUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailBrowse.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailBrowseUpsertOne) UpdatePc ¶
func (u *Rent591HomeDetailBrowseUpsertOne) UpdatePc() *Rent591HomeDetailBrowseUpsertOne
UpdatePc sets the "pc" field to the value that was provided on create.
type Rent591HomeDetailBrowses ¶
type Rent591HomeDetailBrowses []*Rent591HomeDetailBrowse
Rent591HomeDetailBrowses is a parsable slice of Rent591HomeDetailBrowse.
type Rent591HomeDetailClient ¶
type Rent591HomeDetailClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailClient is a client for the Rent591HomeDetail schema.
func NewRent591HomeDetailClient ¶
func NewRent591HomeDetailClient(c config) *Rent591HomeDetailClient
NewRent591HomeDetailClient returns a client for the Rent591HomeDetail from the given config.
func (*Rent591HomeDetailClient) Create ¶
func (c *Rent591HomeDetailClient) Create() *Rent591HomeDetailCreate
Create returns a builder for creating a Rent591HomeDetail entity.
func (*Rent591HomeDetailClient) CreateBulk ¶
func (c *Rent591HomeDetailClient) CreateBulk(builders ...*Rent591HomeDetailCreate) *Rent591HomeDetailCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetail entities.
func (*Rent591HomeDetailClient) Delete ¶
func (c *Rent591HomeDetailClient) Delete() *Rent591HomeDetailDelete
Delete returns a delete builder for Rent591HomeDetail.
func (*Rent591HomeDetailClient) DeleteOne ¶
func (c *Rent591HomeDetailClient) DeleteOne(rd *Rent591HomeDetail) *Rent591HomeDetailDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailClient) DeleteOneID ¶
func (c *Rent591HomeDetailClient) DeleteOneID(id int) *Rent591HomeDetailDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailClient) Get ¶
func (c *Rent591HomeDetailClient) Get(ctx context.Context, id int) (*Rent591HomeDetail, error)
Get returns a Rent591HomeDetail entity by its id.
func (*Rent591HomeDetailClient) GetX ¶
func (c *Rent591HomeDetailClient) GetX(ctx context.Context, id int) *Rent591HomeDetail
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailClient) Hooks ¶
func (c *Rent591HomeDetailClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailClient) Intercept ¶
func (c *Rent591HomeDetailClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetail.Intercept(f(g(h())))`.
func (*Rent591HomeDetailClient) Interceptors ¶
func (c *Rent591HomeDetailClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailClient) Query ¶
func (c *Rent591HomeDetailClient) Query() *Rent591HomeDetailQuery
Query returns a query builder for Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homeDetailBreadcrumbs ¶
func (c *Rent591HomeDetailClient) QueryRent591homeDetailBreadcrumbs(rd *Rent591HomeDetail) *Rent591HomeDetailBreadcrumbQuery
QueryRent591homeDetailBreadcrumbs queries the rent591home_detail_breadcrumbs edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homeDetailBrowses ¶
func (c *Rent591HomeDetailClient) QueryRent591homeDetailBrowses(rd *Rent591HomeDetail) *Rent591HomeDetailBrowseQuery
QueryRent591homeDetailBrowses queries the rent591home_detail_browses edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homeDetailInfos ¶
func (c *Rent591HomeDetailClient) QueryRent591homeDetailInfos(rd *Rent591HomeDetail) *Rent591HomeDetailInfoQuery
QueryRent591homeDetailInfos queries the rent591home_detail_infos edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homeDetailNavdatas ¶
func (c *Rent591HomeDetailClient) QueryRent591homeDetailNavdatas(rd *Rent591HomeDetail) *Rent591HomeDetailNavDataQuery
QueryRent591homeDetailNavdatas queries the rent591home_detail_navdatas edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homeDetailPositionRounds ¶
func (c *Rent591HomeDetailClient) QueryRent591homeDetailPositionRounds(rd *Rent591HomeDetail) *Rent591HomeDetailPositionRoundQuery
QueryRent591homeDetailPositionRounds queries the rent591home_detail_position_rounds edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homeDetailPublishs ¶
func (c *Rent591HomeDetailClient) QueryRent591homeDetailPublishs(rd *Rent591HomeDetail) *Rent591HomeDetailPublishQuery
QueryRent591homeDetailPublishs queries the rent591home_detail_publishs edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homeDetailShareinfos ¶
func (c *Rent591HomeDetailClient) QueryRent591homeDetailShareinfos(rd *Rent591HomeDetail) *Rent591HomeDetailShareInfoQuery
QueryRent591homeDetailShareinfos queries the rent591home_detail_shareinfos edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homeDetailTags ¶
func (c *Rent591HomeDetailClient) QueryRent591homeDetailTags(rd *Rent591HomeDetail) *Rent591HomeDetailTagQuery
QueryRent591homeDetailTags queries the rent591home_detail_tags edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) QueryRent591homes ¶
func (c *Rent591HomeDetailClient) QueryRent591homes(rd *Rent591HomeDetail) *Rent591HomeQuery
QueryRent591homes queries the rent591homes edge of a Rent591HomeDetail.
func (*Rent591HomeDetailClient) Update ¶
func (c *Rent591HomeDetailClient) Update() *Rent591HomeDetailUpdate
Update returns an update builder for Rent591HomeDetail.
func (*Rent591HomeDetailClient) UpdateOne ¶
func (c *Rent591HomeDetailClient) UpdateOne(rd *Rent591HomeDetail) *Rent591HomeDetailUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailClient) UpdateOneID ¶
func (c *Rent591HomeDetailClient) UpdateOneID(id int) *Rent591HomeDetailUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailClient) Use ¶
func (c *Rent591HomeDetailClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetail.Hooks(f(g(h())))`.
type Rent591HomeDetailCreate ¶
type Rent591HomeDetailCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailCreate is the builder for creating a Rent591HomeDetail entity.
func (*Rent591HomeDetailCreate) AddRent591homeDetailBreadcrumbIDs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailCreate
AddRent591homeDetailBreadcrumbIDs adds the "rent591home_detail_breadcrumbs" edge to the Rent591HomeDetailBreadcrumb entity by IDs.
func (*Rent591HomeDetailCreate) AddRent591homeDetailBreadcrumbs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailCreate
AddRent591homeDetailBreadcrumbs adds the "rent591home_detail_breadcrumbs" edges to the Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailCreate) AddRent591homeDetailBrowseIDs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailCreate
AddRent591homeDetailBrowseIDs adds the "rent591home_detail_browses" edge to the Rent591HomeDetailBrowse entity by IDs.
func (*Rent591HomeDetailCreate) AddRent591homeDetailBrowses ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailCreate
AddRent591homeDetailBrowses adds the "rent591home_detail_browses" edges to the Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailCreate) AddRent591homeDetailInfoIDs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailCreate
AddRent591homeDetailInfoIDs adds the "rent591home_detail_infos" edge to the Rent591HomeDetailInfo entity by IDs.
func (*Rent591HomeDetailCreate) AddRent591homeDetailInfos ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailCreate
AddRent591homeDetailInfos adds the "rent591home_detail_infos" edges to the Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailCreate) AddRent591homeDetailNavdataIDs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailCreate
AddRent591homeDetailNavdataIDs adds the "rent591home_detail_navdatas" edge to the Rent591HomeDetailNavData entity by IDs.
func (*Rent591HomeDetailCreate) AddRent591homeDetailNavdatas ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailCreate
AddRent591homeDetailNavdatas adds the "rent591home_detail_navdatas" edges to the Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailCreate) AddRent591homeDetailPublishIDs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailCreate
AddRent591homeDetailPublishIDs adds the "rent591home_detail_publishs" edge to the Rent591HomeDetailPublish entity by IDs.
func (*Rent591HomeDetailCreate) AddRent591homeDetailPublishs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailCreate
AddRent591homeDetailPublishs adds the "rent591home_detail_publishs" edges to the Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailCreate) AddRent591homeDetailShareinfoIDs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailCreate
AddRent591homeDetailShareinfoIDs adds the "rent591home_detail_shareinfos" edge to the Rent591HomeDetailShareInfo entity by IDs.
func (*Rent591HomeDetailCreate) AddRent591homeDetailShareinfos ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailCreate
AddRent591homeDetailShareinfos adds the "rent591home_detail_shareinfos" edges to the Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailCreate) AddRent591homeDetailTagIDs ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailCreate
AddRent591homeDetailTagIDs adds the "rent591home_detail_tags" edge to the Rent591HomeDetailTag entity by IDs.
func (*Rent591HomeDetailCreate) AddRent591homeDetailTags ¶
func (rdc *Rent591HomeDetailCreate) AddRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailCreate
AddRent591homeDetailTags adds the "rent591home_detail_tags" edges to the Rent591HomeDetailTag entity.
func (*Rent591HomeDetailCreate) Exec ¶
func (rdc *Rent591HomeDetailCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailCreate) ExecX ¶
func (rdc *Rent591HomeDetailCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailCreate) Mutation ¶
func (rdc *Rent591HomeDetailCreate) Mutation() *Rent591HomeDetailMutation
Mutation returns the Rent591HomeDetailMutation object of the builder.
func (*Rent591HomeDetailCreate) OnConflict ¶
func (rdc *Rent591HomeDetailCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetail.Create(). SetTitle(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailUpsert) { SetTitle(v+v). }). Exec(ctx)
func (*Rent591HomeDetailCreate) OnConflictColumns ¶
func (rdc *Rent591HomeDetailCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetail.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailCreate) Save ¶
func (rdc *Rent591HomeDetailCreate) Save(ctx context.Context) (*Rent591HomeDetail, error)
Save creates the Rent591HomeDetail in the database.
func (*Rent591HomeDetailCreate) SaveX ¶
func (rdc *Rent591HomeDetailCreate) SaveX(ctx context.Context) *Rent591HomeDetail
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailCreate) SetCreatedAt ¶
func (rdc *Rent591HomeDetailCreate) SetCreatedAt(t time.Time) *Rent591HomeDetailCreate
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeDetailCreate) SetDealText ¶
func (rdc *Rent591HomeDetailCreate) SetDealText(s string) *Rent591HomeDetailCreate
SetDealText sets the "deal_text" field.
func (*Rent591HomeDetailCreate) SetDealTime ¶
func (rdc *Rent591HomeDetailCreate) SetDealTime(i int) *Rent591HomeDetailCreate
SetDealTime sets the "deal_time" field.
func (*Rent591HomeDetailCreate) SetDeposit ¶
func (rdc *Rent591HomeDetailCreate) SetDeposit(s string) *Rent591HomeDetailCreate
SetDeposit sets the "deposit" field.
func (*Rent591HomeDetailCreate) SetKind ¶
func (rdc *Rent591HomeDetailCreate) SetKind(i int) *Rent591HomeDetailCreate
SetKind sets the "kind" field.
func (*Rent591HomeDetailCreate) SetNillableCreatedAt ¶
func (rdc *Rent591HomeDetailCreate) SetNillableCreatedAt(t *time.Time) *Rent591HomeDetailCreate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeDetailCreate) SetNillableDealText ¶
func (rdc *Rent591HomeDetailCreate) SetNillableDealText(s *string) *Rent591HomeDetailCreate
SetNillableDealText sets the "deal_text" field if the given value is not nil.
func (*Rent591HomeDetailCreate) SetNillableRent591homeDetailPositionRoundsID ¶
func (rdc *Rent591HomeDetailCreate) SetNillableRent591homeDetailPositionRoundsID(id *int) *Rent591HomeDetailCreate
SetNillableRent591homeDetailPositionRoundsID sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by ID if the given value is not nil.
func (*Rent591HomeDetailCreate) SetNillableRent591homesID ¶
func (rdc *Rent591HomeDetailCreate) SetNillableRent591homesID(id *int) *Rent591HomeDetailCreate
SetNillableRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID if the given value is not nil.
func (*Rent591HomeDetailCreate) SetNillableUpdatedAt ¶
func (rdc *Rent591HomeDetailCreate) SetNillableUpdatedAt(t *time.Time) *Rent591HomeDetailCreate
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
func (*Rent591HomeDetailCreate) SetPrice ¶
func (rdc *Rent591HomeDetailCreate) SetPrice(i int) *Rent591HomeDetailCreate
SetPrice sets the "price" field.
func (*Rent591HomeDetailCreate) SetPriceUnit ¶
func (rdc *Rent591HomeDetailCreate) SetPriceUnit(s string) *Rent591HomeDetailCreate
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeDetailCreate) SetRegionID ¶
func (rdc *Rent591HomeDetailCreate) SetRegionID(i int) *Rent591HomeDetailCreate
SetRegionID sets the "region_id" field.
func (*Rent591HomeDetailCreate) SetRelieved ¶
func (rdc *Rent591HomeDetailCreate) SetRelieved(i int) *Rent591HomeDetailCreate
SetRelieved sets the "relieved" field.
func (*Rent591HomeDetailCreate) SetRent591homeDetailPositionRounds ¶
func (rdc *Rent591HomeDetailCreate) SetRent591homeDetailPositionRounds(r *Rent591HomeDetailPositionRound) *Rent591HomeDetailCreate
SetRent591homeDetailPositionRounds sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailCreate) SetRent591homeDetailPositionRoundsID ¶
func (rdc *Rent591HomeDetailCreate) SetRent591homeDetailPositionRoundsID(id int) *Rent591HomeDetailCreate
SetRent591homeDetailPositionRoundsID sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by ID.
func (*Rent591HomeDetailCreate) SetRent591homes ¶
func (rdc *Rent591HomeDetailCreate) SetRent591homes(r *Rent591Home) *Rent591HomeDetailCreate
SetRent591homes sets the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeDetailCreate) SetRent591homesID ¶
func (rdc *Rent591HomeDetailCreate) SetRent591homesID(id int) *Rent591HomeDetailCreate
SetRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID.
func (*Rent591HomeDetailCreate) SetSectionID ¶
func (rdc *Rent591HomeDetailCreate) SetSectionID(i int) *Rent591HomeDetailCreate
SetSectionID sets the "section_id" field.
func (*Rent591HomeDetailCreate) SetTitle ¶
func (rdc *Rent591HomeDetailCreate) SetTitle(s string) *Rent591HomeDetailCreate
SetTitle sets the "title" field.
func (*Rent591HomeDetailCreate) SetUpdatedAt ¶
func (rdc *Rent591HomeDetailCreate) SetUpdatedAt(t time.Time) *Rent591HomeDetailCreate
SetUpdatedAt sets the "updated_at" field.
type Rent591HomeDetailCreateBulk ¶
type Rent591HomeDetailCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailCreateBulk is the builder for creating many Rent591HomeDetail entities in bulk.
func (*Rent591HomeDetailCreateBulk) Exec ¶
func (rdcb *Rent591HomeDetailCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailCreateBulk) ExecX ¶
func (rdcb *Rent591HomeDetailCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailCreateBulk) OnConflict ¶
func (rdcb *Rent591HomeDetailCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetail.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailUpsert) { SetTitle(v+v). }). Exec(ctx)
func (*Rent591HomeDetailCreateBulk) OnConflictColumns ¶
func (rdcb *Rent591HomeDetailCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetail.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailCreateBulk) Save ¶
func (rdcb *Rent591HomeDetailCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetail, error)
Save creates the Rent591HomeDetail entities in the database.
func (*Rent591HomeDetailCreateBulk) SaveX ¶
func (rdcb *Rent591HomeDetailCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetail
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailDelete ¶
type Rent591HomeDetailDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailDelete is the builder for deleting a Rent591HomeDetail entity.
func (*Rent591HomeDetailDelete) Exec ¶
func (rdd *Rent591HomeDetailDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailDelete) ExecX ¶
func (rdd *Rent591HomeDetailDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailDelete) Where ¶
func (rdd *Rent591HomeDetailDelete) Where(ps ...predicate.Rent591HomeDetail) *Rent591HomeDetailDelete
Where appends a list predicates to the Rent591HomeDetailDelete builder.
type Rent591HomeDetailDeleteOne ¶
type Rent591HomeDetailDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailDeleteOne is the builder for deleting a single Rent591HomeDetail entity.
func (*Rent591HomeDetailDeleteOne) Exec ¶
func (rddo *Rent591HomeDetailDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailDeleteOne) ExecX ¶
func (rddo *Rent591HomeDetailDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailDeleteOne) Where ¶
func (rddo *Rent591HomeDetailDeleteOne) Where(ps ...predicate.Rent591HomeDetail) *Rent591HomeDetailDeleteOne
Where appends a list predicates to the Rent591HomeDetailDelete builder.
type Rent591HomeDetailEdges ¶
type Rent591HomeDetailEdges struct { // Rent591homes holds the value of the rent591homes edge. Rent591homes *Rent591Home `json:"rent591homes,omitempty"` // Rent591homeDetailBreadcrumbs holds the value of the rent591home_detail_breadcrumbs edge. Rent591homeDetailBreadcrumbs []*Rent591HomeDetailBreadcrumb `json:"rent591home_detail_breadcrumbs,omitempty"` Rent591homeDetailShareinfos []*Rent591HomeDetailShareInfo `json:"rent591home_detail_shareinfos,omitempty"` // Rent591homeDetailBrowses holds the value of the rent591home_detail_browses edge. Rent591homeDetailBrowses []*Rent591HomeDetailBrowse `json:"rent591home_detail_browses,omitempty"` // Rent591homeDetailTags holds the value of the rent591home_detail_tags edge. Rent591homeDetailTags []*Rent591HomeDetailTag `json:"rent591home_detail_tags,omitempty"` Rent591homeDetailNavdatas []*Rent591HomeDetailNavData `json:"rent591home_detail_navdatas,omitempty"` // Rent591homeDetailInfos holds the value of the rent591home_detail_infos edge. Rent591homeDetailInfos []*Rent591HomeDetailInfo `json:"rent591home_detail_infos,omitempty"` // Rent591homeDetailPublishs holds the value of the rent591home_detail_publishs edge. Rent591homeDetailPublishs []*Rent591HomeDetailPublish `json:"rent591home_detail_publishs,omitempty"` // Rent591homeDetailPositionRounds holds the value of the rent591home_detail_position_rounds edge. Rent591homeDetailPositionRounds *Rent591HomeDetailPositionRound `json:"rent591home_detail_position_rounds,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailEdges) Rent591homeDetailBreadcrumbsOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homeDetailBreadcrumbsOrErr() ([]*Rent591HomeDetailBreadcrumb, error)
Rent591homeDetailBreadcrumbsOrErr returns the Rent591homeDetailBreadcrumbs value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailEdges) Rent591homeDetailBrowsesOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homeDetailBrowsesOrErr() ([]*Rent591HomeDetailBrowse, error)
Rent591homeDetailBrowsesOrErr returns the Rent591homeDetailBrowses value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailEdges) Rent591homeDetailInfosOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homeDetailInfosOrErr() ([]*Rent591HomeDetailInfo, error)
Rent591homeDetailInfosOrErr returns the Rent591homeDetailInfos value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailEdges) Rent591homeDetailNavdatasOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homeDetailNavdatasOrErr() ([]*Rent591HomeDetailNavData, error)
Rent591homeDetailNavdatasOrErr returns the Rent591homeDetailNavdatas value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailEdges) Rent591homeDetailPositionRoundsOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homeDetailPositionRoundsOrErr() (*Rent591HomeDetailPositionRound, error)
Rent591homeDetailPositionRoundsOrErr returns the Rent591homeDetailPositionRounds value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
func (Rent591HomeDetailEdges) Rent591homeDetailPublishsOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homeDetailPublishsOrErr() ([]*Rent591HomeDetailPublish, error)
Rent591homeDetailPublishsOrErr returns the Rent591homeDetailPublishs value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailEdges) Rent591homeDetailShareinfosOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homeDetailShareinfosOrErr() ([]*Rent591HomeDetailShareInfo, error)
Rent591homeDetailShareinfosOrErr returns the Rent591homeDetailShareinfos value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailEdges) Rent591homeDetailTagsOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homeDetailTagsOrErr() ([]*Rent591HomeDetailTag, error)
Rent591homeDetailTagsOrErr returns the Rent591homeDetailTags value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailEdges) Rent591homesOrErr ¶
func (e Rent591HomeDetailEdges) Rent591homesOrErr() (*Rent591Home, error)
Rent591homesOrErr returns the Rent591homes value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
type Rent591HomeDetailGroupBy ¶
type Rent591HomeDetailGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailGroupBy is the group-by builder for Rent591HomeDetail entities.
func (*Rent591HomeDetailGroupBy) Aggregate ¶
func (rdgb *Rent591HomeDetailGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailGroupBy) Scan ¶
func (rdgb *Rent591HomeDetailGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type Rent591HomeDetailInfo ¶
type Rent591HomeDetailInfo struct { // ID of the ent. ID int `json:"id,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // Value holds the value of the "value" field. Value string `json:"value,omitempty"` // Key holds the value of the "key" field. Key int `json:"key,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailInfoQuery when eager-loading is set. Edges Rent591HomeDetailInfoEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetailInfo is the model entity for the Rent591HomeDetailInfo schema.
func (*Rent591HomeDetailInfo) GetValue ¶
func (rdi *Rent591HomeDetailInfo) GetValue(name string) (ent.Value, error)
GetValue returns the ent.Value that was dynamically selected and assigned to the Rent591HomeDetailInfo. This includes values selected through modifiers, order, etc.
func (*Rent591HomeDetailInfo) QueryRent591homeDetails ¶
func (rdi *Rent591HomeDetailInfo) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailInfo) String ¶
func (rdi *Rent591HomeDetailInfo) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailInfo) Unwrap ¶
func (rdi *Rent591HomeDetailInfo) Unwrap() *Rent591HomeDetailInfo
Unwrap unwraps the Rent591HomeDetailInfo entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailInfo) Update ¶
func (rdi *Rent591HomeDetailInfo) Update() *Rent591HomeDetailInfoUpdateOne
Update returns a builder for updating this Rent591HomeDetailInfo. Note that you need to call Rent591HomeDetailInfo.Unwrap() before calling this method if this Rent591HomeDetailInfo was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailInfoClient ¶
type Rent591HomeDetailInfoClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoClient is a client for the Rent591HomeDetailInfo schema.
func NewRent591HomeDetailInfoClient ¶
func NewRent591HomeDetailInfoClient(c config) *Rent591HomeDetailInfoClient
NewRent591HomeDetailInfoClient returns a client for the Rent591HomeDetailInfo from the given config.
func (*Rent591HomeDetailInfoClient) Create ¶
func (c *Rent591HomeDetailInfoClient) Create() *Rent591HomeDetailInfoCreate
Create returns a builder for creating a Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailInfoClient) CreateBulk ¶
func (c *Rent591HomeDetailInfoClient) CreateBulk(builders ...*Rent591HomeDetailInfoCreate) *Rent591HomeDetailInfoCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailInfo entities.
func (*Rent591HomeDetailInfoClient) Delete ¶
func (c *Rent591HomeDetailInfoClient) Delete() *Rent591HomeDetailInfoDelete
Delete returns a delete builder for Rent591HomeDetailInfo.
func (*Rent591HomeDetailInfoClient) DeleteOne ¶
func (c *Rent591HomeDetailInfoClient) DeleteOne(rdi *Rent591HomeDetailInfo) *Rent591HomeDetailInfoDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailInfoClient) DeleteOneID ¶
func (c *Rent591HomeDetailInfoClient) DeleteOneID(id int) *Rent591HomeDetailInfoDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailInfoClient) Get ¶
func (c *Rent591HomeDetailInfoClient) Get(ctx context.Context, id int) (*Rent591HomeDetailInfo, error)
Get returns a Rent591HomeDetailInfo entity by its id.
func (*Rent591HomeDetailInfoClient) GetX ¶
func (c *Rent591HomeDetailInfoClient) GetX(ctx context.Context, id int) *Rent591HomeDetailInfo
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailInfoClient) Hooks ¶
func (c *Rent591HomeDetailInfoClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailInfoClient) Intercept ¶
func (c *Rent591HomeDetailInfoClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailinfo.Intercept(f(g(h())))`.
func (*Rent591HomeDetailInfoClient) Interceptors ¶
func (c *Rent591HomeDetailInfoClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailInfoClient) Query ¶
func (c *Rent591HomeDetailInfoClient) Query() *Rent591HomeDetailInfoQuery
Query returns a query builder for Rent591HomeDetailInfo.
func (*Rent591HomeDetailInfoClient) QueryRent591homeDetails ¶
func (c *Rent591HomeDetailInfoClient) QueryRent591homeDetails(rdi *Rent591HomeDetailInfo) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591HomeDetailInfo.
func (*Rent591HomeDetailInfoClient) Update ¶
func (c *Rent591HomeDetailInfoClient) Update() *Rent591HomeDetailInfoUpdate
Update returns an update builder for Rent591HomeDetailInfo.
func (*Rent591HomeDetailInfoClient) UpdateOne ¶
func (c *Rent591HomeDetailInfoClient) UpdateOne(rdi *Rent591HomeDetailInfo) *Rent591HomeDetailInfoUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailInfoClient) UpdateOneID ¶
func (c *Rent591HomeDetailInfoClient) UpdateOneID(id int) *Rent591HomeDetailInfoUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailInfoClient) Use ¶
func (c *Rent591HomeDetailInfoClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailinfo.Hooks(f(g(h())))`.
type Rent591HomeDetailInfoCreate ¶
type Rent591HomeDetailInfoCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoCreate is the builder for creating a Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailInfoCreate) AddRent591homeDetailIDs ¶
func (rdic *Rent591HomeDetailInfoCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoCreate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailInfoCreate) AddRent591homeDetails ¶
func (rdic *Rent591HomeDetailInfoCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoCreate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailInfoCreate) Exec ¶
func (rdic *Rent591HomeDetailInfoCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailInfoCreate) ExecX ¶
func (rdic *Rent591HomeDetailInfoCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailInfoCreate) Mutation ¶
func (rdic *Rent591HomeDetailInfoCreate) Mutation() *Rent591HomeDetailInfoMutation
Mutation returns the Rent591HomeDetailInfoMutation object of the builder.
func (*Rent591HomeDetailInfoCreate) OnConflict ¶
func (rdic *Rent591HomeDetailInfoCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailInfoUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailInfo.Create(). SetName(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailInfoUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeDetailInfoCreate) OnConflictColumns ¶
func (rdic *Rent591HomeDetailInfoCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailInfoUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailInfo.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailInfoCreate) Save ¶
func (rdic *Rent591HomeDetailInfoCreate) Save(ctx context.Context) (*Rent591HomeDetailInfo, error)
Save creates the Rent591HomeDetailInfo in the database.
func (*Rent591HomeDetailInfoCreate) SaveX ¶
func (rdic *Rent591HomeDetailInfoCreate) SaveX(ctx context.Context) *Rent591HomeDetailInfo
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailInfoCreate) SetKey ¶
func (rdic *Rent591HomeDetailInfoCreate) SetKey(i int) *Rent591HomeDetailInfoCreate
SetKey sets the "key" field.
func (*Rent591HomeDetailInfoCreate) SetName ¶
func (rdic *Rent591HomeDetailInfoCreate) SetName(s string) *Rent591HomeDetailInfoCreate
SetName sets the "name" field.
func (*Rent591HomeDetailInfoCreate) SetValue ¶
func (rdic *Rent591HomeDetailInfoCreate) SetValue(s string) *Rent591HomeDetailInfoCreate
SetValue sets the "value" field.
type Rent591HomeDetailInfoCreateBulk ¶
type Rent591HomeDetailInfoCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoCreateBulk is the builder for creating many Rent591HomeDetailInfo entities in bulk.
func (*Rent591HomeDetailInfoCreateBulk) Exec ¶
func (rdicb *Rent591HomeDetailInfoCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailInfoCreateBulk) ExecX ¶
func (rdicb *Rent591HomeDetailInfoCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailInfoCreateBulk) OnConflict ¶
func (rdicb *Rent591HomeDetailInfoCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailInfoUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailInfo.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailInfoUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeDetailInfoCreateBulk) OnConflictColumns ¶
func (rdicb *Rent591HomeDetailInfoCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailInfoUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailInfo.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailInfoCreateBulk) Save ¶
func (rdicb *Rent591HomeDetailInfoCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailInfo, error)
Save creates the Rent591HomeDetailInfo entities in the database.
func (*Rent591HomeDetailInfoCreateBulk) SaveX ¶
func (rdicb *Rent591HomeDetailInfoCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailInfo
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailInfoDelete ¶
type Rent591HomeDetailInfoDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoDelete is the builder for deleting a Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailInfoDelete) Exec ¶
func (rdid *Rent591HomeDetailInfoDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailInfoDelete) ExecX ¶
func (rdid *Rent591HomeDetailInfoDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailInfoDelete) Where ¶
func (rdid *Rent591HomeDetailInfoDelete) Where(ps ...predicate.Rent591HomeDetailInfo) *Rent591HomeDetailInfoDelete
Where appends a list predicates to the Rent591HomeDetailInfoDelete builder.
type Rent591HomeDetailInfoDeleteOne ¶
type Rent591HomeDetailInfoDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoDeleteOne is the builder for deleting a single Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailInfoDeleteOne) Exec ¶
func (rdido *Rent591HomeDetailInfoDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailInfoDeleteOne) ExecX ¶
func (rdido *Rent591HomeDetailInfoDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailInfoDeleteOne) Where ¶
func (rdido *Rent591HomeDetailInfoDeleteOne) Where(ps ...predicate.Rent591HomeDetailInfo) *Rent591HomeDetailInfoDeleteOne
Where appends a list predicates to the Rent591HomeDetailInfoDelete builder.
type Rent591HomeDetailInfoEdges ¶
type Rent591HomeDetailInfoEdges struct { // Rent591homeDetails holds the value of the rent591home_details edge. Rent591homeDetails []*Rent591HomeDetail `json:"rent591home_details,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailInfoEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailInfoEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeDetailInfoEdges) Rent591homeDetailsOrErr() ([]*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailInfoGroupBy ¶
type Rent591HomeDetailInfoGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoGroupBy is the group-by builder for Rent591HomeDetailInfo entities.
func (*Rent591HomeDetailInfoGroupBy) Aggregate ¶
func (rdigb *Rent591HomeDetailInfoGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailInfoGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailInfoGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailInfoGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailInfoGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoGroupBy) Scan ¶
func (rdigb *Rent591HomeDetailInfoGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailInfoGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailInfoMutation ¶
type Rent591HomeDetailInfoMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoMutation represents an operation that mutates the Rent591HomeDetailInfo nodes in the graph.
func (*Rent591HomeDetailInfoMutation) AddField ¶
func (m *Rent591HomeDetailInfoMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailInfoMutation) AddKey ¶
func (m *Rent591HomeDetailInfoMutation) AddKey(i int)
AddKey adds i to the "key" field.
func (*Rent591HomeDetailInfoMutation) AddRent591homeDetailIDs ¶
func (m *Rent591HomeDetailInfoMutation) AddRent591homeDetailIDs(ids ...int)
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by ids.
func (*Rent591HomeDetailInfoMutation) AddedEdges ¶
func (m *Rent591HomeDetailInfoMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailInfoMutation) AddedField ¶
func (m *Rent591HomeDetailInfoMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailInfoMutation) AddedFields ¶
func (m *Rent591HomeDetailInfoMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailInfoMutation) AddedIDs ¶
func (m *Rent591HomeDetailInfoMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailInfoMutation) AddedKey ¶
func (m *Rent591HomeDetailInfoMutation) AddedKey() (r int, exists bool)
AddedKey returns the value that was added to the "key" field in this mutation.
func (*Rent591HomeDetailInfoMutation) ClearEdge ¶
func (m *Rent591HomeDetailInfoMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailInfoMutation) ClearField ¶
func (m *Rent591HomeDetailInfoMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailInfoMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeDetailInfoMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailInfoMutation) ClearedEdges ¶
func (m *Rent591HomeDetailInfoMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailInfoMutation) ClearedFields ¶
func (m *Rent591HomeDetailInfoMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailInfoMutation) Client ¶
func (m Rent591HomeDetailInfoMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailInfoMutation) EdgeCleared ¶
func (m *Rent591HomeDetailInfoMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailInfoMutation) Field ¶
func (m *Rent591HomeDetailInfoMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailInfoMutation) FieldCleared ¶
func (m *Rent591HomeDetailInfoMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailInfoMutation) Fields ¶
func (m *Rent591HomeDetailInfoMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailInfoMutation) ID ¶
func (m *Rent591HomeDetailInfoMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailInfoMutation) IDs ¶
func (m *Rent591HomeDetailInfoMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailInfoMutation) Key ¶
func (m *Rent591HomeDetailInfoMutation) Key() (r int, exists bool)
Key returns the value of the "key" field in the mutation.
func (*Rent591HomeDetailInfoMutation) Name ¶
func (m *Rent591HomeDetailInfoMutation) Name() (r string, exists bool)
Name returns the value of the "name" field in the mutation.
func (*Rent591HomeDetailInfoMutation) OldField ¶
func (m *Rent591HomeDetailInfoMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailInfoMutation) OldKey ¶
func (m *Rent591HomeDetailInfoMutation) OldKey(ctx context.Context) (v int, err error)
OldKey returns the old "key" field's value of the Rent591HomeDetailInfo entity. If the Rent591HomeDetailInfo object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailInfoMutation) OldName ¶
func (m *Rent591HomeDetailInfoMutation) OldName(ctx context.Context) (v string, err error)
OldName returns the old "name" field's value of the Rent591HomeDetailInfo entity. If the Rent591HomeDetailInfo object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailInfoMutation) OldValue ¶
func (m *Rent591HomeDetailInfoMutation) OldValue(ctx context.Context) (v string, err error)
OldValue returns the old "value" field's value of the Rent591HomeDetailInfo entity. If the Rent591HomeDetailInfo object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailInfoMutation) Op ¶
func (m *Rent591HomeDetailInfoMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailInfoMutation) RemoveRent591homeDetailIDs ¶
func (m *Rent591HomeDetailInfoMutation) RemoveRent591homeDetailIDs(ids ...int)
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailInfoMutation) RemovedEdges ¶
func (m *Rent591HomeDetailInfoMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailInfoMutation) RemovedIDs ¶
func (m *Rent591HomeDetailInfoMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailInfoMutation) RemovedRent591homeDetailsIDs ¶
func (m *Rent591HomeDetailInfoMutation) RemovedRent591homeDetailsIDs() (ids []int)
RemovedRent591homeDetails returns the removed IDs of the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailInfoMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeDetailInfoMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeDetailInfoMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeDetailInfoMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation.
func (*Rent591HomeDetailInfoMutation) ResetEdge ¶
func (m *Rent591HomeDetailInfoMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailInfoMutation) ResetField ¶
func (m *Rent591HomeDetailInfoMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailInfoMutation) ResetKey ¶
func (m *Rent591HomeDetailInfoMutation) ResetKey()
ResetKey resets all changes to the "key" field.
func (*Rent591HomeDetailInfoMutation) ResetName ¶
func (m *Rent591HomeDetailInfoMutation) ResetName()
ResetName resets all changes to the "name" field.
func (*Rent591HomeDetailInfoMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeDetailInfoMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeDetailInfoMutation) ResetValue ¶
func (m *Rent591HomeDetailInfoMutation) ResetValue()
ResetValue resets all changes to the "value" field.
func (*Rent591HomeDetailInfoMutation) SetField ¶
func (m *Rent591HomeDetailInfoMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailInfoMutation) SetKey ¶
func (m *Rent591HomeDetailInfoMutation) SetKey(i int)
SetKey sets the "key" field.
func (*Rent591HomeDetailInfoMutation) SetName ¶
func (m *Rent591HomeDetailInfoMutation) SetName(s string)
SetName sets the "name" field.
func (*Rent591HomeDetailInfoMutation) SetOp ¶
func (m *Rent591HomeDetailInfoMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailInfoMutation) SetValue ¶
func (m *Rent591HomeDetailInfoMutation) SetValue(s string)
SetValue sets the "value" field.
func (Rent591HomeDetailInfoMutation) Tx ¶
func (m Rent591HomeDetailInfoMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailInfoMutation) Type ¶
func (m *Rent591HomeDetailInfoMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailInfo).
func (*Rent591HomeDetailInfoMutation) Value ¶
func (m *Rent591HomeDetailInfoMutation) Value() (r string, exists bool)
Value returns the value of the "value" field in the mutation.
func (*Rent591HomeDetailInfoMutation) Where ¶
func (m *Rent591HomeDetailInfoMutation) Where(ps ...predicate.Rent591HomeDetailInfo)
Where appends a list predicates to the Rent591HomeDetailInfoMutation builder.
func (*Rent591HomeDetailInfoMutation) WhereP ¶
func (m *Rent591HomeDetailInfoMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailInfoMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailInfoQuery ¶
type Rent591HomeDetailInfoQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoQuery is the builder for querying Rent591HomeDetailInfo entities.
func (*Rent591HomeDetailInfoQuery) Aggregate ¶
func (rdiq *Rent591HomeDetailInfoQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailInfoSelect
Aggregate returns a Rent591HomeDetailInfoSelect configured with the given aggregations.
func (*Rent591HomeDetailInfoQuery) All ¶
func (rdiq *Rent591HomeDetailInfoQuery) All(ctx context.Context) ([]*Rent591HomeDetailInfo, error)
All executes the query and returns a list of Rent591HomeDetailInfos.
func (*Rent591HomeDetailInfoQuery) AllX ¶
func (rdiq *Rent591HomeDetailInfoQuery) AllX(ctx context.Context) []*Rent591HomeDetailInfo
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailInfoQuery) Clone ¶
func (rdiq *Rent591HomeDetailInfoQuery) Clone() *Rent591HomeDetailInfoQuery
Clone returns a duplicate of the Rent591HomeDetailInfoQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailInfoQuery) Count ¶
func (rdiq *Rent591HomeDetailInfoQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailInfoQuery) CountX ¶
func (rdiq *Rent591HomeDetailInfoQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailInfoQuery) Exist ¶
func (rdiq *Rent591HomeDetailInfoQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailInfoQuery) ExistX ¶
func (rdiq *Rent591HomeDetailInfoQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailInfoQuery) First ¶
func (rdiq *Rent591HomeDetailInfoQuery) First(ctx context.Context) (*Rent591HomeDetailInfo, error)
First returns the first Rent591HomeDetailInfo entity from the query. Returns a *NotFoundError when no Rent591HomeDetailInfo was found.
func (*Rent591HomeDetailInfoQuery) FirstID ¶
func (rdiq *Rent591HomeDetailInfoQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailInfo ID from the query. Returns a *NotFoundError when no Rent591HomeDetailInfo ID was found.
func (*Rent591HomeDetailInfoQuery) FirstIDX ¶
func (rdiq *Rent591HomeDetailInfoQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailInfoQuery) FirstX ¶
func (rdiq *Rent591HomeDetailInfoQuery) FirstX(ctx context.Context) *Rent591HomeDetailInfo
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailInfoQuery) GroupBy ¶
func (rdiq *Rent591HomeDetailInfoQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailInfoGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Name string `json:"name,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailInfo.Query(). GroupBy(rent591homedetailinfo.FieldName). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailInfoQuery) IDs ¶
func (rdiq *Rent591HomeDetailInfoQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailInfo IDs.
func (*Rent591HomeDetailInfoQuery) IDsX ¶
func (rdiq *Rent591HomeDetailInfoQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailInfoQuery) Limit ¶
func (rdiq *Rent591HomeDetailInfoQuery) Limit(limit int) *Rent591HomeDetailInfoQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailInfoQuery) Offset ¶
func (rdiq *Rent591HomeDetailInfoQuery) Offset(offset int) *Rent591HomeDetailInfoQuery
Offset to start from.
func (*Rent591HomeDetailInfoQuery) Only ¶
func (rdiq *Rent591HomeDetailInfoQuery) Only(ctx context.Context) (*Rent591HomeDetailInfo, error)
Only returns a single Rent591HomeDetailInfo entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailInfo entity is found. Returns a *NotFoundError when no Rent591HomeDetailInfo entities are found.
func (*Rent591HomeDetailInfoQuery) OnlyID ¶
func (rdiq *Rent591HomeDetailInfoQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailInfo ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailInfo ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailInfoQuery) OnlyIDX ¶
func (rdiq *Rent591HomeDetailInfoQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailInfoQuery) OnlyX ¶
func (rdiq *Rent591HomeDetailInfoQuery) OnlyX(ctx context.Context) *Rent591HomeDetailInfo
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailInfoQuery) Order ¶
func (rdiq *Rent591HomeDetailInfoQuery) Order(o ...rent591homedetailinfo.OrderOption) *Rent591HomeDetailInfoQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailInfoQuery) QueryRent591homeDetails ¶
func (rdiq *Rent591HomeDetailInfoQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeDetailInfoQuery) Select ¶
func (rdiq *Rent591HomeDetailInfoQuery) Select(fields ...string) *Rent591HomeDetailInfoSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Name string `json:"name,omitempty"` } client.Rent591HomeDetailInfo.Query(). Select(rent591homedetailinfo.FieldName). Scan(ctx, &v)
func (*Rent591HomeDetailInfoQuery) Unique ¶
func (rdiq *Rent591HomeDetailInfoQuery) Unique(unique bool) *Rent591HomeDetailInfoQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailInfoQuery) Where ¶
func (rdiq *Rent591HomeDetailInfoQuery) Where(ps ...predicate.Rent591HomeDetailInfo) *Rent591HomeDetailInfoQuery
Where adds a new predicate for the Rent591HomeDetailInfoQuery builder.
func (*Rent591HomeDetailInfoQuery) WithRent591homeDetails ¶
func (rdiq *Rent591HomeDetailInfoQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailInfoQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailInfoSelect ¶
type Rent591HomeDetailInfoSelect struct { *Rent591HomeDetailInfoQuery // contains filtered or unexported fields }
Rent591HomeDetailInfoSelect is the builder for selecting fields of Rent591HomeDetailInfo entities.
func (*Rent591HomeDetailInfoSelect) Aggregate ¶
func (rdis *Rent591HomeDetailInfoSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailInfoSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailInfoSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailInfoSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailInfoSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoSelect) Scan ¶
func (rdis *Rent591HomeDetailInfoSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailInfoSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailInfoSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailInfoUpdate ¶
type Rent591HomeDetailInfoUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoUpdate is the builder for updating Rent591HomeDetailInfo entities.
func (*Rent591HomeDetailInfoUpdate) AddKey ¶
func (rdiu *Rent591HomeDetailInfoUpdate) AddKey(i int) *Rent591HomeDetailInfoUpdate
AddKey adds i to the "key" field.
func (*Rent591HomeDetailInfoUpdate) AddRent591homeDetailIDs ¶
func (rdiu *Rent591HomeDetailInfoUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoUpdate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailInfoUpdate) AddRent591homeDetails ¶
func (rdiu *Rent591HomeDetailInfoUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoUpdate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailInfoUpdate) ClearRent591homeDetails ¶
func (rdiu *Rent591HomeDetailInfoUpdate) ClearRent591homeDetails() *Rent591HomeDetailInfoUpdate
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailInfoUpdate) Exec ¶
func (rdiu *Rent591HomeDetailInfoUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailInfoUpdate) ExecX ¶
func (rdiu *Rent591HomeDetailInfoUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailInfoUpdate) Mutation ¶
func (rdiu *Rent591HomeDetailInfoUpdate) Mutation() *Rent591HomeDetailInfoMutation
Mutation returns the Rent591HomeDetailInfoMutation object of the builder.
func (*Rent591HomeDetailInfoUpdate) RemoveRent591homeDetailIDs ¶
func (rdiu *Rent591HomeDetailInfoUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoUpdate
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailInfoUpdate) RemoveRent591homeDetails ¶
func (rdiu *Rent591HomeDetailInfoUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoUpdate
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailInfoUpdate) Save ¶
func (rdiu *Rent591HomeDetailInfoUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailInfoUpdate) SaveX ¶
func (rdiu *Rent591HomeDetailInfoUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailInfoUpdate) SetKey ¶
func (rdiu *Rent591HomeDetailInfoUpdate) SetKey(i int) *Rent591HomeDetailInfoUpdate
SetKey sets the "key" field.
func (*Rent591HomeDetailInfoUpdate) SetName ¶
func (rdiu *Rent591HomeDetailInfoUpdate) SetName(s string) *Rent591HomeDetailInfoUpdate
SetName sets the "name" field.
func (*Rent591HomeDetailInfoUpdate) SetValue ¶
func (rdiu *Rent591HomeDetailInfoUpdate) SetValue(s string) *Rent591HomeDetailInfoUpdate
SetValue sets the "value" field.
func (*Rent591HomeDetailInfoUpdate) Where ¶
func (rdiu *Rent591HomeDetailInfoUpdate) Where(ps ...predicate.Rent591HomeDetailInfo) *Rent591HomeDetailInfoUpdate
Where appends a list predicates to the Rent591HomeDetailInfoUpdate builder.
type Rent591HomeDetailInfoUpdateOne ¶
type Rent591HomeDetailInfoUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoUpdateOne is the builder for updating a single Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailInfoUpdateOne) AddKey ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) AddKey(i int) *Rent591HomeDetailInfoUpdateOne
AddKey adds i to the "key" field.
func (*Rent591HomeDetailInfoUpdateOne) AddRent591homeDetailIDs ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoUpdateOne
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailInfoUpdateOne) AddRent591homeDetails ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoUpdateOne
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailInfoUpdateOne) ClearRent591homeDetails ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailInfoUpdateOne
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailInfoUpdateOne) Exec ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailInfoUpdateOne) ExecX ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailInfoUpdateOne) Mutation ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) Mutation() *Rent591HomeDetailInfoMutation
Mutation returns the Rent591HomeDetailInfoMutation object of the builder.
func (*Rent591HomeDetailInfoUpdateOne) RemoveRent591homeDetailIDs ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailInfoUpdateOne
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailInfoUpdateOne) RemoveRent591homeDetails ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailInfoUpdateOne
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailInfoUpdateOne) Save ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailInfo, error)
Save executes the query and returns the updated Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailInfoUpdateOne) SaveX ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailInfo
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailInfoUpdateOne) Select ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailInfoUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailInfoUpdateOne) SetKey ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) SetKey(i int) *Rent591HomeDetailInfoUpdateOne
SetKey sets the "key" field.
func (*Rent591HomeDetailInfoUpdateOne) SetName ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) SetName(s string) *Rent591HomeDetailInfoUpdateOne
SetName sets the "name" field.
func (*Rent591HomeDetailInfoUpdateOne) SetValue ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) SetValue(s string) *Rent591HomeDetailInfoUpdateOne
SetValue sets the "value" field.
func (*Rent591HomeDetailInfoUpdateOne) Where ¶
func (rdiuo *Rent591HomeDetailInfoUpdateOne) Where(ps ...predicate.Rent591HomeDetailInfo) *Rent591HomeDetailInfoUpdateOne
Where appends a list predicates to the Rent591HomeDetailInfoUpdate builder.
type Rent591HomeDetailInfoUpsert ¶
Rent591HomeDetailInfoUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailInfoUpsert) AddKey ¶
func (u *Rent591HomeDetailInfoUpsert) AddKey(v int) *Rent591HomeDetailInfoUpsert
AddKey adds v to the "key" field.
func (*Rent591HomeDetailInfoUpsert) SetKey ¶
func (u *Rent591HomeDetailInfoUpsert) SetKey(v int) *Rent591HomeDetailInfoUpsert
SetKey sets the "key" field.
func (*Rent591HomeDetailInfoUpsert) SetName ¶
func (u *Rent591HomeDetailInfoUpsert) SetName(v string) *Rent591HomeDetailInfoUpsert
SetName sets the "name" field.
func (*Rent591HomeDetailInfoUpsert) SetValue ¶
func (u *Rent591HomeDetailInfoUpsert) SetValue(v string) *Rent591HomeDetailInfoUpsert
SetValue sets the "value" field.
func (*Rent591HomeDetailInfoUpsert) UpdateKey ¶
func (u *Rent591HomeDetailInfoUpsert) UpdateKey() *Rent591HomeDetailInfoUpsert
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailInfoUpsert) UpdateName ¶
func (u *Rent591HomeDetailInfoUpsert) UpdateName() *Rent591HomeDetailInfoUpsert
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailInfoUpsert) UpdateValue ¶
func (u *Rent591HomeDetailInfoUpsert) UpdateValue() *Rent591HomeDetailInfoUpsert
UpdateValue sets the "value" field to the value that was provided on create.
type Rent591HomeDetailInfoUpsertBulk ¶
type Rent591HomeDetailInfoUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailInfo nodes.
func (*Rent591HomeDetailInfoUpsertBulk) AddKey ¶
func (u *Rent591HomeDetailInfoUpsertBulk) AddKey(v int) *Rent591HomeDetailInfoUpsertBulk
AddKey adds v to the "key" field.
func (*Rent591HomeDetailInfoUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailInfoUpsertBulk) DoNothing() *Rent591HomeDetailInfoUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailInfoUpsertBulk) Exec ¶
func (u *Rent591HomeDetailInfoUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailInfoUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailInfoUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailInfoUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailInfoUpsertBulk) Ignore() *Rent591HomeDetailInfoUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailInfo.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailInfoUpsertBulk) SetKey ¶
func (u *Rent591HomeDetailInfoUpsertBulk) SetKey(v int) *Rent591HomeDetailInfoUpsertBulk
SetKey sets the "key" field.
func (*Rent591HomeDetailInfoUpsertBulk) SetName ¶
func (u *Rent591HomeDetailInfoUpsertBulk) SetName(v string) *Rent591HomeDetailInfoUpsertBulk
SetName sets the "name" field.
func (*Rent591HomeDetailInfoUpsertBulk) SetValue ¶
func (u *Rent591HomeDetailInfoUpsertBulk) SetValue(v string) *Rent591HomeDetailInfoUpsertBulk
SetValue sets the "value" field.
func (*Rent591HomeDetailInfoUpsertBulk) Update ¶
func (u *Rent591HomeDetailInfoUpsertBulk) Update(set func(*Rent591HomeDetailInfoUpsert)) *Rent591HomeDetailInfoUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailInfoCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailInfoUpsertBulk) UpdateKey ¶
func (u *Rent591HomeDetailInfoUpsertBulk) UpdateKey() *Rent591HomeDetailInfoUpsertBulk
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailInfoUpsertBulk) UpdateName ¶
func (u *Rent591HomeDetailInfoUpsertBulk) UpdateName() *Rent591HomeDetailInfoUpsertBulk
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailInfoUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailInfoUpsertBulk) UpdateNewValues() *Rent591HomeDetailInfoUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailInfo.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailInfoUpsertBulk) UpdateValue ¶
func (u *Rent591HomeDetailInfoUpsertBulk) UpdateValue() *Rent591HomeDetailInfoUpsertBulk
UpdateValue sets the "value" field to the value that was provided on create.
type Rent591HomeDetailInfoUpsertOne ¶
type Rent591HomeDetailInfoUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailInfoUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailInfo node.
func (*Rent591HomeDetailInfoUpsertOne) AddKey ¶
func (u *Rent591HomeDetailInfoUpsertOne) AddKey(v int) *Rent591HomeDetailInfoUpsertOne
AddKey adds v to the "key" field.
func (*Rent591HomeDetailInfoUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailInfoUpsertOne) DoNothing() *Rent591HomeDetailInfoUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailInfoUpsertOne) Exec ¶
func (u *Rent591HomeDetailInfoUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailInfoUpsertOne) ExecX ¶
func (u *Rent591HomeDetailInfoUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailInfoUpsertOne) ID ¶
func (u *Rent591HomeDetailInfoUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailInfoUpsertOne) IDX ¶
func (u *Rent591HomeDetailInfoUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailInfoUpsertOne) Ignore ¶
func (u *Rent591HomeDetailInfoUpsertOne) Ignore() *Rent591HomeDetailInfoUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailInfo.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailInfoUpsertOne) SetKey ¶
func (u *Rent591HomeDetailInfoUpsertOne) SetKey(v int) *Rent591HomeDetailInfoUpsertOne
SetKey sets the "key" field.
func (*Rent591HomeDetailInfoUpsertOne) SetName ¶
func (u *Rent591HomeDetailInfoUpsertOne) SetName(v string) *Rent591HomeDetailInfoUpsertOne
SetName sets the "name" field.
func (*Rent591HomeDetailInfoUpsertOne) SetValue ¶
func (u *Rent591HomeDetailInfoUpsertOne) SetValue(v string) *Rent591HomeDetailInfoUpsertOne
SetValue sets the "value" field.
func (*Rent591HomeDetailInfoUpsertOne) Update ¶
func (u *Rent591HomeDetailInfoUpsertOne) Update(set func(*Rent591HomeDetailInfoUpsert)) *Rent591HomeDetailInfoUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailInfoCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailInfoUpsertOne) UpdateKey ¶
func (u *Rent591HomeDetailInfoUpsertOne) UpdateKey() *Rent591HomeDetailInfoUpsertOne
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailInfoUpsertOne) UpdateName ¶
func (u *Rent591HomeDetailInfoUpsertOne) UpdateName() *Rent591HomeDetailInfoUpsertOne
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailInfoUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailInfoUpsertOne) UpdateNewValues() *Rent591HomeDetailInfoUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailInfo.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailInfoUpsertOne) UpdateValue ¶
func (u *Rent591HomeDetailInfoUpsertOne) UpdateValue() *Rent591HomeDetailInfoUpsertOne
UpdateValue sets the "value" field to the value that was provided on create.
type Rent591HomeDetailInfos ¶
type Rent591HomeDetailInfos []*Rent591HomeDetailInfo
Rent591HomeDetailInfos is a parsable slice of Rent591HomeDetailInfo.
type Rent591HomeDetailMutation ¶
type Rent591HomeDetailMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailMutation represents an operation that mutates the Rent591HomeDetail nodes in the graph.
func (*Rent591HomeDetailMutation) AddDealTime ¶
func (m *Rent591HomeDetailMutation) AddDealTime(i int)
AddDealTime adds i to the "deal_time" field.
func (*Rent591HomeDetailMutation) AddField ¶
func (m *Rent591HomeDetailMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailMutation) AddKind ¶
func (m *Rent591HomeDetailMutation) AddKind(i int)
AddKind adds i to the "kind" field.
func (*Rent591HomeDetailMutation) AddPrice ¶
func (m *Rent591HomeDetailMutation) AddPrice(i int)
AddPrice adds i to the "price" field.
func (*Rent591HomeDetailMutation) AddRegionID ¶
func (m *Rent591HomeDetailMutation) AddRegionID(i int)
AddRegionID adds i to the "region_id" field.
func (*Rent591HomeDetailMutation) AddRelieved ¶
func (m *Rent591HomeDetailMutation) AddRelieved(i int)
AddRelieved adds i to the "relieved" field.
func (*Rent591HomeDetailMutation) AddRent591homeDetailBreadcrumbIDs ¶
func (m *Rent591HomeDetailMutation) AddRent591homeDetailBreadcrumbIDs(ids ...int)
AddRent591homeDetailBreadcrumbIDs adds the "rent591home_detail_breadcrumbs" edge to the Rent591HomeDetailBreadcrumb entity by ids.
func (*Rent591HomeDetailMutation) AddRent591homeDetailBrowseIDs ¶
func (m *Rent591HomeDetailMutation) AddRent591homeDetailBrowseIDs(ids ...int)
AddRent591homeDetailBrowseIDs adds the "rent591home_detail_browses" edge to the Rent591HomeDetailBrowse entity by ids.
func (*Rent591HomeDetailMutation) AddRent591homeDetailInfoIDs ¶
func (m *Rent591HomeDetailMutation) AddRent591homeDetailInfoIDs(ids ...int)
AddRent591homeDetailInfoIDs adds the "rent591home_detail_infos" edge to the Rent591HomeDetailInfo entity by ids.
func (*Rent591HomeDetailMutation) AddRent591homeDetailNavdataIDs ¶
func (m *Rent591HomeDetailMutation) AddRent591homeDetailNavdataIDs(ids ...int)
AddRent591homeDetailNavdataIDs adds the "rent591home_detail_navdatas" edge to the Rent591HomeDetailNavData entity by ids.
func (*Rent591HomeDetailMutation) AddRent591homeDetailPublishIDs ¶
func (m *Rent591HomeDetailMutation) AddRent591homeDetailPublishIDs(ids ...int)
AddRent591homeDetailPublishIDs adds the "rent591home_detail_publishs" edge to the Rent591HomeDetailPublish entity by ids.
func (*Rent591HomeDetailMutation) AddRent591homeDetailShareinfoIDs ¶
func (m *Rent591HomeDetailMutation) AddRent591homeDetailShareinfoIDs(ids ...int)
AddRent591homeDetailShareinfoIDs adds the "rent591home_detail_shareinfos" edge to the Rent591HomeDetailShareInfo entity by ids.
func (*Rent591HomeDetailMutation) AddRent591homeDetailTagIDs ¶
func (m *Rent591HomeDetailMutation) AddRent591homeDetailTagIDs(ids ...int)
AddRent591homeDetailTagIDs adds the "rent591home_detail_tags" edge to the Rent591HomeDetailTag entity by ids.
func (*Rent591HomeDetailMutation) AddSectionID ¶
func (m *Rent591HomeDetailMutation) AddSectionID(i int)
AddSectionID adds i to the "section_id" field.
func (*Rent591HomeDetailMutation) AddedDealTime ¶
func (m *Rent591HomeDetailMutation) AddedDealTime() (r int, exists bool)
AddedDealTime returns the value that was added to the "deal_time" field in this mutation.
func (*Rent591HomeDetailMutation) AddedEdges ¶
func (m *Rent591HomeDetailMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailMutation) AddedField ¶
func (m *Rent591HomeDetailMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailMutation) AddedFields ¶
func (m *Rent591HomeDetailMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailMutation) AddedIDs ¶
func (m *Rent591HomeDetailMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailMutation) AddedKind ¶
func (m *Rent591HomeDetailMutation) AddedKind() (r int, exists bool)
AddedKind returns the value that was added to the "kind" field in this mutation.
func (*Rent591HomeDetailMutation) AddedPrice ¶
func (m *Rent591HomeDetailMutation) AddedPrice() (r int, exists bool)
AddedPrice returns the value that was added to the "price" field in this mutation.
func (*Rent591HomeDetailMutation) AddedRegionID ¶
func (m *Rent591HomeDetailMutation) AddedRegionID() (r int, exists bool)
AddedRegionID returns the value that was added to the "region_id" field in this mutation.
func (*Rent591HomeDetailMutation) AddedRelieved ¶
func (m *Rent591HomeDetailMutation) AddedRelieved() (r int, exists bool)
AddedRelieved returns the value that was added to the "relieved" field in this mutation.
func (*Rent591HomeDetailMutation) AddedSectionID ¶
func (m *Rent591HomeDetailMutation) AddedSectionID() (r int, exists bool)
AddedSectionID returns the value that was added to the "section_id" field in this mutation.
func (*Rent591HomeDetailMutation) ClearDealText ¶
func (m *Rent591HomeDetailMutation) ClearDealText()
ClearDealText clears the value of the "deal_text" field.
func (*Rent591HomeDetailMutation) ClearEdge ¶
func (m *Rent591HomeDetailMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailMutation) ClearField ¶
func (m *Rent591HomeDetailMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailMutation) ClearRent591homeDetailBreadcrumbs ¶
func (m *Rent591HomeDetailMutation) ClearRent591homeDetailBreadcrumbs()
ClearRent591homeDetailBreadcrumbs clears the "rent591home_detail_breadcrumbs" edge to the Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailMutation) ClearRent591homeDetailBrowses ¶
func (m *Rent591HomeDetailMutation) ClearRent591homeDetailBrowses()
ClearRent591homeDetailBrowses clears the "rent591home_detail_browses" edge to the Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailMutation) ClearRent591homeDetailInfos ¶
func (m *Rent591HomeDetailMutation) ClearRent591homeDetailInfos()
ClearRent591homeDetailInfos clears the "rent591home_detail_infos" edge to the Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailMutation) ClearRent591homeDetailNavdatas ¶
func (m *Rent591HomeDetailMutation) ClearRent591homeDetailNavdatas()
ClearRent591homeDetailNavdatas clears the "rent591home_detail_navdatas" edge to the Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailMutation) ClearRent591homeDetailPositionRounds ¶
func (m *Rent591HomeDetailMutation) ClearRent591homeDetailPositionRounds()
ClearRent591homeDetailPositionRounds clears the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailMutation) ClearRent591homeDetailPublishs ¶
func (m *Rent591HomeDetailMutation) ClearRent591homeDetailPublishs()
ClearRent591homeDetailPublishs clears the "rent591home_detail_publishs" edge to the Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailMutation) ClearRent591homeDetailShareinfos ¶
func (m *Rent591HomeDetailMutation) ClearRent591homeDetailShareinfos()
ClearRent591homeDetailShareinfos clears the "rent591home_detail_shareinfos" edge to the Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailMutation) ClearRent591homeDetailTags ¶
func (m *Rent591HomeDetailMutation) ClearRent591homeDetailTags()
ClearRent591homeDetailTags clears the "rent591home_detail_tags" edge to the Rent591HomeDetailTag entity.
func (*Rent591HomeDetailMutation) ClearRent591homes ¶
func (m *Rent591HomeDetailMutation) ClearRent591homes()
ClearRent591homes clears the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeDetailMutation) ClearedEdges ¶
func (m *Rent591HomeDetailMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailMutation) ClearedFields ¶
func (m *Rent591HomeDetailMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailMutation) Client ¶
func (m Rent591HomeDetailMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailMutation) CreatedAt ¶
func (m *Rent591HomeDetailMutation) CreatedAt() (r time.Time, exists bool)
CreatedAt returns the value of the "created_at" field in the mutation.
func (*Rent591HomeDetailMutation) DealText ¶
func (m *Rent591HomeDetailMutation) DealText() (r string, exists bool)
DealText returns the value of the "deal_text" field in the mutation.
func (*Rent591HomeDetailMutation) DealTextCleared ¶
func (m *Rent591HomeDetailMutation) DealTextCleared() bool
DealTextCleared returns if the "deal_text" field was cleared in this mutation.
func (*Rent591HomeDetailMutation) DealTime ¶
func (m *Rent591HomeDetailMutation) DealTime() (r int, exists bool)
DealTime returns the value of the "deal_time" field in the mutation.
func (*Rent591HomeDetailMutation) Deposit ¶
func (m *Rent591HomeDetailMutation) Deposit() (r string, exists bool)
Deposit returns the value of the "deposit" field in the mutation.
func (*Rent591HomeDetailMutation) EdgeCleared ¶
func (m *Rent591HomeDetailMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailMutation) Field ¶
func (m *Rent591HomeDetailMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailMutation) FieldCleared ¶
func (m *Rent591HomeDetailMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailMutation) Fields ¶
func (m *Rent591HomeDetailMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailMutation) ID ¶
func (m *Rent591HomeDetailMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailMutation) IDs ¶
func (m *Rent591HomeDetailMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailMutation) Kind ¶
func (m *Rent591HomeDetailMutation) Kind() (r int, exists bool)
Kind returns the value of the "kind" field in the mutation.
func (*Rent591HomeDetailMutation) OldCreatedAt ¶
OldCreatedAt returns the old "created_at" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldDealText ¶
func (m *Rent591HomeDetailMutation) OldDealText(ctx context.Context) (v string, err error)
OldDealText returns the old "deal_text" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldDealTime ¶
func (m *Rent591HomeDetailMutation) OldDealTime(ctx context.Context) (v int, err error)
OldDealTime returns the old "deal_time" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldDeposit ¶
func (m *Rent591HomeDetailMutation) OldDeposit(ctx context.Context) (v string, err error)
OldDeposit returns the old "deposit" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldField ¶
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailMutation) OldKind ¶
func (m *Rent591HomeDetailMutation) OldKind(ctx context.Context) (v int, err error)
OldKind returns the old "kind" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldPrice ¶
func (m *Rent591HomeDetailMutation) OldPrice(ctx context.Context) (v int, err error)
OldPrice returns the old "price" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldPriceUnit ¶
func (m *Rent591HomeDetailMutation) OldPriceUnit(ctx context.Context) (v string, err error)
OldPriceUnit returns the old "price_unit" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldRegionID ¶
func (m *Rent591HomeDetailMutation) OldRegionID(ctx context.Context) (v int, err error)
OldRegionID returns the old "region_id" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldRelieved ¶
func (m *Rent591HomeDetailMutation) OldRelieved(ctx context.Context) (v int, err error)
OldRelieved returns the old "relieved" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldSectionID ¶
func (m *Rent591HomeDetailMutation) OldSectionID(ctx context.Context) (v int, err error)
OldSectionID returns the old "section_id" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldTitle ¶
func (m *Rent591HomeDetailMutation) OldTitle(ctx context.Context) (v string, err error)
OldTitle returns the old "title" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) OldUpdatedAt ¶
OldUpdatedAt returns the old "updated_at" field's value of the Rent591HomeDetail entity. If the Rent591HomeDetail object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailMutation) Op ¶
func (m *Rent591HomeDetailMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailMutation) Price ¶
func (m *Rent591HomeDetailMutation) Price() (r int, exists bool)
Price returns the value of the "price" field in the mutation.
func (*Rent591HomeDetailMutation) PriceUnit ¶
func (m *Rent591HomeDetailMutation) PriceUnit() (r string, exists bool)
PriceUnit returns the value of the "price_unit" field in the mutation.
func (*Rent591HomeDetailMutation) RegionID ¶
func (m *Rent591HomeDetailMutation) RegionID() (r int, exists bool)
RegionID returns the value of the "region_id" field in the mutation.
func (*Rent591HomeDetailMutation) Relieved ¶
func (m *Rent591HomeDetailMutation) Relieved() (r int, exists bool)
Relieved returns the value of the "relieved" field in the mutation.
func (*Rent591HomeDetailMutation) RemoveRent591homeDetailBreadcrumbIDs ¶
func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailBreadcrumbIDs(ids ...int)
RemoveRent591homeDetailBreadcrumbIDs removes the "rent591home_detail_breadcrumbs" edge to the Rent591HomeDetailBreadcrumb entity by IDs.
func (*Rent591HomeDetailMutation) RemoveRent591homeDetailBrowseIDs ¶
func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailBrowseIDs(ids ...int)
RemoveRent591homeDetailBrowseIDs removes the "rent591home_detail_browses" edge to the Rent591HomeDetailBrowse entity by IDs.
func (*Rent591HomeDetailMutation) RemoveRent591homeDetailInfoIDs ¶
func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailInfoIDs(ids ...int)
RemoveRent591homeDetailInfoIDs removes the "rent591home_detail_infos" edge to the Rent591HomeDetailInfo entity by IDs.
func (*Rent591HomeDetailMutation) RemoveRent591homeDetailNavdataIDs ¶
func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailNavdataIDs(ids ...int)
RemoveRent591homeDetailNavdataIDs removes the "rent591home_detail_navdatas" edge to the Rent591HomeDetailNavData entity by IDs.
func (*Rent591HomeDetailMutation) RemoveRent591homeDetailPublishIDs ¶
func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailPublishIDs(ids ...int)
RemoveRent591homeDetailPublishIDs removes the "rent591home_detail_publishs" edge to the Rent591HomeDetailPublish entity by IDs.
func (*Rent591HomeDetailMutation) RemoveRent591homeDetailShareinfoIDs ¶
func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailShareinfoIDs(ids ...int)
RemoveRent591homeDetailShareinfoIDs removes the "rent591home_detail_shareinfos" edge to the Rent591HomeDetailShareInfo entity by IDs.
func (*Rent591HomeDetailMutation) RemoveRent591homeDetailTagIDs ¶
func (m *Rent591HomeDetailMutation) RemoveRent591homeDetailTagIDs(ids ...int)
RemoveRent591homeDetailTagIDs removes the "rent591home_detail_tags" edge to the Rent591HomeDetailTag entity by IDs.
func (*Rent591HomeDetailMutation) RemovedEdges ¶
func (m *Rent591HomeDetailMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailMutation) RemovedIDs ¶
func (m *Rent591HomeDetailMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailMutation) RemovedRent591homeDetailBreadcrumbsIDs ¶
func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailBreadcrumbsIDs() (ids []int)
RemovedRent591homeDetailBreadcrumbs returns the removed IDs of the "rent591home_detail_breadcrumbs" edge to the Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailMutation) RemovedRent591homeDetailBrowsesIDs ¶
func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailBrowsesIDs() (ids []int)
RemovedRent591homeDetailBrowses returns the removed IDs of the "rent591home_detail_browses" edge to the Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailMutation) RemovedRent591homeDetailInfosIDs ¶
func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailInfosIDs() (ids []int)
RemovedRent591homeDetailInfos returns the removed IDs of the "rent591home_detail_infos" edge to the Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailMutation) RemovedRent591homeDetailNavdatasIDs ¶
func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailNavdatasIDs() (ids []int)
RemovedRent591homeDetailNavdatas returns the removed IDs of the "rent591home_detail_navdatas" edge to the Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailMutation) RemovedRent591homeDetailPublishsIDs ¶
func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailPublishsIDs() (ids []int)
RemovedRent591homeDetailPublishs returns the removed IDs of the "rent591home_detail_publishs" edge to the Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailMutation) RemovedRent591homeDetailShareinfosIDs ¶
func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailShareinfosIDs() (ids []int)
RemovedRent591homeDetailShareinfos returns the removed IDs of the "rent591home_detail_shareinfos" edge to the Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailMutation) RemovedRent591homeDetailTagsIDs ¶
func (m *Rent591HomeDetailMutation) RemovedRent591homeDetailTagsIDs() (ids []int)
RemovedRent591homeDetailTags returns the removed IDs of the "rent591home_detail_tags" edge to the Rent591HomeDetailTag entity.
func (*Rent591HomeDetailMutation) Rent591homeDetailBreadcrumbsCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailBreadcrumbsCleared() bool
Rent591homeDetailBreadcrumbsCleared reports if the "rent591home_detail_breadcrumbs" edge to the Rent591HomeDetailBreadcrumb entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homeDetailBreadcrumbsIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailBreadcrumbsIDs() (ids []int)
Rent591homeDetailBreadcrumbsIDs returns the "rent591home_detail_breadcrumbs" edge IDs in the mutation.
func (*Rent591HomeDetailMutation) Rent591homeDetailBrowsesCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailBrowsesCleared() bool
Rent591homeDetailBrowsesCleared reports if the "rent591home_detail_browses" edge to the Rent591HomeDetailBrowse entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homeDetailBrowsesIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailBrowsesIDs() (ids []int)
Rent591homeDetailBrowsesIDs returns the "rent591home_detail_browses" edge IDs in the mutation.
func (*Rent591HomeDetailMutation) Rent591homeDetailInfosCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailInfosCleared() bool
Rent591homeDetailInfosCleared reports if the "rent591home_detail_infos" edge to the Rent591HomeDetailInfo entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homeDetailInfosIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailInfosIDs() (ids []int)
Rent591homeDetailInfosIDs returns the "rent591home_detail_infos" edge IDs in the mutation.
func (*Rent591HomeDetailMutation) Rent591homeDetailNavdatasCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailNavdatasCleared() bool
Rent591homeDetailNavdatasCleared reports if the "rent591home_detail_navdatas" edge to the Rent591HomeDetailNavData entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homeDetailNavdatasIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailNavdatasIDs() (ids []int)
Rent591homeDetailNavdatasIDs returns the "rent591home_detail_navdatas" edge IDs in the mutation.
func (*Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsCleared() bool
Rent591homeDetailPositionRoundsCleared reports if the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsID ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsID() (id int, exists bool)
Rent591homeDetailPositionRoundsID returns the "rent591home_detail_position_rounds" edge ID in the mutation.
func (*Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailPositionRoundsIDs() (ids []int)
Rent591homeDetailPositionRoundsIDs returns the "rent591home_detail_position_rounds" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use Rent591homeDetailPositionRoundsID instead. It exists only for internal usage by the builders.
func (*Rent591HomeDetailMutation) Rent591homeDetailPublishsCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailPublishsCleared() bool
Rent591homeDetailPublishsCleared reports if the "rent591home_detail_publishs" edge to the Rent591HomeDetailPublish entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homeDetailPublishsIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailPublishsIDs() (ids []int)
Rent591homeDetailPublishsIDs returns the "rent591home_detail_publishs" edge IDs in the mutation.
func (*Rent591HomeDetailMutation) Rent591homeDetailShareinfosCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailShareinfosCleared() bool
Rent591homeDetailShareinfosCleared reports if the "rent591home_detail_shareinfos" edge to the Rent591HomeDetailShareInfo entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homeDetailShareinfosIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailShareinfosIDs() (ids []int)
Rent591homeDetailShareinfosIDs returns the "rent591home_detail_shareinfos" edge IDs in the mutation.
func (*Rent591HomeDetailMutation) Rent591homeDetailTagsCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailTagsCleared() bool
Rent591homeDetailTagsCleared reports if the "rent591home_detail_tags" edge to the Rent591HomeDetailTag entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homeDetailTagsIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homeDetailTagsIDs() (ids []int)
Rent591homeDetailTagsIDs returns the "rent591home_detail_tags" edge IDs in the mutation.
func (*Rent591HomeDetailMutation) Rent591homesCleared ¶
func (m *Rent591HomeDetailMutation) Rent591homesCleared() bool
Rent591homesCleared reports if the "rent591homes" edge to the Rent591Home entity was cleared.
func (*Rent591HomeDetailMutation) Rent591homesID ¶
func (m *Rent591HomeDetailMutation) Rent591homesID() (id int, exists bool)
Rent591homesID returns the "rent591homes" edge ID in the mutation.
func (*Rent591HomeDetailMutation) Rent591homesIDs ¶
func (m *Rent591HomeDetailMutation) Rent591homesIDs() (ids []int)
Rent591homesIDs returns the "rent591homes" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use Rent591homesID instead. It exists only for internal usage by the builders.
func (*Rent591HomeDetailMutation) ResetCreatedAt ¶
func (m *Rent591HomeDetailMutation) ResetCreatedAt()
ResetCreatedAt resets all changes to the "created_at" field.
func (*Rent591HomeDetailMutation) ResetDealText ¶
func (m *Rent591HomeDetailMutation) ResetDealText()
ResetDealText resets all changes to the "deal_text" field.
func (*Rent591HomeDetailMutation) ResetDealTime ¶
func (m *Rent591HomeDetailMutation) ResetDealTime()
ResetDealTime resets all changes to the "deal_time" field.
func (*Rent591HomeDetailMutation) ResetDeposit ¶
func (m *Rent591HomeDetailMutation) ResetDeposit()
ResetDeposit resets all changes to the "deposit" field.
func (*Rent591HomeDetailMutation) ResetEdge ¶
func (m *Rent591HomeDetailMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailMutation) ResetField ¶
func (m *Rent591HomeDetailMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailMutation) ResetKind ¶
func (m *Rent591HomeDetailMutation) ResetKind()
ResetKind resets all changes to the "kind" field.
func (*Rent591HomeDetailMutation) ResetPrice ¶
func (m *Rent591HomeDetailMutation) ResetPrice()
ResetPrice resets all changes to the "price" field.
func (*Rent591HomeDetailMutation) ResetPriceUnit ¶
func (m *Rent591HomeDetailMutation) ResetPriceUnit()
ResetPriceUnit resets all changes to the "price_unit" field.
func (*Rent591HomeDetailMutation) ResetRegionID ¶
func (m *Rent591HomeDetailMutation) ResetRegionID()
ResetRegionID resets all changes to the "region_id" field.
func (*Rent591HomeDetailMutation) ResetRelieved ¶
func (m *Rent591HomeDetailMutation) ResetRelieved()
ResetRelieved resets all changes to the "relieved" field.
func (*Rent591HomeDetailMutation) ResetRent591homeDetailBreadcrumbs ¶
func (m *Rent591HomeDetailMutation) ResetRent591homeDetailBreadcrumbs()
ResetRent591homeDetailBreadcrumbs resets all changes to the "rent591home_detail_breadcrumbs" edge.
func (*Rent591HomeDetailMutation) ResetRent591homeDetailBrowses ¶
func (m *Rent591HomeDetailMutation) ResetRent591homeDetailBrowses()
ResetRent591homeDetailBrowses resets all changes to the "rent591home_detail_browses" edge.
func (*Rent591HomeDetailMutation) ResetRent591homeDetailInfos ¶
func (m *Rent591HomeDetailMutation) ResetRent591homeDetailInfos()
ResetRent591homeDetailInfos resets all changes to the "rent591home_detail_infos" edge.
func (*Rent591HomeDetailMutation) ResetRent591homeDetailNavdatas ¶
func (m *Rent591HomeDetailMutation) ResetRent591homeDetailNavdatas()
ResetRent591homeDetailNavdatas resets all changes to the "rent591home_detail_navdatas" edge.
func (*Rent591HomeDetailMutation) ResetRent591homeDetailPositionRounds ¶
func (m *Rent591HomeDetailMutation) ResetRent591homeDetailPositionRounds()
ResetRent591homeDetailPositionRounds resets all changes to the "rent591home_detail_position_rounds" edge.
func (*Rent591HomeDetailMutation) ResetRent591homeDetailPublishs ¶
func (m *Rent591HomeDetailMutation) ResetRent591homeDetailPublishs()
ResetRent591homeDetailPublishs resets all changes to the "rent591home_detail_publishs" edge.
func (*Rent591HomeDetailMutation) ResetRent591homeDetailShareinfos ¶
func (m *Rent591HomeDetailMutation) ResetRent591homeDetailShareinfos()
ResetRent591homeDetailShareinfos resets all changes to the "rent591home_detail_shareinfos" edge.
func (*Rent591HomeDetailMutation) ResetRent591homeDetailTags ¶
func (m *Rent591HomeDetailMutation) ResetRent591homeDetailTags()
ResetRent591homeDetailTags resets all changes to the "rent591home_detail_tags" edge.
func (*Rent591HomeDetailMutation) ResetRent591homes ¶
func (m *Rent591HomeDetailMutation) ResetRent591homes()
ResetRent591homes resets all changes to the "rent591homes" edge.
func (*Rent591HomeDetailMutation) ResetSectionID ¶
func (m *Rent591HomeDetailMutation) ResetSectionID()
ResetSectionID resets all changes to the "section_id" field.
func (*Rent591HomeDetailMutation) ResetTitle ¶
func (m *Rent591HomeDetailMutation) ResetTitle()
ResetTitle resets all changes to the "title" field.
func (*Rent591HomeDetailMutation) ResetUpdatedAt ¶
func (m *Rent591HomeDetailMutation) ResetUpdatedAt()
ResetUpdatedAt resets all changes to the "updated_at" field.
func (*Rent591HomeDetailMutation) SectionID ¶
func (m *Rent591HomeDetailMutation) SectionID() (r int, exists bool)
SectionID returns the value of the "section_id" field in the mutation.
func (*Rent591HomeDetailMutation) SetCreatedAt ¶
func (m *Rent591HomeDetailMutation) SetCreatedAt(t time.Time)
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeDetailMutation) SetDealText ¶
func (m *Rent591HomeDetailMutation) SetDealText(s string)
SetDealText sets the "deal_text" field.
func (*Rent591HomeDetailMutation) SetDealTime ¶
func (m *Rent591HomeDetailMutation) SetDealTime(i int)
SetDealTime sets the "deal_time" field.
func (*Rent591HomeDetailMutation) SetDeposit ¶
func (m *Rent591HomeDetailMutation) SetDeposit(s string)
SetDeposit sets the "deposit" field.
func (*Rent591HomeDetailMutation) SetField ¶
func (m *Rent591HomeDetailMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailMutation) SetKind ¶
func (m *Rent591HomeDetailMutation) SetKind(i int)
SetKind sets the "kind" field.
func (*Rent591HomeDetailMutation) SetOp ¶
func (m *Rent591HomeDetailMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailMutation) SetPrice ¶
func (m *Rent591HomeDetailMutation) SetPrice(i int)
SetPrice sets the "price" field.
func (*Rent591HomeDetailMutation) SetPriceUnit ¶
func (m *Rent591HomeDetailMutation) SetPriceUnit(s string)
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeDetailMutation) SetRegionID ¶
func (m *Rent591HomeDetailMutation) SetRegionID(i int)
SetRegionID sets the "region_id" field.
func (*Rent591HomeDetailMutation) SetRelieved ¶
func (m *Rent591HomeDetailMutation) SetRelieved(i int)
SetRelieved sets the "relieved" field.
func (*Rent591HomeDetailMutation) SetRent591homeDetailPositionRoundsID ¶
func (m *Rent591HomeDetailMutation) SetRent591homeDetailPositionRoundsID(id int)
SetRent591homeDetailPositionRoundsID sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by id.
func (*Rent591HomeDetailMutation) SetRent591homesID ¶
func (m *Rent591HomeDetailMutation) SetRent591homesID(id int)
SetRent591homesID sets the "rent591homes" edge to the Rent591Home entity by id.
func (*Rent591HomeDetailMutation) SetSectionID ¶
func (m *Rent591HomeDetailMutation) SetSectionID(i int)
SetSectionID sets the "section_id" field.
func (*Rent591HomeDetailMutation) SetTitle ¶
func (m *Rent591HomeDetailMutation) SetTitle(s string)
SetTitle sets the "title" field.
func (*Rent591HomeDetailMutation) SetUpdatedAt ¶
func (m *Rent591HomeDetailMutation) SetUpdatedAt(t time.Time)
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeDetailMutation) Title ¶
func (m *Rent591HomeDetailMutation) Title() (r string, exists bool)
Title returns the value of the "title" field in the mutation.
func (Rent591HomeDetailMutation) Tx ¶
func (m Rent591HomeDetailMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailMutation) Type ¶
func (m *Rent591HomeDetailMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetail).
func (*Rent591HomeDetailMutation) UpdatedAt ¶
func (m *Rent591HomeDetailMutation) UpdatedAt() (r time.Time, exists bool)
UpdatedAt returns the value of the "updated_at" field in the mutation.
func (*Rent591HomeDetailMutation) Where ¶
func (m *Rent591HomeDetailMutation) Where(ps ...predicate.Rent591HomeDetail)
Where appends a list predicates to the Rent591HomeDetailMutation builder.
func (*Rent591HomeDetailMutation) WhereP ¶
func (m *Rent591HomeDetailMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailNavData ¶
type Rent591HomeDetailNavData struct { int `json:"id,omitempty"` Title string `json:"title,omitempty"` Key string `json:"key,omitempty"` Active int `json:"active,omitempty"` // The values are being populated by the Rent591HomeDetailNavDataQuery when eager-loading is set. Edges Rent591HomeDetailNavDataEdges `json:"edges"` // contains filtered or unexported fields }ID
Rent591HomeDetailNavData is the model entity for the Rent591HomeDetailNavData schema.
func (*Rent591HomeDetailNavData) QueryRent591homeDetails ¶
func (rdnd *Rent591HomeDetailNavData) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailNavData) String ¶
func (rdnd *Rent591HomeDetailNavData) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailNavData) Unwrap ¶
func (rdnd *Rent591HomeDetailNavData) Unwrap() *Rent591HomeDetailNavData
Unwrap unwraps the Rent591HomeDetailNavData entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailNavData) Update ¶
func (rdnd *Rent591HomeDetailNavData) Update() *Rent591HomeDetailNavDataUpdateOne
Update returns a builder for updating this Rent591HomeDetailNavData. Note that you need to call Rent591HomeDetailNavData.Unwrap() before calling this method if this Rent591HomeDetailNavData was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailNavDataClient ¶
type Rent591HomeDetailNavDataClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataClient is a client for the Rent591HomeDetailNavData schema.
func NewRent591HomeDetailNavDataClient ¶
func NewRent591HomeDetailNavDataClient(c config) *Rent591HomeDetailNavDataClient
NewRent591HomeDetailNavDataClient returns a client for the Rent591HomeDetailNavData from the given config.
func (*Rent591HomeDetailNavDataClient) Create ¶
func (c *Rent591HomeDetailNavDataClient) Create() *Rent591HomeDetailNavDataCreate
Create returns a builder for creating a Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailNavDataClient) CreateBulk ¶
func (c *Rent591HomeDetailNavDataClient) CreateBulk(builders ...*Rent591HomeDetailNavDataCreate) *Rent591HomeDetailNavDataCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailNavData entities.
func (*Rent591HomeDetailNavDataClient) Delete ¶
func (c *Rent591HomeDetailNavDataClient) Delete() *Rent591HomeDetailNavDataDelete
Delete returns a delete builder for Rent591HomeDetailNavData.
func (*Rent591HomeDetailNavDataClient) DeleteOne ¶
func (c *Rent591HomeDetailNavDataClient) DeleteOne(rdnd *Rent591HomeDetailNavData) *Rent591HomeDetailNavDataDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailNavDataClient) DeleteOneID ¶
func (c *Rent591HomeDetailNavDataClient) DeleteOneID(id int) *Rent591HomeDetailNavDataDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailNavDataClient) Get ¶
func (c *Rent591HomeDetailNavDataClient) Get(ctx context.Context, id int) (*Rent591HomeDetailNavData, error)
Get returns a Rent591HomeDetailNavData entity by its id.
func (*Rent591HomeDetailNavDataClient) GetX ¶
func (c *Rent591HomeDetailNavDataClient) GetX(ctx context.Context, id int) *Rent591HomeDetailNavData
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailNavDataClient) Hooks ¶
func (c *Rent591HomeDetailNavDataClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailNavDataClient) Intercept ¶
func (c *Rent591HomeDetailNavDataClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailnavdata.Intercept(f(g(h())))`.
func (*Rent591HomeDetailNavDataClient) Interceptors ¶
func (c *Rent591HomeDetailNavDataClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailNavDataClient) Query ¶
func (c *Rent591HomeDetailNavDataClient) Query() *Rent591HomeDetailNavDataQuery
Query returns a query builder for Rent591HomeDetailNavData.
func (*Rent591HomeDetailNavDataClient) QueryRent591homeDetails ¶
func (c *Rent591HomeDetailNavDataClient) QueryRent591homeDetails(rdnd *Rent591HomeDetailNavData) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591HomeDetailNavData.
func (*Rent591HomeDetailNavDataClient) Update ¶
func (c *Rent591HomeDetailNavDataClient) Update() *Rent591HomeDetailNavDataUpdate
Update returns an update builder for Rent591HomeDetailNavData.
func (*Rent591HomeDetailNavDataClient) UpdateOne ¶
func (c *Rent591HomeDetailNavDataClient) UpdateOne(rdnd *Rent591HomeDetailNavData) *Rent591HomeDetailNavDataUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailNavDataClient) UpdateOneID ¶
func (c *Rent591HomeDetailNavDataClient) UpdateOneID(id int) *Rent591HomeDetailNavDataUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailNavDataClient) Use ¶
func (c *Rent591HomeDetailNavDataClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailnavdata.Hooks(f(g(h())))`.
type Rent591HomeDetailNavDataCreate ¶
type Rent591HomeDetailNavDataCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataCreate is the builder for creating a Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailNavDataCreate) AddRent591homeDetailIDs ¶
func (rdndc *Rent591HomeDetailNavDataCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataCreate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailNavDataCreate) AddRent591homeDetails ¶
func (rdndc *Rent591HomeDetailNavDataCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataCreate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailNavDataCreate) Exec ¶
func (rdndc *Rent591HomeDetailNavDataCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailNavDataCreate) ExecX ¶
func (rdndc *Rent591HomeDetailNavDataCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailNavDataCreate) Mutation ¶
func (rdndc *Rent591HomeDetailNavDataCreate) Mutation() *Rent591HomeDetailNavDataMutation
Mutation returns the Rent591HomeDetailNavDataMutation object of the builder.
func (*Rent591HomeDetailNavDataCreate) OnConflict ¶
func (rdndc *Rent591HomeDetailNavDataCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailNavDataUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailNavData.Create(). SetTitle(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailNavDataUpsert) { SetTitle(v+v). }). Exec(ctx)
func (*Rent591HomeDetailNavDataCreate) OnConflictColumns ¶
func (rdndc *Rent591HomeDetailNavDataCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailNavDataUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailNavData.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailNavDataCreate) Save ¶
func (rdndc *Rent591HomeDetailNavDataCreate) Save(ctx context.Context) (*Rent591HomeDetailNavData, error)
Save creates the Rent591HomeDetailNavData in the database.
func (*Rent591HomeDetailNavDataCreate) SaveX ¶
func (rdndc *Rent591HomeDetailNavDataCreate) SaveX(ctx context.Context) *Rent591HomeDetailNavData
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailNavDataCreate) SetActive ¶
func (rdndc *Rent591HomeDetailNavDataCreate) SetActive(i int) *Rent591HomeDetailNavDataCreate
SetActive sets the "active" field.
func (*Rent591HomeDetailNavDataCreate) SetKey ¶
func (rdndc *Rent591HomeDetailNavDataCreate) SetKey(s string) *Rent591HomeDetailNavDataCreate
SetKey sets the "key" field.
func (*Rent591HomeDetailNavDataCreate) SetTitle ¶
func (rdndc *Rent591HomeDetailNavDataCreate) SetTitle(s string) *Rent591HomeDetailNavDataCreate
SetTitle sets the "title" field.
type Rent591HomeDetailNavDataCreateBulk ¶
type Rent591HomeDetailNavDataCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataCreateBulk is the builder for creating many Rent591HomeDetailNavData entities in bulk.
func (*Rent591HomeDetailNavDataCreateBulk) Exec ¶
func (rdndcb *Rent591HomeDetailNavDataCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailNavDataCreateBulk) ExecX ¶
func (rdndcb *Rent591HomeDetailNavDataCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailNavDataCreateBulk) OnConflict ¶
func (rdndcb *Rent591HomeDetailNavDataCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailNavDataUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailNavData.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailNavDataUpsert) { SetTitle(v+v). }). Exec(ctx)
func (*Rent591HomeDetailNavDataCreateBulk) OnConflictColumns ¶
func (rdndcb *Rent591HomeDetailNavDataCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailNavDataUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailNavData.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailNavDataCreateBulk) Save ¶
func (rdndcb *Rent591HomeDetailNavDataCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailNavData, error)
Save creates the Rent591HomeDetailNavData entities in the database.
func (*Rent591HomeDetailNavDataCreateBulk) SaveX ¶
func (rdndcb *Rent591HomeDetailNavDataCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailNavData
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailNavDataDelete ¶
type Rent591HomeDetailNavDataDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataDelete is the builder for deleting a Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailNavDataDelete) Exec ¶
func (rdndd *Rent591HomeDetailNavDataDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailNavDataDelete) ExecX ¶
func (rdndd *Rent591HomeDetailNavDataDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailNavDataDelete) Where ¶
func (rdndd *Rent591HomeDetailNavDataDelete) Where(ps ...predicate.Rent591HomeDetailNavData) *Rent591HomeDetailNavDataDelete
Where appends a list predicates to the Rent591HomeDetailNavDataDelete builder.
type Rent591HomeDetailNavDataDeleteOne ¶
type Rent591HomeDetailNavDataDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataDeleteOne is the builder for deleting a single Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailNavDataDeleteOne) Exec ¶
func (rdnddo *Rent591HomeDetailNavDataDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailNavDataDeleteOne) ExecX ¶
func (rdnddo *Rent591HomeDetailNavDataDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailNavDataDeleteOne) Where ¶
func (rdnddo *Rent591HomeDetailNavDataDeleteOne) Where(ps ...predicate.Rent591HomeDetailNavData) *Rent591HomeDetailNavDataDeleteOne
Where appends a list predicates to the Rent591HomeDetailNavDataDelete builder.
type Rent591HomeDetailNavDataEdges ¶
type Rent591HomeDetailNavDataEdges struct { Rent591HomeDetail `json:"rent591home_details,omitempty"` // contains filtered or unexported fields }Rent591homeDetails []*
Rent591HomeDetailNavDataEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailNavDataEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeDetailNavDataEdges) Rent591homeDetailsOrErr() ([]*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailNavDataGroupBy ¶
type Rent591HomeDetailNavDataGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataGroupBy is the group-by builder for Rent591HomeDetailNavData entities.
func (*Rent591HomeDetailNavDataGroupBy) Aggregate ¶
func (rdndgb *Rent591HomeDetailNavDataGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailNavDataGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailNavDataGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataGroupBy) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailNavDataGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailNavDataGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailNavDataGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataGroupBy) Scan ¶
func (rdndgb *Rent591HomeDetailNavDataGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailNavDataGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailNavDataMutation ¶
type Rent591HomeDetailNavDataMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataMutation represents an operation that mutates the Rent591HomeDetailNavData nodes in the graph.
func (*Rent591HomeDetailNavDataMutation) Active ¶
func (m *Rent591HomeDetailNavDataMutation) Active() (r int, exists bool)
Active returns the value of the "active" field in the mutation.
func (*Rent591HomeDetailNavDataMutation) AddActive ¶
func (m *Rent591HomeDetailNavDataMutation) AddActive(i int)
AddActive adds i to the "active" field.
func (*Rent591HomeDetailNavDataMutation) AddField ¶
func (m *Rent591HomeDetailNavDataMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailNavDataMutation) AddRent591homeDetailIDs ¶
func (m *Rent591HomeDetailNavDataMutation) AddRent591homeDetailIDs(ids ...int)
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by ids.
func (*Rent591HomeDetailNavDataMutation) AddedActive ¶
func (m *Rent591HomeDetailNavDataMutation) AddedActive() (r int, exists bool)
AddedActive returns the value that was added to the "active" field in this mutation.
func (*Rent591HomeDetailNavDataMutation) AddedEdges ¶
func (m *Rent591HomeDetailNavDataMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailNavDataMutation) AddedField ¶
func (m *Rent591HomeDetailNavDataMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailNavDataMutation) AddedFields ¶
func (m *Rent591HomeDetailNavDataMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailNavDataMutation) AddedIDs ¶
func (m *Rent591HomeDetailNavDataMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailNavDataMutation) ClearEdge ¶
func (m *Rent591HomeDetailNavDataMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailNavDataMutation) ClearField ¶
func (m *Rent591HomeDetailNavDataMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailNavDataMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeDetailNavDataMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailNavDataMutation) ClearedEdges ¶
func (m *Rent591HomeDetailNavDataMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailNavDataMutation) ClearedFields ¶
func (m *Rent591HomeDetailNavDataMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailNavDataMutation) Client ¶
func (m Rent591HomeDetailNavDataMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailNavDataMutation) EdgeCleared ¶
func (m *Rent591HomeDetailNavDataMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailNavDataMutation) Field ¶
func (m *Rent591HomeDetailNavDataMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailNavDataMutation) FieldCleared ¶
func (m *Rent591HomeDetailNavDataMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailNavDataMutation) Fields ¶
func (m *Rent591HomeDetailNavDataMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailNavDataMutation) ID ¶
func (m *Rent591HomeDetailNavDataMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailNavDataMutation) IDs ¶
func (m *Rent591HomeDetailNavDataMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailNavDataMutation) Key ¶
func (m *Rent591HomeDetailNavDataMutation) Key() (r string, exists bool)
Key returns the value of the "key" field in the mutation.
func (*Rent591HomeDetailNavDataMutation) OldActive ¶
func (m *Rent591HomeDetailNavDataMutation) OldActive(ctx context.Context) (v int, err error)
OldActive returns the old "active" field's value of the Rent591HomeDetailNavData entity. If the Rent591HomeDetailNavData object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailNavDataMutation) OldField ¶
func (m *Rent591HomeDetailNavDataMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailNavDataMutation) OldKey ¶
func (m *Rent591HomeDetailNavDataMutation) OldKey(ctx context.Context) (v string, err error)
OldKey returns the old "key" field's value of the Rent591HomeDetailNavData entity. If the Rent591HomeDetailNavData object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailNavDataMutation) OldTitle ¶
func (m *Rent591HomeDetailNavDataMutation) OldTitle(ctx context.Context) (v string, err error)
OldTitle returns the old "title" field's value of the Rent591HomeDetailNavData entity. If the Rent591HomeDetailNavData object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailNavDataMutation) Op ¶
func (m *Rent591HomeDetailNavDataMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailNavDataMutation) RemoveRent591homeDetailIDs ¶
func (m *Rent591HomeDetailNavDataMutation) RemoveRent591homeDetailIDs(ids ...int)
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailNavDataMutation) RemovedEdges ¶
func (m *Rent591HomeDetailNavDataMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailNavDataMutation) RemovedIDs ¶
func (m *Rent591HomeDetailNavDataMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailNavDataMutation) RemovedRent591homeDetailsIDs ¶
func (m *Rent591HomeDetailNavDataMutation) RemovedRent591homeDetailsIDs() (ids []int)
RemovedRent591homeDetails returns the removed IDs of the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailNavDataMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeDetailNavDataMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeDetailNavDataMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeDetailNavDataMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation.
func (*Rent591HomeDetailNavDataMutation) ResetActive ¶
func (m *Rent591HomeDetailNavDataMutation) ResetActive()
ResetActive resets all changes to the "active" field.
func (*Rent591HomeDetailNavDataMutation) ResetEdge ¶
func (m *Rent591HomeDetailNavDataMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailNavDataMutation) ResetField ¶
func (m *Rent591HomeDetailNavDataMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailNavDataMutation) ResetKey ¶
func (m *Rent591HomeDetailNavDataMutation) ResetKey()
ResetKey resets all changes to the "key" field.
func (*Rent591HomeDetailNavDataMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeDetailNavDataMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeDetailNavDataMutation) ResetTitle ¶
func (m *Rent591HomeDetailNavDataMutation) ResetTitle()
ResetTitle resets all changes to the "title" field.
func (*Rent591HomeDetailNavDataMutation) SetActive ¶
func (m *Rent591HomeDetailNavDataMutation) SetActive(i int)
SetActive sets the "active" field.
func (*Rent591HomeDetailNavDataMutation) SetField ¶
func (m *Rent591HomeDetailNavDataMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailNavDataMutation) SetKey ¶
func (m *Rent591HomeDetailNavDataMutation) SetKey(s string)
SetKey sets the "key" field.
func (*Rent591HomeDetailNavDataMutation) SetOp ¶
func (m *Rent591HomeDetailNavDataMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailNavDataMutation) SetTitle ¶
func (m *Rent591HomeDetailNavDataMutation) SetTitle(s string)
SetTitle sets the "title" field.
func (*Rent591HomeDetailNavDataMutation) Title ¶
func (m *Rent591HomeDetailNavDataMutation) Title() (r string, exists bool)
Title returns the value of the "title" field in the mutation.
func (Rent591HomeDetailNavDataMutation) Tx ¶
func (m Rent591HomeDetailNavDataMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailNavDataMutation) Type ¶
func (m *Rent591HomeDetailNavDataMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailNavData).
func (*Rent591HomeDetailNavDataMutation) Where ¶
func (m *Rent591HomeDetailNavDataMutation) Where(ps ...predicate.Rent591HomeDetailNavData)
Where appends a list predicates to the Rent591HomeDetailNavDataMutation builder.
func (*Rent591HomeDetailNavDataMutation) WhereP ¶
func (m *Rent591HomeDetailNavDataMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailNavDataMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailNavDataQuery ¶
type Rent591HomeDetailNavDataQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataQuery is the builder for querying Rent591HomeDetailNavData entities.
func (*Rent591HomeDetailNavDataQuery) Aggregate ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailNavDataSelect
Aggregate returns a Rent591HomeDetailNavDataSelect configured with the given aggregations.
func (*Rent591HomeDetailNavDataQuery) All ¶
func (rdndq *Rent591HomeDetailNavDataQuery) All(ctx context.Context) ([]*Rent591HomeDetailNavData, error)
All executes the query and returns a list of Rent591HomeDetailNavDataSlice.
func (*Rent591HomeDetailNavDataQuery) AllX ¶
func (rdndq *Rent591HomeDetailNavDataQuery) AllX(ctx context.Context) []*Rent591HomeDetailNavData
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailNavDataQuery) Clone ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Clone() *Rent591HomeDetailNavDataQuery
Clone returns a duplicate of the Rent591HomeDetailNavDataQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailNavDataQuery) Count ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailNavDataQuery) CountX ¶
func (rdndq *Rent591HomeDetailNavDataQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailNavDataQuery) Exist ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailNavDataQuery) ExistX ¶
func (rdndq *Rent591HomeDetailNavDataQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailNavDataQuery) First ¶
func (rdndq *Rent591HomeDetailNavDataQuery) First(ctx context.Context) (*Rent591HomeDetailNavData, error)
First returns the first Rent591HomeDetailNavData entity from the query. Returns a *NotFoundError when no Rent591HomeDetailNavData was found.
func (*Rent591HomeDetailNavDataQuery) FirstID ¶
func (rdndq *Rent591HomeDetailNavDataQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailNavData ID from the query. Returns a *NotFoundError when no Rent591HomeDetailNavData ID was found.
func (*Rent591HomeDetailNavDataQuery) FirstIDX ¶
func (rdndq *Rent591HomeDetailNavDataQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailNavDataQuery) FirstX ¶
func (rdndq *Rent591HomeDetailNavDataQuery) FirstX(ctx context.Context) *Rent591HomeDetailNavData
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailNavDataQuery) GroupBy ¶
func (rdndq *Rent591HomeDetailNavDataQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailNavDataGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Title string `json:"title,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailNavData.Query(). GroupBy(rent591homedetailnavdata.FieldTitle). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailNavDataQuery) IDs ¶
func (rdndq *Rent591HomeDetailNavDataQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailNavData IDs.
func (*Rent591HomeDetailNavDataQuery) IDsX ¶
func (rdndq *Rent591HomeDetailNavDataQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailNavDataQuery) Limit ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Limit(limit int) *Rent591HomeDetailNavDataQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailNavDataQuery) Offset ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Offset(offset int) *Rent591HomeDetailNavDataQuery
Offset to start from.
func (*Rent591HomeDetailNavDataQuery) Only ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Only(ctx context.Context) (*Rent591HomeDetailNavData, error)
Only returns a single Rent591HomeDetailNavData entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailNavData entity is found. Returns a *NotFoundError when no Rent591HomeDetailNavData entities are found.
func (*Rent591HomeDetailNavDataQuery) OnlyID ¶
func (rdndq *Rent591HomeDetailNavDataQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailNavData ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailNavData ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailNavDataQuery) OnlyIDX ¶
func (rdndq *Rent591HomeDetailNavDataQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailNavDataQuery) OnlyX ¶
func (rdndq *Rent591HomeDetailNavDataQuery) OnlyX(ctx context.Context) *Rent591HomeDetailNavData
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailNavDataQuery) Order ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Order(o ...rent591homedetailnavdata.OrderOption) *Rent591HomeDetailNavDataQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailNavDataQuery) QueryRent591homeDetails ¶
func (rdndq *Rent591HomeDetailNavDataQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeDetailNavDataQuery) Select ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Select(fields ...string) *Rent591HomeDetailNavDataSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Title string `json:"title,omitempty"` } client.Rent591HomeDetailNavData.Query(). Select(rent591homedetailnavdata.FieldTitle). Scan(ctx, &v)
func (*Rent591HomeDetailNavDataQuery) Unique ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Unique(unique bool) *Rent591HomeDetailNavDataQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailNavDataQuery) Where ¶
func (rdndq *Rent591HomeDetailNavDataQuery) Where(ps ...predicate.Rent591HomeDetailNavData) *Rent591HomeDetailNavDataQuery
Where adds a new predicate for the Rent591HomeDetailNavDataQuery builder.
func (*Rent591HomeDetailNavDataQuery) WithRent591homeDetails ¶
func (rdndq *Rent591HomeDetailNavDataQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailNavDataQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailNavDataSelect ¶
type Rent591HomeDetailNavDataSelect struct { // contains filtered or unexported fields }
Rent591HomeDetailNavDataSelect is the builder for selecting fields of Rent591HomeDetailNavData entities.
func (*Rent591HomeDetailNavDataSelect) Aggregate ¶
func (rdnds *Rent591HomeDetailNavDataSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailNavDataSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailNavDataSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataSelect) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailNavDataSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailNavDataSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailNavDataSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataSelect) Scan ¶
func (rdnds *Rent591HomeDetailNavDataSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailNavDataSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailNavDataSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailNavDataSlice ¶
type Rent591HomeDetailNavDataSlice []*Rent591HomeDetailNavData
Rent591HomeDetailNavDataSlice is a parsable slice of Rent591HomeDetailNavData.
type Rent591HomeDetailNavDataUpdate ¶
type Rent591HomeDetailNavDataUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataUpdate is the builder for updating Rent591HomeDetailNavData entities.
func (*Rent591HomeDetailNavDataUpdate) AddActive ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) AddActive(i int) *Rent591HomeDetailNavDataUpdate
AddActive adds i to the "active" field.
func (*Rent591HomeDetailNavDataUpdate) AddRent591homeDetailIDs ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataUpdate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailNavDataUpdate) AddRent591homeDetails ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataUpdate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailNavDataUpdate) ClearRent591homeDetails ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) ClearRent591homeDetails() *Rent591HomeDetailNavDataUpdate
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailNavDataUpdate) Exec ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailNavDataUpdate) ExecX ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailNavDataUpdate) Mutation ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) Mutation() *Rent591HomeDetailNavDataMutation
Mutation returns the Rent591HomeDetailNavDataMutation object of the builder.
func (*Rent591HomeDetailNavDataUpdate) RemoveRent591homeDetailIDs ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataUpdate
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailNavDataUpdate) RemoveRent591homeDetails ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataUpdate
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailNavDataUpdate) Save ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailNavDataUpdate) SaveX ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailNavDataUpdate) SetActive ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) SetActive(i int) *Rent591HomeDetailNavDataUpdate
SetActive sets the "active" field.
func (*Rent591HomeDetailNavDataUpdate) SetKey ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) SetKey(s string) *Rent591HomeDetailNavDataUpdate
SetKey sets the "key" field.
func (*Rent591HomeDetailNavDataUpdate) SetTitle ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) SetTitle(s string) *Rent591HomeDetailNavDataUpdate
SetTitle sets the "title" field.
func (*Rent591HomeDetailNavDataUpdate) Where ¶
func (rdndu *Rent591HomeDetailNavDataUpdate) Where(ps ...predicate.Rent591HomeDetailNavData) *Rent591HomeDetailNavDataUpdate
Where appends a list predicates to the Rent591HomeDetailNavDataUpdate builder.
type Rent591HomeDetailNavDataUpdateOne ¶
type Rent591HomeDetailNavDataUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataUpdateOne is the builder for updating a single Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailNavDataUpdateOne) AddActive ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) AddActive(i int) *Rent591HomeDetailNavDataUpdateOne
AddActive adds i to the "active" field.
func (*Rent591HomeDetailNavDataUpdateOne) AddRent591homeDetailIDs ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataUpdateOne
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailNavDataUpdateOne) AddRent591homeDetails ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataUpdateOne
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailNavDataUpdateOne) ClearRent591homeDetails ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailNavDataUpdateOne
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailNavDataUpdateOne) Exec ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailNavDataUpdateOne) ExecX ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailNavDataUpdateOne) Mutation ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Mutation() *Rent591HomeDetailNavDataMutation
Mutation returns the Rent591HomeDetailNavDataMutation object of the builder.
func (*Rent591HomeDetailNavDataUpdateOne) RemoveRent591homeDetailIDs ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailNavDataUpdateOne
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailNavDataUpdateOne) RemoveRent591homeDetails ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailNavDataUpdateOne
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailNavDataUpdateOne) Save ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailNavData, error)
Save executes the query and returns the updated Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailNavDataUpdateOne) SaveX ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailNavData
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailNavDataUpdateOne) Select ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailNavDataUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailNavDataUpdateOne) SetActive ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) SetActive(i int) *Rent591HomeDetailNavDataUpdateOne
SetActive sets the "active" field.
func (*Rent591HomeDetailNavDataUpdateOne) SetKey ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) SetKey(s string) *Rent591HomeDetailNavDataUpdateOne
SetKey sets the "key" field.
func (*Rent591HomeDetailNavDataUpdateOne) SetTitle ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) SetTitle(s string) *Rent591HomeDetailNavDataUpdateOne
SetTitle sets the "title" field.
func (*Rent591HomeDetailNavDataUpdateOne) Where ¶
func (rdnduo *Rent591HomeDetailNavDataUpdateOne) Where(ps ...predicate.Rent591HomeDetailNavData) *Rent591HomeDetailNavDataUpdateOne
Where appends a list predicates to the Rent591HomeDetailNavDataUpdate builder.
type Rent591HomeDetailNavDataUpsert ¶
type Rent591HomeDetailNavDataUpsert struct {
}Rent591HomeDetailNavDataUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailNavDataUpsert) AddActive ¶
func (u *Rent591HomeDetailNavDataUpsert) AddActive(v int) *Rent591HomeDetailNavDataUpsert
AddActive adds v to the "active" field.
func (*Rent591HomeDetailNavDataUpsert) SetActive ¶
func (u *Rent591HomeDetailNavDataUpsert) SetActive(v int) *Rent591HomeDetailNavDataUpsert
SetActive sets the "active" field.
func (*Rent591HomeDetailNavDataUpsert) SetKey ¶
func (u *Rent591HomeDetailNavDataUpsert) SetKey(v string) *Rent591HomeDetailNavDataUpsert
SetKey sets the "key" field.
func (*Rent591HomeDetailNavDataUpsert) SetTitle ¶
func (u *Rent591HomeDetailNavDataUpsert) SetTitle(v string) *Rent591HomeDetailNavDataUpsert
SetTitle sets the "title" field.
func (*Rent591HomeDetailNavDataUpsert) UpdateActive ¶
func (u *Rent591HomeDetailNavDataUpsert) UpdateActive() *Rent591HomeDetailNavDataUpsert
UpdateActive sets the "active" field to the value that was provided on create.
func (*Rent591HomeDetailNavDataUpsert) UpdateKey ¶
func (u *Rent591HomeDetailNavDataUpsert) UpdateKey() *Rent591HomeDetailNavDataUpsert
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailNavDataUpsert) UpdateTitle ¶
func (u *Rent591HomeDetailNavDataUpsert) UpdateTitle() *Rent591HomeDetailNavDataUpsert
UpdateTitle sets the "title" field to the value that was provided on create.
type Rent591HomeDetailNavDataUpsertBulk ¶
type Rent591HomeDetailNavDataUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailNavData nodes.
func (*Rent591HomeDetailNavDataUpsertBulk) AddActive ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) AddActive(v int) *Rent591HomeDetailNavDataUpsertBulk
AddActive adds v to the "active" field.
func (*Rent591HomeDetailNavDataUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) DoNothing() *Rent591HomeDetailNavDataUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailNavDataUpsertBulk) Exec ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailNavDataUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailNavDataUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) Ignore() *Rent591HomeDetailNavDataUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailNavData.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailNavDataUpsertBulk) SetActive ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) SetActive(v int) *Rent591HomeDetailNavDataUpsertBulk
SetActive sets the "active" field.
func (*Rent591HomeDetailNavDataUpsertBulk) SetKey ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) SetKey(v string) *Rent591HomeDetailNavDataUpsertBulk
SetKey sets the "key" field.
func (*Rent591HomeDetailNavDataUpsertBulk) SetTitle ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) SetTitle(v string) *Rent591HomeDetailNavDataUpsertBulk
SetTitle sets the "title" field.
func (*Rent591HomeDetailNavDataUpsertBulk) Update ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) Update(set func(*Rent591HomeDetailNavDataUpsert)) *Rent591HomeDetailNavDataUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailNavDataCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailNavDataUpsertBulk) UpdateActive ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) UpdateActive() *Rent591HomeDetailNavDataUpsertBulk
UpdateActive sets the "active" field to the value that was provided on create.
func (*Rent591HomeDetailNavDataUpsertBulk) UpdateKey ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) UpdateKey() *Rent591HomeDetailNavDataUpsertBulk
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailNavDataUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) UpdateNewValues() *Rent591HomeDetailNavDataUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailNavData.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailNavDataUpsertBulk) UpdateTitle ¶
func (u *Rent591HomeDetailNavDataUpsertBulk) UpdateTitle() *Rent591HomeDetailNavDataUpsertBulk
UpdateTitle sets the "title" field to the value that was provided on create.
type Rent591HomeDetailNavDataUpsertOne ¶
type Rent591HomeDetailNavDataUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailNavDataUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailNavData node.
func (*Rent591HomeDetailNavDataUpsertOne) AddActive ¶
func (u *Rent591HomeDetailNavDataUpsertOne) AddActive(v int) *Rent591HomeDetailNavDataUpsertOne
AddActive adds v to the "active" field.
func (*Rent591HomeDetailNavDataUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailNavDataUpsertOne) DoNothing() *Rent591HomeDetailNavDataUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailNavDataUpsertOne) Exec ¶
func (u *Rent591HomeDetailNavDataUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailNavDataUpsertOne) ExecX ¶
func (u *Rent591HomeDetailNavDataUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailNavDataUpsertOne) ID ¶
func (u *Rent591HomeDetailNavDataUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailNavDataUpsertOne) IDX ¶
func (u *Rent591HomeDetailNavDataUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailNavDataUpsertOne) Ignore ¶
func (u *Rent591HomeDetailNavDataUpsertOne) Ignore() *Rent591HomeDetailNavDataUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailNavData.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailNavDataUpsertOne) SetActive ¶
func (u *Rent591HomeDetailNavDataUpsertOne) SetActive(v int) *Rent591HomeDetailNavDataUpsertOne
SetActive sets the "active" field.
func (*Rent591HomeDetailNavDataUpsertOne) SetKey ¶
func (u *Rent591HomeDetailNavDataUpsertOne) SetKey(v string) *Rent591HomeDetailNavDataUpsertOne
SetKey sets the "key" field.
func (*Rent591HomeDetailNavDataUpsertOne) SetTitle ¶
func (u *Rent591HomeDetailNavDataUpsertOne) SetTitle(v string) *Rent591HomeDetailNavDataUpsertOne
SetTitle sets the "title" field.
func (*Rent591HomeDetailNavDataUpsertOne) Update ¶
func (u *Rent591HomeDetailNavDataUpsertOne) Update(set func(*Rent591HomeDetailNavDataUpsert)) *Rent591HomeDetailNavDataUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailNavDataCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailNavDataUpsertOne) UpdateActive ¶
func (u *Rent591HomeDetailNavDataUpsertOne) UpdateActive() *Rent591HomeDetailNavDataUpsertOne
UpdateActive sets the "active" field to the value that was provided on create.
func (*Rent591HomeDetailNavDataUpsertOne) UpdateKey ¶
func (u *Rent591HomeDetailNavDataUpsertOne) UpdateKey() *Rent591HomeDetailNavDataUpsertOne
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailNavDataUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailNavDataUpsertOne) UpdateNewValues() *Rent591HomeDetailNavDataUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailNavData.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailNavDataUpsertOne) UpdateTitle ¶
func (u *Rent591HomeDetailNavDataUpsertOne) UpdateTitle() *Rent591HomeDetailNavDataUpsertOne
UpdateTitle sets the "title" field to the value that was provided on create.
type Rent591HomeDetailPositionRound ¶
type Rent591HomeDetailPositionRound struct { // ID of the ent. ID int `json:"id,omitempty"` // Title holds the value of the "title" field. Title string `json:"title,omitempty"` // Key holds the value of the "key" field. Key string `json:"key,omitempty"` // Active holds the value of the "active" field. Active int `json:"active,omitempty"` // CommunityName holds the value of the "community_name" field. CommunityName string `json:"community_name,omitempty"` // CommunityID holds the value of the "community_id" field. CommunityID int `json:"community_id,omitempty"` // Address holds the value of the "address" field. Address string `json:"address,omitempty"` // Lat holds the value of the "lat" field. Lat float64 `json:"lat,omitempty"` // Lng holds the value of the "lng" field. Lng float64 `json:"lng,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailPositionRoundQuery when eager-loading is set. Edges Rent591HomeDetailPositionRoundEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetailPositionRound is the model entity for the Rent591HomeDetailPositionRound schema.
func (*Rent591HomeDetailPositionRound) QueryRent591homeDetailPositionRoundDatas ¶
func (rdpr *Rent591HomeDetailPositionRound) QueryRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataQuery
QueryRent591homeDetailPositionRoundDatas queries the "rent591home_detail_position_round_datas" edge of the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRound) QueryRent591homeDetails ¶
func (rdpr *Rent591HomeDetailPositionRound) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRound) String ¶
func (rdpr *Rent591HomeDetailPositionRound) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailPositionRound) Unwrap ¶
func (rdpr *Rent591HomeDetailPositionRound) Unwrap() *Rent591HomeDetailPositionRound
Unwrap unwraps the Rent591HomeDetailPositionRound entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailPositionRound) Update ¶
func (rdpr *Rent591HomeDetailPositionRound) Update() *Rent591HomeDetailPositionRoundUpdateOne
Update returns a builder for updating this Rent591HomeDetailPositionRound. Note that you need to call Rent591HomeDetailPositionRound.Unwrap() before calling this method if this Rent591HomeDetailPositionRound was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailPositionRoundClient ¶
type Rent591HomeDetailPositionRoundClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundClient is a client for the Rent591HomeDetailPositionRound schema.
func NewRent591HomeDetailPositionRoundClient ¶
func NewRent591HomeDetailPositionRoundClient(c config) *Rent591HomeDetailPositionRoundClient
NewRent591HomeDetailPositionRoundClient returns a client for the Rent591HomeDetailPositionRound from the given config.
func (*Rent591HomeDetailPositionRoundClient) Create ¶
func (c *Rent591HomeDetailPositionRoundClient) Create() *Rent591HomeDetailPositionRoundCreate
Create returns a builder for creating a Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundClient) CreateBulk ¶
func (c *Rent591HomeDetailPositionRoundClient) CreateBulk(builders ...*Rent591HomeDetailPositionRoundCreate) *Rent591HomeDetailPositionRoundCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailPositionRound entities.
func (*Rent591HomeDetailPositionRoundClient) Delete ¶
func (c *Rent591HomeDetailPositionRoundClient) Delete() *Rent591HomeDetailPositionRoundDelete
Delete returns a delete builder for Rent591HomeDetailPositionRound.
func (*Rent591HomeDetailPositionRoundClient) DeleteOne ¶
func (c *Rent591HomeDetailPositionRoundClient) DeleteOne(rdpr *Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailPositionRoundClient) DeleteOneID ¶
func (c *Rent591HomeDetailPositionRoundClient) DeleteOneID(id int) *Rent591HomeDetailPositionRoundDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailPositionRoundClient) Get ¶
func (c *Rent591HomeDetailPositionRoundClient) Get(ctx context.Context, id int) (*Rent591HomeDetailPositionRound, error)
Get returns a Rent591HomeDetailPositionRound entity by its id.
func (*Rent591HomeDetailPositionRoundClient) GetX ¶
func (c *Rent591HomeDetailPositionRoundClient) GetX(ctx context.Context, id int) *Rent591HomeDetailPositionRound
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundClient) Hooks ¶
func (c *Rent591HomeDetailPositionRoundClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailPositionRoundClient) Intercept ¶
func (c *Rent591HomeDetailPositionRoundClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailpositionround.Intercept(f(g(h())))`.
func (*Rent591HomeDetailPositionRoundClient) Interceptors ¶
func (c *Rent591HomeDetailPositionRoundClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailPositionRoundClient) Query ¶
func (c *Rent591HomeDetailPositionRoundClient) Query() *Rent591HomeDetailPositionRoundQuery
Query returns a query builder for Rent591HomeDetailPositionRound.
func (*Rent591HomeDetailPositionRoundClient) QueryRent591homeDetailPositionRoundDatas ¶
func (c *Rent591HomeDetailPositionRoundClient) QueryRent591homeDetailPositionRoundDatas(rdpr *Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataQuery
QueryRent591homeDetailPositionRoundDatas queries the rent591home_detail_position_round_datas edge of a Rent591HomeDetailPositionRound.
func (*Rent591HomeDetailPositionRoundClient) QueryRent591homeDetails ¶
func (c *Rent591HomeDetailPositionRoundClient) QueryRent591homeDetails(rdpr *Rent591HomeDetailPositionRound) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591HomeDetailPositionRound.
func (*Rent591HomeDetailPositionRoundClient) Update ¶
func (c *Rent591HomeDetailPositionRoundClient) Update() *Rent591HomeDetailPositionRoundUpdate
Update returns an update builder for Rent591HomeDetailPositionRound.
func (*Rent591HomeDetailPositionRoundClient) UpdateOne ¶
func (c *Rent591HomeDetailPositionRoundClient) UpdateOne(rdpr *Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailPositionRoundClient) UpdateOneID ¶
func (c *Rent591HomeDetailPositionRoundClient) UpdateOneID(id int) *Rent591HomeDetailPositionRoundUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailPositionRoundClient) Use ¶
func (c *Rent591HomeDetailPositionRoundClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailpositionround.Hooks(f(g(h())))`.
type Rent591HomeDetailPositionRoundCreate ¶
type Rent591HomeDetailPositionRoundCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundCreate is the builder for creating a Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundCreate) AddRent591homeDetailPositionRoundDataIDs ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundCreate
AddRent591homeDetailPositionRoundDataIDs adds the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by IDs.
func (*Rent591HomeDetailPositionRoundCreate) AddRent591homeDetailPositionRoundDatas ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundCreate
AddRent591homeDetailPositionRoundDatas adds the "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundCreate) Exec ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundCreate) ExecX ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundCreate) Mutation ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) Mutation() *Rent591HomeDetailPositionRoundMutation
Mutation returns the Rent591HomeDetailPositionRoundMutation object of the builder.
func (*Rent591HomeDetailPositionRoundCreate) OnConflict ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailPositionRound.Create(). SetTitle(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailPositionRoundUpsert) { SetTitle(v+v). }). Exec(ctx)
func (*Rent591HomeDetailPositionRoundCreate) OnConflictColumns ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRound.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailPositionRoundCreate) Save ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) Save(ctx context.Context) (*Rent591HomeDetailPositionRound, error)
Save creates the Rent591HomeDetailPositionRound in the database.
func (*Rent591HomeDetailPositionRoundCreate) SaveX ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SaveX(ctx context.Context) *Rent591HomeDetailPositionRound
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailPositionRoundCreate) SetActive ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetActive(i int) *Rent591HomeDetailPositionRoundCreate
SetActive sets the "active" field.
func (*Rent591HomeDetailPositionRoundCreate) SetAddress ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetAddress(s string) *Rent591HomeDetailPositionRoundCreate
SetAddress sets the "address" field.
func (*Rent591HomeDetailPositionRoundCreate) SetCommunityID ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetCommunityID(i int) *Rent591HomeDetailPositionRoundCreate
SetCommunityID sets the "community_id" field.
func (*Rent591HomeDetailPositionRoundCreate) SetCommunityName ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetCommunityName(s string) *Rent591HomeDetailPositionRoundCreate
SetCommunityName sets the "community_name" field.
func (*Rent591HomeDetailPositionRoundCreate) SetKey ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetKey(s string) *Rent591HomeDetailPositionRoundCreate
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundCreate) SetLat ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetLat(f float64) *Rent591HomeDetailPositionRoundCreate
SetLat sets the "lat" field.
func (*Rent591HomeDetailPositionRoundCreate) SetLng ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetLng(f float64) *Rent591HomeDetailPositionRoundCreate
SetLng sets the "lng" field.
func (*Rent591HomeDetailPositionRoundCreate) SetNillableRent591homeDetailsID ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetNillableRent591homeDetailsID(id *int) *Rent591HomeDetailPositionRoundCreate
SetNillableRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID if the given value is not nil.
func (*Rent591HomeDetailPositionRoundCreate) SetRent591homeDetails ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeDetailPositionRoundCreate
SetRent591homeDetails sets the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPositionRoundCreate) SetRent591homeDetailsID ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetRent591homeDetailsID(id int) *Rent591HomeDetailPositionRoundCreate
SetRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID.
func (*Rent591HomeDetailPositionRoundCreate) SetTitle ¶
func (rdprc *Rent591HomeDetailPositionRoundCreate) SetTitle(s string) *Rent591HomeDetailPositionRoundCreate
SetTitle sets the "title" field.
type Rent591HomeDetailPositionRoundCreateBulk ¶
type Rent591HomeDetailPositionRoundCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundCreateBulk is the builder for creating many Rent591HomeDetailPositionRound entities in bulk.
func (*Rent591HomeDetailPositionRoundCreateBulk) Exec ¶
func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundCreateBulk) ExecX ¶
func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundCreateBulk) OnConflict ¶
func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailPositionRound.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailPositionRoundUpsert) { SetTitle(v+v). }). Exec(ctx)
func (*Rent591HomeDetailPositionRoundCreateBulk) OnConflictColumns ¶
func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRound.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailPositionRoundCreateBulk) Save ¶
func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailPositionRound, error)
Save creates the Rent591HomeDetailPositionRound entities in the database.
func (*Rent591HomeDetailPositionRoundCreateBulk) SaveX ¶
func (rdprcb *Rent591HomeDetailPositionRoundCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailPositionRound
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailPositionRoundData ¶
type Rent591HomeDetailPositionRoundData struct { // ID of the ent. ID int `json:"id,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // Key holds the value of the "key" field. Key string `json:"key,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailPositionRoundDataQuery when eager-loading is set. Edges Rent591HomeDetailPositionRoundDataEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetailPositionRoundData is the model entity for the Rent591HomeDetailPositionRoundData schema.
func (*Rent591HomeDetailPositionRoundData) QueryRent591homeDetailPositionRoundDataChildrens ¶
func (rdprd *Rent591HomeDetailPositionRoundData) QueryRent591homeDetailPositionRoundDataChildrens() *Rent591HomeDetailPositionRoundDataChildrenQuery
QueryRent591homeDetailPositionRoundDataChildrens queries the "rent591home_detail_position_round_data_childrens" edge of the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundData) QueryRent591homeDetailPositionRounds ¶
func (rdprd *Rent591HomeDetailPositionRoundData) QueryRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundQuery
QueryRent591homeDetailPositionRounds queries the "rent591home_detail_position_rounds" edge of the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundData) String ¶
func (rdprd *Rent591HomeDetailPositionRoundData) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailPositionRoundData) Unwrap ¶
func (rdprd *Rent591HomeDetailPositionRoundData) Unwrap() *Rent591HomeDetailPositionRoundData
Unwrap unwraps the Rent591HomeDetailPositionRoundData entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailPositionRoundData) Update ¶
func (rdprd *Rent591HomeDetailPositionRoundData) Update() *Rent591HomeDetailPositionRoundDataUpdateOne
Update returns a builder for updating this Rent591HomeDetailPositionRoundData. Note that you need to call Rent591HomeDetailPositionRoundData.Unwrap() before calling this method if this Rent591HomeDetailPositionRoundData was returned from a transaction, and the transaction was committed or rolled back.
func (*Rent591HomeDetailPositionRoundData) Value ¶
func (rdprd *Rent591HomeDetailPositionRoundData) Value(name string) (ent.Value, error)
Value returns the ent.Value that was dynamically selected and assigned to the Rent591HomeDetailPositionRoundData. This includes values selected through modifiers, order, etc.
type Rent591HomeDetailPositionRoundDataChildren ¶
type Rent591HomeDetailPositionRoundDataChildren struct { // ID of the ent. ID int `json:"id,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // Key holds the value of the "key" field. Key string `json:"key,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailPositionRoundDataChildrenQuery when eager-loading is set. Edges Rent591HomeDetailPositionRoundDataChildrenEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetailPositionRoundDataChildren is the model entity for the Rent591HomeDetailPositionRoundDataChildren schema.
func (*Rent591HomeDetailPositionRoundDataChildren) QueryRent591homeDetailPositionRoundDatas ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) QueryRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataQuery
QueryRent591homeDetailPositionRoundDatas queries the "rent591home_detail_position_round_datas" edge of the Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataChildren) String ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailPositionRoundDataChildren) Unwrap ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) Unwrap() *Rent591HomeDetailPositionRoundDataChildren
Unwrap unwraps the Rent591HomeDetailPositionRoundDataChildren entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailPositionRoundDataChildren) Update ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) Update() *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
Update returns a builder for updating this Rent591HomeDetailPositionRoundDataChildren. Note that you need to call Rent591HomeDetailPositionRoundDataChildren.Unwrap() before calling this method if this Rent591HomeDetailPositionRoundDataChildren was returned from a transaction, and the transaction was committed or rolled back.
func (*Rent591HomeDetailPositionRoundDataChildren) Value ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataChildren) Value(name string) (ent.Value, error)
Value returns the ent.Value that was dynamically selected and assigned to the Rent591HomeDetailPositionRoundDataChildren. This includes values selected through modifiers, order, etc.
type Rent591HomeDetailPositionRoundDataChildrenClient ¶
type Rent591HomeDetailPositionRoundDataChildrenClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenClient is a client for the Rent591HomeDetailPositionRoundDataChildren schema.
func NewRent591HomeDetailPositionRoundDataChildrenClient ¶
func NewRent591HomeDetailPositionRoundDataChildrenClient(c config) *Rent591HomeDetailPositionRoundDataChildrenClient
NewRent591HomeDetailPositionRoundDataChildrenClient returns a client for the Rent591HomeDetailPositionRoundDataChildren from the given config.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Create ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Create() *Rent591HomeDetailPositionRoundDataChildrenCreate
Create returns a builder for creating a Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) CreateBulk ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) CreateBulk(builders ...*Rent591HomeDetailPositionRoundDataChildrenCreate) *Rent591HomeDetailPositionRoundDataChildrenCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailPositionRoundDataChildren entities.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Delete ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Delete() *Rent591HomeDetailPositionRoundDataChildrenDelete
Delete returns a delete builder for Rent591HomeDetailPositionRoundDataChildren.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) DeleteOne ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) DeleteOne(rdprdc *Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) DeleteOneID ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) DeleteOneID(id int) *Rent591HomeDetailPositionRoundDataChildrenDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Get ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Get(ctx context.Context, id int) (*Rent591HomeDetailPositionRoundDataChildren, error)
Get returns a Rent591HomeDetailPositionRoundDataChildren entity by its id.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) GetX ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) GetX(ctx context.Context, id int) *Rent591HomeDetailPositionRoundDataChildren
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Hooks ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Intercept ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailpositionrounddatachildren.Intercept(f(g(h())))`.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Interceptors ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Query ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Query() *Rent591HomeDetailPositionRoundDataChildrenQuery
Query returns a query builder for Rent591HomeDetailPositionRoundDataChildren.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) QueryRent591homeDetailPositionRoundDatas ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) QueryRent591homeDetailPositionRoundDatas(rdprdc *Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataQuery
QueryRent591homeDetailPositionRoundDatas queries the rent591home_detail_position_round_datas edge of a Rent591HomeDetailPositionRoundDataChildren.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Update ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Update() *Rent591HomeDetailPositionRoundDataChildrenUpdate
Update returns an update builder for Rent591HomeDetailPositionRoundDataChildren.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) UpdateOne ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) UpdateOne(rdprdc *Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) UpdateOneID ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) UpdateOneID(id int) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailPositionRoundDataChildrenClient) Use ¶
func (c *Rent591HomeDetailPositionRoundDataChildrenClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailpositionrounddatachildren.Hooks(f(g(h())))`.
type Rent591HomeDetailPositionRoundDataChildrenCreate ¶
type Rent591HomeDetailPositionRoundDataChildrenCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenCreate is the builder for creating a Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) AddRent591homeDetailPositionRoundDataIDs ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenCreate
AddRent591homeDetailPositionRoundDataIDs adds the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by IDs.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) AddRent591homeDetailPositionRoundDatas ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenCreate
AddRent591homeDetailPositionRoundDatas adds the "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) Exec ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) ExecX ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) Mutation ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) Mutation() *Rent591HomeDetailPositionRoundDataChildrenMutation
Mutation returns the Rent591HomeDetailPositionRoundDataChildrenMutation object of the builder.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) OnConflict ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailPositionRoundDataChildren.Create(). SetName(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailPositionRoundDataChildrenUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) OnConflictColumns ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundDataChildren.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) Save ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) Save(ctx context.Context) (*Rent591HomeDetailPositionRoundDataChildren, error)
Save creates the Rent591HomeDetailPositionRoundDataChildren in the database.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) SaveX ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) SaveX(ctx context.Context) *Rent591HomeDetailPositionRoundDataChildren
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) SetKey ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) SetKey(s string) *Rent591HomeDetailPositionRoundDataChildrenCreate
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataChildrenCreate) SetName ¶
func (rdprdcc *Rent591HomeDetailPositionRoundDataChildrenCreate) SetName(s string) *Rent591HomeDetailPositionRoundDataChildrenCreate
SetName sets the "name" field.
type Rent591HomeDetailPositionRoundDataChildrenCreateBulk ¶
type Rent591HomeDetailPositionRoundDataChildrenCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenCreateBulk is the builder for creating many Rent591HomeDetailPositionRoundDataChildren entities in bulk.
func (*Rent591HomeDetailPositionRoundDataChildrenCreateBulk) Exec ¶
func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataChildrenCreateBulk) ExecX ¶
func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenCreateBulk) OnConflict ¶
func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailPositionRoundDataChildren.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailPositionRoundDataChildrenUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataChildrenCreateBulk) OnConflictColumns ¶
func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundDataChildren.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataChildrenCreateBulk) Save ¶
func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailPositionRoundDataChildren, error)
Save creates the Rent591HomeDetailPositionRoundDataChildren entities in the database.
func (*Rent591HomeDetailPositionRoundDataChildrenCreateBulk) SaveX ¶
func (rdprdccb *Rent591HomeDetailPositionRoundDataChildrenCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailPositionRoundDataChildren
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailPositionRoundDataChildrenDelete ¶
type Rent591HomeDetailPositionRoundDataChildrenDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenDelete is the builder for deleting a Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataChildrenDelete) Exec ¶
func (rdprdcd *Rent591HomeDetailPositionRoundDataChildrenDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailPositionRoundDataChildrenDelete) ExecX ¶
func (rdprdcd *Rent591HomeDetailPositionRoundDataChildrenDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenDelete) Where ¶
func (rdprdcd *Rent591HomeDetailPositionRoundDataChildrenDelete) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenDelete
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataChildrenDelete builder.
type Rent591HomeDetailPositionRoundDataChildrenDeleteOne ¶
type Rent591HomeDetailPositionRoundDataChildrenDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenDeleteOne is the builder for deleting a single Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataChildrenDeleteOne) Exec ¶
func (rdprdcdo *Rent591HomeDetailPositionRoundDataChildrenDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailPositionRoundDataChildrenDeleteOne) ExecX ¶
func (rdprdcdo *Rent591HomeDetailPositionRoundDataChildrenDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenDeleteOne) Where ¶
func (rdprdcdo *Rent591HomeDetailPositionRoundDataChildrenDeleteOne) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenDeleteOne
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataChildrenDelete builder.
type Rent591HomeDetailPositionRoundDataChildrenEdges ¶
type Rent591HomeDetailPositionRoundDataChildrenEdges struct { // Rent591homeDetailPositionRoundDatas holds the value of the rent591home_detail_position_round_datas edge. Rent591homeDetailPositionRoundDatas []*Rent591HomeDetailPositionRoundData `json:"rent591home_detail_position_round_datas,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailPositionRoundDataChildrenEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailPositionRoundDataChildrenEdges) Rent591homeDetailPositionRoundDatasOrErr ¶
func (e Rent591HomeDetailPositionRoundDataChildrenEdges) Rent591homeDetailPositionRoundDatasOrErr() ([]*Rent591HomeDetailPositionRoundData, error)
Rent591homeDetailPositionRoundDatasOrErr returns the Rent591homeDetailPositionRoundDatas value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailPositionRoundDataChildrenGroupBy ¶
type Rent591HomeDetailPositionRoundDataChildrenGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenGroupBy is the group-by builder for Rent591HomeDetailPositionRoundDataChildren entities.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Aggregate ¶
func (rdprdcgb *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataChildrenGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Bool ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Bool(ctx context.Context) (_ bool, err error)
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Bools ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Bools(ctx context.Context) ([]bool, error)
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64 ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64(ctx context.Context) (_ float64, err error)
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64s ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64s(ctx context.Context) ([]float64, error)
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64sX ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Float64sX(ctx context.Context) []float64
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Int ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Int(ctx context.Context) (_ int, err error)
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) IntX ¶
IntX is like Int, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Ints ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Ints(ctx context.Context) ([]int, error)
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) Scan ¶
func (rdprdcgb *Rent591HomeDetailPositionRoundDataChildrenGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) String ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenGroupBy) String(ctx context.Context) (_ string, err error)
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailPositionRoundDataChildrenMutation ¶
type Rent591HomeDetailPositionRoundDataChildrenMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenMutation represents an operation that mutates the Rent591HomeDetailPositionRoundDataChildren nodes in the graph.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) AddField ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) AddRent591homeDetailPositionRoundDataIDs ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddRent591homeDetailPositionRoundDataIDs(ids ...int)
AddRent591homeDetailPositionRoundDataIDs adds the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by ids.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) AddedEdges ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) AddedField ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) AddedFields ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) AddedIDs ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ClearEdge ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ClearField ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ClearRent591homeDetailPositionRoundDatas ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearRent591homeDetailPositionRoundDatas()
ClearRent591homeDetailPositionRoundDatas clears the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ClearedEdges ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ClearedFields ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailPositionRoundDataChildrenMutation) Client ¶
func (m Rent591HomeDetailPositionRoundDataChildrenMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) EdgeCleared ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Field ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) FieldCleared ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Fields ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ID ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) IDs ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Key ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Key() (r string, exists bool)
Key returns the value of the "key" field in the mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Name ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Name() (r string, exists bool)
Name returns the value of the "name" field in the mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) OldField ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) OldKey ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) OldKey(ctx context.Context) (v string, err error)
OldKey returns the old "key" field's value of the Rent591HomeDetailPositionRoundDataChildren entity. If the Rent591HomeDetailPositionRoundDataChildren object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) OldName ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) OldName(ctx context.Context) (v string, err error)
OldName returns the old "name" field's value of the Rent591HomeDetailPositionRoundDataChildren entity. If the Rent591HomeDetailPositionRoundDataChildren object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Op ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) RemoveRent591homeDetailPositionRoundDataIDs ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int)
RemoveRent591homeDetailPositionRoundDataIDs removes the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by IDs.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedEdges ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedIDs ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedRent591homeDetailPositionRoundDatasIDs ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) RemovedRent591homeDetailPositionRoundDatasIDs() (ids []int)
RemovedRent591homeDetailPositionRoundDatas returns the removed IDs of the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Rent591homeDetailPositionRoundDatasCleared ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Rent591homeDetailPositionRoundDatasCleared() bool
Rent591homeDetailPositionRoundDatasCleared reports if the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity was cleared.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Rent591homeDetailPositionRoundDatasIDs ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Rent591homeDetailPositionRoundDatasIDs() (ids []int)
Rent591homeDetailPositionRoundDatasIDs returns the "rent591home_detail_position_round_datas" edge IDs in the mutation.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ResetEdge ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ResetField ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ResetKey ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetKey()
ResetKey resets all changes to the "key" field.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ResetName ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetName()
ResetName resets all changes to the "name" field.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) ResetRent591homeDetailPositionRoundDatas ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) ResetRent591homeDetailPositionRoundDatas()
ResetRent591homeDetailPositionRoundDatas resets all changes to the "rent591home_detail_position_round_datas" edge.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) SetField ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) SetKey ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) SetKey(s string)
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) SetName ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) SetName(s string)
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) SetOp ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (Rent591HomeDetailPositionRoundDataChildrenMutation) Tx ¶
func (m Rent591HomeDetailPositionRoundDataChildrenMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Type ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailPositionRoundDataChildren).
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) Where ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren)
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataChildrenMutation builder.
func (*Rent591HomeDetailPositionRoundDataChildrenMutation) WhereP ¶
func (m *Rent591HomeDetailPositionRoundDataChildrenMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailPositionRoundDataChildrenMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailPositionRoundDataChildrenQuery ¶
type Rent591HomeDetailPositionRoundDataChildrenQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenQuery is the builder for querying Rent591HomeDetailPositionRoundDataChildren entities.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Aggregate ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataChildrenSelect
Aggregate returns a Rent591HomeDetailPositionRoundDataChildrenSelect configured with the given aggregations.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) All ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) All(ctx context.Context) ([]*Rent591HomeDetailPositionRoundDataChildren, error)
All executes the query and returns a list of Rent591HomeDetailPositionRoundDataChildrens.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) AllX ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) AllX(ctx context.Context) []*Rent591HomeDetailPositionRoundDataChildren
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Clone ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Clone() *Rent591HomeDetailPositionRoundDataChildrenQuery
Clone returns a duplicate of the Rent591HomeDetailPositionRoundDataChildrenQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Count ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) CountX ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Exist ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) ExistX ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) First ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) First(ctx context.Context) (*Rent591HomeDetailPositionRoundDataChildren, error)
First returns the first Rent591HomeDetailPositionRoundDataChildren entity from the query. Returns a *NotFoundError when no Rent591HomeDetailPositionRoundDataChildren was found.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) FirstID ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailPositionRoundDataChildren ID from the query. Returns a *NotFoundError when no Rent591HomeDetailPositionRoundDataChildren ID was found.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) FirstIDX ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) FirstX ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) FirstX(ctx context.Context) *Rent591HomeDetailPositionRoundDataChildren
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) GroupBy ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailPositionRoundDataChildrenGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Name string `json:"name,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailPositionRoundDataChildren.Query(). GroupBy(rent591homedetailpositionrounddatachildren.FieldName). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) IDs ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailPositionRoundDataChildren IDs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) IDsX ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Limit ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Limit(limit int) *Rent591HomeDetailPositionRoundDataChildrenQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Offset ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Offset(offset int) *Rent591HomeDetailPositionRoundDataChildrenQuery
Offset to start from.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Only ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Only(ctx context.Context) (*Rent591HomeDetailPositionRoundDataChildren, error)
Only returns a single Rent591HomeDetailPositionRoundDataChildren entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailPositionRoundDataChildren entity is found. Returns a *NotFoundError when no Rent591HomeDetailPositionRoundDataChildren entities are found.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyID ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailPositionRoundDataChildren ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailPositionRoundDataChildren ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyIDX ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyX ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) OnlyX(ctx context.Context) *Rent591HomeDetailPositionRoundDataChildren
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Order ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Order(o ...rent591homedetailpositionrounddatachildren.OrderOption) *Rent591HomeDetailPositionRoundDataChildrenQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) QueryRent591homeDetailPositionRoundDatas ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) QueryRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataQuery
QueryRent591homeDetailPositionRoundDatas chains the current query on the "rent591home_detail_position_round_datas" edge.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Select ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Select(fields ...string) *Rent591HomeDetailPositionRoundDataChildrenSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Name string `json:"name,omitempty"` } client.Rent591HomeDetailPositionRoundDataChildren.Query(). Select(rent591homedetailpositionrounddatachildren.FieldName). Scan(ctx, &v)
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Unique ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Unique(unique bool) *Rent591HomeDetailPositionRoundDataChildrenQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) Where ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenQuery
Where adds a new predicate for the Rent591HomeDetailPositionRoundDataChildrenQuery builder.
func (*Rent591HomeDetailPositionRoundDataChildrenQuery) WithRent591homeDetailPositionRoundDatas ¶
func (rdprdcq *Rent591HomeDetailPositionRoundDataChildrenQuery) WithRent591homeDetailPositionRoundDatas(opts ...func(*Rent591HomeDetailPositionRoundDataQuery)) *Rent591HomeDetailPositionRoundDataChildrenQuery
WithRent591homeDetailPositionRoundDatas tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_position_round_datas" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailPositionRoundDataChildrenSelect ¶
type Rent591HomeDetailPositionRoundDataChildrenSelect struct { *Rent591HomeDetailPositionRoundDataChildrenQuery // contains filtered or unexported fields }
Rent591HomeDetailPositionRoundDataChildrenSelect is the builder for selecting fields of Rent591HomeDetailPositionRoundDataChildren entities.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Aggregate ¶
func (rdprdcs *Rent591HomeDetailPositionRoundDataChildrenSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataChildrenSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Bool ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Bool(ctx context.Context) (_ bool, err error)
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Bools ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Bools(ctx context.Context) ([]bool, error)
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Float64 ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Float64(ctx context.Context) (_ float64, err error)
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Float64s ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Float64s(ctx context.Context) ([]float64, error)
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Int ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) Int(ctx context.Context) (_ int, err error)
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) IntX ¶
IntX is like Int, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) Scan ¶
func (rdprdcs *Rent591HomeDetailPositionRoundDataChildrenSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) String ¶
func (s *Rent591HomeDetailPositionRoundDataChildrenSelect) String(ctx context.Context) (_ string, err error)
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataChildrenSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailPositionRoundDataChildrenUpdate ¶
type Rent591HomeDetailPositionRoundDataChildrenUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenUpdate is the builder for updating Rent591HomeDetailPositionRoundDataChildren entities.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) AddRent591homeDetailPositionRoundDataIDs ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenUpdate
AddRent591homeDetailPositionRoundDataIDs adds the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by IDs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) AddRent591homeDetailPositionRoundDatas ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenUpdate
AddRent591homeDetailPositionRoundDatas adds the "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) ClearRent591homeDetailPositionRoundDatas ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) ClearRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataChildrenUpdate
ClearRent591homeDetailPositionRoundDatas clears all "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) Exec ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) ExecX ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) Mutation ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) Mutation() *Rent591HomeDetailPositionRoundDataChildrenMutation
Mutation returns the Rent591HomeDetailPositionRoundDataChildrenMutation object of the builder.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) RemoveRent591homeDetailPositionRoundDataIDs ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenUpdate
RemoveRent591homeDetailPositionRoundDataIDs removes the "rent591home_detail_position_round_datas" edge to Rent591HomeDetailPositionRoundData entities by IDs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) RemoveRent591homeDetailPositionRoundDatas ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) RemoveRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenUpdate
RemoveRent591homeDetailPositionRoundDatas removes "rent591home_detail_position_round_datas" edges to Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) Save ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) SaveX ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) SetKey ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) SetKey(s string) *Rent591HomeDetailPositionRoundDataChildrenUpdate
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) SetName ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) SetName(s string) *Rent591HomeDetailPositionRoundDataChildrenUpdate
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdate) Where ¶
func (rdprdcu *Rent591HomeDetailPositionRoundDataChildrenUpdate) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenUpdate
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataChildrenUpdate builder.
type Rent591HomeDetailPositionRoundDataChildrenUpdateOne ¶
type Rent591HomeDetailPositionRoundDataChildrenUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenUpdateOne is the builder for updating a single Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) AddRent591homeDetailPositionRoundDataIDs ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
AddRent591homeDetailPositionRoundDataIDs adds the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by IDs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) AddRent591homeDetailPositionRoundDatas ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
AddRent591homeDetailPositionRoundDatas adds the "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) ClearRent591homeDetailPositionRoundDatas ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) ClearRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
ClearRent591homeDetailPositionRoundDatas clears all "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Exec ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) ExecX ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Mutation ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Mutation() *Rent591HomeDetailPositionRoundDataChildrenMutation
Mutation returns the Rent591HomeDetailPositionRoundDataChildrenMutation object of the builder.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) RemoveRent591homeDetailPositionRoundDataIDs ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
RemoveRent591homeDetailPositionRoundDataIDs removes the "rent591home_detail_position_round_datas" edge to Rent591HomeDetailPositionRoundData entities by IDs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) RemoveRent591homeDetailPositionRoundDatas ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) RemoveRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
RemoveRent591homeDetailPositionRoundDatas removes "rent591home_detail_position_round_datas" edges to Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Save ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailPositionRoundDataChildren, error)
Save executes the query and returns the updated Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SaveX ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailPositionRoundDataChildren
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Select ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SetKey ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SetKey(s string) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SetName ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) SetName(s string) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Where ¶
func (rdprdcuo *Rent591HomeDetailPositionRoundDataChildrenUpdateOne) Where(ps ...predicate.Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataChildrenUpdateOne
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataChildrenUpdate builder.
type Rent591HomeDetailPositionRoundDataChildrenUpsert ¶
Rent591HomeDetailPositionRoundDataChildrenUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsert) SetKey ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsert) SetKey(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsert
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsert) SetName ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsert) SetName(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsert
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsert) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsert) UpdateKey() *Rent591HomeDetailPositionRoundDataChildrenUpsert
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsert) UpdateName ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsert) UpdateName() *Rent591HomeDetailPositionRoundDataChildrenUpsert
UpdateName sets the "name" field to the value that was provided on create.
type Rent591HomeDetailPositionRoundDataChildrenUpsertBulk ¶
type Rent591HomeDetailPositionRoundDataChildrenUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailPositionRoundDataChildren nodes.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) DoNothing() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Exec ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Ignore() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundDataChildren.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) SetKey ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) SetKey(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) SetName ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) SetName(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Update ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) Update(set func(*Rent591HomeDetailPositionRoundDataChildrenUpsert)) *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailPositionRoundDataChildrenCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateKey() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateName ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateName() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk) UpdateNewValues() *Rent591HomeDetailPositionRoundDataChildrenUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundDataChildren.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
type Rent591HomeDetailPositionRoundDataChildrenUpsertOne ¶
type Rent591HomeDetailPositionRoundDataChildrenUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataChildrenUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailPositionRoundDataChildren node.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) DoNothing() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Exec ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) ExecX ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) ID ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) IDX ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Ignore ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Ignore() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundDataChildren.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) SetKey ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) SetKey(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) SetName ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) SetName(v string) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Update ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) Update(set func(*Rent591HomeDetailPositionRoundDataChildrenUpsert)) *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailPositionRoundDataChildrenCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateKey() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateName ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateName() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailPositionRoundDataChildrenUpsertOne) UpdateNewValues() *Rent591HomeDetailPositionRoundDataChildrenUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundDataChildren.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
type Rent591HomeDetailPositionRoundDataChildrens ¶
type Rent591HomeDetailPositionRoundDataChildrens []*Rent591HomeDetailPositionRoundDataChildren
Rent591HomeDetailPositionRoundDataChildrens is a parsable slice of Rent591HomeDetailPositionRoundDataChildren.
type Rent591HomeDetailPositionRoundDataClient ¶
type Rent591HomeDetailPositionRoundDataClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataClient is a client for the Rent591HomeDetailPositionRoundData schema.
func NewRent591HomeDetailPositionRoundDataClient ¶
func NewRent591HomeDetailPositionRoundDataClient(c config) *Rent591HomeDetailPositionRoundDataClient
NewRent591HomeDetailPositionRoundDataClient returns a client for the Rent591HomeDetailPositionRoundData from the given config.
func (*Rent591HomeDetailPositionRoundDataClient) Create ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Create() *Rent591HomeDetailPositionRoundDataCreate
Create returns a builder for creating a Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataClient) CreateBulk ¶
func (c *Rent591HomeDetailPositionRoundDataClient) CreateBulk(builders ...*Rent591HomeDetailPositionRoundDataCreate) *Rent591HomeDetailPositionRoundDataCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundDataClient) Delete ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Delete() *Rent591HomeDetailPositionRoundDataDelete
Delete returns a delete builder for Rent591HomeDetailPositionRoundData.
func (*Rent591HomeDetailPositionRoundDataClient) DeleteOne ¶
func (c *Rent591HomeDetailPositionRoundDataClient) DeleteOne(rdprd *Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailPositionRoundDataClient) DeleteOneID ¶
func (c *Rent591HomeDetailPositionRoundDataClient) DeleteOneID(id int) *Rent591HomeDetailPositionRoundDataDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailPositionRoundDataClient) Get ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Get(ctx context.Context, id int) (*Rent591HomeDetailPositionRoundData, error)
Get returns a Rent591HomeDetailPositionRoundData entity by its id.
func (*Rent591HomeDetailPositionRoundDataClient) GetX ¶
func (c *Rent591HomeDetailPositionRoundDataClient) GetX(ctx context.Context, id int) *Rent591HomeDetailPositionRoundData
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataClient) Hooks ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailPositionRoundDataClient) Intercept ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailpositionrounddata.Intercept(f(g(h())))`.
func (*Rent591HomeDetailPositionRoundDataClient) Interceptors ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailPositionRoundDataClient) Query ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Query() *Rent591HomeDetailPositionRoundDataQuery
Query returns a query builder for Rent591HomeDetailPositionRoundData.
func (*Rent591HomeDetailPositionRoundDataClient) QueryRent591homeDetailPositionRoundDataChildrens ¶
func (c *Rent591HomeDetailPositionRoundDataClient) QueryRent591homeDetailPositionRoundDataChildrens(rdprd *Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataChildrenQuery
QueryRent591homeDetailPositionRoundDataChildrens queries the rent591home_detail_position_round_data_childrens edge of a Rent591HomeDetailPositionRoundData.
func (*Rent591HomeDetailPositionRoundDataClient) QueryRent591homeDetailPositionRounds ¶
func (c *Rent591HomeDetailPositionRoundDataClient) QueryRent591homeDetailPositionRounds(rdprd *Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundQuery
QueryRent591homeDetailPositionRounds queries the rent591home_detail_position_rounds edge of a Rent591HomeDetailPositionRoundData.
func (*Rent591HomeDetailPositionRoundDataClient) Update ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Update() *Rent591HomeDetailPositionRoundDataUpdate
Update returns an update builder for Rent591HomeDetailPositionRoundData.
func (*Rent591HomeDetailPositionRoundDataClient) UpdateOne ¶
func (c *Rent591HomeDetailPositionRoundDataClient) UpdateOne(rdprd *Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailPositionRoundDataClient) UpdateOneID ¶
func (c *Rent591HomeDetailPositionRoundDataClient) UpdateOneID(id int) *Rent591HomeDetailPositionRoundDataUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailPositionRoundDataClient) Use ¶
func (c *Rent591HomeDetailPositionRoundDataClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailpositionrounddata.Hooks(f(g(h())))`.
type Rent591HomeDetailPositionRoundDataCreate ¶
type Rent591HomeDetailPositionRoundDataCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataCreate is the builder for creating a Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundDataChildrenIDs ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataCreate
AddRent591homeDetailPositionRoundDataChildrenIDs adds the "rent591home_detail_position_round_data_childrens" edge to the Rent591HomeDetailPositionRoundDataChildren entity by IDs.
func (*Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundDataChildrens ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataCreate
AddRent591homeDetailPositionRoundDataChildrens adds the "rent591home_detail_position_round_data_childrens" edges to the Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundIDs ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataCreate
AddRent591homeDetailPositionRoundIDs adds the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by IDs.
func (*Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRounds ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) AddRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataCreate
AddRent591homeDetailPositionRounds adds the "rent591home_detail_position_rounds" edges to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDataCreate) Exec ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataCreate) ExecX ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataCreate) Mutation ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) Mutation() *Rent591HomeDetailPositionRoundDataMutation
Mutation returns the Rent591HomeDetailPositionRoundDataMutation object of the builder.
func (*Rent591HomeDetailPositionRoundDataCreate) OnConflict ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundDataUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailPositionRoundData.Create(). SetName(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailPositionRoundDataUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataCreate) OnConflictColumns ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundDataUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundData.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataCreate) Save ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) Save(ctx context.Context) (*Rent591HomeDetailPositionRoundData, error)
Save creates the Rent591HomeDetailPositionRoundData in the database.
func (*Rent591HomeDetailPositionRoundDataCreate) SaveX ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) SaveX(ctx context.Context) *Rent591HomeDetailPositionRoundData
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailPositionRoundDataCreate) SetKey ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) SetKey(s string) *Rent591HomeDetailPositionRoundDataCreate
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataCreate) SetName ¶
func (rdprdc *Rent591HomeDetailPositionRoundDataCreate) SetName(s string) *Rent591HomeDetailPositionRoundDataCreate
SetName sets the "name" field.
type Rent591HomeDetailPositionRoundDataCreateBulk ¶
type Rent591HomeDetailPositionRoundDataCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataCreateBulk is the builder for creating many Rent591HomeDetailPositionRoundData entities in bulk.
func (*Rent591HomeDetailPositionRoundDataCreateBulk) Exec ¶
func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataCreateBulk) ExecX ¶
func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataCreateBulk) OnConflict ¶
func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPositionRoundDataUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailPositionRoundData.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailPositionRoundDataUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataCreateBulk) OnConflictColumns ¶
func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailPositionRoundDataUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundData.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataCreateBulk) Save ¶
func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailPositionRoundData, error)
Save creates the Rent591HomeDetailPositionRoundData entities in the database.
func (*Rent591HomeDetailPositionRoundDataCreateBulk) SaveX ¶
func (rdprdcb *Rent591HomeDetailPositionRoundDataCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailPositionRoundData
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailPositionRoundDataDelete ¶
type Rent591HomeDetailPositionRoundDataDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataDelete is the builder for deleting a Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataDelete) Exec ¶
func (rdprdd *Rent591HomeDetailPositionRoundDataDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailPositionRoundDataDelete) ExecX ¶
func (rdprdd *Rent591HomeDetailPositionRoundDataDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataDelete) Where ¶
func (rdprdd *Rent591HomeDetailPositionRoundDataDelete) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataDelete
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataDelete builder.
type Rent591HomeDetailPositionRoundDataDeleteOne ¶
type Rent591HomeDetailPositionRoundDataDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataDeleteOne is the builder for deleting a single Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataDeleteOne) Exec ¶
func (rdprddo *Rent591HomeDetailPositionRoundDataDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailPositionRoundDataDeleteOne) ExecX ¶
func (rdprddo *Rent591HomeDetailPositionRoundDataDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataDeleteOne) Where ¶
func (rdprddo *Rent591HomeDetailPositionRoundDataDeleteOne) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataDeleteOne
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataDelete builder.
type Rent591HomeDetailPositionRoundDataEdges ¶
type Rent591HomeDetailPositionRoundDataEdges struct { // Rent591homeDetailPositionRounds holds the value of the rent591home_detail_position_rounds edge. Rent591homeDetailPositionRounds []*Rent591HomeDetailPositionRound `json:"rent591home_detail_position_rounds,omitempty"` // Rent591homeDetailPositionRoundDataChildrens holds the value of the rent591home_detail_position_round_data_childrens edge. Rent591homeDetailPositionRoundDataChildrens []*Rent591HomeDetailPositionRoundDataChildren `json:"rent591home_detail_position_round_data_childrens,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailPositionRoundDataEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailPositionRoundDataEdges) Rent591homeDetailPositionRoundDataChildrensOrErr ¶
func (e Rent591HomeDetailPositionRoundDataEdges) Rent591homeDetailPositionRoundDataChildrensOrErr() ([]*Rent591HomeDetailPositionRoundDataChildren, error)
Rent591homeDetailPositionRoundDataChildrensOrErr returns the Rent591homeDetailPositionRoundDataChildrens value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailPositionRoundDataEdges) Rent591homeDetailPositionRoundsOrErr ¶
func (e Rent591HomeDetailPositionRoundDataEdges) Rent591homeDetailPositionRoundsOrErr() ([]*Rent591HomeDetailPositionRound, error)
Rent591homeDetailPositionRoundsOrErr returns the Rent591homeDetailPositionRounds value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailPositionRoundDataGroupBy ¶
type Rent591HomeDetailPositionRoundDataGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataGroupBy is the group-by builder for Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Aggregate ¶
func (rdprdgb *Rent591HomeDetailPositionRoundDataGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataGroupBy) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataGroupBy) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Float64 ¶
func (s *Rent591HomeDetailPositionRoundDataGroupBy) Float64(ctx context.Context) (_ float64, err error)
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Float64s ¶
func (s *Rent591HomeDetailPositionRoundDataGroupBy) Float64s(ctx context.Context) ([]float64, error)
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataGroupBy) IntX ¶
IntX is like Int, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataGroupBy) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataGroupBy) Scan ¶
func (rdprdgb *Rent591HomeDetailPositionRoundDataGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailPositionRoundDataGroupBy) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataGroupBy) String ¶
func (s *Rent591HomeDetailPositionRoundDataGroupBy) String(ctx context.Context) (_ string, err error)
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailPositionRoundDataMutation ¶
type Rent591HomeDetailPositionRoundDataMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataMutation represents an operation that mutates the Rent591HomeDetailPositionRoundData nodes in the graph.
func (*Rent591HomeDetailPositionRoundDataMutation) AddField ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailPositionRoundDataMutation) AddRent591homeDetailPositionRoundDataChildrenIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) AddRent591homeDetailPositionRoundDataChildrenIDs(ids ...int)
AddRent591homeDetailPositionRoundDataChildrenIDs adds the "rent591home_detail_position_round_data_childrens" edge to the Rent591HomeDetailPositionRoundDataChildren entity by ids.
func (*Rent591HomeDetailPositionRoundDataMutation) AddRent591homeDetailPositionRoundIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) AddRent591homeDetailPositionRoundIDs(ids ...int)
AddRent591homeDetailPositionRoundIDs adds the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by ids.
func (*Rent591HomeDetailPositionRoundDataMutation) AddedEdges ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) AddedField ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataMutation) AddedFields ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) AddedIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) ClearEdge ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataMutation) ClearField ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataMutation) ClearRent591homeDetailPositionRoundDataChildrens ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ClearRent591homeDetailPositionRoundDataChildrens()
ClearRent591homeDetailPositionRoundDataChildrens clears the "rent591home_detail_position_round_data_childrens" edge to the Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataMutation) ClearRent591homeDetailPositionRounds ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ClearRent591homeDetailPositionRounds()
ClearRent591homeDetailPositionRounds clears the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDataMutation) ClearedEdges ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) ClearedFields ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailPositionRoundDataMutation) Client ¶
func (m Rent591HomeDetailPositionRoundDataMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailPositionRoundDataMutation) EdgeCleared ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) Field ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataMutation) FieldCleared ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) Fields ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailPositionRoundDataMutation) ID ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailPositionRoundDataMutation) IDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) Key ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Key() (r string, exists bool)
Key returns the value of the "key" field in the mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) Name ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Name() (r string, exists bool)
Name returns the value of the "name" field in the mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) OldField ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailPositionRoundDataMutation) OldKey ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) OldKey(ctx context.Context) (v string, err error)
OldKey returns the old "key" field's value of the Rent591HomeDetailPositionRoundData entity. If the Rent591HomeDetailPositionRoundData object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundDataMutation) OldName ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) OldName(ctx context.Context) (v string, err error)
OldName returns the old "name" field's value of the Rent591HomeDetailPositionRoundData entity. If the Rent591HomeDetailPositionRoundData object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundDataMutation) Op ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailPositionRoundDataMutation) RemoveRent591homeDetailPositionRoundDataChildrenIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) RemoveRent591homeDetailPositionRoundDataChildrenIDs(ids ...int)
RemoveRent591homeDetailPositionRoundDataChildrenIDs removes the "rent591home_detail_position_round_data_childrens" edge to the Rent591HomeDetailPositionRoundDataChildren entity by IDs.
func (*Rent591HomeDetailPositionRoundDataMutation) RemoveRent591homeDetailPositionRoundIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) RemoveRent591homeDetailPositionRoundIDs(ids ...int)
RemoveRent591homeDetailPositionRoundIDs removes the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by IDs.
func (*Rent591HomeDetailPositionRoundDataMutation) RemovedEdges ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) RemovedIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) RemovedRent591homeDetailPositionRoundDataChildrensIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) RemovedRent591homeDetailPositionRoundDataChildrensIDs() (ids []int)
RemovedRent591homeDetailPositionRoundDataChildrens returns the removed IDs of the "rent591home_detail_position_round_data_childrens" edge to the Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataMutation) RemovedRent591homeDetailPositionRoundsIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) RemovedRent591homeDetailPositionRoundsIDs() (ids []int)
RemovedRent591homeDetailPositionRounds returns the removed IDs of the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundDataChildrensCleared ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundDataChildrensCleared() bool
Rent591homeDetailPositionRoundDataChildrensCleared reports if the "rent591home_detail_position_round_data_childrens" edge to the Rent591HomeDetailPositionRoundDataChildren entity was cleared.
func (*Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundDataChildrensIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundDataChildrensIDs() (ids []int)
Rent591homeDetailPositionRoundDataChildrensIDs returns the "rent591home_detail_position_round_data_childrens" edge IDs in the mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundsCleared ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundsCleared() bool
Rent591homeDetailPositionRoundsCleared reports if the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity was cleared.
func (*Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundsIDs ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Rent591homeDetailPositionRoundsIDs() (ids []int)
Rent591homeDetailPositionRoundsIDs returns the "rent591home_detail_position_rounds" edge IDs in the mutation.
func (*Rent591HomeDetailPositionRoundDataMutation) ResetEdge ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataMutation) ResetField ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailPositionRoundDataMutation) ResetKey ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ResetKey()
ResetKey resets all changes to the "key" field.
func (*Rent591HomeDetailPositionRoundDataMutation) ResetName ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ResetName()
ResetName resets all changes to the "name" field.
func (*Rent591HomeDetailPositionRoundDataMutation) ResetRent591homeDetailPositionRoundDataChildrens ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ResetRent591homeDetailPositionRoundDataChildrens()
ResetRent591homeDetailPositionRoundDataChildrens resets all changes to the "rent591home_detail_position_round_data_childrens" edge.
func (*Rent591HomeDetailPositionRoundDataMutation) ResetRent591homeDetailPositionRounds ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) ResetRent591homeDetailPositionRounds()
ResetRent591homeDetailPositionRounds resets all changes to the "rent591home_detail_position_rounds" edge.
func (*Rent591HomeDetailPositionRoundDataMutation) SetField ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailPositionRoundDataMutation) SetKey ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) SetKey(s string)
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataMutation) SetName ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) SetName(s string)
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataMutation) SetOp ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (Rent591HomeDetailPositionRoundDataMutation) Tx ¶
func (m Rent591HomeDetailPositionRoundDataMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailPositionRoundDataMutation) Type ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailPositionRoundData).
func (*Rent591HomeDetailPositionRoundDataMutation) Where ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) Where(ps ...predicate.Rent591HomeDetailPositionRoundData)
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataMutation builder.
func (*Rent591HomeDetailPositionRoundDataMutation) WhereP ¶
func (m *Rent591HomeDetailPositionRoundDataMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailPositionRoundDataMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailPositionRoundDataQuery ¶
type Rent591HomeDetailPositionRoundDataQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataQuery is the builder for querying Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundDataQuery) Aggregate ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataSelect
Aggregate returns a Rent591HomeDetailPositionRoundDataSelect configured with the given aggregations.
func (*Rent591HomeDetailPositionRoundDataQuery) All ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) All(ctx context.Context) ([]*Rent591HomeDetailPositionRoundData, error)
All executes the query and returns a list of Rent591HomeDetailPositionRoundDataSlice.
func (*Rent591HomeDetailPositionRoundDataQuery) AllX ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) AllX(ctx context.Context) []*Rent591HomeDetailPositionRoundData
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataQuery) Clone ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Clone() *Rent591HomeDetailPositionRoundDataQuery
Clone returns a duplicate of the Rent591HomeDetailPositionRoundDataQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailPositionRoundDataQuery) Count ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailPositionRoundDataQuery) CountX ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataQuery) Exist ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailPositionRoundDataQuery) ExistX ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataQuery) First ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) First(ctx context.Context) (*Rent591HomeDetailPositionRoundData, error)
First returns the first Rent591HomeDetailPositionRoundData entity from the query. Returns a *NotFoundError when no Rent591HomeDetailPositionRoundData was found.
func (*Rent591HomeDetailPositionRoundDataQuery) FirstID ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailPositionRoundData ID from the query. Returns a *NotFoundError when no Rent591HomeDetailPositionRoundData ID was found.
func (*Rent591HomeDetailPositionRoundDataQuery) FirstIDX ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataQuery) FirstX ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) FirstX(ctx context.Context) *Rent591HomeDetailPositionRoundData
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataQuery) GroupBy ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailPositionRoundDataGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Name string `json:"name,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailPositionRoundData.Query(). GroupBy(rent591homedetailpositionrounddata.FieldName). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailPositionRoundDataQuery) IDs ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailPositionRoundData IDs.
func (*Rent591HomeDetailPositionRoundDataQuery) IDsX ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataQuery) Limit ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Limit(limit int) *Rent591HomeDetailPositionRoundDataQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailPositionRoundDataQuery) Offset ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Offset(offset int) *Rent591HomeDetailPositionRoundDataQuery
Offset to start from.
func (*Rent591HomeDetailPositionRoundDataQuery) Only ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Only(ctx context.Context) (*Rent591HomeDetailPositionRoundData, error)
Only returns a single Rent591HomeDetailPositionRoundData entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailPositionRoundData entity is found. Returns a *NotFoundError when no Rent591HomeDetailPositionRoundData entities are found.
func (*Rent591HomeDetailPositionRoundDataQuery) OnlyID ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailPositionRoundData ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailPositionRoundData ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailPositionRoundDataQuery) OnlyIDX ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataQuery) OnlyX ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) OnlyX(ctx context.Context) *Rent591HomeDetailPositionRoundData
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataQuery) Order ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Order(o ...rent591homedetailpositionrounddata.OrderOption) *Rent591HomeDetailPositionRoundDataQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailPositionRoundDataQuery) QueryRent591homeDetailPositionRoundDataChildrens ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) QueryRent591homeDetailPositionRoundDataChildrens() *Rent591HomeDetailPositionRoundDataChildrenQuery
QueryRent591homeDetailPositionRoundDataChildrens chains the current query on the "rent591home_detail_position_round_data_childrens" edge.
func (*Rent591HomeDetailPositionRoundDataQuery) QueryRent591homeDetailPositionRounds ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) QueryRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundQuery
QueryRent591homeDetailPositionRounds chains the current query on the "rent591home_detail_position_rounds" edge.
func (*Rent591HomeDetailPositionRoundDataQuery) Select ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Select(fields ...string) *Rent591HomeDetailPositionRoundDataSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Name string `json:"name,omitempty"` } client.Rent591HomeDetailPositionRoundData.Query(). Select(rent591homedetailpositionrounddata.FieldName). Scan(ctx, &v)
func (*Rent591HomeDetailPositionRoundDataQuery) Unique ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Unique(unique bool) *Rent591HomeDetailPositionRoundDataQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailPositionRoundDataQuery) Where ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataQuery
Where adds a new predicate for the Rent591HomeDetailPositionRoundDataQuery builder.
func (*Rent591HomeDetailPositionRoundDataQuery) WithRent591homeDetailPositionRoundDataChildrens ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) WithRent591homeDetailPositionRoundDataChildrens(opts ...func(*Rent591HomeDetailPositionRoundDataChildrenQuery)) *Rent591HomeDetailPositionRoundDataQuery
WithRent591homeDetailPositionRoundDataChildrens tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_position_round_data_childrens" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailPositionRoundDataQuery) WithRent591homeDetailPositionRounds ¶
func (rdprdq *Rent591HomeDetailPositionRoundDataQuery) WithRent591homeDetailPositionRounds(opts ...func(*Rent591HomeDetailPositionRoundQuery)) *Rent591HomeDetailPositionRoundDataQuery
WithRent591homeDetailPositionRounds tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_position_rounds" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailPositionRoundDataSelect ¶
type Rent591HomeDetailPositionRoundDataSelect struct { *Rent591HomeDetailPositionRoundDataQuery // contains filtered or unexported fields }
Rent591HomeDetailPositionRoundDataSelect is the builder for selecting fields of Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundDataSelect) Aggregate ¶
func (rdprds *Rent591HomeDetailPositionRoundDataSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundDataSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailPositionRoundDataSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataSelect) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataSelect) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataSelect) Float64 ¶
func (s *Rent591HomeDetailPositionRoundDataSelect) Float64(ctx context.Context) (_ float64, err error)
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataSelect) IntX ¶
IntX is like Int, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataSelect) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataSelect) Scan ¶
func (rdprds *Rent591HomeDetailPositionRoundDataSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailPositionRoundDataSelect) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataSelect) String ¶
func (s *Rent591HomeDetailPositionRoundDataSelect) String(ctx context.Context) (_ string, err error)
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundDataSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailPositionRoundDataSlice ¶
type Rent591HomeDetailPositionRoundDataSlice []*Rent591HomeDetailPositionRoundData
Rent591HomeDetailPositionRoundDataSlice is a parsable slice of Rent591HomeDetailPositionRoundData.
type Rent591HomeDetailPositionRoundDataUpdate ¶
type Rent591HomeDetailPositionRoundDataUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataUpdate is the builder for updating Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundDataChildrenIDs ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdate
AddRent591homeDetailPositionRoundDataChildrenIDs adds the "rent591home_detail_position_round_data_childrens" edge to the Rent591HomeDetailPositionRoundDataChildren entity by IDs.
func (*Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundDataChildrens ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataUpdate
AddRent591homeDetailPositionRoundDataChildrens adds the "rent591home_detail_position_round_data_childrens" edges to the Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundIDs ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdate
AddRent591homeDetailPositionRoundIDs adds the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by IDs.
func (*Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRounds ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) AddRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataUpdate
AddRent591homeDetailPositionRounds adds the "rent591home_detail_position_rounds" edges to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDataUpdate) ClearRent591homeDetailPositionRoundDataChildrens ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) ClearRent591homeDetailPositionRoundDataChildrens() *Rent591HomeDetailPositionRoundDataUpdate
ClearRent591homeDetailPositionRoundDataChildrens clears all "rent591home_detail_position_round_data_childrens" edges to the Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataUpdate) ClearRent591homeDetailPositionRounds ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) ClearRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundDataUpdate
ClearRent591homeDetailPositionRounds clears all "rent591home_detail_position_rounds" edges to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDataUpdate) Exec ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataUpdate) ExecX ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataUpdate) Mutation ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) Mutation() *Rent591HomeDetailPositionRoundDataMutation
Mutation returns the Rent591HomeDetailPositionRoundDataMutation object of the builder.
func (*Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundDataChildrenIDs ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdate
RemoveRent591homeDetailPositionRoundDataChildrenIDs removes the "rent591home_detail_position_round_data_childrens" edge to Rent591HomeDetailPositionRoundDataChildren entities by IDs.
func (*Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundDataChildrens ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataUpdate
RemoveRent591homeDetailPositionRoundDataChildrens removes "rent591home_detail_position_round_data_childrens" edges to Rent591HomeDetailPositionRoundDataChildren entities.
func (*Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundIDs ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdate
RemoveRent591homeDetailPositionRoundIDs removes the "rent591home_detail_position_rounds" edge to Rent591HomeDetailPositionRound entities by IDs.
func (*Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRounds ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) RemoveRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataUpdate
RemoveRent591homeDetailPositionRounds removes "rent591home_detail_position_rounds" edges to Rent591HomeDetailPositionRound entities.
func (*Rent591HomeDetailPositionRoundDataUpdate) Save ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailPositionRoundDataUpdate) SaveX ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataUpdate) SetKey ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) SetKey(s string) *Rent591HomeDetailPositionRoundDataUpdate
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataUpdate) SetName ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) SetName(s string) *Rent591HomeDetailPositionRoundDataUpdate
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataUpdate) Where ¶
func (rdprdu *Rent591HomeDetailPositionRoundDataUpdate) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataUpdate
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataUpdate builder.
type Rent591HomeDetailPositionRoundDataUpdateOne ¶
type Rent591HomeDetailPositionRoundDataUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataUpdateOne is the builder for updating a single Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundDataChildrenIDs ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdateOne
AddRent591homeDetailPositionRoundDataChildrenIDs adds the "rent591home_detail_position_round_data_childrens" edge to the Rent591HomeDetailPositionRoundDataChildren entity by IDs.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundDataChildrens ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataUpdateOne
AddRent591homeDetailPositionRoundDataChildrens adds the "rent591home_detail_position_round_data_childrens" edges to the Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundIDs ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdateOne
AddRent591homeDetailPositionRoundIDs adds the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by IDs.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRounds ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) AddRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataUpdateOne
AddRent591homeDetailPositionRounds adds the "rent591home_detail_position_rounds" edges to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) ClearRent591homeDetailPositionRoundDataChildrens ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) ClearRent591homeDetailPositionRoundDataChildrens() *Rent591HomeDetailPositionRoundDataUpdateOne
ClearRent591homeDetailPositionRoundDataChildrens clears all "rent591home_detail_position_round_data_childrens" edges to the Rent591HomeDetailPositionRoundDataChildren entity.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) ClearRent591homeDetailPositionRounds ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) ClearRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundDataUpdateOne
ClearRent591homeDetailPositionRounds clears all "rent591home_detail_position_rounds" edges to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) Exec ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) ExecX ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) Mutation ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Mutation() *Rent591HomeDetailPositionRoundDataMutation
Mutation returns the Rent591HomeDetailPositionRoundDataMutation object of the builder.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundDataChildrenIDs ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundDataChildrenIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdateOne
RemoveRent591homeDetailPositionRoundDataChildrenIDs removes the "rent591home_detail_position_round_data_childrens" edge to Rent591HomeDetailPositionRoundDataChildren entities by IDs.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundDataChildrens ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundDataChildrens(r ...*Rent591HomeDetailPositionRoundDataChildren) *Rent591HomeDetailPositionRoundDataUpdateOne
RemoveRent591homeDetailPositionRoundDataChildrens removes "rent591home_detail_position_round_data_childrens" edges to Rent591HomeDetailPositionRoundDataChildren entities.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundIDs ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRoundIDs(ids ...int) *Rent591HomeDetailPositionRoundDataUpdateOne
RemoveRent591homeDetailPositionRoundIDs removes the "rent591home_detail_position_rounds" edge to Rent591HomeDetailPositionRound entities by IDs.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRounds ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) RemoveRent591homeDetailPositionRounds(r ...*Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDataUpdateOne
RemoveRent591homeDetailPositionRounds removes "rent591home_detail_position_rounds" edges to Rent591HomeDetailPositionRound entities.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) Save ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailPositionRoundData, error)
Save executes the query and returns the updated Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) SaveX ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailPositionRoundData
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) Select ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailPositionRoundDataUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) SetKey ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) SetKey(s string) *Rent591HomeDetailPositionRoundDataUpdateOne
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) SetName ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) SetName(s string) *Rent591HomeDetailPositionRoundDataUpdateOne
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataUpdateOne) Where ¶
func (rdprduo *Rent591HomeDetailPositionRoundDataUpdateOne) Where(ps ...predicate.Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundDataUpdateOne
Where appends a list predicates to the Rent591HomeDetailPositionRoundDataUpdate builder.
type Rent591HomeDetailPositionRoundDataUpsert ¶
Rent591HomeDetailPositionRoundDataUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailPositionRoundDataUpsert) SetKey ¶
func (u *Rent591HomeDetailPositionRoundDataUpsert) SetKey(v string) *Rent591HomeDetailPositionRoundDataUpsert
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataUpsert) SetName ¶
func (u *Rent591HomeDetailPositionRoundDataUpsert) SetName(v string) *Rent591HomeDetailPositionRoundDataUpsert
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataUpsert) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundDataUpsert) UpdateKey() *Rent591HomeDetailPositionRoundDataUpsert
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataUpsert) UpdateName ¶
func (u *Rent591HomeDetailPositionRoundDataUpsert) UpdateName() *Rent591HomeDetailPositionRoundDataUpsert
UpdateName sets the "name" field to the value that was provided on create.
type Rent591HomeDetailPositionRoundDataUpsertBulk ¶
type Rent591HomeDetailPositionRoundDataUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailPositionRoundData nodes.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) DoNothing() *Rent591HomeDetailPositionRoundDataUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) Exec ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) Ignore() *Rent591HomeDetailPositionRoundDataUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundData.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) SetKey ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) SetKey(v string) *Rent591HomeDetailPositionRoundDataUpsertBulk
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) SetName ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) SetName(v string) *Rent591HomeDetailPositionRoundDataUpsertBulk
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) Update ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) Update(set func(*Rent591HomeDetailPositionRoundDataUpsert)) *Rent591HomeDetailPositionRoundDataUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailPositionRoundDataCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateKey() *Rent591HomeDetailPositionRoundDataUpsertBulk
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateName ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateName() *Rent591HomeDetailPositionRoundDataUpsertBulk
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertBulk) UpdateNewValues() *Rent591HomeDetailPositionRoundDataUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundData.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
type Rent591HomeDetailPositionRoundDataUpsertOne ¶
type Rent591HomeDetailPositionRoundDataUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDataUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailPositionRoundData node.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) DoNothing() *Rent591HomeDetailPositionRoundDataUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) Exec ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) ExecX ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) ID ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) IDX ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) Ignore ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) Ignore() *Rent591HomeDetailPositionRoundDataUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundData.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailPositionRoundDataUpsertOne) SetKey ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) SetKey(v string) *Rent591HomeDetailPositionRoundDataUpsertOne
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) SetName ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) SetName(v string) *Rent591HomeDetailPositionRoundDataUpsertOne
SetName sets the "name" field.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) Update ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) Update(set func(*Rent591HomeDetailPositionRoundDataUpsert)) *Rent591HomeDetailPositionRoundDataUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailPositionRoundDataCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) UpdateKey() *Rent591HomeDetailPositionRoundDataUpsertOne
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) UpdateName ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) UpdateName() *Rent591HomeDetailPositionRoundDataUpsertOne
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundDataUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailPositionRoundDataUpsertOne) UpdateNewValues() *Rent591HomeDetailPositionRoundDataUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRoundData.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
type Rent591HomeDetailPositionRoundDelete ¶
type Rent591HomeDetailPositionRoundDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDelete is the builder for deleting a Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDelete) Exec ¶
func (rdprd *Rent591HomeDetailPositionRoundDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailPositionRoundDelete) ExecX ¶
func (rdprd *Rent591HomeDetailPositionRoundDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDelete) Where ¶
func (rdprd *Rent591HomeDetailPositionRoundDelete) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDelete
Where appends a list predicates to the Rent591HomeDetailPositionRoundDelete builder.
type Rent591HomeDetailPositionRoundDeleteOne ¶
type Rent591HomeDetailPositionRoundDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundDeleteOne is the builder for deleting a single Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundDeleteOne) Exec ¶
func (rdprdo *Rent591HomeDetailPositionRoundDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailPositionRoundDeleteOne) ExecX ¶
func (rdprdo *Rent591HomeDetailPositionRoundDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundDeleteOne) Where ¶
func (rdprdo *Rent591HomeDetailPositionRoundDeleteOne) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundDeleteOne
Where appends a list predicates to the Rent591HomeDetailPositionRoundDelete builder.
type Rent591HomeDetailPositionRoundEdges ¶
type Rent591HomeDetailPositionRoundEdges struct { // Rent591homeDetails holds the value of the rent591home_details edge. Rent591homeDetails *Rent591HomeDetail `json:"rent591home_details,omitempty"` // Rent591homeDetailPositionRoundDatas holds the value of the rent591home_detail_position_round_datas edge. Rent591homeDetailPositionRoundDatas []*Rent591HomeDetailPositionRoundData `json:"rent591home_detail_position_round_datas,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailPositionRoundEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailPositionRoundEdges) Rent591homeDetailPositionRoundDatasOrErr ¶
func (e Rent591HomeDetailPositionRoundEdges) Rent591homeDetailPositionRoundDatasOrErr() ([]*Rent591HomeDetailPositionRoundData, error)
Rent591homeDetailPositionRoundDatasOrErr returns the Rent591homeDetailPositionRoundDatas value or an error if the edge was not loaded in eager-loading.
func (Rent591HomeDetailPositionRoundEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeDetailPositionRoundEdges) Rent591homeDetailsOrErr() (*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
type Rent591HomeDetailPositionRoundGroupBy ¶
type Rent591HomeDetailPositionRoundGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundGroupBy is the group-by builder for Rent591HomeDetailPositionRound entities.
func (*Rent591HomeDetailPositionRoundGroupBy) Aggregate ¶
func (rdprgb *Rent591HomeDetailPositionRoundGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailPositionRoundGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundGroupBy) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundGroupBy) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundGroupBy) IntX ¶
IntX is like Int, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundGroupBy) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundGroupBy) Scan ¶
func (rdprgb *Rent591HomeDetailPositionRoundGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailPositionRoundGroupBy) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailPositionRoundMutation ¶
type Rent591HomeDetailPositionRoundMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundMutation represents an operation that mutates the Rent591HomeDetailPositionRound nodes in the graph.
func (*Rent591HomeDetailPositionRoundMutation) Active ¶
func (m *Rent591HomeDetailPositionRoundMutation) Active() (r int, exists bool)
Active returns the value of the "active" field in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) AddActive ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddActive(i int)
AddActive adds i to the "active" field.
func (*Rent591HomeDetailPositionRoundMutation) AddCommunityID ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddCommunityID(i int)
AddCommunityID adds i to the "community_id" field.
func (*Rent591HomeDetailPositionRoundMutation) AddField ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailPositionRoundMutation) AddLat ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddLat(f float64)
AddLat adds f to the "lat" field.
func (*Rent591HomeDetailPositionRoundMutation) AddLng ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddLng(f float64)
AddLng adds f to the "lng" field.
func (*Rent591HomeDetailPositionRoundMutation) AddRent591homeDetailPositionRoundDataIDs ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddRent591homeDetailPositionRoundDataIDs(ids ...int)
AddRent591homeDetailPositionRoundDataIDs adds the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by ids.
func (*Rent591HomeDetailPositionRoundMutation) AddedActive ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddedActive() (r int, exists bool)
AddedActive returns the value that was added to the "active" field in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) AddedCommunityID ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddedCommunityID() (r int, exists bool)
AddedCommunityID returns the value that was added to the "community_id" field in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) AddedEdges ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) AddedField ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailPositionRoundMutation) AddedFields ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailPositionRoundMutation) AddedIDs ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) AddedLat ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddedLat() (r float64, exists bool)
AddedLat returns the value that was added to the "lat" field in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) AddedLng ¶
func (m *Rent591HomeDetailPositionRoundMutation) AddedLng() (r float64, exists bool)
AddedLng returns the value that was added to the "lng" field in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) Address ¶
func (m *Rent591HomeDetailPositionRoundMutation) Address() (r string, exists bool)
Address returns the value of the "address" field in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) ClearEdge ¶
func (m *Rent591HomeDetailPositionRoundMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailPositionRoundMutation) ClearField ¶
func (m *Rent591HomeDetailPositionRoundMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailPositionRoundMutation) ClearRent591homeDetailPositionRoundDatas ¶
func (m *Rent591HomeDetailPositionRoundMutation) ClearRent591homeDetailPositionRoundDatas()
ClearRent591homeDetailPositionRoundDatas clears the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeDetailPositionRoundMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPositionRoundMutation) ClearedEdges ¶
func (m *Rent591HomeDetailPositionRoundMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) ClearedFields ¶
func (m *Rent591HomeDetailPositionRoundMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailPositionRoundMutation) Client ¶
func (m Rent591HomeDetailPositionRoundMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailPositionRoundMutation) CommunityID ¶
func (m *Rent591HomeDetailPositionRoundMutation) CommunityID() (r int, exists bool)
CommunityID returns the value of the "community_id" field in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) CommunityName ¶
func (m *Rent591HomeDetailPositionRoundMutation) CommunityName() (r string, exists bool)
CommunityName returns the value of the "community_name" field in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) EdgeCleared ¶
func (m *Rent591HomeDetailPositionRoundMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) Field ¶
func (m *Rent591HomeDetailPositionRoundMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailPositionRoundMutation) FieldCleared ¶
func (m *Rent591HomeDetailPositionRoundMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) Fields ¶
func (m *Rent591HomeDetailPositionRoundMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailPositionRoundMutation) ID ¶
func (m *Rent591HomeDetailPositionRoundMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailPositionRoundMutation) IDs ¶
func (m *Rent591HomeDetailPositionRoundMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailPositionRoundMutation) Key ¶
func (m *Rent591HomeDetailPositionRoundMutation) Key() (r string, exists bool)
Key returns the value of the "key" field in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) Lat ¶
func (m *Rent591HomeDetailPositionRoundMutation) Lat() (r float64, exists bool)
Lat returns the value of the "lat" field in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) Lng ¶
func (m *Rent591HomeDetailPositionRoundMutation) Lng() (r float64, exists bool)
Lng returns the value of the "lng" field in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) OldActive ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldActive(ctx context.Context) (v int, err error)
OldActive returns the old "active" field's value of the Rent591HomeDetailPositionRound entity. If the Rent591HomeDetailPositionRound object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundMutation) OldAddress ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldAddress(ctx context.Context) (v string, err error)
OldAddress returns the old "address" field's value of the Rent591HomeDetailPositionRound entity. If the Rent591HomeDetailPositionRound object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundMutation) OldCommunityID ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldCommunityID(ctx context.Context) (v int, err error)
OldCommunityID returns the old "community_id" field's value of the Rent591HomeDetailPositionRound entity. If the Rent591HomeDetailPositionRound object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundMutation) OldCommunityName ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldCommunityName(ctx context.Context) (v string, err error)
OldCommunityName returns the old "community_name" field's value of the Rent591HomeDetailPositionRound entity. If the Rent591HomeDetailPositionRound object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundMutation) OldField ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailPositionRoundMutation) OldKey ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldKey(ctx context.Context) (v string, err error)
OldKey returns the old "key" field's value of the Rent591HomeDetailPositionRound entity. If the Rent591HomeDetailPositionRound object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundMutation) OldLat ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldLat(ctx context.Context) (v float64, err error)
OldLat returns the old "lat" field's value of the Rent591HomeDetailPositionRound entity. If the Rent591HomeDetailPositionRound object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundMutation) OldLng ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldLng(ctx context.Context) (v float64, err error)
OldLng returns the old "lng" field's value of the Rent591HomeDetailPositionRound entity. If the Rent591HomeDetailPositionRound object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundMutation) OldTitle ¶
func (m *Rent591HomeDetailPositionRoundMutation) OldTitle(ctx context.Context) (v string, err error)
OldTitle returns the old "title" field's value of the Rent591HomeDetailPositionRound entity. If the Rent591HomeDetailPositionRound object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPositionRoundMutation) Op ¶
func (m *Rent591HomeDetailPositionRoundMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailPositionRoundMutation) RemoveRent591homeDetailPositionRoundDataIDs ¶
func (m *Rent591HomeDetailPositionRoundMutation) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int)
RemoveRent591homeDetailPositionRoundDataIDs removes the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by IDs.
func (*Rent591HomeDetailPositionRoundMutation) RemovedEdges ¶
func (m *Rent591HomeDetailPositionRoundMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) RemovedIDs ¶
func (m *Rent591HomeDetailPositionRoundMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailPositionRoundMutation) RemovedRent591homeDetailPositionRoundDatasIDs ¶
func (m *Rent591HomeDetailPositionRoundMutation) RemovedRent591homeDetailPositionRoundDatasIDs() (ids []int)
RemovedRent591homeDetailPositionRoundDatas returns the removed IDs of the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundMutation) Rent591homeDetailPositionRoundDatasCleared ¶
func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailPositionRoundDatasCleared() bool
Rent591homeDetailPositionRoundDatasCleared reports if the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity was cleared.
func (*Rent591HomeDetailPositionRoundMutation) Rent591homeDetailPositionRoundDatasIDs ¶
func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailPositionRoundDatasIDs() (ids []int)
Rent591homeDetailPositionRoundDatasIDs returns the "rent591home_detail_position_round_datas" edge IDs in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsID ¶
func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsID() (id int, exists bool)
Rent591homeDetailsID returns the "rent591home_details" edge ID in the mutation.
func (*Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeDetailPositionRoundMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use Rent591homeDetailsID instead. It exists only for internal usage by the builders.
func (*Rent591HomeDetailPositionRoundMutation) ResetActive ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetActive()
ResetActive resets all changes to the "active" field.
func (*Rent591HomeDetailPositionRoundMutation) ResetAddress ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetAddress()
ResetAddress resets all changes to the "address" field.
func (*Rent591HomeDetailPositionRoundMutation) ResetCommunityID ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetCommunityID()
ResetCommunityID resets all changes to the "community_id" field.
func (*Rent591HomeDetailPositionRoundMutation) ResetCommunityName ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetCommunityName()
ResetCommunityName resets all changes to the "community_name" field.
func (*Rent591HomeDetailPositionRoundMutation) ResetEdge ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailPositionRoundMutation) ResetField ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailPositionRoundMutation) ResetKey ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetKey()
ResetKey resets all changes to the "key" field.
func (*Rent591HomeDetailPositionRoundMutation) ResetLat ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetLat()
ResetLat resets all changes to the "lat" field.
func (*Rent591HomeDetailPositionRoundMutation) ResetLng ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetLng()
ResetLng resets all changes to the "lng" field.
func (*Rent591HomeDetailPositionRoundMutation) ResetRent591homeDetailPositionRoundDatas ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetRent591homeDetailPositionRoundDatas()
ResetRent591homeDetailPositionRoundDatas resets all changes to the "rent591home_detail_position_round_datas" edge.
func (*Rent591HomeDetailPositionRoundMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeDetailPositionRoundMutation) ResetTitle ¶
func (m *Rent591HomeDetailPositionRoundMutation) ResetTitle()
ResetTitle resets all changes to the "title" field.
func (*Rent591HomeDetailPositionRoundMutation) SetActive ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetActive(i int)
SetActive sets the "active" field.
func (*Rent591HomeDetailPositionRoundMutation) SetAddress ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetAddress(s string)
SetAddress sets the "address" field.
func (*Rent591HomeDetailPositionRoundMutation) SetCommunityID ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetCommunityID(i int)
SetCommunityID sets the "community_id" field.
func (*Rent591HomeDetailPositionRoundMutation) SetCommunityName ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetCommunityName(s string)
SetCommunityName sets the "community_name" field.
func (*Rent591HomeDetailPositionRoundMutation) SetField ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailPositionRoundMutation) SetKey ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetKey(s string)
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundMutation) SetLat ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetLat(f float64)
SetLat sets the "lat" field.
func (*Rent591HomeDetailPositionRoundMutation) SetLng ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetLng(f float64)
SetLng sets the "lng" field.
func (*Rent591HomeDetailPositionRoundMutation) SetOp ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailPositionRoundMutation) SetRent591homeDetailsID ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetRent591homeDetailsID(id int)
SetRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by id.
func (*Rent591HomeDetailPositionRoundMutation) SetTitle ¶
func (m *Rent591HomeDetailPositionRoundMutation) SetTitle(s string)
SetTitle sets the "title" field.
func (*Rent591HomeDetailPositionRoundMutation) Title ¶
func (m *Rent591HomeDetailPositionRoundMutation) Title() (r string, exists bool)
Title returns the value of the "title" field in the mutation.
func (Rent591HomeDetailPositionRoundMutation) Tx ¶
func (m Rent591HomeDetailPositionRoundMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailPositionRoundMutation) Type ¶
func (m *Rent591HomeDetailPositionRoundMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailPositionRound).
func (*Rent591HomeDetailPositionRoundMutation) Where ¶
func (m *Rent591HomeDetailPositionRoundMutation) Where(ps ...predicate.Rent591HomeDetailPositionRound)
Where appends a list predicates to the Rent591HomeDetailPositionRoundMutation builder.
func (*Rent591HomeDetailPositionRoundMutation) WhereP ¶
func (m *Rent591HomeDetailPositionRoundMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailPositionRoundMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailPositionRoundQuery ¶
type Rent591HomeDetailPositionRoundQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundQuery is the builder for querying Rent591HomeDetailPositionRound entities.
func (*Rent591HomeDetailPositionRoundQuery) Aggregate ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundSelect
Aggregate returns a Rent591HomeDetailPositionRoundSelect configured with the given aggregations.
func (*Rent591HomeDetailPositionRoundQuery) All ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) All(ctx context.Context) ([]*Rent591HomeDetailPositionRound, error)
All executes the query and returns a list of Rent591HomeDetailPositionRounds.
func (*Rent591HomeDetailPositionRoundQuery) AllX ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) AllX(ctx context.Context) []*Rent591HomeDetailPositionRound
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundQuery) Clone ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Clone() *Rent591HomeDetailPositionRoundQuery
Clone returns a duplicate of the Rent591HomeDetailPositionRoundQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailPositionRoundQuery) Count ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailPositionRoundQuery) CountX ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundQuery) Exist ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailPositionRoundQuery) ExistX ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundQuery) First ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) First(ctx context.Context) (*Rent591HomeDetailPositionRound, error)
First returns the first Rent591HomeDetailPositionRound entity from the query. Returns a *NotFoundError when no Rent591HomeDetailPositionRound was found.
func (*Rent591HomeDetailPositionRoundQuery) FirstID ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailPositionRound ID from the query. Returns a *NotFoundError when no Rent591HomeDetailPositionRound ID was found.
func (*Rent591HomeDetailPositionRoundQuery) FirstIDX ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundQuery) FirstX ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) FirstX(ctx context.Context) *Rent591HomeDetailPositionRound
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundQuery) GroupBy ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailPositionRoundGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Title string `json:"title,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailPositionRound.Query(). GroupBy(rent591homedetailpositionround.FieldTitle). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailPositionRoundQuery) IDs ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailPositionRound IDs.
func (*Rent591HomeDetailPositionRoundQuery) IDsX ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundQuery) Limit ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Limit(limit int) *Rent591HomeDetailPositionRoundQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailPositionRoundQuery) Offset ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Offset(offset int) *Rent591HomeDetailPositionRoundQuery
Offset to start from.
func (*Rent591HomeDetailPositionRoundQuery) Only ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Only(ctx context.Context) (*Rent591HomeDetailPositionRound, error)
Only returns a single Rent591HomeDetailPositionRound entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailPositionRound entity is found. Returns a *NotFoundError when no Rent591HomeDetailPositionRound entities are found.
func (*Rent591HomeDetailPositionRoundQuery) OnlyID ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailPositionRound ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailPositionRound ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailPositionRoundQuery) OnlyIDX ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundQuery) OnlyX ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) OnlyX(ctx context.Context) *Rent591HomeDetailPositionRound
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundQuery) Order ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Order(o ...rent591homedetailpositionround.OrderOption) *Rent591HomeDetailPositionRoundQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailPositionRoundQuery) QueryRent591homeDetailPositionRoundDatas ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) QueryRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundDataQuery
QueryRent591homeDetailPositionRoundDatas chains the current query on the "rent591home_detail_position_round_datas" edge.
func (*Rent591HomeDetailPositionRoundQuery) QueryRent591homeDetails ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeDetailPositionRoundQuery) Select ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Select(fields ...string) *Rent591HomeDetailPositionRoundSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Title string `json:"title,omitempty"` } client.Rent591HomeDetailPositionRound.Query(). Select(rent591homedetailpositionround.FieldTitle). Scan(ctx, &v)
func (*Rent591HomeDetailPositionRoundQuery) Unique ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Unique(unique bool) *Rent591HomeDetailPositionRoundQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailPositionRoundQuery) Where ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundQuery
Where adds a new predicate for the Rent591HomeDetailPositionRoundQuery builder.
func (*Rent591HomeDetailPositionRoundQuery) WithRent591homeDetailPositionRoundDatas ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) WithRent591homeDetailPositionRoundDatas(opts ...func(*Rent591HomeDetailPositionRoundDataQuery)) *Rent591HomeDetailPositionRoundQuery
WithRent591homeDetailPositionRoundDatas tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_position_round_datas" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailPositionRoundQuery) WithRent591homeDetails ¶
func (rdprq *Rent591HomeDetailPositionRoundQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailPositionRoundQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailPositionRoundSelect ¶
type Rent591HomeDetailPositionRoundSelect struct { *Rent591HomeDetailPositionRoundQuery // contains filtered or unexported fields }
Rent591HomeDetailPositionRoundSelect is the builder for selecting fields of Rent591HomeDetailPositionRound entities.
func (*Rent591HomeDetailPositionRoundSelect) Aggregate ¶
func (rdprs *Rent591HomeDetailPositionRoundSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPositionRoundSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailPositionRoundSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundSelect) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundSelect) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundSelect) IntX ¶
IntX is like Int, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundSelect) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundSelect) Scan ¶
func (rdprs *Rent591HomeDetailPositionRoundSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailPositionRoundSelect) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPositionRoundSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailPositionRoundUpdate ¶
type Rent591HomeDetailPositionRoundUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundUpdate is the builder for updating Rent591HomeDetailPositionRound entities.
func (*Rent591HomeDetailPositionRoundUpdate) AddActive ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddActive(i int) *Rent591HomeDetailPositionRoundUpdate
AddActive adds i to the "active" field.
func (*Rent591HomeDetailPositionRoundUpdate) AddCommunityID ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddCommunityID(i int) *Rent591HomeDetailPositionRoundUpdate
AddCommunityID adds i to the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpdate) AddLat ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddLat(f float64) *Rent591HomeDetailPositionRoundUpdate
AddLat adds f to the "lat" field.
func (*Rent591HomeDetailPositionRoundUpdate) AddLng ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddLng(f float64) *Rent591HomeDetailPositionRoundUpdate
AddLng adds f to the "lng" field.
func (*Rent591HomeDetailPositionRoundUpdate) AddRent591homeDetailPositionRoundDataIDs ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundUpdate
AddRent591homeDetailPositionRoundDataIDs adds the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by IDs.
func (*Rent591HomeDetailPositionRoundUpdate) AddRent591homeDetailPositionRoundDatas ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundUpdate
AddRent591homeDetailPositionRoundDatas adds the "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundUpdate) ClearRent591homeDetailPositionRoundDatas ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) ClearRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundUpdate
ClearRent591homeDetailPositionRoundDatas clears all "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundUpdate) ClearRent591homeDetails ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) ClearRent591homeDetails() *Rent591HomeDetailPositionRoundUpdate
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPositionRoundUpdate) Exec ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundUpdate) ExecX ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundUpdate) Mutation ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) Mutation() *Rent591HomeDetailPositionRoundMutation
Mutation returns the Rent591HomeDetailPositionRoundMutation object of the builder.
func (*Rent591HomeDetailPositionRoundUpdate) RemoveRent591homeDetailPositionRoundDataIDs ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundUpdate
RemoveRent591homeDetailPositionRoundDataIDs removes the "rent591home_detail_position_round_datas" edge to Rent591HomeDetailPositionRoundData entities by IDs.
func (*Rent591HomeDetailPositionRoundUpdate) RemoveRent591homeDetailPositionRoundDatas ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) RemoveRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundUpdate
RemoveRent591homeDetailPositionRoundDatas removes "rent591home_detail_position_round_datas" edges to Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundUpdate) Save ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailPositionRoundUpdate) SaveX ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundUpdate) SetActive ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetActive(i int) *Rent591HomeDetailPositionRoundUpdate
SetActive sets the "active" field.
func (*Rent591HomeDetailPositionRoundUpdate) SetAddress ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetAddress(s string) *Rent591HomeDetailPositionRoundUpdate
SetAddress sets the "address" field.
func (*Rent591HomeDetailPositionRoundUpdate) SetCommunityID ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetCommunityID(i int) *Rent591HomeDetailPositionRoundUpdate
SetCommunityID sets the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpdate) SetCommunityName ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetCommunityName(s string) *Rent591HomeDetailPositionRoundUpdate
SetCommunityName sets the "community_name" field.
func (*Rent591HomeDetailPositionRoundUpdate) SetKey ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetKey(s string) *Rent591HomeDetailPositionRoundUpdate
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundUpdate) SetLat ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetLat(f float64) *Rent591HomeDetailPositionRoundUpdate
SetLat sets the "lat" field.
func (*Rent591HomeDetailPositionRoundUpdate) SetLng ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetLng(f float64) *Rent591HomeDetailPositionRoundUpdate
SetLng sets the "lng" field.
func (*Rent591HomeDetailPositionRoundUpdate) SetNillableRent591homeDetailsID ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetNillableRent591homeDetailsID(id *int) *Rent591HomeDetailPositionRoundUpdate
SetNillableRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID if the given value is not nil.
func (*Rent591HomeDetailPositionRoundUpdate) SetRent591homeDetails ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeDetailPositionRoundUpdate
SetRent591homeDetails sets the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPositionRoundUpdate) SetRent591homeDetailsID ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetRent591homeDetailsID(id int) *Rent591HomeDetailPositionRoundUpdate
SetRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID.
func (*Rent591HomeDetailPositionRoundUpdate) SetTitle ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) SetTitle(s string) *Rent591HomeDetailPositionRoundUpdate
SetTitle sets the "title" field.
func (*Rent591HomeDetailPositionRoundUpdate) Where ¶
func (rdpru *Rent591HomeDetailPositionRoundUpdate) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundUpdate
Where appends a list predicates to the Rent591HomeDetailPositionRoundUpdate builder.
type Rent591HomeDetailPositionRoundUpdateOne ¶
type Rent591HomeDetailPositionRoundUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundUpdateOne is the builder for updating a single Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundUpdateOne) AddActive ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddActive(i int) *Rent591HomeDetailPositionRoundUpdateOne
AddActive adds i to the "active" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) AddCommunityID ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddCommunityID(i int) *Rent591HomeDetailPositionRoundUpdateOne
AddCommunityID adds i to the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) AddLat ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddLat(f float64) *Rent591HomeDetailPositionRoundUpdateOne
AddLat adds f to the "lat" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) AddLng ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddLng(f float64) *Rent591HomeDetailPositionRoundUpdateOne
AddLng adds f to the "lng" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) AddRent591homeDetailPositionRoundDataIDs ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundUpdateOne
AddRent591homeDetailPositionRoundDataIDs adds the "rent591home_detail_position_round_datas" edge to the Rent591HomeDetailPositionRoundData entity by IDs.
func (*Rent591HomeDetailPositionRoundUpdateOne) AddRent591homeDetailPositionRoundDatas ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) AddRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundUpdateOne
AddRent591homeDetailPositionRoundDatas adds the "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundUpdateOne) ClearRent591homeDetailPositionRoundDatas ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) ClearRent591homeDetailPositionRoundDatas() *Rent591HomeDetailPositionRoundUpdateOne
ClearRent591homeDetailPositionRoundDatas clears all "rent591home_detail_position_round_datas" edges to the Rent591HomeDetailPositionRoundData entity.
func (*Rent591HomeDetailPositionRoundUpdateOne) ClearRent591homeDetails ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailPositionRoundUpdateOne
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPositionRoundUpdateOne) Exec ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailPositionRoundUpdateOne) ExecX ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundUpdateOne) Mutation ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Mutation() *Rent591HomeDetailPositionRoundMutation
Mutation returns the Rent591HomeDetailPositionRoundMutation object of the builder.
func (*Rent591HomeDetailPositionRoundUpdateOne) RemoveRent591homeDetailPositionRoundDataIDs ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) RemoveRent591homeDetailPositionRoundDataIDs(ids ...int) *Rent591HomeDetailPositionRoundUpdateOne
RemoveRent591homeDetailPositionRoundDataIDs removes the "rent591home_detail_position_round_datas" edge to Rent591HomeDetailPositionRoundData entities by IDs.
func (*Rent591HomeDetailPositionRoundUpdateOne) RemoveRent591homeDetailPositionRoundDatas ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) RemoveRent591homeDetailPositionRoundDatas(r ...*Rent591HomeDetailPositionRoundData) *Rent591HomeDetailPositionRoundUpdateOne
RemoveRent591homeDetailPositionRoundDatas removes "rent591home_detail_position_round_datas" edges to Rent591HomeDetailPositionRoundData entities.
func (*Rent591HomeDetailPositionRoundUpdateOne) Save ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailPositionRound, error)
Save executes the query and returns the updated Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailPositionRoundUpdateOne) SaveX ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailPositionRound
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundUpdateOne) Select ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailPositionRoundUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetActive ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetActive(i int) *Rent591HomeDetailPositionRoundUpdateOne
SetActive sets the "active" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetAddress ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetAddress(s string) *Rent591HomeDetailPositionRoundUpdateOne
SetAddress sets the "address" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetCommunityID ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetCommunityID(i int) *Rent591HomeDetailPositionRoundUpdateOne
SetCommunityID sets the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetCommunityName ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetCommunityName(s string) *Rent591HomeDetailPositionRoundUpdateOne
SetCommunityName sets the "community_name" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetKey ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetKey(s string) *Rent591HomeDetailPositionRoundUpdateOne
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetLat ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetLat(f float64) *Rent591HomeDetailPositionRoundUpdateOne
SetLat sets the "lat" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetLng ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetLng(f float64) *Rent591HomeDetailPositionRoundUpdateOne
SetLng sets the "lng" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetNillableRent591homeDetailsID ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetNillableRent591homeDetailsID(id *int) *Rent591HomeDetailPositionRoundUpdateOne
SetNillableRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID if the given value is not nil.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetRent591homeDetails ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeDetailPositionRoundUpdateOne
SetRent591homeDetails sets the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetRent591homeDetailsID ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetRent591homeDetailsID(id int) *Rent591HomeDetailPositionRoundUpdateOne
SetRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID.
func (*Rent591HomeDetailPositionRoundUpdateOne) SetTitle ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) SetTitle(s string) *Rent591HomeDetailPositionRoundUpdateOne
SetTitle sets the "title" field.
func (*Rent591HomeDetailPositionRoundUpdateOne) Where ¶
func (rdpruo *Rent591HomeDetailPositionRoundUpdateOne) Where(ps ...predicate.Rent591HomeDetailPositionRound) *Rent591HomeDetailPositionRoundUpdateOne
Where appends a list predicates to the Rent591HomeDetailPositionRoundUpdate builder.
type Rent591HomeDetailPositionRoundUpsert ¶
Rent591HomeDetailPositionRoundUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailPositionRoundUpsert) AddActive ¶
func (u *Rent591HomeDetailPositionRoundUpsert) AddActive(v int) *Rent591HomeDetailPositionRoundUpsert
AddActive adds v to the "active" field.
func (*Rent591HomeDetailPositionRoundUpsert) AddCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsert) AddCommunityID(v int) *Rent591HomeDetailPositionRoundUpsert
AddCommunityID adds v to the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpsert) AddLat ¶
func (u *Rent591HomeDetailPositionRoundUpsert) AddLat(v float64) *Rent591HomeDetailPositionRoundUpsert
AddLat adds v to the "lat" field.
func (*Rent591HomeDetailPositionRoundUpsert) AddLng ¶
func (u *Rent591HomeDetailPositionRoundUpsert) AddLng(v float64) *Rent591HomeDetailPositionRoundUpsert
AddLng adds v to the "lng" field.
func (*Rent591HomeDetailPositionRoundUpsert) SetActive ¶
func (u *Rent591HomeDetailPositionRoundUpsert) SetActive(v int) *Rent591HomeDetailPositionRoundUpsert
SetActive sets the "active" field.
func (*Rent591HomeDetailPositionRoundUpsert) SetAddress ¶
func (u *Rent591HomeDetailPositionRoundUpsert) SetAddress(v string) *Rent591HomeDetailPositionRoundUpsert
SetAddress sets the "address" field.
func (*Rent591HomeDetailPositionRoundUpsert) SetCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsert) SetCommunityID(v int) *Rent591HomeDetailPositionRoundUpsert
SetCommunityID sets the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpsert) SetCommunityName ¶
func (u *Rent591HomeDetailPositionRoundUpsert) SetCommunityName(v string) *Rent591HomeDetailPositionRoundUpsert
SetCommunityName sets the "community_name" field.
func (*Rent591HomeDetailPositionRoundUpsert) SetKey ¶
func (u *Rent591HomeDetailPositionRoundUpsert) SetKey(v string) *Rent591HomeDetailPositionRoundUpsert
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundUpsert) SetLat ¶
func (u *Rent591HomeDetailPositionRoundUpsert) SetLat(v float64) *Rent591HomeDetailPositionRoundUpsert
SetLat sets the "lat" field.
func (*Rent591HomeDetailPositionRoundUpsert) SetLng ¶
func (u *Rent591HomeDetailPositionRoundUpsert) SetLng(v float64) *Rent591HomeDetailPositionRoundUpsert
SetLng sets the "lng" field.
func (*Rent591HomeDetailPositionRoundUpsert) SetTitle ¶
func (u *Rent591HomeDetailPositionRoundUpsert) SetTitle(v string) *Rent591HomeDetailPositionRoundUpsert
SetTitle sets the "title" field.
func (*Rent591HomeDetailPositionRoundUpsert) UpdateActive ¶
func (u *Rent591HomeDetailPositionRoundUpsert) UpdateActive() *Rent591HomeDetailPositionRoundUpsert
UpdateActive sets the "active" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsert) UpdateAddress ¶
func (u *Rent591HomeDetailPositionRoundUpsert) UpdateAddress() *Rent591HomeDetailPositionRoundUpsert
UpdateAddress sets the "address" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsert) UpdateCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsert) UpdateCommunityID() *Rent591HomeDetailPositionRoundUpsert
UpdateCommunityID sets the "community_id" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsert) UpdateCommunityName ¶
func (u *Rent591HomeDetailPositionRoundUpsert) UpdateCommunityName() *Rent591HomeDetailPositionRoundUpsert
UpdateCommunityName sets the "community_name" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsert) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundUpsert) UpdateKey() *Rent591HomeDetailPositionRoundUpsert
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsert) UpdateLat ¶
func (u *Rent591HomeDetailPositionRoundUpsert) UpdateLat() *Rent591HomeDetailPositionRoundUpsert
UpdateLat sets the "lat" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsert) UpdateLng ¶
func (u *Rent591HomeDetailPositionRoundUpsert) UpdateLng() *Rent591HomeDetailPositionRoundUpsert
UpdateLng sets the "lng" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsert) UpdateTitle ¶
func (u *Rent591HomeDetailPositionRoundUpsert) UpdateTitle() *Rent591HomeDetailPositionRoundUpsert
UpdateTitle sets the "title" field to the value that was provided on create.
type Rent591HomeDetailPositionRoundUpsertBulk ¶
type Rent591HomeDetailPositionRoundUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailPositionRound nodes.
func (*Rent591HomeDetailPositionRoundUpsertBulk) AddActive ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) AddActive(v int) *Rent591HomeDetailPositionRoundUpsertBulk
AddActive adds v to the "active" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) AddCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) AddCommunityID(v int) *Rent591HomeDetailPositionRoundUpsertBulk
AddCommunityID adds v to the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) AddLat ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) AddLat(v float64) *Rent591HomeDetailPositionRoundUpsertBulk
AddLat adds v to the "lat" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) AddLng ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) AddLng(v float64) *Rent591HomeDetailPositionRoundUpsertBulk
AddLng adds v to the "lng" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) DoNothing() *Rent591HomeDetailPositionRoundUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailPositionRoundUpsertBulk) Exec ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) Ignore() *Rent591HomeDetailPositionRoundUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRound.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailPositionRoundUpsertBulk) SetActive ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetActive(v int) *Rent591HomeDetailPositionRoundUpsertBulk
SetActive sets the "active" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) SetAddress ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetAddress(v string) *Rent591HomeDetailPositionRoundUpsertBulk
SetAddress sets the "address" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) SetCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetCommunityID(v int) *Rent591HomeDetailPositionRoundUpsertBulk
SetCommunityID sets the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) SetCommunityName ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetCommunityName(v string) *Rent591HomeDetailPositionRoundUpsertBulk
SetCommunityName sets the "community_name" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) SetKey ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetKey(v string) *Rent591HomeDetailPositionRoundUpsertBulk
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) SetLat ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetLat(v float64) *Rent591HomeDetailPositionRoundUpsertBulk
SetLat sets the "lat" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) SetLng ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetLng(v float64) *Rent591HomeDetailPositionRoundUpsertBulk
SetLng sets the "lng" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) SetTitle ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) SetTitle(v string) *Rent591HomeDetailPositionRoundUpsertBulk
SetTitle sets the "title" field.
func (*Rent591HomeDetailPositionRoundUpsertBulk) Update ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) Update(set func(*Rent591HomeDetailPositionRoundUpsert)) *Rent591HomeDetailPositionRoundUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailPositionRoundCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateActive ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateActive() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateActive sets the "active" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateAddress ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateAddress() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateAddress sets the "address" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateCommunityID() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateCommunityID sets the "community_id" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateCommunityName ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateCommunityName() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateCommunityName sets the "community_name" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateKey() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateLat ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateLat() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateLat sets the "lat" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateLng ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateLng() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateLng sets the "lng" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateNewValues() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRound.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailPositionRoundUpsertBulk) UpdateTitle ¶
func (u *Rent591HomeDetailPositionRoundUpsertBulk) UpdateTitle() *Rent591HomeDetailPositionRoundUpsertBulk
UpdateTitle sets the "title" field to the value that was provided on create.
type Rent591HomeDetailPositionRoundUpsertOne ¶
type Rent591HomeDetailPositionRoundUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPositionRoundUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailPositionRound node.
func (*Rent591HomeDetailPositionRoundUpsertOne) AddActive ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) AddActive(v int) *Rent591HomeDetailPositionRoundUpsertOne
AddActive adds v to the "active" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) AddCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) AddCommunityID(v int) *Rent591HomeDetailPositionRoundUpsertOne
AddCommunityID adds v to the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) AddLat ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) AddLat(v float64) *Rent591HomeDetailPositionRoundUpsertOne
AddLat adds v to the "lat" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) AddLng ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) AddLng(v float64) *Rent591HomeDetailPositionRoundUpsertOne
AddLng adds v to the "lng" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) DoNothing() *Rent591HomeDetailPositionRoundUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailPositionRoundUpsertOne) Exec ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPositionRoundUpsertOne) ExecX ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundUpsertOne) ID ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailPositionRoundUpsertOne) IDX ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailPositionRoundUpsertOne) Ignore ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) Ignore() *Rent591HomeDetailPositionRoundUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRound.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailPositionRoundUpsertOne) SetActive ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) SetActive(v int) *Rent591HomeDetailPositionRoundUpsertOne
SetActive sets the "active" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) SetAddress ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) SetAddress(v string) *Rent591HomeDetailPositionRoundUpsertOne
SetAddress sets the "address" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) SetCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) SetCommunityID(v int) *Rent591HomeDetailPositionRoundUpsertOne
SetCommunityID sets the "community_id" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) SetCommunityName ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) SetCommunityName(v string) *Rent591HomeDetailPositionRoundUpsertOne
SetCommunityName sets the "community_name" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) SetKey ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) SetKey(v string) *Rent591HomeDetailPositionRoundUpsertOne
SetKey sets the "key" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) SetLat ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) SetLat(v float64) *Rent591HomeDetailPositionRoundUpsertOne
SetLat sets the "lat" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) SetLng ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) SetLng(v float64) *Rent591HomeDetailPositionRoundUpsertOne
SetLng sets the "lng" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) SetTitle ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) SetTitle(v string) *Rent591HomeDetailPositionRoundUpsertOne
SetTitle sets the "title" field.
func (*Rent591HomeDetailPositionRoundUpsertOne) Update ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) Update(set func(*Rent591HomeDetailPositionRoundUpsert)) *Rent591HomeDetailPositionRoundUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailPositionRoundCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateActive ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateActive() *Rent591HomeDetailPositionRoundUpsertOne
UpdateActive sets the "active" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateAddress ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateAddress() *Rent591HomeDetailPositionRoundUpsertOne
UpdateAddress sets the "address" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateCommunityID ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateCommunityID() *Rent591HomeDetailPositionRoundUpsertOne
UpdateCommunityID sets the "community_id" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateCommunityName ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateCommunityName() *Rent591HomeDetailPositionRoundUpsertOne
UpdateCommunityName sets the "community_name" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateKey ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateKey() *Rent591HomeDetailPositionRoundUpsertOne
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateLat ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateLat() *Rent591HomeDetailPositionRoundUpsertOne
UpdateLat sets the "lat" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateLng ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateLng() *Rent591HomeDetailPositionRoundUpsertOne
UpdateLng sets the "lng" field to the value that was provided on create.
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateNewValues() *Rent591HomeDetailPositionRoundUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailPositionRound.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailPositionRoundUpsertOne) UpdateTitle ¶
func (u *Rent591HomeDetailPositionRoundUpsertOne) UpdateTitle() *Rent591HomeDetailPositionRoundUpsertOne
UpdateTitle sets the "title" field to the value that was provided on create.
type Rent591HomeDetailPositionRounds ¶
type Rent591HomeDetailPositionRounds []*Rent591HomeDetailPositionRound
Rent591HomeDetailPositionRounds is a parsable slice of Rent591HomeDetailPositionRound.
type Rent591HomeDetailPublish ¶
type Rent591HomeDetailPublish struct { // ID of the ent. ID int `json:"id,omitempty"` // PostID holds the value of the "post_id" field. PostID int `json:"post_id,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // Key holds the value of the "key" field. Key string `json:"key,omitempty"` // PostTime holds the value of the "post_time" field. PostTime string `json:"post_time,omitempty"` // UpdateTime holds the value of the "update_time" field. UpdateTime string `json:"update_time,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailPublishQuery when eager-loading is set. Edges Rent591HomeDetailPublishEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetailPublish is the model entity for the Rent591HomeDetailPublish schema.
func (*Rent591HomeDetailPublish) QueryRent591homeDetails ¶
func (rdp *Rent591HomeDetailPublish) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailPublish) String ¶
func (rdp *Rent591HomeDetailPublish) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailPublish) Unwrap ¶
func (rdp *Rent591HomeDetailPublish) Unwrap() *Rent591HomeDetailPublish
Unwrap unwraps the Rent591HomeDetailPublish entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailPublish) Update ¶
func (rdp *Rent591HomeDetailPublish) Update() *Rent591HomeDetailPublishUpdateOne
Update returns a builder for updating this Rent591HomeDetailPublish. Note that you need to call Rent591HomeDetailPublish.Unwrap() before calling this method if this Rent591HomeDetailPublish was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailPublishClient ¶
type Rent591HomeDetailPublishClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishClient is a client for the Rent591HomeDetailPublish schema.
func NewRent591HomeDetailPublishClient ¶
func NewRent591HomeDetailPublishClient(c config) *Rent591HomeDetailPublishClient
NewRent591HomeDetailPublishClient returns a client for the Rent591HomeDetailPublish from the given config.
func (*Rent591HomeDetailPublishClient) Create ¶
func (c *Rent591HomeDetailPublishClient) Create() *Rent591HomeDetailPublishCreate
Create returns a builder for creating a Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailPublishClient) CreateBulk ¶
func (c *Rent591HomeDetailPublishClient) CreateBulk(builders ...*Rent591HomeDetailPublishCreate) *Rent591HomeDetailPublishCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailPublish entities.
func (*Rent591HomeDetailPublishClient) Delete ¶
func (c *Rent591HomeDetailPublishClient) Delete() *Rent591HomeDetailPublishDelete
Delete returns a delete builder for Rent591HomeDetailPublish.
func (*Rent591HomeDetailPublishClient) DeleteOne ¶
func (c *Rent591HomeDetailPublishClient) DeleteOne(rdp *Rent591HomeDetailPublish) *Rent591HomeDetailPublishDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailPublishClient) DeleteOneID ¶
func (c *Rent591HomeDetailPublishClient) DeleteOneID(id int) *Rent591HomeDetailPublishDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailPublishClient) Get ¶
func (c *Rent591HomeDetailPublishClient) Get(ctx context.Context, id int) (*Rent591HomeDetailPublish, error)
Get returns a Rent591HomeDetailPublish entity by its id.
func (*Rent591HomeDetailPublishClient) GetX ¶
func (c *Rent591HomeDetailPublishClient) GetX(ctx context.Context, id int) *Rent591HomeDetailPublish
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailPublishClient) Hooks ¶
func (c *Rent591HomeDetailPublishClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailPublishClient) Intercept ¶
func (c *Rent591HomeDetailPublishClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailpublish.Intercept(f(g(h())))`.
func (*Rent591HomeDetailPublishClient) Interceptors ¶
func (c *Rent591HomeDetailPublishClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailPublishClient) Query ¶
func (c *Rent591HomeDetailPublishClient) Query() *Rent591HomeDetailPublishQuery
Query returns a query builder for Rent591HomeDetailPublish.
func (*Rent591HomeDetailPublishClient) QueryRent591homeDetails ¶
func (c *Rent591HomeDetailPublishClient) QueryRent591homeDetails(rdp *Rent591HomeDetailPublish) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591HomeDetailPublish.
func (*Rent591HomeDetailPublishClient) Update ¶
func (c *Rent591HomeDetailPublishClient) Update() *Rent591HomeDetailPublishUpdate
Update returns an update builder for Rent591HomeDetailPublish.
func (*Rent591HomeDetailPublishClient) UpdateOne ¶
func (c *Rent591HomeDetailPublishClient) UpdateOne(rdp *Rent591HomeDetailPublish) *Rent591HomeDetailPublishUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailPublishClient) UpdateOneID ¶
func (c *Rent591HomeDetailPublishClient) UpdateOneID(id int) *Rent591HomeDetailPublishUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailPublishClient) Use ¶
func (c *Rent591HomeDetailPublishClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailpublish.Hooks(f(g(h())))`.
type Rent591HomeDetailPublishCreate ¶
type Rent591HomeDetailPublishCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishCreate is the builder for creating a Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailPublishCreate) AddRent591homeDetailIDs ¶
func (rdpc *Rent591HomeDetailPublishCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishCreate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailPublishCreate) AddRent591homeDetails ¶
func (rdpc *Rent591HomeDetailPublishCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishCreate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPublishCreate) Exec ¶
func (rdpc *Rent591HomeDetailPublishCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPublishCreate) ExecX ¶
func (rdpc *Rent591HomeDetailPublishCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPublishCreate) Mutation ¶
func (rdpc *Rent591HomeDetailPublishCreate) Mutation() *Rent591HomeDetailPublishMutation
Mutation returns the Rent591HomeDetailPublishMutation object of the builder.
func (*Rent591HomeDetailPublishCreate) OnConflict ¶
func (rdpc *Rent591HomeDetailPublishCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPublishUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailPublish.Create(). SetPostID(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailPublishUpsert) { SetPostID(v+v). }). Exec(ctx)
func (*Rent591HomeDetailPublishCreate) OnConflictColumns ¶
func (rdpc *Rent591HomeDetailPublishCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailPublishUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailPublish.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailPublishCreate) Save ¶
func (rdpc *Rent591HomeDetailPublishCreate) Save(ctx context.Context) (*Rent591HomeDetailPublish, error)
Save creates the Rent591HomeDetailPublish in the database.
func (*Rent591HomeDetailPublishCreate) SaveX ¶
func (rdpc *Rent591HomeDetailPublishCreate) SaveX(ctx context.Context) *Rent591HomeDetailPublish
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailPublishCreate) SetKey ¶
func (rdpc *Rent591HomeDetailPublishCreate) SetKey(s string) *Rent591HomeDetailPublishCreate
SetKey sets the "key" field.
func (*Rent591HomeDetailPublishCreate) SetName ¶
func (rdpc *Rent591HomeDetailPublishCreate) SetName(s string) *Rent591HomeDetailPublishCreate
SetName sets the "name" field.
func (*Rent591HomeDetailPublishCreate) SetPostID ¶
func (rdpc *Rent591HomeDetailPublishCreate) SetPostID(i int) *Rent591HomeDetailPublishCreate
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailPublishCreate) SetPostTime ¶
func (rdpc *Rent591HomeDetailPublishCreate) SetPostTime(s string) *Rent591HomeDetailPublishCreate
SetPostTime sets the "post_time" field.
func (*Rent591HomeDetailPublishCreate) SetUpdateTime ¶
func (rdpc *Rent591HomeDetailPublishCreate) SetUpdateTime(s string) *Rent591HomeDetailPublishCreate
SetUpdateTime sets the "update_time" field.
type Rent591HomeDetailPublishCreateBulk ¶
type Rent591HomeDetailPublishCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishCreateBulk is the builder for creating many Rent591HomeDetailPublish entities in bulk.
func (*Rent591HomeDetailPublishCreateBulk) Exec ¶
func (rdpcb *Rent591HomeDetailPublishCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPublishCreateBulk) ExecX ¶
func (rdpcb *Rent591HomeDetailPublishCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPublishCreateBulk) OnConflict ¶
func (rdpcb *Rent591HomeDetailPublishCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailPublishUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailPublish.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailPublishUpsert) { SetPostID(v+v). }). Exec(ctx)
func (*Rent591HomeDetailPublishCreateBulk) OnConflictColumns ¶
func (rdpcb *Rent591HomeDetailPublishCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailPublishUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailPublish.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailPublishCreateBulk) Save ¶
func (rdpcb *Rent591HomeDetailPublishCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailPublish, error)
Save creates the Rent591HomeDetailPublish entities in the database.
func (*Rent591HomeDetailPublishCreateBulk) SaveX ¶
func (rdpcb *Rent591HomeDetailPublishCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailPublish
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailPublishDelete ¶
type Rent591HomeDetailPublishDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishDelete is the builder for deleting a Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailPublishDelete) Exec ¶
func (rdpd *Rent591HomeDetailPublishDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailPublishDelete) ExecX ¶
func (rdpd *Rent591HomeDetailPublishDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPublishDelete) Where ¶
func (rdpd *Rent591HomeDetailPublishDelete) Where(ps ...predicate.Rent591HomeDetailPublish) *Rent591HomeDetailPublishDelete
Where appends a list predicates to the Rent591HomeDetailPublishDelete builder.
type Rent591HomeDetailPublishDeleteOne ¶
type Rent591HomeDetailPublishDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishDeleteOne is the builder for deleting a single Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailPublishDeleteOne) Exec ¶
func (rdpdo *Rent591HomeDetailPublishDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailPublishDeleteOne) ExecX ¶
func (rdpdo *Rent591HomeDetailPublishDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPublishDeleteOne) Where ¶
func (rdpdo *Rent591HomeDetailPublishDeleteOne) Where(ps ...predicate.Rent591HomeDetailPublish) *Rent591HomeDetailPublishDeleteOne
Where appends a list predicates to the Rent591HomeDetailPublishDelete builder.
type Rent591HomeDetailPublishEdges ¶
type Rent591HomeDetailPublishEdges struct { // Rent591homeDetails holds the value of the rent591home_details edge. Rent591homeDetails []*Rent591HomeDetail `json:"rent591home_details,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailPublishEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailPublishEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeDetailPublishEdges) Rent591homeDetailsOrErr() ([]*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailPublishGroupBy ¶
type Rent591HomeDetailPublishGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishGroupBy is the group-by builder for Rent591HomeDetailPublish entities.
func (*Rent591HomeDetailPublishGroupBy) Aggregate ¶
func (rdpgb *Rent591HomeDetailPublishGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPublishGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailPublishGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishGroupBy) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailPublishGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailPublishGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailPublishGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishGroupBy) Scan ¶
func (rdpgb *Rent591HomeDetailPublishGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailPublishGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailPublishMutation ¶
type Rent591HomeDetailPublishMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishMutation represents an operation that mutates the Rent591HomeDetailPublish nodes in the graph.
func (*Rent591HomeDetailPublishMutation) AddField ¶
func (m *Rent591HomeDetailPublishMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailPublishMutation) AddPostID ¶
func (m *Rent591HomeDetailPublishMutation) AddPostID(i int)
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailPublishMutation) AddRent591homeDetailIDs ¶
func (m *Rent591HomeDetailPublishMutation) AddRent591homeDetailIDs(ids ...int)
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by ids.
func (*Rent591HomeDetailPublishMutation) AddedEdges ¶
func (m *Rent591HomeDetailPublishMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailPublishMutation) AddedField ¶
func (m *Rent591HomeDetailPublishMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailPublishMutation) AddedFields ¶
func (m *Rent591HomeDetailPublishMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailPublishMutation) AddedIDs ¶
func (m *Rent591HomeDetailPublishMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailPublishMutation) AddedPostID ¶
func (m *Rent591HomeDetailPublishMutation) AddedPostID() (r int, exists bool)
AddedPostID returns the value that was added to the "post_id" field in this mutation.
func (*Rent591HomeDetailPublishMutation) ClearEdge ¶
func (m *Rent591HomeDetailPublishMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailPublishMutation) ClearField ¶
func (m *Rent591HomeDetailPublishMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailPublishMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeDetailPublishMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPublishMutation) ClearedEdges ¶
func (m *Rent591HomeDetailPublishMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailPublishMutation) ClearedFields ¶
func (m *Rent591HomeDetailPublishMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailPublishMutation) Client ¶
func (m Rent591HomeDetailPublishMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailPublishMutation) EdgeCleared ¶
func (m *Rent591HomeDetailPublishMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailPublishMutation) Field ¶
func (m *Rent591HomeDetailPublishMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailPublishMutation) FieldCleared ¶
func (m *Rent591HomeDetailPublishMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailPublishMutation) Fields ¶
func (m *Rent591HomeDetailPublishMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailPublishMutation) ID ¶
func (m *Rent591HomeDetailPublishMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailPublishMutation) IDs ¶
func (m *Rent591HomeDetailPublishMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailPublishMutation) Key ¶
func (m *Rent591HomeDetailPublishMutation) Key() (r string, exists bool)
Key returns the value of the "key" field in the mutation.
func (*Rent591HomeDetailPublishMutation) Name ¶
func (m *Rent591HomeDetailPublishMutation) Name() (r string, exists bool)
Name returns the value of the "name" field in the mutation.
func (*Rent591HomeDetailPublishMutation) OldField ¶
func (m *Rent591HomeDetailPublishMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailPublishMutation) OldKey ¶
func (m *Rent591HomeDetailPublishMutation) OldKey(ctx context.Context) (v string, err error)
OldKey returns the old "key" field's value of the Rent591HomeDetailPublish entity. If the Rent591HomeDetailPublish object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPublishMutation) OldName ¶
func (m *Rent591HomeDetailPublishMutation) OldName(ctx context.Context) (v string, err error)
OldName returns the old "name" field's value of the Rent591HomeDetailPublish entity. If the Rent591HomeDetailPublish object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPublishMutation) OldPostID ¶
func (m *Rent591HomeDetailPublishMutation) OldPostID(ctx context.Context) (v int, err error)
OldPostID returns the old "post_id" field's value of the Rent591HomeDetailPublish entity. If the Rent591HomeDetailPublish object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPublishMutation) OldPostTime ¶
func (m *Rent591HomeDetailPublishMutation) OldPostTime(ctx context.Context) (v string, err error)
OldPostTime returns the old "post_time" field's value of the Rent591HomeDetailPublish entity. If the Rent591HomeDetailPublish object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPublishMutation) OldUpdateTime ¶
func (m *Rent591HomeDetailPublishMutation) OldUpdateTime(ctx context.Context) (v string, err error)
OldUpdateTime returns the old "update_time" field's value of the Rent591HomeDetailPublish entity. If the Rent591HomeDetailPublish object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailPublishMutation) Op ¶
func (m *Rent591HomeDetailPublishMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailPublishMutation) PostID ¶
func (m *Rent591HomeDetailPublishMutation) PostID() (r int, exists bool)
PostID returns the value of the "post_id" field in the mutation.
func (*Rent591HomeDetailPublishMutation) PostTime ¶
func (m *Rent591HomeDetailPublishMutation) PostTime() (r string, exists bool)
PostTime returns the value of the "post_time" field in the mutation.
func (*Rent591HomeDetailPublishMutation) RemoveRent591homeDetailIDs ¶
func (m *Rent591HomeDetailPublishMutation) RemoveRent591homeDetailIDs(ids ...int)
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailPublishMutation) RemovedEdges ¶
func (m *Rent591HomeDetailPublishMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailPublishMutation) RemovedIDs ¶
func (m *Rent591HomeDetailPublishMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailPublishMutation) RemovedRent591homeDetailsIDs ¶
func (m *Rent591HomeDetailPublishMutation) RemovedRent591homeDetailsIDs() (ids []int)
RemovedRent591homeDetails returns the removed IDs of the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPublishMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeDetailPublishMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeDetailPublishMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeDetailPublishMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation.
func (*Rent591HomeDetailPublishMutation) ResetEdge ¶
func (m *Rent591HomeDetailPublishMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailPublishMutation) ResetField ¶
func (m *Rent591HomeDetailPublishMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailPublishMutation) ResetKey ¶
func (m *Rent591HomeDetailPublishMutation) ResetKey()
ResetKey resets all changes to the "key" field.
func (*Rent591HomeDetailPublishMutation) ResetName ¶
func (m *Rent591HomeDetailPublishMutation) ResetName()
ResetName resets all changes to the "name" field.
func (*Rent591HomeDetailPublishMutation) ResetPostID ¶
func (m *Rent591HomeDetailPublishMutation) ResetPostID()
ResetPostID resets all changes to the "post_id" field.
func (*Rent591HomeDetailPublishMutation) ResetPostTime ¶
func (m *Rent591HomeDetailPublishMutation) ResetPostTime()
ResetPostTime resets all changes to the "post_time" field.
func (*Rent591HomeDetailPublishMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeDetailPublishMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeDetailPublishMutation) ResetUpdateTime ¶
func (m *Rent591HomeDetailPublishMutation) ResetUpdateTime()
ResetUpdateTime resets all changes to the "update_time" field.
func (*Rent591HomeDetailPublishMutation) SetField ¶
func (m *Rent591HomeDetailPublishMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailPublishMutation) SetKey ¶
func (m *Rent591HomeDetailPublishMutation) SetKey(s string)
SetKey sets the "key" field.
func (*Rent591HomeDetailPublishMutation) SetName ¶
func (m *Rent591HomeDetailPublishMutation) SetName(s string)
SetName sets the "name" field.
func (*Rent591HomeDetailPublishMutation) SetOp ¶
func (m *Rent591HomeDetailPublishMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailPublishMutation) SetPostID ¶
func (m *Rent591HomeDetailPublishMutation) SetPostID(i int)
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailPublishMutation) SetPostTime ¶
func (m *Rent591HomeDetailPublishMutation) SetPostTime(s string)
SetPostTime sets the "post_time" field.
func (*Rent591HomeDetailPublishMutation) SetUpdateTime ¶
func (m *Rent591HomeDetailPublishMutation) SetUpdateTime(s string)
SetUpdateTime sets the "update_time" field.
func (Rent591HomeDetailPublishMutation) Tx ¶
func (m Rent591HomeDetailPublishMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailPublishMutation) Type ¶
func (m *Rent591HomeDetailPublishMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailPublish).
func (*Rent591HomeDetailPublishMutation) UpdateTime ¶
func (m *Rent591HomeDetailPublishMutation) UpdateTime() (r string, exists bool)
UpdateTime returns the value of the "update_time" field in the mutation.
func (*Rent591HomeDetailPublishMutation) Where ¶
func (m *Rent591HomeDetailPublishMutation) Where(ps ...predicate.Rent591HomeDetailPublish)
Where appends a list predicates to the Rent591HomeDetailPublishMutation builder.
func (*Rent591HomeDetailPublishMutation) WhereP ¶
func (m *Rent591HomeDetailPublishMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailPublishMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailPublishQuery ¶
type Rent591HomeDetailPublishQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishQuery is the builder for querying Rent591HomeDetailPublish entities.
func (*Rent591HomeDetailPublishQuery) Aggregate ¶
func (rdpq *Rent591HomeDetailPublishQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPublishSelect
Aggregate returns a Rent591HomeDetailPublishSelect configured with the given aggregations.
func (*Rent591HomeDetailPublishQuery) All ¶
func (rdpq *Rent591HomeDetailPublishQuery) All(ctx context.Context) ([]*Rent591HomeDetailPublish, error)
All executes the query and returns a list of Rent591HomeDetailPublishes.
func (*Rent591HomeDetailPublishQuery) AllX ¶
func (rdpq *Rent591HomeDetailPublishQuery) AllX(ctx context.Context) []*Rent591HomeDetailPublish
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailPublishQuery) Clone ¶
func (rdpq *Rent591HomeDetailPublishQuery) Clone() *Rent591HomeDetailPublishQuery
Clone returns a duplicate of the Rent591HomeDetailPublishQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailPublishQuery) Count ¶
func (rdpq *Rent591HomeDetailPublishQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailPublishQuery) CountX ¶
func (rdpq *Rent591HomeDetailPublishQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailPublishQuery) Exist ¶
func (rdpq *Rent591HomeDetailPublishQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailPublishQuery) ExistX ¶
func (rdpq *Rent591HomeDetailPublishQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailPublishQuery) First ¶
func (rdpq *Rent591HomeDetailPublishQuery) First(ctx context.Context) (*Rent591HomeDetailPublish, error)
First returns the first Rent591HomeDetailPublish entity from the query. Returns a *NotFoundError when no Rent591HomeDetailPublish was found.
func (*Rent591HomeDetailPublishQuery) FirstID ¶
func (rdpq *Rent591HomeDetailPublishQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailPublish ID from the query. Returns a *NotFoundError when no Rent591HomeDetailPublish ID was found.
func (*Rent591HomeDetailPublishQuery) FirstIDX ¶
func (rdpq *Rent591HomeDetailPublishQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailPublishQuery) FirstX ¶
func (rdpq *Rent591HomeDetailPublishQuery) FirstX(ctx context.Context) *Rent591HomeDetailPublish
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailPublishQuery) GroupBy ¶
func (rdpq *Rent591HomeDetailPublishQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailPublishGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { PostID int `json:"post_id,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailPublish.Query(). GroupBy(rent591homedetailpublish.FieldPostID). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailPublishQuery) IDs ¶
func (rdpq *Rent591HomeDetailPublishQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailPublish IDs.
func (*Rent591HomeDetailPublishQuery) IDsX ¶
func (rdpq *Rent591HomeDetailPublishQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailPublishQuery) Limit ¶
func (rdpq *Rent591HomeDetailPublishQuery) Limit(limit int) *Rent591HomeDetailPublishQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailPublishQuery) Offset ¶
func (rdpq *Rent591HomeDetailPublishQuery) Offset(offset int) *Rent591HomeDetailPublishQuery
Offset to start from.
func (*Rent591HomeDetailPublishQuery) Only ¶
func (rdpq *Rent591HomeDetailPublishQuery) Only(ctx context.Context) (*Rent591HomeDetailPublish, error)
Only returns a single Rent591HomeDetailPublish entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailPublish entity is found. Returns a *NotFoundError when no Rent591HomeDetailPublish entities are found.
func (*Rent591HomeDetailPublishQuery) OnlyID ¶
func (rdpq *Rent591HomeDetailPublishQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailPublish ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailPublish ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailPublishQuery) OnlyIDX ¶
func (rdpq *Rent591HomeDetailPublishQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailPublishQuery) OnlyX ¶
func (rdpq *Rent591HomeDetailPublishQuery) OnlyX(ctx context.Context) *Rent591HomeDetailPublish
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailPublishQuery) Order ¶
func (rdpq *Rent591HomeDetailPublishQuery) Order(o ...rent591homedetailpublish.OrderOption) *Rent591HomeDetailPublishQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailPublishQuery) QueryRent591homeDetails ¶
func (rdpq *Rent591HomeDetailPublishQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeDetailPublishQuery) Select ¶
func (rdpq *Rent591HomeDetailPublishQuery) Select(fields ...string) *Rent591HomeDetailPublishSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { PostID int `json:"post_id,omitempty"` } client.Rent591HomeDetailPublish.Query(). Select(rent591homedetailpublish.FieldPostID). Scan(ctx, &v)
func (*Rent591HomeDetailPublishQuery) Unique ¶
func (rdpq *Rent591HomeDetailPublishQuery) Unique(unique bool) *Rent591HomeDetailPublishQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailPublishQuery) Where ¶
func (rdpq *Rent591HomeDetailPublishQuery) Where(ps ...predicate.Rent591HomeDetailPublish) *Rent591HomeDetailPublishQuery
Where adds a new predicate for the Rent591HomeDetailPublishQuery builder.
func (*Rent591HomeDetailPublishQuery) WithRent591homeDetails ¶
func (rdpq *Rent591HomeDetailPublishQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailPublishQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailPublishSelect ¶
type Rent591HomeDetailPublishSelect struct { *Rent591HomeDetailPublishQuery // contains filtered or unexported fields }
Rent591HomeDetailPublishSelect is the builder for selecting fields of Rent591HomeDetailPublish entities.
func (*Rent591HomeDetailPublishSelect) Aggregate ¶
func (rdps *Rent591HomeDetailPublishSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailPublishSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailPublishSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishSelect) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailPublishSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailPublishSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailPublishSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishSelect) Scan ¶
func (rdps *Rent591HomeDetailPublishSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailPublishSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailPublishSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailPublishUpdate ¶
type Rent591HomeDetailPublishUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishUpdate is the builder for updating Rent591HomeDetailPublish entities.
func (*Rent591HomeDetailPublishUpdate) AddPostID ¶
func (rdpu *Rent591HomeDetailPublishUpdate) AddPostID(i int) *Rent591HomeDetailPublishUpdate
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailPublishUpdate) AddRent591homeDetailIDs ¶
func (rdpu *Rent591HomeDetailPublishUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishUpdate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailPublishUpdate) AddRent591homeDetails ¶
func (rdpu *Rent591HomeDetailPublishUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishUpdate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPublishUpdate) ClearRent591homeDetails ¶
func (rdpu *Rent591HomeDetailPublishUpdate) ClearRent591homeDetails() *Rent591HomeDetailPublishUpdate
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPublishUpdate) Exec ¶
func (rdpu *Rent591HomeDetailPublishUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPublishUpdate) ExecX ¶
func (rdpu *Rent591HomeDetailPublishUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPublishUpdate) Mutation ¶
func (rdpu *Rent591HomeDetailPublishUpdate) Mutation() *Rent591HomeDetailPublishMutation
Mutation returns the Rent591HomeDetailPublishMutation object of the builder.
func (*Rent591HomeDetailPublishUpdate) RemoveRent591homeDetailIDs ¶
func (rdpu *Rent591HomeDetailPublishUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishUpdate
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailPublishUpdate) RemoveRent591homeDetails ¶
func (rdpu *Rent591HomeDetailPublishUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishUpdate
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailPublishUpdate) Save ¶
func (rdpu *Rent591HomeDetailPublishUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailPublishUpdate) SaveX ¶
func (rdpu *Rent591HomeDetailPublishUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailPublishUpdate) SetKey ¶
func (rdpu *Rent591HomeDetailPublishUpdate) SetKey(s string) *Rent591HomeDetailPublishUpdate
SetKey sets the "key" field.
func (*Rent591HomeDetailPublishUpdate) SetName ¶
func (rdpu *Rent591HomeDetailPublishUpdate) SetName(s string) *Rent591HomeDetailPublishUpdate
SetName sets the "name" field.
func (*Rent591HomeDetailPublishUpdate) SetPostID ¶
func (rdpu *Rent591HomeDetailPublishUpdate) SetPostID(i int) *Rent591HomeDetailPublishUpdate
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailPublishUpdate) SetPostTime ¶
func (rdpu *Rent591HomeDetailPublishUpdate) SetPostTime(s string) *Rent591HomeDetailPublishUpdate
SetPostTime sets the "post_time" field.
func (*Rent591HomeDetailPublishUpdate) SetUpdateTime ¶
func (rdpu *Rent591HomeDetailPublishUpdate) SetUpdateTime(s string) *Rent591HomeDetailPublishUpdate
SetUpdateTime sets the "update_time" field.
func (*Rent591HomeDetailPublishUpdate) Where ¶
func (rdpu *Rent591HomeDetailPublishUpdate) Where(ps ...predicate.Rent591HomeDetailPublish) *Rent591HomeDetailPublishUpdate
Where appends a list predicates to the Rent591HomeDetailPublishUpdate builder.
type Rent591HomeDetailPublishUpdateOne ¶
type Rent591HomeDetailPublishUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishUpdateOne is the builder for updating a single Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailPublishUpdateOne) AddPostID ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) AddPostID(i int) *Rent591HomeDetailPublishUpdateOne
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailPublishUpdateOne) AddRent591homeDetailIDs ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishUpdateOne
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailPublishUpdateOne) AddRent591homeDetails ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishUpdateOne
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPublishUpdateOne) ClearRent591homeDetails ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailPublishUpdateOne
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailPublishUpdateOne) Exec ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailPublishUpdateOne) ExecX ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPublishUpdateOne) Mutation ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) Mutation() *Rent591HomeDetailPublishMutation
Mutation returns the Rent591HomeDetailPublishMutation object of the builder.
func (*Rent591HomeDetailPublishUpdateOne) RemoveRent591homeDetailIDs ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailPublishUpdateOne
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailPublishUpdateOne) RemoveRent591homeDetails ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailPublishUpdateOne
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailPublishUpdateOne) Save ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailPublish, error)
Save executes the query and returns the updated Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailPublishUpdateOne) SaveX ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailPublish
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailPublishUpdateOne) Select ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailPublishUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailPublishUpdateOne) SetKey ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetKey(s string) *Rent591HomeDetailPublishUpdateOne
SetKey sets the "key" field.
func (*Rent591HomeDetailPublishUpdateOne) SetName ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetName(s string) *Rent591HomeDetailPublishUpdateOne
SetName sets the "name" field.
func (*Rent591HomeDetailPublishUpdateOne) SetPostID ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetPostID(i int) *Rent591HomeDetailPublishUpdateOne
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailPublishUpdateOne) SetPostTime ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetPostTime(s string) *Rent591HomeDetailPublishUpdateOne
SetPostTime sets the "post_time" field.
func (*Rent591HomeDetailPublishUpdateOne) SetUpdateTime ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) SetUpdateTime(s string) *Rent591HomeDetailPublishUpdateOne
SetUpdateTime sets the "update_time" field.
func (*Rent591HomeDetailPublishUpdateOne) Where ¶
func (rdpuo *Rent591HomeDetailPublishUpdateOne) Where(ps ...predicate.Rent591HomeDetailPublish) *Rent591HomeDetailPublishUpdateOne
Where appends a list predicates to the Rent591HomeDetailPublishUpdate builder.
type Rent591HomeDetailPublishUpsert ¶
Rent591HomeDetailPublishUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailPublishUpsert) AddPostID ¶
func (u *Rent591HomeDetailPublishUpsert) AddPostID(v int) *Rent591HomeDetailPublishUpsert
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailPublishUpsert) SetKey ¶
func (u *Rent591HomeDetailPublishUpsert) SetKey(v string) *Rent591HomeDetailPublishUpsert
SetKey sets the "key" field.
func (*Rent591HomeDetailPublishUpsert) SetName ¶
func (u *Rent591HomeDetailPublishUpsert) SetName(v string) *Rent591HomeDetailPublishUpsert
SetName sets the "name" field.
func (*Rent591HomeDetailPublishUpsert) SetPostID ¶
func (u *Rent591HomeDetailPublishUpsert) SetPostID(v int) *Rent591HomeDetailPublishUpsert
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailPublishUpsert) SetPostTime ¶
func (u *Rent591HomeDetailPublishUpsert) SetPostTime(v string) *Rent591HomeDetailPublishUpsert
SetPostTime sets the "post_time" field.
func (*Rent591HomeDetailPublishUpsert) SetUpdateTime ¶
func (u *Rent591HomeDetailPublishUpsert) SetUpdateTime(v string) *Rent591HomeDetailPublishUpsert
SetUpdateTime sets the "update_time" field.
func (*Rent591HomeDetailPublishUpsert) UpdateKey ¶
func (u *Rent591HomeDetailPublishUpsert) UpdateKey() *Rent591HomeDetailPublishUpsert
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsert) UpdateName ¶
func (u *Rent591HomeDetailPublishUpsert) UpdateName() *Rent591HomeDetailPublishUpsert
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsert) UpdatePostID ¶
func (u *Rent591HomeDetailPublishUpsert) UpdatePostID() *Rent591HomeDetailPublishUpsert
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsert) UpdatePostTime ¶
func (u *Rent591HomeDetailPublishUpsert) UpdatePostTime() *Rent591HomeDetailPublishUpsert
UpdatePostTime sets the "post_time" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsert) UpdateUpdateTime ¶
func (u *Rent591HomeDetailPublishUpsert) UpdateUpdateTime() *Rent591HomeDetailPublishUpsert
UpdateUpdateTime sets the "update_time" field to the value that was provided on create.
type Rent591HomeDetailPublishUpsertBulk ¶
type Rent591HomeDetailPublishUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailPublish nodes.
func (*Rent591HomeDetailPublishUpsertBulk) AddPostID ¶
func (u *Rent591HomeDetailPublishUpsertBulk) AddPostID(v int) *Rent591HomeDetailPublishUpsertBulk
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailPublishUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailPublishUpsertBulk) DoNothing() *Rent591HomeDetailPublishUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailPublishUpsertBulk) Exec ¶
func (u *Rent591HomeDetailPublishUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPublishUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailPublishUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPublishUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailPublishUpsertBulk) Ignore() *Rent591HomeDetailPublishUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailPublish.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailPublishUpsertBulk) SetKey ¶
func (u *Rent591HomeDetailPublishUpsertBulk) SetKey(v string) *Rent591HomeDetailPublishUpsertBulk
SetKey sets the "key" field.
func (*Rent591HomeDetailPublishUpsertBulk) SetName ¶
func (u *Rent591HomeDetailPublishUpsertBulk) SetName(v string) *Rent591HomeDetailPublishUpsertBulk
SetName sets the "name" field.
func (*Rent591HomeDetailPublishUpsertBulk) SetPostID ¶
func (u *Rent591HomeDetailPublishUpsertBulk) SetPostID(v int) *Rent591HomeDetailPublishUpsertBulk
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailPublishUpsertBulk) SetPostTime ¶
func (u *Rent591HomeDetailPublishUpsertBulk) SetPostTime(v string) *Rent591HomeDetailPublishUpsertBulk
SetPostTime sets the "post_time" field.
func (*Rent591HomeDetailPublishUpsertBulk) SetUpdateTime ¶
func (u *Rent591HomeDetailPublishUpsertBulk) SetUpdateTime(v string) *Rent591HomeDetailPublishUpsertBulk
SetUpdateTime sets the "update_time" field.
func (*Rent591HomeDetailPublishUpsertBulk) Update ¶
func (u *Rent591HomeDetailPublishUpsertBulk) Update(set func(*Rent591HomeDetailPublishUpsert)) *Rent591HomeDetailPublishUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailPublishCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailPublishUpsertBulk) UpdateKey ¶
func (u *Rent591HomeDetailPublishUpsertBulk) UpdateKey() *Rent591HomeDetailPublishUpsertBulk
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsertBulk) UpdateName ¶
func (u *Rent591HomeDetailPublishUpsertBulk) UpdateName() *Rent591HomeDetailPublishUpsertBulk
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailPublishUpsertBulk) UpdateNewValues() *Rent591HomeDetailPublishUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailPublish.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailPublishUpsertBulk) UpdatePostID ¶
func (u *Rent591HomeDetailPublishUpsertBulk) UpdatePostID() *Rent591HomeDetailPublishUpsertBulk
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsertBulk) UpdatePostTime ¶
func (u *Rent591HomeDetailPublishUpsertBulk) UpdatePostTime() *Rent591HomeDetailPublishUpsertBulk
UpdatePostTime sets the "post_time" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsertBulk) UpdateUpdateTime ¶
func (u *Rent591HomeDetailPublishUpsertBulk) UpdateUpdateTime() *Rent591HomeDetailPublishUpsertBulk
UpdateUpdateTime sets the "update_time" field to the value that was provided on create.
type Rent591HomeDetailPublishUpsertOne ¶
type Rent591HomeDetailPublishUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailPublishUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailPublish node.
func (*Rent591HomeDetailPublishUpsertOne) AddPostID ¶
func (u *Rent591HomeDetailPublishUpsertOne) AddPostID(v int) *Rent591HomeDetailPublishUpsertOne
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailPublishUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailPublishUpsertOne) DoNothing() *Rent591HomeDetailPublishUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailPublishUpsertOne) Exec ¶
func (u *Rent591HomeDetailPublishUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailPublishUpsertOne) ExecX ¶
func (u *Rent591HomeDetailPublishUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailPublishUpsertOne) ID ¶
func (u *Rent591HomeDetailPublishUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailPublishUpsertOne) IDX ¶
func (u *Rent591HomeDetailPublishUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailPublishUpsertOne) Ignore ¶
func (u *Rent591HomeDetailPublishUpsertOne) Ignore() *Rent591HomeDetailPublishUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailPublish.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailPublishUpsertOne) SetKey ¶
func (u *Rent591HomeDetailPublishUpsertOne) SetKey(v string) *Rent591HomeDetailPublishUpsertOne
SetKey sets the "key" field.
func (*Rent591HomeDetailPublishUpsertOne) SetName ¶
func (u *Rent591HomeDetailPublishUpsertOne) SetName(v string) *Rent591HomeDetailPublishUpsertOne
SetName sets the "name" field.
func (*Rent591HomeDetailPublishUpsertOne) SetPostID ¶
func (u *Rent591HomeDetailPublishUpsertOne) SetPostID(v int) *Rent591HomeDetailPublishUpsertOne
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailPublishUpsertOne) SetPostTime ¶
func (u *Rent591HomeDetailPublishUpsertOne) SetPostTime(v string) *Rent591HomeDetailPublishUpsertOne
SetPostTime sets the "post_time" field.
func (*Rent591HomeDetailPublishUpsertOne) SetUpdateTime ¶
func (u *Rent591HomeDetailPublishUpsertOne) SetUpdateTime(v string) *Rent591HomeDetailPublishUpsertOne
SetUpdateTime sets the "update_time" field.
func (*Rent591HomeDetailPublishUpsertOne) Update ¶
func (u *Rent591HomeDetailPublishUpsertOne) Update(set func(*Rent591HomeDetailPublishUpsert)) *Rent591HomeDetailPublishUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailPublishCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailPublishUpsertOne) UpdateKey ¶
func (u *Rent591HomeDetailPublishUpsertOne) UpdateKey() *Rent591HomeDetailPublishUpsertOne
UpdateKey sets the "key" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsertOne) UpdateName ¶
func (u *Rent591HomeDetailPublishUpsertOne) UpdateName() *Rent591HomeDetailPublishUpsertOne
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailPublishUpsertOne) UpdateNewValues() *Rent591HomeDetailPublishUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailPublish.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailPublishUpsertOne) UpdatePostID ¶
func (u *Rent591HomeDetailPublishUpsertOne) UpdatePostID() *Rent591HomeDetailPublishUpsertOne
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsertOne) UpdatePostTime ¶
func (u *Rent591HomeDetailPublishUpsertOne) UpdatePostTime() *Rent591HomeDetailPublishUpsertOne
UpdatePostTime sets the "post_time" field to the value that was provided on create.
func (*Rent591HomeDetailPublishUpsertOne) UpdateUpdateTime ¶
func (u *Rent591HomeDetailPublishUpsertOne) UpdateUpdateTime() *Rent591HomeDetailPublishUpsertOne
UpdateUpdateTime sets the "update_time" field to the value that was provided on create.
type Rent591HomeDetailPublishes ¶
type Rent591HomeDetailPublishes []*Rent591HomeDetailPublish
Rent591HomeDetailPublishes is a parsable slice of Rent591HomeDetailPublish.
type Rent591HomeDetailQuery ¶
type Rent591HomeDetailQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailQuery is the builder for querying Rent591HomeDetail entities.
func (*Rent591HomeDetailQuery) Aggregate ¶
func (rdq *Rent591HomeDetailQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailSelect
Aggregate returns a Rent591HomeDetailSelect configured with the given aggregations.
func (*Rent591HomeDetailQuery) All ¶
func (rdq *Rent591HomeDetailQuery) All(ctx context.Context) ([]*Rent591HomeDetail, error)
All executes the query and returns a list of Rent591HomeDetails.
func (*Rent591HomeDetailQuery) AllX ¶
func (rdq *Rent591HomeDetailQuery) AllX(ctx context.Context) []*Rent591HomeDetail
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailQuery) Clone ¶
func (rdq *Rent591HomeDetailQuery) Clone() *Rent591HomeDetailQuery
Clone returns a duplicate of the Rent591HomeDetailQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailQuery) Count ¶
func (rdq *Rent591HomeDetailQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailQuery) CountX ¶
func (rdq *Rent591HomeDetailQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailQuery) Exist ¶
func (rdq *Rent591HomeDetailQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailQuery) ExistX ¶
func (rdq *Rent591HomeDetailQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailQuery) First ¶
func (rdq *Rent591HomeDetailQuery) First(ctx context.Context) (*Rent591HomeDetail, error)
First returns the first Rent591HomeDetail entity from the query. Returns a *NotFoundError when no Rent591HomeDetail was found.
func (*Rent591HomeDetailQuery) FirstID ¶
func (rdq *Rent591HomeDetailQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetail ID from the query. Returns a *NotFoundError when no Rent591HomeDetail ID was found.
func (*Rent591HomeDetailQuery) FirstIDX ¶
func (rdq *Rent591HomeDetailQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailQuery) FirstX ¶
func (rdq *Rent591HomeDetailQuery) FirstX(ctx context.Context) *Rent591HomeDetail
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailQuery) GroupBy ¶
func (rdq *Rent591HomeDetailQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Title string `json:"title,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetail.Query(). GroupBy(rent591homedetail.FieldTitle). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailQuery) IDs ¶
func (rdq *Rent591HomeDetailQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetail IDs.
func (*Rent591HomeDetailQuery) IDsX ¶
func (rdq *Rent591HomeDetailQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailQuery) Limit ¶
func (rdq *Rent591HomeDetailQuery) Limit(limit int) *Rent591HomeDetailQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailQuery) Offset ¶
func (rdq *Rent591HomeDetailQuery) Offset(offset int) *Rent591HomeDetailQuery
Offset to start from.
func (*Rent591HomeDetailQuery) Only ¶
func (rdq *Rent591HomeDetailQuery) Only(ctx context.Context) (*Rent591HomeDetail, error)
Only returns a single Rent591HomeDetail entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetail entity is found. Returns a *NotFoundError when no Rent591HomeDetail entities are found.
func (*Rent591HomeDetailQuery) OnlyID ¶
func (rdq *Rent591HomeDetailQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetail ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetail ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailQuery) OnlyIDX ¶
func (rdq *Rent591HomeDetailQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailQuery) OnlyX ¶
func (rdq *Rent591HomeDetailQuery) OnlyX(ctx context.Context) *Rent591HomeDetail
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailQuery) Order ¶
func (rdq *Rent591HomeDetailQuery) Order(o ...rent591homedetail.OrderOption) *Rent591HomeDetailQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailQuery) QueryRent591homeDetailBreadcrumbs ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailBreadcrumbs() *Rent591HomeDetailBreadcrumbQuery
QueryRent591homeDetailBreadcrumbs chains the current query on the "rent591home_detail_breadcrumbs" edge.
func (*Rent591HomeDetailQuery) QueryRent591homeDetailBrowses ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailBrowses() *Rent591HomeDetailBrowseQuery
QueryRent591homeDetailBrowses chains the current query on the "rent591home_detail_browses" edge.
func (*Rent591HomeDetailQuery) QueryRent591homeDetailInfos ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailInfos() *Rent591HomeDetailInfoQuery
QueryRent591homeDetailInfos chains the current query on the "rent591home_detail_infos" edge.
func (*Rent591HomeDetailQuery) QueryRent591homeDetailNavdatas ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailNavdatas() *Rent591HomeDetailNavDataQuery
QueryRent591homeDetailNavdatas chains the current query on the "rent591home_detail_navdatas" edge.
func (*Rent591HomeDetailQuery) QueryRent591homeDetailPositionRounds ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailPositionRounds() *Rent591HomeDetailPositionRoundQuery
QueryRent591homeDetailPositionRounds chains the current query on the "rent591home_detail_position_rounds" edge.
func (*Rent591HomeDetailQuery) QueryRent591homeDetailPublishs ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailPublishs() *Rent591HomeDetailPublishQuery
QueryRent591homeDetailPublishs chains the current query on the "rent591home_detail_publishs" edge.
func (*Rent591HomeDetailQuery) QueryRent591homeDetailShareinfos ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailShareinfos() *Rent591HomeDetailShareInfoQuery
QueryRent591homeDetailShareinfos chains the current query on the "rent591home_detail_shareinfos" edge.
func (*Rent591HomeDetailQuery) QueryRent591homeDetailTags ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homeDetailTags() *Rent591HomeDetailTagQuery
QueryRent591homeDetailTags chains the current query on the "rent591home_detail_tags" edge.
func (*Rent591HomeDetailQuery) QueryRent591homes ¶
func (rdq *Rent591HomeDetailQuery) QueryRent591homes() *Rent591HomeQuery
QueryRent591homes chains the current query on the "rent591homes" edge.
func (*Rent591HomeDetailQuery) Select ¶
func (rdq *Rent591HomeDetailQuery) Select(fields ...string) *Rent591HomeDetailSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Title string `json:"title,omitempty"` } client.Rent591HomeDetail.Query(). Select(rent591homedetail.FieldTitle). Scan(ctx, &v)
func (*Rent591HomeDetailQuery) Unique ¶
func (rdq *Rent591HomeDetailQuery) Unique(unique bool) *Rent591HomeDetailQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailQuery) Where ¶
func (rdq *Rent591HomeDetailQuery) Where(ps ...predicate.Rent591HomeDetail) *Rent591HomeDetailQuery
Where adds a new predicate for the Rent591HomeDetailQuery builder.
func (*Rent591HomeDetailQuery) WithRent591homeDetailBreadcrumbs ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailBreadcrumbs(opts ...func(*Rent591HomeDetailBreadcrumbQuery)) *Rent591HomeDetailQuery
WithRent591homeDetailBreadcrumbs tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_breadcrumbs" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailQuery) WithRent591homeDetailBrowses ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailBrowses(opts ...func(*Rent591HomeDetailBrowseQuery)) *Rent591HomeDetailQuery
WithRent591homeDetailBrowses tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_browses" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailQuery) WithRent591homeDetailInfos ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailInfos(opts ...func(*Rent591HomeDetailInfoQuery)) *Rent591HomeDetailQuery
WithRent591homeDetailInfos tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_infos" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailQuery) WithRent591homeDetailNavdatas ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailNavdatas(opts ...func(*Rent591HomeDetailNavDataQuery)) *Rent591HomeDetailQuery
WithRent591homeDetailNavdatas tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_navdatas" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailQuery) WithRent591homeDetailPositionRounds ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailPositionRounds(opts ...func(*Rent591HomeDetailPositionRoundQuery)) *Rent591HomeDetailQuery
WithRent591homeDetailPositionRounds tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_position_rounds" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailQuery) WithRent591homeDetailPublishs ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailPublishs(opts ...func(*Rent591HomeDetailPublishQuery)) *Rent591HomeDetailQuery
WithRent591homeDetailPublishs tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_publishs" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailQuery) WithRent591homeDetailShareinfos ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailShareinfos(opts ...func(*Rent591HomeDetailShareInfoQuery)) *Rent591HomeDetailQuery
WithRent591homeDetailShareinfos tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_shareinfos" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailQuery) WithRent591homeDetailTags ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homeDetailTags(opts ...func(*Rent591HomeDetailTagQuery)) *Rent591HomeDetailQuery
WithRent591homeDetailTags tells the query-builder to eager-load the nodes that are connected to the "rent591home_detail_tags" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeDetailQuery) WithRent591homes ¶
func (rdq *Rent591HomeDetailQuery) WithRent591homes(opts ...func(*Rent591HomeQuery)) *Rent591HomeDetailQuery
WithRent591homes tells the query-builder to eager-load the nodes that are connected to the "rent591homes" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailSelect ¶
type Rent591HomeDetailSelect struct { *Rent591HomeDetailQuery // contains filtered or unexported fields }
Rent591HomeDetailSelect is the builder for selecting fields of Rent591HomeDetail entities.
func (*Rent591HomeDetailSelect) Aggregate ¶
func (rds *Rent591HomeDetailSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailSelect) Scan ¶
func (rds *Rent591HomeDetailSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type Rent591HomeDetailShareInfo ¶
type Rent591HomeDetailShareInfo struct { int `json:"id,omitempty"` URL string `json:"url,omitempty"` From string `json:"From,omitempty"` Title string `json:"title,omitempty"` // The values are being populated by the Rent591HomeDetailShareInfoQuery when eager-loading is set. Edges Rent591HomeDetailShareInfoEdges `json:"edges"` // contains filtered or unexported fields }ID
Rent591HomeDetailShareInfo is the model entity for the Rent591HomeDetailShareInfo schema.
func (*Rent591HomeDetailShareInfo) QueryRent591homeDetails ¶
func (rdsi *Rent591HomeDetailShareInfo) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailShareInfo) String ¶
func (rdsi *Rent591HomeDetailShareInfo) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailShareInfo) Unwrap ¶
func (rdsi *Rent591HomeDetailShareInfo) Unwrap() *Rent591HomeDetailShareInfo
Unwrap unwraps the Rent591HomeDetailShareInfo entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailShareInfo) Update ¶
func (rdsi *Rent591HomeDetailShareInfo) Update() *Rent591HomeDetailShareInfoUpdateOne
Update returns a builder for updating this Rent591HomeDetailShareInfo. Note that you need to call Rent591HomeDetailShareInfo.Unwrap() before calling this method if this Rent591HomeDetailShareInfo was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailShareInfoClient ¶
type Rent591HomeDetailShareInfoClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoClient is a client for the Rent591HomeDetailShareInfo schema.
func NewRent591HomeDetailShareInfoClient ¶
func NewRent591HomeDetailShareInfoClient(c config) *Rent591HomeDetailShareInfoClient
NewRent591HomeDetailShareInfoClient returns a client for the Rent591HomeDetailShareInfo from the given config.
func (*Rent591HomeDetailShareInfoClient) Create ¶
func (c *Rent591HomeDetailShareInfoClient) Create() *Rent591HomeDetailShareInfoCreate
Create returns a builder for creating a Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailShareInfoClient) CreateBulk ¶
func (c *Rent591HomeDetailShareInfoClient) CreateBulk(builders ...*Rent591HomeDetailShareInfoCreate) *Rent591HomeDetailShareInfoCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailShareInfo entities.
func (*Rent591HomeDetailShareInfoClient) Delete ¶
func (c *Rent591HomeDetailShareInfoClient) Delete() *Rent591HomeDetailShareInfoDelete
Delete returns a delete builder for Rent591HomeDetailShareInfo.
func (*Rent591HomeDetailShareInfoClient) DeleteOne ¶
func (c *Rent591HomeDetailShareInfoClient) DeleteOne(rdsi *Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailShareInfoClient) DeleteOneID ¶
func (c *Rent591HomeDetailShareInfoClient) DeleteOneID(id int) *Rent591HomeDetailShareInfoDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailShareInfoClient) Get ¶
func (c *Rent591HomeDetailShareInfoClient) Get(ctx context.Context, id int) (*Rent591HomeDetailShareInfo, error)
Get returns a Rent591HomeDetailShareInfo entity by its id.
func (*Rent591HomeDetailShareInfoClient) GetX ¶
func (c *Rent591HomeDetailShareInfoClient) GetX(ctx context.Context, id int) *Rent591HomeDetailShareInfo
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoClient) Hooks ¶
func (c *Rent591HomeDetailShareInfoClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailShareInfoClient) Intercept ¶
func (c *Rent591HomeDetailShareInfoClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailshareinfo.Intercept(f(g(h())))`.
func (*Rent591HomeDetailShareInfoClient) Interceptors ¶
func (c *Rent591HomeDetailShareInfoClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailShareInfoClient) Query ¶
func (c *Rent591HomeDetailShareInfoClient) Query() *Rent591HomeDetailShareInfoQuery
Query returns a query builder for Rent591HomeDetailShareInfo.
func (*Rent591HomeDetailShareInfoClient) QueryRent591homeDetails ¶
func (c *Rent591HomeDetailShareInfoClient) QueryRent591homeDetails(rdsi *Rent591HomeDetailShareInfo) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591HomeDetailShareInfo.
func (*Rent591HomeDetailShareInfoClient) Update ¶
func (c *Rent591HomeDetailShareInfoClient) Update() *Rent591HomeDetailShareInfoUpdate
Update returns an update builder for Rent591HomeDetailShareInfo.
func (*Rent591HomeDetailShareInfoClient) UpdateOne ¶
func (c *Rent591HomeDetailShareInfoClient) UpdateOne(rdsi *Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailShareInfoClient) UpdateOneID ¶
func (c *Rent591HomeDetailShareInfoClient) UpdateOneID(id int) *Rent591HomeDetailShareInfoUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailShareInfoClient) Use ¶
func (c *Rent591HomeDetailShareInfoClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailshareinfo.Hooks(f(g(h())))`.
type Rent591HomeDetailShareInfoCreate ¶
type Rent591HomeDetailShareInfoCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoCreate is the builder for creating a Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailShareInfoCreate) AddRent591homeDetailIDs ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoCreate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailShareInfoCreate) AddRent591homeDetails ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoCreate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailShareInfoCreate) Exec ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailShareInfoCreate) ExecX ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoCreate) Mutation ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) Mutation() *Rent591HomeDetailShareInfoMutation
Mutation returns the Rent591HomeDetailShareInfoMutation object of the builder.
func (*Rent591HomeDetailShareInfoCreate) OnConflict ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailShareInfoUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailShareInfo.Create(). SetURL(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailShareInfoUpsert) { SetURL(v+v). }). Exec(ctx)
func (*Rent591HomeDetailShareInfoCreate) OnConflictColumns ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailShareInfoUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailShareInfo.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailShareInfoCreate) Save ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) Save(ctx context.Context) (*Rent591HomeDetailShareInfo, error)
Save creates the Rent591HomeDetailShareInfo in the database.
func (*Rent591HomeDetailShareInfoCreate) SaveX ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) SaveX(ctx context.Context) *Rent591HomeDetailShareInfo
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailShareInfoCreate) SetFrom ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) SetFrom(s string) *Rent591HomeDetailShareInfoCreate
SetFrom sets the "From" field.
func (*Rent591HomeDetailShareInfoCreate) SetTitle ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) SetTitle(s string) *Rent591HomeDetailShareInfoCreate
SetTitle sets the "title" field.
func (*Rent591HomeDetailShareInfoCreate) SetURL ¶
func (rdsic *Rent591HomeDetailShareInfoCreate) SetURL(s string) *Rent591HomeDetailShareInfoCreate
SetURL sets the "url" field.
type Rent591HomeDetailShareInfoCreateBulk ¶
type Rent591HomeDetailShareInfoCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoCreateBulk is the builder for creating many Rent591HomeDetailShareInfo entities in bulk.
func (*Rent591HomeDetailShareInfoCreateBulk) Exec ¶
func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailShareInfoCreateBulk) ExecX ¶
func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoCreateBulk) OnConflict ¶
func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailShareInfoUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailShareInfo.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailShareInfoUpsert) { SetURL(v+v). }). Exec(ctx)
func (*Rent591HomeDetailShareInfoCreateBulk) OnConflictColumns ¶
func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailShareInfoUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailShareInfo.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailShareInfoCreateBulk) Save ¶
func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailShareInfo, error)
Save creates the Rent591HomeDetailShareInfo entities in the database.
func (*Rent591HomeDetailShareInfoCreateBulk) SaveX ¶
func (rdsicb *Rent591HomeDetailShareInfoCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailShareInfo
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailShareInfoDelete ¶
type Rent591HomeDetailShareInfoDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoDelete is the builder for deleting a Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailShareInfoDelete) Exec ¶
func (rdsid *Rent591HomeDetailShareInfoDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailShareInfoDelete) ExecX ¶
func (rdsid *Rent591HomeDetailShareInfoDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoDelete) Where ¶
func (rdsid *Rent591HomeDetailShareInfoDelete) Where(ps ...predicate.Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoDelete
Where appends a list predicates to the Rent591HomeDetailShareInfoDelete builder.
type Rent591HomeDetailShareInfoDeleteOne ¶
type Rent591HomeDetailShareInfoDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoDeleteOne is the builder for deleting a single Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailShareInfoDeleteOne) Exec ¶
func (rdsido *Rent591HomeDetailShareInfoDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailShareInfoDeleteOne) ExecX ¶
func (rdsido *Rent591HomeDetailShareInfoDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoDeleteOne) Where ¶
func (rdsido *Rent591HomeDetailShareInfoDeleteOne) Where(ps ...predicate.Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoDeleteOne
Where appends a list predicates to the Rent591HomeDetailShareInfoDelete builder.
type Rent591HomeDetailShareInfoEdges ¶
type Rent591HomeDetailShareInfoEdges struct { Rent591HomeDetail `json:"rent591home_details,omitempty"` // contains filtered or unexported fields }Rent591homeDetails []*
Rent591HomeDetailShareInfoEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailShareInfoEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeDetailShareInfoEdges) Rent591homeDetailsOrErr() ([]*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailShareInfoGroupBy ¶
type Rent591HomeDetailShareInfoGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoGroupBy is the group-by builder for Rent591HomeDetailShareInfo entities.
func (*Rent591HomeDetailShareInfoGroupBy) Aggregate ¶
func (rdsigb *Rent591HomeDetailShareInfoGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailShareInfoGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailShareInfoGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoGroupBy) BoolX ¶
BoolX is like Bool, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoGroupBy) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoGroupBy) IntsX ¶
IntsX is like Ints, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoGroupBy) Scan ¶
func (rdsigb *Rent591HomeDetailShareInfoGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailShareInfoGroupBy) ScanX ¶
ScanX is like Scan, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailShareInfoMutation ¶
type Rent591HomeDetailShareInfoMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoMutation represents an operation that mutates the Rent591HomeDetailShareInfo nodes in the graph.
func (*Rent591HomeDetailShareInfoMutation) AddField ¶
func (m *Rent591HomeDetailShareInfoMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailShareInfoMutation) AddRent591homeDetailIDs ¶
func (m *Rent591HomeDetailShareInfoMutation) AddRent591homeDetailIDs(ids ...int)
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by ids.
func (*Rent591HomeDetailShareInfoMutation) AddedEdges ¶
func (m *Rent591HomeDetailShareInfoMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailShareInfoMutation) AddedField ¶
func (m *Rent591HomeDetailShareInfoMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailShareInfoMutation) AddedFields ¶
func (m *Rent591HomeDetailShareInfoMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailShareInfoMutation) AddedIDs ¶
func (m *Rent591HomeDetailShareInfoMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailShareInfoMutation) ClearEdge ¶
func (m *Rent591HomeDetailShareInfoMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailShareInfoMutation) ClearField ¶
func (m *Rent591HomeDetailShareInfoMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailShareInfoMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeDetailShareInfoMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailShareInfoMutation) ClearedEdges ¶
func (m *Rent591HomeDetailShareInfoMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailShareInfoMutation) ClearedFields ¶
func (m *Rent591HomeDetailShareInfoMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailShareInfoMutation) Client ¶
func (m Rent591HomeDetailShareInfoMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailShareInfoMutation) EdgeCleared ¶
func (m *Rent591HomeDetailShareInfoMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailShareInfoMutation) Field ¶
func (m *Rent591HomeDetailShareInfoMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailShareInfoMutation) FieldCleared ¶
func (m *Rent591HomeDetailShareInfoMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailShareInfoMutation) Fields ¶
func (m *Rent591HomeDetailShareInfoMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailShareInfoMutation) From ¶
func (m *Rent591HomeDetailShareInfoMutation) From() (r string, exists bool)
From returns the value of the "From" field in the mutation.
func (*Rent591HomeDetailShareInfoMutation) ID ¶
func (m *Rent591HomeDetailShareInfoMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailShareInfoMutation) IDs ¶
func (m *Rent591HomeDetailShareInfoMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailShareInfoMutation) OldField ¶
func (m *Rent591HomeDetailShareInfoMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailShareInfoMutation) OldFrom ¶
func (m *Rent591HomeDetailShareInfoMutation) OldFrom(ctx context.Context) (v string, err error)
OldFrom returns the old "From" field's value of the Rent591HomeDetailShareInfo entity. If the Rent591HomeDetailShareInfo object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailShareInfoMutation) OldTitle ¶
func (m *Rent591HomeDetailShareInfoMutation) OldTitle(ctx context.Context) (v string, err error)
OldTitle returns the old "title" field's value of the Rent591HomeDetailShareInfo entity. If the Rent591HomeDetailShareInfo object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailShareInfoMutation) OldURL ¶
func (m *Rent591HomeDetailShareInfoMutation) OldURL(ctx context.Context) (v string, err error)
OldURL returns the old "url" field's value of the Rent591HomeDetailShareInfo entity. If the Rent591HomeDetailShareInfo object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailShareInfoMutation) Op ¶
func (m *Rent591HomeDetailShareInfoMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailShareInfoMutation) RemoveRent591homeDetailIDs ¶
func (m *Rent591HomeDetailShareInfoMutation) RemoveRent591homeDetailIDs(ids ...int)
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailShareInfoMutation) RemovedEdges ¶
func (m *Rent591HomeDetailShareInfoMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailShareInfoMutation) RemovedIDs ¶
func (m *Rent591HomeDetailShareInfoMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailShareInfoMutation) RemovedRent591homeDetailsIDs ¶
func (m *Rent591HomeDetailShareInfoMutation) RemovedRent591homeDetailsIDs() (ids []int)
RemovedRent591homeDetails returns the removed IDs of the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailShareInfoMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeDetailShareInfoMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeDetailShareInfoMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeDetailShareInfoMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation.
func (*Rent591HomeDetailShareInfoMutation) ResetEdge ¶
func (m *Rent591HomeDetailShareInfoMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailShareInfoMutation) ResetField ¶
func (m *Rent591HomeDetailShareInfoMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailShareInfoMutation) ResetFrom ¶
func (m *Rent591HomeDetailShareInfoMutation) ResetFrom()
ResetFrom resets all changes to the "From" field.
func (*Rent591HomeDetailShareInfoMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeDetailShareInfoMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeDetailShareInfoMutation) ResetTitle ¶
func (m *Rent591HomeDetailShareInfoMutation) ResetTitle()
ResetTitle resets all changes to the "title" field.
func (*Rent591HomeDetailShareInfoMutation) ResetURL ¶
func (m *Rent591HomeDetailShareInfoMutation) ResetURL()
ResetURL resets all changes to the "url" field.
func (*Rent591HomeDetailShareInfoMutation) SetField ¶
func (m *Rent591HomeDetailShareInfoMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailShareInfoMutation) SetFrom ¶
func (m *Rent591HomeDetailShareInfoMutation) SetFrom(s string)
SetFrom sets the "From" field.
func (*Rent591HomeDetailShareInfoMutation) SetOp ¶
func (m *Rent591HomeDetailShareInfoMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailShareInfoMutation) SetTitle ¶
func (m *Rent591HomeDetailShareInfoMutation) SetTitle(s string)
SetTitle sets the "title" field.
func (*Rent591HomeDetailShareInfoMutation) SetURL ¶
func (m *Rent591HomeDetailShareInfoMutation) SetURL(s string)
SetURL sets the "url" field.
func (*Rent591HomeDetailShareInfoMutation) Title ¶
func (m *Rent591HomeDetailShareInfoMutation) Title() (r string, exists bool)
Title returns the value of the "title" field in the mutation.
func (Rent591HomeDetailShareInfoMutation) Tx ¶
func (m Rent591HomeDetailShareInfoMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailShareInfoMutation) Type ¶
func (m *Rent591HomeDetailShareInfoMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailShareInfo).
func (*Rent591HomeDetailShareInfoMutation) URL ¶
func (m *Rent591HomeDetailShareInfoMutation) URL() (r string, exists bool)
URL returns the value of the "url" field in the mutation.
func (*Rent591HomeDetailShareInfoMutation) Where ¶
func (m *Rent591HomeDetailShareInfoMutation) Where(ps ...predicate.Rent591HomeDetailShareInfo)
Where appends a list predicates to the Rent591HomeDetailShareInfoMutation builder.
func (*Rent591HomeDetailShareInfoMutation) WhereP ¶
func (m *Rent591HomeDetailShareInfoMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailShareInfoMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailShareInfoQuery ¶
type Rent591HomeDetailShareInfoQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoQuery is the builder for querying Rent591HomeDetailShareInfo entities.
func (*Rent591HomeDetailShareInfoQuery) Aggregate ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailShareInfoSelect
Aggregate returns a Rent591HomeDetailShareInfoSelect configured with the given aggregations.
func (*Rent591HomeDetailShareInfoQuery) All ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) All(ctx context.Context) ([]*Rent591HomeDetailShareInfo, error)
All executes the query and returns a list of Rent591HomeDetailShareInfos.
func (*Rent591HomeDetailShareInfoQuery) AllX ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) AllX(ctx context.Context) []*Rent591HomeDetailShareInfo
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoQuery) Clone ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Clone() *Rent591HomeDetailShareInfoQuery
Clone returns a duplicate of the Rent591HomeDetailShareInfoQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailShareInfoQuery) Count ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailShareInfoQuery) CountX ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoQuery) Exist ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailShareInfoQuery) ExistX ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoQuery) First ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) First(ctx context.Context) (*Rent591HomeDetailShareInfo, error)
First returns the first Rent591HomeDetailShareInfo entity from the query. Returns a *NotFoundError when no Rent591HomeDetailShareInfo was found.
func (*Rent591HomeDetailShareInfoQuery) FirstID ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailShareInfo ID from the query. Returns a *NotFoundError when no Rent591HomeDetailShareInfo ID was found.
func (*Rent591HomeDetailShareInfoQuery) FirstIDX ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoQuery) FirstX ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) FirstX(ctx context.Context) *Rent591HomeDetailShareInfo
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoQuery) GroupBy ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailShareInfoGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { URL string `json:"url,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailShareInfo.Query(). GroupBy(rent591homedetailshareinfo.FieldURL). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailShareInfoQuery) IDs ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailShareInfo IDs.
func (*Rent591HomeDetailShareInfoQuery) IDsX ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoQuery) Limit ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Limit(limit int) *Rent591HomeDetailShareInfoQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailShareInfoQuery) Offset ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Offset(offset int) *Rent591HomeDetailShareInfoQuery
Offset to start from.
func (*Rent591HomeDetailShareInfoQuery) Only ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Only(ctx context.Context) (*Rent591HomeDetailShareInfo, error)
Only returns a single Rent591HomeDetailShareInfo entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailShareInfo entity is found. Returns a *NotFoundError when no Rent591HomeDetailShareInfo entities are found.
func (*Rent591HomeDetailShareInfoQuery) OnlyID ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailShareInfo ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailShareInfo ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailShareInfoQuery) OnlyIDX ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoQuery) OnlyX ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) OnlyX(ctx context.Context) *Rent591HomeDetailShareInfo
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoQuery) Order ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Order(o ...rent591homedetailshareinfo.OrderOption) *Rent591HomeDetailShareInfoQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailShareInfoQuery) QueryRent591homeDetails ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeDetailShareInfoQuery) Select ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Select(fields ...string) *Rent591HomeDetailShareInfoSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { URL string `json:"url,omitempty"` } client.Rent591HomeDetailShareInfo.Query(). Select(rent591homedetailshareinfo.FieldURL). Scan(ctx, &v)
func (*Rent591HomeDetailShareInfoQuery) Unique ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Unique(unique bool) *Rent591HomeDetailShareInfoQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailShareInfoQuery) Where ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) Where(ps ...predicate.Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoQuery
Where adds a new predicate for the Rent591HomeDetailShareInfoQuery builder.
func (*Rent591HomeDetailShareInfoQuery) WithRent591homeDetails ¶
func (rdsiq *Rent591HomeDetailShareInfoQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailShareInfoQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailShareInfoSelect ¶
type Rent591HomeDetailShareInfoSelect struct { // contains filtered or unexported fields }
Rent591HomeDetailShareInfoSelect is the builder for selecting fields of Rent591HomeDetailShareInfo entities.
func (*Rent591HomeDetailShareInfoSelect) Aggregate ¶
func (rdsis *Rent591HomeDetailShareInfoSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailShareInfoSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailShareInfoSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoSelect) BoolsX ¶
BoolsX is like Bools, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoSelect) Scan ¶
func (rdsis *Rent591HomeDetailShareInfoSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailShareInfoSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailShareInfoSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailShareInfoUpdate ¶
type Rent591HomeDetailShareInfoUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoUpdate is the builder for updating Rent591HomeDetailShareInfo entities.
func (*Rent591HomeDetailShareInfoUpdate) AddRent591homeDetailIDs ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoUpdate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailShareInfoUpdate) AddRent591homeDetails ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoUpdate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailShareInfoUpdate) ClearRent591homeDetails ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) ClearRent591homeDetails() *Rent591HomeDetailShareInfoUpdate
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailShareInfoUpdate) Exec ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailShareInfoUpdate) ExecX ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoUpdate) Mutation ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) Mutation() *Rent591HomeDetailShareInfoMutation
Mutation returns the Rent591HomeDetailShareInfoMutation object of the builder.
func (*Rent591HomeDetailShareInfoUpdate) RemoveRent591homeDetailIDs ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoUpdate
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailShareInfoUpdate) RemoveRent591homeDetails ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoUpdate
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailShareInfoUpdate) Save ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailShareInfoUpdate) SaveX ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoUpdate) SetFrom ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) SetFrom(s string) *Rent591HomeDetailShareInfoUpdate
SetFrom sets the "From" field.
func (*Rent591HomeDetailShareInfoUpdate) SetTitle ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) SetTitle(s string) *Rent591HomeDetailShareInfoUpdate
SetTitle sets the "title" field.
func (*Rent591HomeDetailShareInfoUpdate) SetURL ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) SetURL(s string) *Rent591HomeDetailShareInfoUpdate
SetURL sets the "url" field.
func (*Rent591HomeDetailShareInfoUpdate) Where ¶
func (rdsiu *Rent591HomeDetailShareInfoUpdate) Where(ps ...predicate.Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoUpdate
Where appends a list predicates to the Rent591HomeDetailShareInfoUpdate builder.
type Rent591HomeDetailShareInfoUpdateOne ¶
type Rent591HomeDetailShareInfoUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoUpdateOne is the builder for updating a single Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailShareInfoUpdateOne) AddRent591homeDetailIDs ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoUpdateOne
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailShareInfoUpdateOne) AddRent591homeDetails ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoUpdateOne
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailShareInfoUpdateOne) ClearRent591homeDetails ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailShareInfoUpdateOne
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailShareInfoUpdateOne) Exec ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailShareInfoUpdateOne) ExecX ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoUpdateOne) Mutation ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Mutation() *Rent591HomeDetailShareInfoMutation
Mutation returns the Rent591HomeDetailShareInfoMutation object of the builder.
func (*Rent591HomeDetailShareInfoUpdateOne) RemoveRent591homeDetailIDs ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailShareInfoUpdateOne
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailShareInfoUpdateOne) RemoveRent591homeDetails ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailShareInfoUpdateOne
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailShareInfoUpdateOne) Save ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailShareInfo, error)
Save executes the query and returns the updated Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailShareInfoUpdateOne) SaveX ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailShareInfo
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoUpdateOne) Select ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailShareInfoUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailShareInfoUpdateOne) SetFrom ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) SetFrom(s string) *Rent591HomeDetailShareInfoUpdateOne
SetFrom sets the "From" field.
func (*Rent591HomeDetailShareInfoUpdateOne) SetTitle ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) SetTitle(s string) *Rent591HomeDetailShareInfoUpdateOne
SetTitle sets the "title" field.
func (*Rent591HomeDetailShareInfoUpdateOne) SetURL ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) SetURL(s string) *Rent591HomeDetailShareInfoUpdateOne
SetURL sets the "url" field.
func (*Rent591HomeDetailShareInfoUpdateOne) Where ¶
func (rdsiuo *Rent591HomeDetailShareInfoUpdateOne) Where(ps ...predicate.Rent591HomeDetailShareInfo) *Rent591HomeDetailShareInfoUpdateOne
Where appends a list predicates to the Rent591HomeDetailShareInfoUpdate builder.
type Rent591HomeDetailShareInfoUpsert ¶
type Rent591HomeDetailShareInfoUpsert struct {
}Rent591HomeDetailShareInfoUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailShareInfoUpsert) SetFrom ¶
func (u *Rent591HomeDetailShareInfoUpsert) SetFrom(v string) *Rent591HomeDetailShareInfoUpsert
SetFrom sets the "From" field.
func (*Rent591HomeDetailShareInfoUpsert) SetTitle ¶
func (u *Rent591HomeDetailShareInfoUpsert) SetTitle(v string) *Rent591HomeDetailShareInfoUpsert
SetTitle sets the "title" field.
func (*Rent591HomeDetailShareInfoUpsert) SetURL ¶
func (u *Rent591HomeDetailShareInfoUpsert) SetURL(v string) *Rent591HomeDetailShareInfoUpsert
SetURL sets the "url" field.
func (*Rent591HomeDetailShareInfoUpsert) UpdateFrom ¶
func (u *Rent591HomeDetailShareInfoUpsert) UpdateFrom() *Rent591HomeDetailShareInfoUpsert
UpdateFrom sets the "From" field to the value that was provided on create.
func (*Rent591HomeDetailShareInfoUpsert) UpdateTitle ¶
func (u *Rent591HomeDetailShareInfoUpsert) UpdateTitle() *Rent591HomeDetailShareInfoUpsert
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeDetailShareInfoUpsert) UpdateURL ¶
func (u *Rent591HomeDetailShareInfoUpsert) UpdateURL() *Rent591HomeDetailShareInfoUpsert
UpdateURL sets the "url" field to the value that was provided on create.
type Rent591HomeDetailShareInfoUpsertBulk ¶
type Rent591HomeDetailShareInfoUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailShareInfo nodes.
func (*Rent591HomeDetailShareInfoUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) DoNothing() *Rent591HomeDetailShareInfoUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailShareInfoUpsertBulk) Exec ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailShareInfoUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) Ignore() *Rent591HomeDetailShareInfoUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailShareInfo.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailShareInfoUpsertBulk) SetFrom ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) SetFrom(v string) *Rent591HomeDetailShareInfoUpsertBulk
SetFrom sets the "From" field.
func (*Rent591HomeDetailShareInfoUpsertBulk) SetTitle ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) SetTitle(v string) *Rent591HomeDetailShareInfoUpsertBulk
SetTitle sets the "title" field.
func (*Rent591HomeDetailShareInfoUpsertBulk) SetURL ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) SetURL(v string) *Rent591HomeDetailShareInfoUpsertBulk
SetURL sets the "url" field.
func (*Rent591HomeDetailShareInfoUpsertBulk) Update ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) Update(set func(*Rent591HomeDetailShareInfoUpsert)) *Rent591HomeDetailShareInfoUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailShareInfoCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailShareInfoUpsertBulk) UpdateFrom ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) UpdateFrom() *Rent591HomeDetailShareInfoUpsertBulk
UpdateFrom sets the "From" field to the value that was provided on create.
func (*Rent591HomeDetailShareInfoUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) UpdateNewValues() *Rent591HomeDetailShareInfoUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailShareInfo.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailShareInfoUpsertBulk) UpdateTitle ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) UpdateTitle() *Rent591HomeDetailShareInfoUpsertBulk
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeDetailShareInfoUpsertBulk) UpdateURL ¶
func (u *Rent591HomeDetailShareInfoUpsertBulk) UpdateURL() *Rent591HomeDetailShareInfoUpsertBulk
UpdateURL sets the "url" field to the value that was provided on create.
type Rent591HomeDetailShareInfoUpsertOne ¶
type Rent591HomeDetailShareInfoUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailShareInfoUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailShareInfo node.
func (*Rent591HomeDetailShareInfoUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) DoNothing() *Rent591HomeDetailShareInfoUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailShareInfoUpsertOne) Exec ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailShareInfoUpsertOne) ExecX ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoUpsertOne) ID ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailShareInfoUpsertOne) IDX ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailShareInfoUpsertOne) Ignore ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) Ignore() *Rent591HomeDetailShareInfoUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailShareInfo.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailShareInfoUpsertOne) SetFrom ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) SetFrom(v string) *Rent591HomeDetailShareInfoUpsertOne
SetFrom sets the "From" field.
func (*Rent591HomeDetailShareInfoUpsertOne) SetTitle ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) SetTitle(v string) *Rent591HomeDetailShareInfoUpsertOne
SetTitle sets the "title" field.
func (*Rent591HomeDetailShareInfoUpsertOne) SetURL ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) SetURL(v string) *Rent591HomeDetailShareInfoUpsertOne
SetURL sets the "url" field.
func (*Rent591HomeDetailShareInfoUpsertOne) Update ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) Update(set func(*Rent591HomeDetailShareInfoUpsert)) *Rent591HomeDetailShareInfoUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailShareInfoCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailShareInfoUpsertOne) UpdateFrom ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) UpdateFrom() *Rent591HomeDetailShareInfoUpsertOne
UpdateFrom sets the "From" field to the value that was provided on create.
func (*Rent591HomeDetailShareInfoUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) UpdateNewValues() *Rent591HomeDetailShareInfoUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailShareInfo.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailShareInfoUpsertOne) UpdateTitle ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) UpdateTitle() *Rent591HomeDetailShareInfoUpsertOne
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeDetailShareInfoUpsertOne) UpdateURL ¶
func (u *Rent591HomeDetailShareInfoUpsertOne) UpdateURL() *Rent591HomeDetailShareInfoUpsertOne
UpdateURL sets the "url" field to the value that was provided on create.
type Rent591HomeDetailShareInfos ¶
type Rent591HomeDetailShareInfos []*Rent591HomeDetailShareInfo
Rent591HomeDetailShareInfos is a parsable slice of Rent591HomeDetailShareInfo.
type Rent591HomeDetailTag ¶
type Rent591HomeDetailTag struct { // ID of the ent. ID int `json:"id,omitempty"` // PostID holds the value of the "post_id" field. PostID int `json:"post_id,omitempty"` // Value holds the value of the "value" field. Value string `json:"value,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeDetailTagQuery when eager-loading is set. Edges Rent591HomeDetailTagEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeDetailTag is the model entity for the Rent591HomeDetailTag schema.
func (*Rent591HomeDetailTag) GetValue ¶
func (rdt *Rent591HomeDetailTag) GetValue(name string) (ent.Value, error)
GetValue returns the ent.Value that was dynamically selected and assigned to the Rent591HomeDetailTag. This includes values selected through modifiers, order, etc.
func (*Rent591HomeDetailTag) QueryRent591homeDetails ¶
func (rdt *Rent591HomeDetailTag) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails queries the "rent591home_details" edge of the Rent591HomeDetailTag entity.
func (*Rent591HomeDetailTag) String ¶
func (rdt *Rent591HomeDetailTag) String() string
String implements the fmt.Stringer.
func (*Rent591HomeDetailTag) Unwrap ¶
func (rdt *Rent591HomeDetailTag) Unwrap() *Rent591HomeDetailTag
Unwrap unwraps the Rent591HomeDetailTag entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeDetailTag) Update ¶
func (rdt *Rent591HomeDetailTag) Update() *Rent591HomeDetailTagUpdateOne
Update returns a builder for updating this Rent591HomeDetailTag. Note that you need to call Rent591HomeDetailTag.Unwrap() before calling this method if this Rent591HomeDetailTag was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeDetailTagClient ¶
type Rent591HomeDetailTagClient struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagClient is a client for the Rent591HomeDetailTag schema.
func NewRent591HomeDetailTagClient ¶
func NewRent591HomeDetailTagClient(c config) *Rent591HomeDetailTagClient
NewRent591HomeDetailTagClient returns a client for the Rent591HomeDetailTag from the given config.
func (*Rent591HomeDetailTagClient) Create ¶
func (c *Rent591HomeDetailTagClient) Create() *Rent591HomeDetailTagCreate
Create returns a builder for creating a Rent591HomeDetailTag entity.
func (*Rent591HomeDetailTagClient) CreateBulk ¶
func (c *Rent591HomeDetailTagClient) CreateBulk(builders ...*Rent591HomeDetailTagCreate) *Rent591HomeDetailTagCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeDetailTag entities.
func (*Rent591HomeDetailTagClient) Delete ¶
func (c *Rent591HomeDetailTagClient) Delete() *Rent591HomeDetailTagDelete
Delete returns a delete builder for Rent591HomeDetailTag.
func (*Rent591HomeDetailTagClient) DeleteOne ¶
func (c *Rent591HomeDetailTagClient) DeleteOne(rdt *Rent591HomeDetailTag) *Rent591HomeDetailTagDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeDetailTagClient) DeleteOneID ¶
func (c *Rent591HomeDetailTagClient) DeleteOneID(id int) *Rent591HomeDetailTagDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeDetailTagClient) Get ¶
func (c *Rent591HomeDetailTagClient) Get(ctx context.Context, id int) (*Rent591HomeDetailTag, error)
Get returns a Rent591HomeDetailTag entity by its id.
func (*Rent591HomeDetailTagClient) GetX ¶
func (c *Rent591HomeDetailTagClient) GetX(ctx context.Context, id int) *Rent591HomeDetailTag
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeDetailTagClient) Hooks ¶
func (c *Rent591HomeDetailTagClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeDetailTagClient) Intercept ¶
func (c *Rent591HomeDetailTagClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homedetailtag.Intercept(f(g(h())))`.
func (*Rent591HomeDetailTagClient) Interceptors ¶
func (c *Rent591HomeDetailTagClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeDetailTagClient) Query ¶
func (c *Rent591HomeDetailTagClient) Query() *Rent591HomeDetailTagQuery
Query returns a query builder for Rent591HomeDetailTag.
func (*Rent591HomeDetailTagClient) QueryRent591homeDetails ¶
func (c *Rent591HomeDetailTagClient) QueryRent591homeDetails(rdt *Rent591HomeDetailTag) *Rent591HomeDetailQuery
QueryRent591homeDetails queries the rent591home_details edge of a Rent591HomeDetailTag.
func (*Rent591HomeDetailTagClient) Update ¶
func (c *Rent591HomeDetailTagClient) Update() *Rent591HomeDetailTagUpdate
Update returns an update builder for Rent591HomeDetailTag.
func (*Rent591HomeDetailTagClient) UpdateOne ¶
func (c *Rent591HomeDetailTagClient) UpdateOne(rdt *Rent591HomeDetailTag) *Rent591HomeDetailTagUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeDetailTagClient) UpdateOneID ¶
func (c *Rent591HomeDetailTagClient) UpdateOneID(id int) *Rent591HomeDetailTagUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeDetailTagClient) Use ¶
func (c *Rent591HomeDetailTagClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homedetailtag.Hooks(f(g(h())))`.
type Rent591HomeDetailTagCreate ¶
type Rent591HomeDetailTagCreate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagCreate is the builder for creating a Rent591HomeDetailTag entity.
func (*Rent591HomeDetailTagCreate) AddRent591homeDetailIDs ¶
func (rdtc *Rent591HomeDetailTagCreate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagCreate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailTagCreate) AddRent591homeDetails ¶
func (rdtc *Rent591HomeDetailTagCreate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagCreate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailTagCreate) Exec ¶
func (rdtc *Rent591HomeDetailTagCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailTagCreate) ExecX ¶
func (rdtc *Rent591HomeDetailTagCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailTagCreate) Mutation ¶
func (rdtc *Rent591HomeDetailTagCreate) Mutation() *Rent591HomeDetailTagMutation
Mutation returns the Rent591HomeDetailTagMutation object of the builder.
func (*Rent591HomeDetailTagCreate) OnConflict ¶
func (rdtc *Rent591HomeDetailTagCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailTagUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailTag.Create(). SetPostID(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailTagUpsert) { SetPostID(v+v). }). Exec(ctx)
func (*Rent591HomeDetailTagCreate) OnConflictColumns ¶
func (rdtc *Rent591HomeDetailTagCreate) OnConflictColumns(columns ...string) *Rent591HomeDetailTagUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailTag.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailTagCreate) Save ¶
func (rdtc *Rent591HomeDetailTagCreate) Save(ctx context.Context) (*Rent591HomeDetailTag, error)
Save creates the Rent591HomeDetailTag in the database.
func (*Rent591HomeDetailTagCreate) SaveX ¶
func (rdtc *Rent591HomeDetailTagCreate) SaveX(ctx context.Context) *Rent591HomeDetailTag
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeDetailTagCreate) SetPostID ¶
func (rdtc *Rent591HomeDetailTagCreate) SetPostID(i int) *Rent591HomeDetailTagCreate
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailTagCreate) SetValue ¶
func (rdtc *Rent591HomeDetailTagCreate) SetValue(s string) *Rent591HomeDetailTagCreate
SetValue sets the "value" field.
type Rent591HomeDetailTagCreateBulk ¶
type Rent591HomeDetailTagCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagCreateBulk is the builder for creating many Rent591HomeDetailTag entities in bulk.
func (*Rent591HomeDetailTagCreateBulk) Exec ¶
func (rdtcb *Rent591HomeDetailTagCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailTagCreateBulk) ExecX ¶
func (rdtcb *Rent591HomeDetailTagCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailTagCreateBulk) OnConflict ¶
func (rdtcb *Rent591HomeDetailTagCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeDetailTagUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeDetailTag.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeDetailTagUpsert) { SetPostID(v+v). }). Exec(ctx)
func (*Rent591HomeDetailTagCreateBulk) OnConflictColumns ¶
func (rdtcb *Rent591HomeDetailTagCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeDetailTagUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeDetailTag.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeDetailTagCreateBulk) Save ¶
func (rdtcb *Rent591HomeDetailTagCreateBulk) Save(ctx context.Context) ([]*Rent591HomeDetailTag, error)
Save creates the Rent591HomeDetailTag entities in the database.
func (*Rent591HomeDetailTagCreateBulk) SaveX ¶
func (rdtcb *Rent591HomeDetailTagCreateBulk) SaveX(ctx context.Context) []*Rent591HomeDetailTag
SaveX is like Save, but panics if an error occurs.
type Rent591HomeDetailTagDelete ¶
type Rent591HomeDetailTagDelete struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagDelete is the builder for deleting a Rent591HomeDetailTag entity.
func (*Rent591HomeDetailTagDelete) Exec ¶
func (rdtd *Rent591HomeDetailTagDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeDetailTagDelete) ExecX ¶
func (rdtd *Rent591HomeDetailTagDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailTagDelete) Where ¶
func (rdtd *Rent591HomeDetailTagDelete) Where(ps ...predicate.Rent591HomeDetailTag) *Rent591HomeDetailTagDelete
Where appends a list predicates to the Rent591HomeDetailTagDelete builder.
type Rent591HomeDetailTagDeleteOne ¶
type Rent591HomeDetailTagDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagDeleteOne is the builder for deleting a single Rent591HomeDetailTag entity.
func (*Rent591HomeDetailTagDeleteOne) Exec ¶
func (rdtdo *Rent591HomeDetailTagDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeDetailTagDeleteOne) ExecX ¶
func (rdtdo *Rent591HomeDetailTagDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailTagDeleteOne) Where ¶
func (rdtdo *Rent591HomeDetailTagDeleteOne) Where(ps ...predicate.Rent591HomeDetailTag) *Rent591HomeDetailTagDeleteOne
Where appends a list predicates to the Rent591HomeDetailTagDelete builder.
type Rent591HomeDetailTagEdges ¶
type Rent591HomeDetailTagEdges struct { // Rent591homeDetails holds the value of the rent591home_details edge. Rent591homeDetails []*Rent591HomeDetail `json:"rent591home_details,omitempty"` // contains filtered or unexported fields }
Rent591HomeDetailTagEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeDetailTagEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeDetailTagEdges) Rent591homeDetailsOrErr() ([]*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading.
type Rent591HomeDetailTagGroupBy ¶
type Rent591HomeDetailTagGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagGroupBy is the group-by builder for Rent591HomeDetailTag entities.
func (*Rent591HomeDetailTagGroupBy) Aggregate ¶
func (rdtgb *Rent591HomeDetailTagGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailTagGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeDetailTagGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailTagGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailTagGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagGroupBy) Scan ¶
func (rdtgb *Rent591HomeDetailTagGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailTagGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeDetailTagMutation ¶
type Rent591HomeDetailTagMutation struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagMutation represents an operation that mutates the Rent591HomeDetailTag nodes in the graph.
func (*Rent591HomeDetailTagMutation) AddField ¶
func (m *Rent591HomeDetailTagMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailTagMutation) AddPostID ¶
func (m *Rent591HomeDetailTagMutation) AddPostID(i int)
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailTagMutation) AddRent591homeDetailIDs ¶
func (m *Rent591HomeDetailTagMutation) AddRent591homeDetailIDs(ids ...int)
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by ids.
func (*Rent591HomeDetailTagMutation) AddedEdges ¶
func (m *Rent591HomeDetailTagMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeDetailTagMutation) AddedField ¶
func (m *Rent591HomeDetailTagMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailTagMutation) AddedFields ¶
func (m *Rent591HomeDetailTagMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeDetailTagMutation) AddedIDs ¶
func (m *Rent591HomeDetailTagMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeDetailTagMutation) AddedPostID ¶
func (m *Rent591HomeDetailTagMutation) AddedPostID() (r int, exists bool)
AddedPostID returns the value that was added to the "post_id" field in this mutation.
func (*Rent591HomeDetailTagMutation) ClearEdge ¶
func (m *Rent591HomeDetailTagMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeDetailTagMutation) ClearField ¶
func (m *Rent591HomeDetailTagMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailTagMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeDetailTagMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailTagMutation) ClearedEdges ¶
func (m *Rent591HomeDetailTagMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeDetailTagMutation) ClearedFields ¶
func (m *Rent591HomeDetailTagMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeDetailTagMutation) Client ¶
func (m Rent591HomeDetailTagMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeDetailTagMutation) EdgeCleared ¶
func (m *Rent591HomeDetailTagMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeDetailTagMutation) Field ¶
func (m *Rent591HomeDetailTagMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeDetailTagMutation) FieldCleared ¶
func (m *Rent591HomeDetailTagMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeDetailTagMutation) Fields ¶
func (m *Rent591HomeDetailTagMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeDetailTagMutation) ID ¶
func (m *Rent591HomeDetailTagMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeDetailTagMutation) IDs ¶
func (m *Rent591HomeDetailTagMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeDetailTagMutation) OldField ¶
func (m *Rent591HomeDetailTagMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeDetailTagMutation) OldPostID ¶
func (m *Rent591HomeDetailTagMutation) OldPostID(ctx context.Context) (v int, err error)
OldPostID returns the old "post_id" field's value of the Rent591HomeDetailTag entity. If the Rent591HomeDetailTag object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailTagMutation) OldValue ¶
func (m *Rent591HomeDetailTagMutation) OldValue(ctx context.Context) (v string, err error)
OldValue returns the old "value" field's value of the Rent591HomeDetailTag entity. If the Rent591HomeDetailTag object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeDetailTagMutation) Op ¶
func (m *Rent591HomeDetailTagMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeDetailTagMutation) PostID ¶
func (m *Rent591HomeDetailTagMutation) PostID() (r int, exists bool)
PostID returns the value of the "post_id" field in the mutation.
func (*Rent591HomeDetailTagMutation) RemoveRent591homeDetailIDs ¶
func (m *Rent591HomeDetailTagMutation) RemoveRent591homeDetailIDs(ids ...int)
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailTagMutation) RemovedEdges ¶
func (m *Rent591HomeDetailTagMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeDetailTagMutation) RemovedIDs ¶
func (m *Rent591HomeDetailTagMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeDetailTagMutation) RemovedRent591homeDetailsIDs ¶
func (m *Rent591HomeDetailTagMutation) RemovedRent591homeDetailsIDs() (ids []int)
RemovedRent591homeDetails returns the removed IDs of the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeDetailTagMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeDetailTagMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeDetailTagMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeDetailTagMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation.
func (*Rent591HomeDetailTagMutation) ResetEdge ¶
func (m *Rent591HomeDetailTagMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeDetailTagMutation) ResetField ¶
func (m *Rent591HomeDetailTagMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeDetailTagMutation) ResetPostID ¶
func (m *Rent591HomeDetailTagMutation) ResetPostID()
ResetPostID resets all changes to the "post_id" field.
func (*Rent591HomeDetailTagMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeDetailTagMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeDetailTagMutation) ResetValue ¶
func (m *Rent591HomeDetailTagMutation) ResetValue()
ResetValue resets all changes to the "value" field.
func (*Rent591HomeDetailTagMutation) SetField ¶
func (m *Rent591HomeDetailTagMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeDetailTagMutation) SetOp ¶
func (m *Rent591HomeDetailTagMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeDetailTagMutation) SetPostID ¶
func (m *Rent591HomeDetailTagMutation) SetPostID(i int)
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailTagMutation) SetValue ¶
func (m *Rent591HomeDetailTagMutation) SetValue(s string)
SetValue sets the "value" field.
func (Rent591HomeDetailTagMutation) Tx ¶
func (m Rent591HomeDetailTagMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeDetailTagMutation) Type ¶
func (m *Rent591HomeDetailTagMutation) Type() string
Type returns the node type of this mutation (Rent591HomeDetailTag).
func (*Rent591HomeDetailTagMutation) Value ¶
func (m *Rent591HomeDetailTagMutation) Value() (r string, exists bool)
Value returns the value of the "value" field in the mutation.
func (*Rent591HomeDetailTagMutation) Where ¶
func (m *Rent591HomeDetailTagMutation) Where(ps ...predicate.Rent591HomeDetailTag)
Where appends a list predicates to the Rent591HomeDetailTagMutation builder.
func (*Rent591HomeDetailTagMutation) WhereP ¶
func (m *Rent591HomeDetailTagMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeDetailTagMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeDetailTagQuery ¶
type Rent591HomeDetailTagQuery struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagQuery is the builder for querying Rent591HomeDetailTag entities.
func (*Rent591HomeDetailTagQuery) Aggregate ¶
func (rdtq *Rent591HomeDetailTagQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailTagSelect
Aggregate returns a Rent591HomeDetailTagSelect configured with the given aggregations.
func (*Rent591HomeDetailTagQuery) All ¶
func (rdtq *Rent591HomeDetailTagQuery) All(ctx context.Context) ([]*Rent591HomeDetailTag, error)
All executes the query and returns a list of Rent591HomeDetailTags.
func (*Rent591HomeDetailTagQuery) AllX ¶
func (rdtq *Rent591HomeDetailTagQuery) AllX(ctx context.Context) []*Rent591HomeDetailTag
AllX is like All, but panics if an error occurs.
func (*Rent591HomeDetailTagQuery) Clone ¶
func (rdtq *Rent591HomeDetailTagQuery) Clone() *Rent591HomeDetailTagQuery
Clone returns a duplicate of the Rent591HomeDetailTagQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeDetailTagQuery) Count ¶
func (rdtq *Rent591HomeDetailTagQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeDetailTagQuery) CountX ¶
func (rdtq *Rent591HomeDetailTagQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeDetailTagQuery) Exist ¶
func (rdtq *Rent591HomeDetailTagQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeDetailTagQuery) ExistX ¶
func (rdtq *Rent591HomeDetailTagQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeDetailTagQuery) First ¶
func (rdtq *Rent591HomeDetailTagQuery) First(ctx context.Context) (*Rent591HomeDetailTag, error)
First returns the first Rent591HomeDetailTag entity from the query. Returns a *NotFoundError when no Rent591HomeDetailTag was found.
func (*Rent591HomeDetailTagQuery) FirstID ¶
func (rdtq *Rent591HomeDetailTagQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeDetailTag ID from the query. Returns a *NotFoundError when no Rent591HomeDetailTag ID was found.
func (*Rent591HomeDetailTagQuery) FirstIDX ¶
func (rdtq *Rent591HomeDetailTagQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeDetailTagQuery) FirstX ¶
func (rdtq *Rent591HomeDetailTagQuery) FirstX(ctx context.Context) *Rent591HomeDetailTag
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeDetailTagQuery) GroupBy ¶
func (rdtq *Rent591HomeDetailTagQuery) GroupBy(field string, fields ...string) *Rent591HomeDetailTagGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { PostID int `json:"post_id,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeDetailTag.Query(). GroupBy(rent591homedetailtag.FieldPostID). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeDetailTagQuery) IDs ¶
func (rdtq *Rent591HomeDetailTagQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeDetailTag IDs.
func (*Rent591HomeDetailTagQuery) IDsX ¶
func (rdtq *Rent591HomeDetailTagQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeDetailTagQuery) Limit ¶
func (rdtq *Rent591HomeDetailTagQuery) Limit(limit int) *Rent591HomeDetailTagQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeDetailTagQuery) Offset ¶
func (rdtq *Rent591HomeDetailTagQuery) Offset(offset int) *Rent591HomeDetailTagQuery
Offset to start from.
func (*Rent591HomeDetailTagQuery) Only ¶
func (rdtq *Rent591HomeDetailTagQuery) Only(ctx context.Context) (*Rent591HomeDetailTag, error)
Only returns a single Rent591HomeDetailTag entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeDetailTag entity is found. Returns a *NotFoundError when no Rent591HomeDetailTag entities are found.
func (*Rent591HomeDetailTagQuery) OnlyID ¶
func (rdtq *Rent591HomeDetailTagQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeDetailTag ID in the query. Returns a *NotSingularError when more than one Rent591HomeDetailTag ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeDetailTagQuery) OnlyIDX ¶
func (rdtq *Rent591HomeDetailTagQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeDetailTagQuery) OnlyX ¶
func (rdtq *Rent591HomeDetailTagQuery) OnlyX(ctx context.Context) *Rent591HomeDetailTag
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeDetailTagQuery) Order ¶
func (rdtq *Rent591HomeDetailTagQuery) Order(o ...rent591homedetailtag.OrderOption) *Rent591HomeDetailTagQuery
Order specifies how the records should be ordered.
func (*Rent591HomeDetailTagQuery) QueryRent591homeDetails ¶
func (rdtq *Rent591HomeDetailTagQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeDetailTagQuery) Select ¶
func (rdtq *Rent591HomeDetailTagQuery) Select(fields ...string) *Rent591HomeDetailTagSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { PostID int `json:"post_id,omitempty"` } client.Rent591HomeDetailTag.Query(). Select(rent591homedetailtag.FieldPostID). Scan(ctx, &v)
func (*Rent591HomeDetailTagQuery) Unique ¶
func (rdtq *Rent591HomeDetailTagQuery) Unique(unique bool) *Rent591HomeDetailTagQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeDetailTagQuery) Where ¶
func (rdtq *Rent591HomeDetailTagQuery) Where(ps ...predicate.Rent591HomeDetailTag) *Rent591HomeDetailTagQuery
Where adds a new predicate for the Rent591HomeDetailTagQuery builder.
func (*Rent591HomeDetailTagQuery) WithRent591homeDetails ¶
func (rdtq *Rent591HomeDetailTagQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeDetailTagQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeDetailTagSelect ¶
type Rent591HomeDetailTagSelect struct { *Rent591HomeDetailTagQuery // contains filtered or unexported fields }
Rent591HomeDetailTagSelect is the builder for selecting fields of Rent591HomeDetailTag entities.
func (*Rent591HomeDetailTagSelect) Aggregate ¶
func (rdts *Rent591HomeDetailTagSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeDetailTagSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeDetailTagSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeDetailTagSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeDetailTagSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeDetailTagSelect) Scan ¶
func (rdts *Rent591HomeDetailTagSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeDetailTagSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type Rent591HomeDetailTagUpdate ¶
type Rent591HomeDetailTagUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagUpdate is the builder for updating Rent591HomeDetailTag entities.
func (*Rent591HomeDetailTagUpdate) AddPostID ¶
func (rdtu *Rent591HomeDetailTagUpdate) AddPostID(i int) *Rent591HomeDetailTagUpdate
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailTagUpdate) AddRent591homeDetailIDs ¶
func (rdtu *Rent591HomeDetailTagUpdate) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagUpdate
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailTagUpdate) AddRent591homeDetails ¶
func (rdtu *Rent591HomeDetailTagUpdate) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagUpdate
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailTagUpdate) ClearRent591homeDetails ¶
func (rdtu *Rent591HomeDetailTagUpdate) ClearRent591homeDetails() *Rent591HomeDetailTagUpdate
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailTagUpdate) Exec ¶
func (rdtu *Rent591HomeDetailTagUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailTagUpdate) ExecX ¶
func (rdtu *Rent591HomeDetailTagUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailTagUpdate) Mutation ¶
func (rdtu *Rent591HomeDetailTagUpdate) Mutation() *Rent591HomeDetailTagMutation
Mutation returns the Rent591HomeDetailTagMutation object of the builder.
func (*Rent591HomeDetailTagUpdate) RemoveRent591homeDetailIDs ¶
func (rdtu *Rent591HomeDetailTagUpdate) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagUpdate
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailTagUpdate) RemoveRent591homeDetails ¶
func (rdtu *Rent591HomeDetailTagUpdate) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagUpdate
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailTagUpdate) Save ¶
func (rdtu *Rent591HomeDetailTagUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailTagUpdate) SaveX ¶
func (rdtu *Rent591HomeDetailTagUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailTagUpdate) SetPostID ¶
func (rdtu *Rent591HomeDetailTagUpdate) SetPostID(i int) *Rent591HomeDetailTagUpdate
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailTagUpdate) SetValue ¶
func (rdtu *Rent591HomeDetailTagUpdate) SetValue(s string) *Rent591HomeDetailTagUpdate
SetValue sets the "value" field.
func (*Rent591HomeDetailTagUpdate) Where ¶
func (rdtu *Rent591HomeDetailTagUpdate) Where(ps ...predicate.Rent591HomeDetailTag) *Rent591HomeDetailTagUpdate
Where appends a list predicates to the Rent591HomeDetailTagUpdate builder.
type Rent591HomeDetailTagUpdateOne ¶
type Rent591HomeDetailTagUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagUpdateOne is the builder for updating a single Rent591HomeDetailTag entity.
func (*Rent591HomeDetailTagUpdateOne) AddPostID ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) AddPostID(i int) *Rent591HomeDetailTagUpdateOne
AddPostID adds i to the "post_id" field.
func (*Rent591HomeDetailTagUpdateOne) AddRent591homeDetailIDs ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) AddRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagUpdateOne
AddRent591homeDetailIDs adds the "rent591home_details" edge to the Rent591HomeDetail entity by IDs.
func (*Rent591HomeDetailTagUpdateOne) AddRent591homeDetails ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) AddRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagUpdateOne
AddRent591homeDetails adds the "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailTagUpdateOne) ClearRent591homeDetails ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) ClearRent591homeDetails() *Rent591HomeDetailTagUpdateOne
ClearRent591homeDetails clears all "rent591home_details" edges to the Rent591HomeDetail entity.
func (*Rent591HomeDetailTagUpdateOne) Exec ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailTagUpdateOne) ExecX ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailTagUpdateOne) Mutation ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) Mutation() *Rent591HomeDetailTagMutation
Mutation returns the Rent591HomeDetailTagMutation object of the builder.
func (*Rent591HomeDetailTagUpdateOne) RemoveRent591homeDetailIDs ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) RemoveRent591homeDetailIDs(ids ...int) *Rent591HomeDetailTagUpdateOne
RemoveRent591homeDetailIDs removes the "rent591home_details" edge to Rent591HomeDetail entities by IDs.
func (*Rent591HomeDetailTagUpdateOne) RemoveRent591homeDetails ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) RemoveRent591homeDetails(r ...*Rent591HomeDetail) *Rent591HomeDetailTagUpdateOne
RemoveRent591homeDetails removes "rent591home_details" edges to Rent591HomeDetail entities.
func (*Rent591HomeDetailTagUpdateOne) Save ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) Save(ctx context.Context) (*Rent591HomeDetailTag, error)
Save executes the query and returns the updated Rent591HomeDetailTag entity.
func (*Rent591HomeDetailTagUpdateOne) SaveX ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetailTag
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailTagUpdateOne) Select ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailTagUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailTagUpdateOne) SetPostID ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) SetPostID(i int) *Rent591HomeDetailTagUpdateOne
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailTagUpdateOne) SetValue ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) SetValue(s string) *Rent591HomeDetailTagUpdateOne
SetValue sets the "value" field.
func (*Rent591HomeDetailTagUpdateOne) Where ¶
func (rdtuo *Rent591HomeDetailTagUpdateOne) Where(ps ...predicate.Rent591HomeDetailTag) *Rent591HomeDetailTagUpdateOne
Where appends a list predicates to the Rent591HomeDetailTagUpdate builder.
type Rent591HomeDetailTagUpsert ¶
Rent591HomeDetailTagUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailTagUpsert) AddPostID ¶
func (u *Rent591HomeDetailTagUpsert) AddPostID(v int) *Rent591HomeDetailTagUpsert
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailTagUpsert) SetPostID ¶
func (u *Rent591HomeDetailTagUpsert) SetPostID(v int) *Rent591HomeDetailTagUpsert
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailTagUpsert) SetValue ¶
func (u *Rent591HomeDetailTagUpsert) SetValue(v string) *Rent591HomeDetailTagUpsert
SetValue sets the "value" field.
func (*Rent591HomeDetailTagUpsert) UpdatePostID ¶
func (u *Rent591HomeDetailTagUpsert) UpdatePostID() *Rent591HomeDetailTagUpsert
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailTagUpsert) UpdateValue ¶
func (u *Rent591HomeDetailTagUpsert) UpdateValue() *Rent591HomeDetailTagUpsert
UpdateValue sets the "value" field to the value that was provided on create.
type Rent591HomeDetailTagUpsertBulk ¶
type Rent591HomeDetailTagUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetailTag nodes.
func (*Rent591HomeDetailTagUpsertBulk) AddPostID ¶
func (u *Rent591HomeDetailTagUpsertBulk) AddPostID(v int) *Rent591HomeDetailTagUpsertBulk
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailTagUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailTagUpsertBulk) DoNothing() *Rent591HomeDetailTagUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailTagUpsertBulk) Exec ¶
func (u *Rent591HomeDetailTagUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailTagUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailTagUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailTagUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailTagUpsertBulk) Ignore() *Rent591HomeDetailTagUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailTag.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailTagUpsertBulk) SetPostID ¶
func (u *Rent591HomeDetailTagUpsertBulk) SetPostID(v int) *Rent591HomeDetailTagUpsertBulk
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailTagUpsertBulk) SetValue ¶
func (u *Rent591HomeDetailTagUpsertBulk) SetValue(v string) *Rent591HomeDetailTagUpsertBulk
SetValue sets the "value" field.
func (*Rent591HomeDetailTagUpsertBulk) Update ¶
func (u *Rent591HomeDetailTagUpsertBulk) Update(set func(*Rent591HomeDetailTagUpsert)) *Rent591HomeDetailTagUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailTagCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailTagUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailTagUpsertBulk) UpdateNewValues() *Rent591HomeDetailTagUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailTag.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailTagUpsertBulk) UpdatePostID ¶
func (u *Rent591HomeDetailTagUpsertBulk) UpdatePostID() *Rent591HomeDetailTagUpsertBulk
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailTagUpsertBulk) UpdateValue ¶
func (u *Rent591HomeDetailTagUpsertBulk) UpdateValue() *Rent591HomeDetailTagUpsertBulk
UpdateValue sets the "value" field to the value that was provided on create.
type Rent591HomeDetailTagUpsertOne ¶
type Rent591HomeDetailTagUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailTagUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetailTag node.
func (*Rent591HomeDetailTagUpsertOne) AddPostID ¶
func (u *Rent591HomeDetailTagUpsertOne) AddPostID(v int) *Rent591HomeDetailTagUpsertOne
AddPostID adds v to the "post_id" field.
func (*Rent591HomeDetailTagUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailTagUpsertOne) DoNothing() *Rent591HomeDetailTagUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailTagUpsertOne) Exec ¶
func (u *Rent591HomeDetailTagUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailTagUpsertOne) ExecX ¶
func (u *Rent591HomeDetailTagUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailTagUpsertOne) ID ¶
func (u *Rent591HomeDetailTagUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailTagUpsertOne) IDX ¶
func (u *Rent591HomeDetailTagUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailTagUpsertOne) Ignore ¶
func (u *Rent591HomeDetailTagUpsertOne) Ignore() *Rent591HomeDetailTagUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetailTag.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailTagUpsertOne) SetPostID ¶
func (u *Rent591HomeDetailTagUpsertOne) SetPostID(v int) *Rent591HomeDetailTagUpsertOne
SetPostID sets the "post_id" field.
func (*Rent591HomeDetailTagUpsertOne) SetValue ¶
func (u *Rent591HomeDetailTagUpsertOne) SetValue(v string) *Rent591HomeDetailTagUpsertOne
SetValue sets the "value" field.
func (*Rent591HomeDetailTagUpsertOne) Update ¶
func (u *Rent591HomeDetailTagUpsertOne) Update(set func(*Rent591HomeDetailTagUpsert)) *Rent591HomeDetailTagUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailTagCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailTagUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailTagUpsertOne) UpdateNewValues() *Rent591HomeDetailTagUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetailTag.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailTagUpsertOne) UpdatePostID ¶
func (u *Rent591HomeDetailTagUpsertOne) UpdatePostID() *Rent591HomeDetailTagUpsertOne
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeDetailTagUpsertOne) UpdateValue ¶
func (u *Rent591HomeDetailTagUpsertOne) UpdateValue() *Rent591HomeDetailTagUpsertOne
UpdateValue sets the "value" field to the value that was provided on create.
type Rent591HomeDetailTags ¶
type Rent591HomeDetailTags []*Rent591HomeDetailTag
Rent591HomeDetailTags is a parsable slice of Rent591HomeDetailTag.
type Rent591HomeDetailUpdate ¶
type Rent591HomeDetailUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeDetailUpdate is the builder for updating Rent591HomeDetail entities.
func (*Rent591HomeDetailUpdate) AddDealTime ¶
func (rdu *Rent591HomeDetailUpdate) AddDealTime(i int) *Rent591HomeDetailUpdate
AddDealTime adds i to the "deal_time" field.
func (*Rent591HomeDetailUpdate) AddKind ¶
func (rdu *Rent591HomeDetailUpdate) AddKind(i int) *Rent591HomeDetailUpdate
AddKind adds i to the "kind" field.
func (*Rent591HomeDetailUpdate) AddPrice ¶
func (rdu *Rent591HomeDetailUpdate) AddPrice(i int) *Rent591HomeDetailUpdate
AddPrice adds i to the "price" field.
func (*Rent591HomeDetailUpdate) AddRegionID ¶
func (rdu *Rent591HomeDetailUpdate) AddRegionID(i int) *Rent591HomeDetailUpdate
AddRegionID adds i to the "region_id" field.
func (*Rent591HomeDetailUpdate) AddRelieved ¶
func (rdu *Rent591HomeDetailUpdate) AddRelieved(i int) *Rent591HomeDetailUpdate
AddRelieved adds i to the "relieved" field.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailBreadcrumbIDs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailUpdate
AddRent591homeDetailBreadcrumbIDs adds the "rent591home_detail_breadcrumbs" edge to the Rent591HomeDetailBreadcrumb entity by IDs.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailBreadcrumbs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailUpdate
AddRent591homeDetailBreadcrumbs adds the "rent591home_detail_breadcrumbs" edges to the Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailBrowseIDs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailUpdate
AddRent591homeDetailBrowseIDs adds the "rent591home_detail_browses" edge to the Rent591HomeDetailBrowse entity by IDs.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailBrowses ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailUpdate
AddRent591homeDetailBrowses adds the "rent591home_detail_browses" edges to the Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailInfoIDs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailUpdate
AddRent591homeDetailInfoIDs adds the "rent591home_detail_infos" edge to the Rent591HomeDetailInfo entity by IDs.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailInfos ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailUpdate
AddRent591homeDetailInfos adds the "rent591home_detail_infos" edges to the Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailNavdataIDs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailUpdate
AddRent591homeDetailNavdataIDs adds the "rent591home_detail_navdatas" edge to the Rent591HomeDetailNavData entity by IDs.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailNavdatas ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailUpdate
AddRent591homeDetailNavdatas adds the "rent591home_detail_navdatas" edges to the Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailPublishIDs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailUpdate
AddRent591homeDetailPublishIDs adds the "rent591home_detail_publishs" edge to the Rent591HomeDetailPublish entity by IDs.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailPublishs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailUpdate
AddRent591homeDetailPublishs adds the "rent591home_detail_publishs" edges to the Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailShareinfoIDs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailUpdate
AddRent591homeDetailShareinfoIDs adds the "rent591home_detail_shareinfos" edge to the Rent591HomeDetailShareInfo entity by IDs.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailShareinfos ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailUpdate
AddRent591homeDetailShareinfos adds the "rent591home_detail_shareinfos" edges to the Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailTagIDs ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailUpdate
AddRent591homeDetailTagIDs adds the "rent591home_detail_tags" edge to the Rent591HomeDetailTag entity by IDs.
func (*Rent591HomeDetailUpdate) AddRent591homeDetailTags ¶
func (rdu *Rent591HomeDetailUpdate) AddRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailUpdate
AddRent591homeDetailTags adds the "rent591home_detail_tags" edges to the Rent591HomeDetailTag entity.
func (*Rent591HomeDetailUpdate) AddSectionID ¶
func (rdu *Rent591HomeDetailUpdate) AddSectionID(i int) *Rent591HomeDetailUpdate
AddSectionID adds i to the "section_id" field.
func (*Rent591HomeDetailUpdate) ClearDealText ¶
func (rdu *Rent591HomeDetailUpdate) ClearDealText() *Rent591HomeDetailUpdate
ClearDealText clears the value of the "deal_text" field.
func (*Rent591HomeDetailUpdate) ClearRent591homeDetailBreadcrumbs ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailBreadcrumbs() *Rent591HomeDetailUpdate
ClearRent591homeDetailBreadcrumbs clears all "rent591home_detail_breadcrumbs" edges to the Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailUpdate) ClearRent591homeDetailBrowses ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailBrowses() *Rent591HomeDetailUpdate
ClearRent591homeDetailBrowses clears all "rent591home_detail_browses" edges to the Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailUpdate) ClearRent591homeDetailInfos ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailInfos() *Rent591HomeDetailUpdate
ClearRent591homeDetailInfos clears all "rent591home_detail_infos" edges to the Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailUpdate) ClearRent591homeDetailNavdatas ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailNavdatas() *Rent591HomeDetailUpdate
ClearRent591homeDetailNavdatas clears all "rent591home_detail_navdatas" edges to the Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailUpdate) ClearRent591homeDetailPositionRounds ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailPositionRounds() *Rent591HomeDetailUpdate
ClearRent591homeDetailPositionRounds clears the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailUpdate) ClearRent591homeDetailPublishs ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailPublishs() *Rent591HomeDetailUpdate
ClearRent591homeDetailPublishs clears all "rent591home_detail_publishs" edges to the Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailUpdate) ClearRent591homeDetailShareinfos ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailShareinfos() *Rent591HomeDetailUpdate
ClearRent591homeDetailShareinfos clears all "rent591home_detail_shareinfos" edges to the Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailUpdate) ClearRent591homeDetailTags ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homeDetailTags() *Rent591HomeDetailUpdate
ClearRent591homeDetailTags clears all "rent591home_detail_tags" edges to the Rent591HomeDetailTag entity.
func (*Rent591HomeDetailUpdate) ClearRent591homes ¶
func (rdu *Rent591HomeDetailUpdate) ClearRent591homes() *Rent591HomeDetailUpdate
ClearRent591homes clears the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeDetailUpdate) Exec ¶
func (rdu *Rent591HomeDetailUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailUpdate) ExecX ¶
func (rdu *Rent591HomeDetailUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailUpdate) Mutation ¶
func (rdu *Rent591HomeDetailUpdate) Mutation() *Rent591HomeDetailMutation
Mutation returns the Rent591HomeDetailMutation object of the builder.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailBreadcrumbIDs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailUpdate
RemoveRent591homeDetailBreadcrumbIDs removes the "rent591home_detail_breadcrumbs" edge to Rent591HomeDetailBreadcrumb entities by IDs.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailBreadcrumbs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailUpdate
RemoveRent591homeDetailBreadcrumbs removes "rent591home_detail_breadcrumbs" edges to Rent591HomeDetailBreadcrumb entities.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailBrowseIDs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailUpdate
RemoveRent591homeDetailBrowseIDs removes the "rent591home_detail_browses" edge to Rent591HomeDetailBrowse entities by IDs.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailBrowses ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailUpdate
RemoveRent591homeDetailBrowses removes "rent591home_detail_browses" edges to Rent591HomeDetailBrowse entities.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailInfoIDs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailUpdate
RemoveRent591homeDetailInfoIDs removes the "rent591home_detail_infos" edge to Rent591HomeDetailInfo entities by IDs.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailInfos ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailUpdate
RemoveRent591homeDetailInfos removes "rent591home_detail_infos" edges to Rent591HomeDetailInfo entities.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailNavdataIDs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailUpdate
RemoveRent591homeDetailNavdataIDs removes the "rent591home_detail_navdatas" edge to Rent591HomeDetailNavData entities by IDs.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailNavdatas ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailUpdate
RemoveRent591homeDetailNavdatas removes "rent591home_detail_navdatas" edges to Rent591HomeDetailNavData entities.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailPublishIDs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailUpdate
RemoveRent591homeDetailPublishIDs removes the "rent591home_detail_publishs" edge to Rent591HomeDetailPublish entities by IDs.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailPublishs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailUpdate
RemoveRent591homeDetailPublishs removes "rent591home_detail_publishs" edges to Rent591HomeDetailPublish entities.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailShareinfoIDs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailUpdate
RemoveRent591homeDetailShareinfoIDs removes the "rent591home_detail_shareinfos" edge to Rent591HomeDetailShareInfo entities by IDs.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailShareinfos ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailUpdate
RemoveRent591homeDetailShareinfos removes "rent591home_detail_shareinfos" edges to Rent591HomeDetailShareInfo entities.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailTagIDs ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailUpdate
RemoveRent591homeDetailTagIDs removes the "rent591home_detail_tags" edge to Rent591HomeDetailTag entities by IDs.
func (*Rent591HomeDetailUpdate) RemoveRent591homeDetailTags ¶
func (rdu *Rent591HomeDetailUpdate) RemoveRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailUpdate
RemoveRent591homeDetailTags removes "rent591home_detail_tags" edges to Rent591HomeDetailTag entities.
func (*Rent591HomeDetailUpdate) Save ¶
func (rdu *Rent591HomeDetailUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeDetailUpdate) SaveX ¶
func (rdu *Rent591HomeDetailUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailUpdate) SetCreatedAt ¶
func (rdu *Rent591HomeDetailUpdate) SetCreatedAt(t time.Time) *Rent591HomeDetailUpdate
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeDetailUpdate) SetDealText ¶
func (rdu *Rent591HomeDetailUpdate) SetDealText(s string) *Rent591HomeDetailUpdate
SetDealText sets the "deal_text" field.
func (*Rent591HomeDetailUpdate) SetDealTime ¶
func (rdu *Rent591HomeDetailUpdate) SetDealTime(i int) *Rent591HomeDetailUpdate
SetDealTime sets the "deal_time" field.
func (*Rent591HomeDetailUpdate) SetDeposit ¶
func (rdu *Rent591HomeDetailUpdate) SetDeposit(s string) *Rent591HomeDetailUpdate
SetDeposit sets the "deposit" field.
func (*Rent591HomeDetailUpdate) SetKind ¶
func (rdu *Rent591HomeDetailUpdate) SetKind(i int) *Rent591HomeDetailUpdate
SetKind sets the "kind" field.
func (*Rent591HomeDetailUpdate) SetNillableCreatedAt ¶
func (rdu *Rent591HomeDetailUpdate) SetNillableCreatedAt(t *time.Time) *Rent591HomeDetailUpdate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeDetailUpdate) SetNillableDealText ¶
func (rdu *Rent591HomeDetailUpdate) SetNillableDealText(s *string) *Rent591HomeDetailUpdate
SetNillableDealText sets the "deal_text" field if the given value is not nil.
func (*Rent591HomeDetailUpdate) SetNillableRent591homeDetailPositionRoundsID ¶
func (rdu *Rent591HomeDetailUpdate) SetNillableRent591homeDetailPositionRoundsID(id *int) *Rent591HomeDetailUpdate
SetNillableRent591homeDetailPositionRoundsID sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by ID if the given value is not nil.
func (*Rent591HomeDetailUpdate) SetNillableRent591homesID ¶
func (rdu *Rent591HomeDetailUpdate) SetNillableRent591homesID(id *int) *Rent591HomeDetailUpdate
SetNillableRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID if the given value is not nil.
func (*Rent591HomeDetailUpdate) SetPrice ¶
func (rdu *Rent591HomeDetailUpdate) SetPrice(i int) *Rent591HomeDetailUpdate
SetPrice sets the "price" field.
func (*Rent591HomeDetailUpdate) SetPriceUnit ¶
func (rdu *Rent591HomeDetailUpdate) SetPriceUnit(s string) *Rent591HomeDetailUpdate
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeDetailUpdate) SetRegionID ¶
func (rdu *Rent591HomeDetailUpdate) SetRegionID(i int) *Rent591HomeDetailUpdate
SetRegionID sets the "region_id" field.
func (*Rent591HomeDetailUpdate) SetRelieved ¶
func (rdu *Rent591HomeDetailUpdate) SetRelieved(i int) *Rent591HomeDetailUpdate
SetRelieved sets the "relieved" field.
func (*Rent591HomeDetailUpdate) SetRent591homeDetailPositionRounds ¶
func (rdu *Rent591HomeDetailUpdate) SetRent591homeDetailPositionRounds(r *Rent591HomeDetailPositionRound) *Rent591HomeDetailUpdate
SetRent591homeDetailPositionRounds sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailUpdate) SetRent591homeDetailPositionRoundsID ¶
func (rdu *Rent591HomeDetailUpdate) SetRent591homeDetailPositionRoundsID(id int) *Rent591HomeDetailUpdate
SetRent591homeDetailPositionRoundsID sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by ID.
func (*Rent591HomeDetailUpdate) SetRent591homes ¶
func (rdu *Rent591HomeDetailUpdate) SetRent591homes(r *Rent591Home) *Rent591HomeDetailUpdate
SetRent591homes sets the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeDetailUpdate) SetRent591homesID ¶
func (rdu *Rent591HomeDetailUpdate) SetRent591homesID(id int) *Rent591HomeDetailUpdate
SetRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID.
func (*Rent591HomeDetailUpdate) SetSectionID ¶
func (rdu *Rent591HomeDetailUpdate) SetSectionID(i int) *Rent591HomeDetailUpdate
SetSectionID sets the "section_id" field.
func (*Rent591HomeDetailUpdate) SetTitle ¶
func (rdu *Rent591HomeDetailUpdate) SetTitle(s string) *Rent591HomeDetailUpdate
SetTitle sets the "title" field.
func (*Rent591HomeDetailUpdate) SetUpdatedAt ¶
func (rdu *Rent591HomeDetailUpdate) SetUpdatedAt(t time.Time) *Rent591HomeDetailUpdate
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeDetailUpdate) Where ¶
func (rdu *Rent591HomeDetailUpdate) Where(ps ...predicate.Rent591HomeDetail) *Rent591HomeDetailUpdate
Where appends a list predicates to the Rent591HomeDetailUpdate builder.
type Rent591HomeDetailUpdateOne ¶
type Rent591HomeDetailUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailUpdateOne is the builder for updating a single Rent591HomeDetail entity.
func (*Rent591HomeDetailUpdateOne) AddDealTime ¶
func (rduo *Rent591HomeDetailUpdateOne) AddDealTime(i int) *Rent591HomeDetailUpdateOne
AddDealTime adds i to the "deal_time" field.
func (*Rent591HomeDetailUpdateOne) AddKind ¶
func (rduo *Rent591HomeDetailUpdateOne) AddKind(i int) *Rent591HomeDetailUpdateOne
AddKind adds i to the "kind" field.
func (*Rent591HomeDetailUpdateOne) AddPrice ¶
func (rduo *Rent591HomeDetailUpdateOne) AddPrice(i int) *Rent591HomeDetailUpdateOne
AddPrice adds i to the "price" field.
func (*Rent591HomeDetailUpdateOne) AddRegionID ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRegionID(i int) *Rent591HomeDetailUpdateOne
AddRegionID adds i to the "region_id" field.
func (*Rent591HomeDetailUpdateOne) AddRelieved ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRelieved(i int) *Rent591HomeDetailUpdateOne
AddRelieved adds i to the "relieved" field.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailBreadcrumbIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailUpdateOne
AddRent591homeDetailBreadcrumbIDs adds the "rent591home_detail_breadcrumbs" edge to the Rent591HomeDetailBreadcrumb entity by IDs.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailBreadcrumbs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailUpdateOne
AddRent591homeDetailBreadcrumbs adds the "rent591home_detail_breadcrumbs" edges to the Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailBrowseIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailUpdateOne
AddRent591homeDetailBrowseIDs adds the "rent591home_detail_browses" edge to the Rent591HomeDetailBrowse entity by IDs.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailBrowses ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailUpdateOne
AddRent591homeDetailBrowses adds the "rent591home_detail_browses" edges to the Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailInfoIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailUpdateOne
AddRent591homeDetailInfoIDs adds the "rent591home_detail_infos" edge to the Rent591HomeDetailInfo entity by IDs.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailInfos ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailUpdateOne
AddRent591homeDetailInfos adds the "rent591home_detail_infos" edges to the Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailNavdataIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailUpdateOne
AddRent591homeDetailNavdataIDs adds the "rent591home_detail_navdatas" edge to the Rent591HomeDetailNavData entity by IDs.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailNavdatas ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailUpdateOne
AddRent591homeDetailNavdatas adds the "rent591home_detail_navdatas" edges to the Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailPublishIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailUpdateOne
AddRent591homeDetailPublishIDs adds the "rent591home_detail_publishs" edge to the Rent591HomeDetailPublish entity by IDs.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailPublishs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailUpdateOne
AddRent591homeDetailPublishs adds the "rent591home_detail_publishs" edges to the Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailShareinfoIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailUpdateOne
AddRent591homeDetailShareinfoIDs adds the "rent591home_detail_shareinfos" edge to the Rent591HomeDetailShareInfo entity by IDs.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailShareinfos ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailUpdateOne
AddRent591homeDetailShareinfos adds the "rent591home_detail_shareinfos" edges to the Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailTagIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailUpdateOne
AddRent591homeDetailTagIDs adds the "rent591home_detail_tags" edge to the Rent591HomeDetailTag entity by IDs.
func (*Rent591HomeDetailUpdateOne) AddRent591homeDetailTags ¶
func (rduo *Rent591HomeDetailUpdateOne) AddRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailUpdateOne
AddRent591homeDetailTags adds the "rent591home_detail_tags" edges to the Rent591HomeDetailTag entity.
func (*Rent591HomeDetailUpdateOne) AddSectionID ¶
func (rduo *Rent591HomeDetailUpdateOne) AddSectionID(i int) *Rent591HomeDetailUpdateOne
AddSectionID adds i to the "section_id" field.
func (*Rent591HomeDetailUpdateOne) ClearDealText ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearDealText() *Rent591HomeDetailUpdateOne
ClearDealText clears the value of the "deal_text" field.
func (*Rent591HomeDetailUpdateOne) ClearRent591homeDetailBreadcrumbs ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailBreadcrumbs() *Rent591HomeDetailUpdateOne
ClearRent591homeDetailBreadcrumbs clears all "rent591home_detail_breadcrumbs" edges to the Rent591HomeDetailBreadcrumb entity.
func (*Rent591HomeDetailUpdateOne) ClearRent591homeDetailBrowses ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailBrowses() *Rent591HomeDetailUpdateOne
ClearRent591homeDetailBrowses clears all "rent591home_detail_browses" edges to the Rent591HomeDetailBrowse entity.
func (*Rent591HomeDetailUpdateOne) ClearRent591homeDetailInfos ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailInfos() *Rent591HomeDetailUpdateOne
ClearRent591homeDetailInfos clears all "rent591home_detail_infos" edges to the Rent591HomeDetailInfo entity.
func (*Rent591HomeDetailUpdateOne) ClearRent591homeDetailNavdatas ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailNavdatas() *Rent591HomeDetailUpdateOne
ClearRent591homeDetailNavdatas clears all "rent591home_detail_navdatas" edges to the Rent591HomeDetailNavData entity.
func (*Rent591HomeDetailUpdateOne) ClearRent591homeDetailPositionRounds ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailPositionRounds() *Rent591HomeDetailUpdateOne
ClearRent591homeDetailPositionRounds clears the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailUpdateOne) ClearRent591homeDetailPublishs ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailPublishs() *Rent591HomeDetailUpdateOne
ClearRent591homeDetailPublishs clears all "rent591home_detail_publishs" edges to the Rent591HomeDetailPublish entity.
func (*Rent591HomeDetailUpdateOne) ClearRent591homeDetailShareinfos ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailShareinfos() *Rent591HomeDetailUpdateOne
ClearRent591homeDetailShareinfos clears all "rent591home_detail_shareinfos" edges to the Rent591HomeDetailShareInfo entity.
func (*Rent591HomeDetailUpdateOne) ClearRent591homeDetailTags ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homeDetailTags() *Rent591HomeDetailUpdateOne
ClearRent591homeDetailTags clears all "rent591home_detail_tags" edges to the Rent591HomeDetailTag entity.
func (*Rent591HomeDetailUpdateOne) ClearRent591homes ¶
func (rduo *Rent591HomeDetailUpdateOne) ClearRent591homes() *Rent591HomeDetailUpdateOne
ClearRent591homes clears the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeDetailUpdateOne) Exec ¶
func (rduo *Rent591HomeDetailUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeDetailUpdateOne) ExecX ¶
func (rduo *Rent591HomeDetailUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailUpdateOne) Mutation ¶
func (rduo *Rent591HomeDetailUpdateOne) Mutation() *Rent591HomeDetailMutation
Mutation returns the Rent591HomeDetailMutation object of the builder.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBreadcrumbIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBreadcrumbIDs(ids ...int) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailBreadcrumbIDs removes the "rent591home_detail_breadcrumbs" edge to Rent591HomeDetailBreadcrumb entities by IDs.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBreadcrumbs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBreadcrumbs(r ...*Rent591HomeDetailBreadcrumb) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailBreadcrumbs removes "rent591home_detail_breadcrumbs" edges to Rent591HomeDetailBreadcrumb entities.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBrowseIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBrowseIDs(ids ...int) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailBrowseIDs removes the "rent591home_detail_browses" edge to Rent591HomeDetailBrowse entities by IDs.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBrowses ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailBrowses(r ...*Rent591HomeDetailBrowse) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailBrowses removes "rent591home_detail_browses" edges to Rent591HomeDetailBrowse entities.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailInfoIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailInfoIDs(ids ...int) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailInfoIDs removes the "rent591home_detail_infos" edge to Rent591HomeDetailInfo entities by IDs.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailInfos ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailInfos(r ...*Rent591HomeDetailInfo) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailInfos removes "rent591home_detail_infos" edges to Rent591HomeDetailInfo entities.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailNavdataIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailNavdataIDs(ids ...int) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailNavdataIDs removes the "rent591home_detail_navdatas" edge to Rent591HomeDetailNavData entities by IDs.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailNavdatas ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailNavdatas(r ...*Rent591HomeDetailNavData) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailNavdatas removes "rent591home_detail_navdatas" edges to Rent591HomeDetailNavData entities.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailPublishIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailPublishIDs(ids ...int) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailPublishIDs removes the "rent591home_detail_publishs" edge to Rent591HomeDetailPublish entities by IDs.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailPublishs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailPublishs(r ...*Rent591HomeDetailPublish) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailPublishs removes "rent591home_detail_publishs" edges to Rent591HomeDetailPublish entities.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailShareinfoIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailShareinfoIDs(ids ...int) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailShareinfoIDs removes the "rent591home_detail_shareinfos" edge to Rent591HomeDetailShareInfo entities by IDs.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailShareinfos ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailShareinfos(r ...*Rent591HomeDetailShareInfo) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailShareinfos removes "rent591home_detail_shareinfos" edges to Rent591HomeDetailShareInfo entities.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailTagIDs ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailTagIDs(ids ...int) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailTagIDs removes the "rent591home_detail_tags" edge to Rent591HomeDetailTag entities by IDs.
func (*Rent591HomeDetailUpdateOne) RemoveRent591homeDetailTags ¶
func (rduo *Rent591HomeDetailUpdateOne) RemoveRent591homeDetailTags(r ...*Rent591HomeDetailTag) *Rent591HomeDetailUpdateOne
RemoveRent591homeDetailTags removes "rent591home_detail_tags" edges to Rent591HomeDetailTag entities.
func (*Rent591HomeDetailUpdateOne) Save ¶
func (rduo *Rent591HomeDetailUpdateOne) Save(ctx context.Context) (*Rent591HomeDetail, error)
Save executes the query and returns the updated Rent591HomeDetail entity.
func (*Rent591HomeDetailUpdateOne) SaveX ¶
func (rduo *Rent591HomeDetailUpdateOne) SaveX(ctx context.Context) *Rent591HomeDetail
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeDetailUpdateOne) Select ¶
func (rduo *Rent591HomeDetailUpdateOne) Select(field string, fields ...string) *Rent591HomeDetailUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeDetailUpdateOne) SetCreatedAt ¶
func (rduo *Rent591HomeDetailUpdateOne) SetCreatedAt(t time.Time) *Rent591HomeDetailUpdateOne
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeDetailUpdateOne) SetDealText ¶
func (rduo *Rent591HomeDetailUpdateOne) SetDealText(s string) *Rent591HomeDetailUpdateOne
SetDealText sets the "deal_text" field.
func (*Rent591HomeDetailUpdateOne) SetDealTime ¶
func (rduo *Rent591HomeDetailUpdateOne) SetDealTime(i int) *Rent591HomeDetailUpdateOne
SetDealTime sets the "deal_time" field.
func (*Rent591HomeDetailUpdateOne) SetDeposit ¶
func (rduo *Rent591HomeDetailUpdateOne) SetDeposit(s string) *Rent591HomeDetailUpdateOne
SetDeposit sets the "deposit" field.
func (*Rent591HomeDetailUpdateOne) SetKind ¶
func (rduo *Rent591HomeDetailUpdateOne) SetKind(i int) *Rent591HomeDetailUpdateOne
SetKind sets the "kind" field.
func (*Rent591HomeDetailUpdateOne) SetNillableCreatedAt ¶
func (rduo *Rent591HomeDetailUpdateOne) SetNillableCreatedAt(t *time.Time) *Rent591HomeDetailUpdateOne
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeDetailUpdateOne) SetNillableDealText ¶
func (rduo *Rent591HomeDetailUpdateOne) SetNillableDealText(s *string) *Rent591HomeDetailUpdateOne
SetNillableDealText sets the "deal_text" field if the given value is not nil.
func (*Rent591HomeDetailUpdateOne) SetNillableRent591homeDetailPositionRoundsID ¶
func (rduo *Rent591HomeDetailUpdateOne) SetNillableRent591homeDetailPositionRoundsID(id *int) *Rent591HomeDetailUpdateOne
SetNillableRent591homeDetailPositionRoundsID sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by ID if the given value is not nil.
func (*Rent591HomeDetailUpdateOne) SetNillableRent591homesID ¶
func (rduo *Rent591HomeDetailUpdateOne) SetNillableRent591homesID(id *int) *Rent591HomeDetailUpdateOne
SetNillableRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID if the given value is not nil.
func (*Rent591HomeDetailUpdateOne) SetPrice ¶
func (rduo *Rent591HomeDetailUpdateOne) SetPrice(i int) *Rent591HomeDetailUpdateOne
SetPrice sets the "price" field.
func (*Rent591HomeDetailUpdateOne) SetPriceUnit ¶
func (rduo *Rent591HomeDetailUpdateOne) SetPriceUnit(s string) *Rent591HomeDetailUpdateOne
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeDetailUpdateOne) SetRegionID ¶
func (rduo *Rent591HomeDetailUpdateOne) SetRegionID(i int) *Rent591HomeDetailUpdateOne
SetRegionID sets the "region_id" field.
func (*Rent591HomeDetailUpdateOne) SetRelieved ¶
func (rduo *Rent591HomeDetailUpdateOne) SetRelieved(i int) *Rent591HomeDetailUpdateOne
SetRelieved sets the "relieved" field.
func (*Rent591HomeDetailUpdateOne) SetRent591homeDetailPositionRounds ¶
func (rduo *Rent591HomeDetailUpdateOne) SetRent591homeDetailPositionRounds(r *Rent591HomeDetailPositionRound) *Rent591HomeDetailUpdateOne
SetRent591homeDetailPositionRounds sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity.
func (*Rent591HomeDetailUpdateOne) SetRent591homeDetailPositionRoundsID ¶
func (rduo *Rent591HomeDetailUpdateOne) SetRent591homeDetailPositionRoundsID(id int) *Rent591HomeDetailUpdateOne
SetRent591homeDetailPositionRoundsID sets the "rent591home_detail_position_rounds" edge to the Rent591HomeDetailPositionRound entity by ID.
func (*Rent591HomeDetailUpdateOne) SetRent591homes ¶
func (rduo *Rent591HomeDetailUpdateOne) SetRent591homes(r *Rent591Home) *Rent591HomeDetailUpdateOne
SetRent591homes sets the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeDetailUpdateOne) SetRent591homesID ¶
func (rduo *Rent591HomeDetailUpdateOne) SetRent591homesID(id int) *Rent591HomeDetailUpdateOne
SetRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID.
func (*Rent591HomeDetailUpdateOne) SetSectionID ¶
func (rduo *Rent591HomeDetailUpdateOne) SetSectionID(i int) *Rent591HomeDetailUpdateOne
SetSectionID sets the "section_id" field.
func (*Rent591HomeDetailUpdateOne) SetTitle ¶
func (rduo *Rent591HomeDetailUpdateOne) SetTitle(s string) *Rent591HomeDetailUpdateOne
SetTitle sets the "title" field.
func (*Rent591HomeDetailUpdateOne) SetUpdatedAt ¶
func (rduo *Rent591HomeDetailUpdateOne) SetUpdatedAt(t time.Time) *Rent591HomeDetailUpdateOne
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeDetailUpdateOne) Where ¶
func (rduo *Rent591HomeDetailUpdateOne) Where(ps ...predicate.Rent591HomeDetail) *Rent591HomeDetailUpdateOne
Where appends a list predicates to the Rent591HomeDetailUpdate builder.
type Rent591HomeDetailUpsert ¶
Rent591HomeDetailUpsert is the "OnConflict" setter.
func (*Rent591HomeDetailUpsert) AddDealTime ¶
func (u *Rent591HomeDetailUpsert) AddDealTime(v int) *Rent591HomeDetailUpsert
AddDealTime adds v to the "deal_time" field.
func (*Rent591HomeDetailUpsert) AddKind ¶
func (u *Rent591HomeDetailUpsert) AddKind(v int) *Rent591HomeDetailUpsert
AddKind adds v to the "kind" field.
func (*Rent591HomeDetailUpsert) AddPrice ¶
func (u *Rent591HomeDetailUpsert) AddPrice(v int) *Rent591HomeDetailUpsert
AddPrice adds v to the "price" field.
func (*Rent591HomeDetailUpsert) AddRegionID ¶
func (u *Rent591HomeDetailUpsert) AddRegionID(v int) *Rent591HomeDetailUpsert
AddRegionID adds v to the "region_id" field.
func (*Rent591HomeDetailUpsert) AddRelieved ¶
func (u *Rent591HomeDetailUpsert) AddRelieved(v int) *Rent591HomeDetailUpsert
AddRelieved adds v to the "relieved" field.
func (*Rent591HomeDetailUpsert) AddSectionID ¶
func (u *Rent591HomeDetailUpsert) AddSectionID(v int) *Rent591HomeDetailUpsert
AddSectionID adds v to the "section_id" field.
func (*Rent591HomeDetailUpsert) ClearDealText ¶
func (u *Rent591HomeDetailUpsert) ClearDealText() *Rent591HomeDetailUpsert
ClearDealText clears the value of the "deal_text" field.
func (*Rent591HomeDetailUpsert) SetCreatedAt ¶
func (u *Rent591HomeDetailUpsert) SetCreatedAt(v time.Time) *Rent591HomeDetailUpsert
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeDetailUpsert) SetDealText ¶
func (u *Rent591HomeDetailUpsert) SetDealText(v string) *Rent591HomeDetailUpsert
SetDealText sets the "deal_text" field.
func (*Rent591HomeDetailUpsert) SetDealTime ¶
func (u *Rent591HomeDetailUpsert) SetDealTime(v int) *Rent591HomeDetailUpsert
SetDealTime sets the "deal_time" field.
func (*Rent591HomeDetailUpsert) SetDeposit ¶
func (u *Rent591HomeDetailUpsert) SetDeposit(v string) *Rent591HomeDetailUpsert
SetDeposit sets the "deposit" field.
func (*Rent591HomeDetailUpsert) SetKind ¶
func (u *Rent591HomeDetailUpsert) SetKind(v int) *Rent591HomeDetailUpsert
SetKind sets the "kind" field.
func (*Rent591HomeDetailUpsert) SetPrice ¶
func (u *Rent591HomeDetailUpsert) SetPrice(v int) *Rent591HomeDetailUpsert
SetPrice sets the "price" field.
func (*Rent591HomeDetailUpsert) SetPriceUnit ¶
func (u *Rent591HomeDetailUpsert) SetPriceUnit(v string) *Rent591HomeDetailUpsert
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeDetailUpsert) SetRegionID ¶
func (u *Rent591HomeDetailUpsert) SetRegionID(v int) *Rent591HomeDetailUpsert
SetRegionID sets the "region_id" field.
func (*Rent591HomeDetailUpsert) SetRelieved ¶
func (u *Rent591HomeDetailUpsert) SetRelieved(v int) *Rent591HomeDetailUpsert
SetRelieved sets the "relieved" field.
func (*Rent591HomeDetailUpsert) SetSectionID ¶
func (u *Rent591HomeDetailUpsert) SetSectionID(v int) *Rent591HomeDetailUpsert
SetSectionID sets the "section_id" field.
func (*Rent591HomeDetailUpsert) SetTitle ¶
func (u *Rent591HomeDetailUpsert) SetTitle(v string) *Rent591HomeDetailUpsert
SetTitle sets the "title" field.
func (*Rent591HomeDetailUpsert) SetUpdatedAt ¶
func (u *Rent591HomeDetailUpsert) SetUpdatedAt(v time.Time) *Rent591HomeDetailUpsert
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeDetailUpsert) UpdateCreatedAt ¶
func (u *Rent591HomeDetailUpsert) UpdateCreatedAt() *Rent591HomeDetailUpsert
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateDealText ¶
func (u *Rent591HomeDetailUpsert) UpdateDealText() *Rent591HomeDetailUpsert
UpdateDealText sets the "deal_text" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateDealTime ¶
func (u *Rent591HomeDetailUpsert) UpdateDealTime() *Rent591HomeDetailUpsert
UpdateDealTime sets the "deal_time" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateDeposit ¶
func (u *Rent591HomeDetailUpsert) UpdateDeposit() *Rent591HomeDetailUpsert
UpdateDeposit sets the "deposit" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateKind ¶
func (u *Rent591HomeDetailUpsert) UpdateKind() *Rent591HomeDetailUpsert
UpdateKind sets the "kind" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdatePrice ¶
func (u *Rent591HomeDetailUpsert) UpdatePrice() *Rent591HomeDetailUpsert
UpdatePrice sets the "price" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdatePriceUnit ¶
func (u *Rent591HomeDetailUpsert) UpdatePriceUnit() *Rent591HomeDetailUpsert
UpdatePriceUnit sets the "price_unit" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateRegionID ¶
func (u *Rent591HomeDetailUpsert) UpdateRegionID() *Rent591HomeDetailUpsert
UpdateRegionID sets the "region_id" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateRelieved ¶
func (u *Rent591HomeDetailUpsert) UpdateRelieved() *Rent591HomeDetailUpsert
UpdateRelieved sets the "relieved" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateSectionID ¶
func (u *Rent591HomeDetailUpsert) UpdateSectionID() *Rent591HomeDetailUpsert
UpdateSectionID sets the "section_id" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateTitle ¶
func (u *Rent591HomeDetailUpsert) UpdateTitle() *Rent591HomeDetailUpsert
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeDetailUpsert) UpdateUpdatedAt ¶
func (u *Rent591HomeDetailUpsert) UpdateUpdatedAt() *Rent591HomeDetailUpsert
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type Rent591HomeDetailUpsertBulk ¶
type Rent591HomeDetailUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeDetailUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeDetail nodes.
func (*Rent591HomeDetailUpsertBulk) AddDealTime ¶
func (u *Rent591HomeDetailUpsertBulk) AddDealTime(v int) *Rent591HomeDetailUpsertBulk
AddDealTime adds v to the "deal_time" field.
func (*Rent591HomeDetailUpsertBulk) AddKind ¶
func (u *Rent591HomeDetailUpsertBulk) AddKind(v int) *Rent591HomeDetailUpsertBulk
AddKind adds v to the "kind" field.
func (*Rent591HomeDetailUpsertBulk) AddPrice ¶
func (u *Rent591HomeDetailUpsertBulk) AddPrice(v int) *Rent591HomeDetailUpsertBulk
AddPrice adds v to the "price" field.
func (*Rent591HomeDetailUpsertBulk) AddRegionID ¶
func (u *Rent591HomeDetailUpsertBulk) AddRegionID(v int) *Rent591HomeDetailUpsertBulk
AddRegionID adds v to the "region_id" field.
func (*Rent591HomeDetailUpsertBulk) AddRelieved ¶
func (u *Rent591HomeDetailUpsertBulk) AddRelieved(v int) *Rent591HomeDetailUpsertBulk
AddRelieved adds v to the "relieved" field.
func (*Rent591HomeDetailUpsertBulk) AddSectionID ¶
func (u *Rent591HomeDetailUpsertBulk) AddSectionID(v int) *Rent591HomeDetailUpsertBulk
AddSectionID adds v to the "section_id" field.
func (*Rent591HomeDetailUpsertBulk) ClearDealText ¶
func (u *Rent591HomeDetailUpsertBulk) ClearDealText() *Rent591HomeDetailUpsertBulk
ClearDealText clears the value of the "deal_text" field.
func (*Rent591HomeDetailUpsertBulk) DoNothing ¶
func (u *Rent591HomeDetailUpsertBulk) DoNothing() *Rent591HomeDetailUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailUpsertBulk) Exec ¶
func (u *Rent591HomeDetailUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailUpsertBulk) ExecX ¶
func (u *Rent591HomeDetailUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailUpsertBulk) Ignore ¶
func (u *Rent591HomeDetailUpsertBulk) Ignore() *Rent591HomeDetailUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetail.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailUpsertBulk) SetCreatedAt ¶
func (u *Rent591HomeDetailUpsertBulk) SetCreatedAt(v time.Time) *Rent591HomeDetailUpsertBulk
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeDetailUpsertBulk) SetDealText ¶
func (u *Rent591HomeDetailUpsertBulk) SetDealText(v string) *Rent591HomeDetailUpsertBulk
SetDealText sets the "deal_text" field.
func (*Rent591HomeDetailUpsertBulk) SetDealTime ¶
func (u *Rent591HomeDetailUpsertBulk) SetDealTime(v int) *Rent591HomeDetailUpsertBulk
SetDealTime sets the "deal_time" field.
func (*Rent591HomeDetailUpsertBulk) SetDeposit ¶
func (u *Rent591HomeDetailUpsertBulk) SetDeposit(v string) *Rent591HomeDetailUpsertBulk
SetDeposit sets the "deposit" field.
func (*Rent591HomeDetailUpsertBulk) SetKind ¶
func (u *Rent591HomeDetailUpsertBulk) SetKind(v int) *Rent591HomeDetailUpsertBulk
SetKind sets the "kind" field.
func (*Rent591HomeDetailUpsertBulk) SetPrice ¶
func (u *Rent591HomeDetailUpsertBulk) SetPrice(v int) *Rent591HomeDetailUpsertBulk
SetPrice sets the "price" field.
func (*Rent591HomeDetailUpsertBulk) SetPriceUnit ¶
func (u *Rent591HomeDetailUpsertBulk) SetPriceUnit(v string) *Rent591HomeDetailUpsertBulk
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeDetailUpsertBulk) SetRegionID ¶
func (u *Rent591HomeDetailUpsertBulk) SetRegionID(v int) *Rent591HomeDetailUpsertBulk
SetRegionID sets the "region_id" field.
func (*Rent591HomeDetailUpsertBulk) SetRelieved ¶
func (u *Rent591HomeDetailUpsertBulk) SetRelieved(v int) *Rent591HomeDetailUpsertBulk
SetRelieved sets the "relieved" field.
func (*Rent591HomeDetailUpsertBulk) SetSectionID ¶
func (u *Rent591HomeDetailUpsertBulk) SetSectionID(v int) *Rent591HomeDetailUpsertBulk
SetSectionID sets the "section_id" field.
func (*Rent591HomeDetailUpsertBulk) SetTitle ¶
func (u *Rent591HomeDetailUpsertBulk) SetTitle(v string) *Rent591HomeDetailUpsertBulk
SetTitle sets the "title" field.
func (*Rent591HomeDetailUpsertBulk) SetUpdatedAt ¶
func (u *Rent591HomeDetailUpsertBulk) SetUpdatedAt(v time.Time) *Rent591HomeDetailUpsertBulk
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeDetailUpsertBulk) Update ¶
func (u *Rent591HomeDetailUpsertBulk) Update(set func(*Rent591HomeDetailUpsert)) *Rent591HomeDetailUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeDetailUpsertBulk) UpdateCreatedAt ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateCreatedAt() *Rent591HomeDetailUpsertBulk
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateDealText ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateDealText() *Rent591HomeDetailUpsertBulk
UpdateDealText sets the "deal_text" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateDealTime ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateDealTime() *Rent591HomeDetailUpsertBulk
UpdateDealTime sets the "deal_time" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateDeposit ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateDeposit() *Rent591HomeDetailUpsertBulk
UpdateDeposit sets the "deposit" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateKind ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateKind() *Rent591HomeDetailUpsertBulk
UpdateKind sets the "kind" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateNewValues() *Rent591HomeDetailUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetail.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailUpsertBulk) UpdatePrice ¶
func (u *Rent591HomeDetailUpsertBulk) UpdatePrice() *Rent591HomeDetailUpsertBulk
UpdatePrice sets the "price" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdatePriceUnit ¶
func (u *Rent591HomeDetailUpsertBulk) UpdatePriceUnit() *Rent591HomeDetailUpsertBulk
UpdatePriceUnit sets the "price_unit" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateRegionID ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateRegionID() *Rent591HomeDetailUpsertBulk
UpdateRegionID sets the "region_id" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateRelieved ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateRelieved() *Rent591HomeDetailUpsertBulk
UpdateRelieved sets the "relieved" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateSectionID ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateSectionID() *Rent591HomeDetailUpsertBulk
UpdateSectionID sets the "section_id" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateTitle ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateTitle() *Rent591HomeDetailUpsertBulk
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertBulk) UpdateUpdatedAt ¶
func (u *Rent591HomeDetailUpsertBulk) UpdateUpdatedAt() *Rent591HomeDetailUpsertBulk
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type Rent591HomeDetailUpsertOne ¶
type Rent591HomeDetailUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeDetailUpsertOne is the builder for "upsert"-ing
one Rent591HomeDetail node.
func (*Rent591HomeDetailUpsertOne) AddDealTime ¶
func (u *Rent591HomeDetailUpsertOne) AddDealTime(v int) *Rent591HomeDetailUpsertOne
AddDealTime adds v to the "deal_time" field.
func (*Rent591HomeDetailUpsertOne) AddKind ¶
func (u *Rent591HomeDetailUpsertOne) AddKind(v int) *Rent591HomeDetailUpsertOne
AddKind adds v to the "kind" field.
func (*Rent591HomeDetailUpsertOne) AddPrice ¶
func (u *Rent591HomeDetailUpsertOne) AddPrice(v int) *Rent591HomeDetailUpsertOne
AddPrice adds v to the "price" field.
func (*Rent591HomeDetailUpsertOne) AddRegionID ¶
func (u *Rent591HomeDetailUpsertOne) AddRegionID(v int) *Rent591HomeDetailUpsertOne
AddRegionID adds v to the "region_id" field.
func (*Rent591HomeDetailUpsertOne) AddRelieved ¶
func (u *Rent591HomeDetailUpsertOne) AddRelieved(v int) *Rent591HomeDetailUpsertOne
AddRelieved adds v to the "relieved" field.
func (*Rent591HomeDetailUpsertOne) AddSectionID ¶
func (u *Rent591HomeDetailUpsertOne) AddSectionID(v int) *Rent591HomeDetailUpsertOne
AddSectionID adds v to the "section_id" field.
func (*Rent591HomeDetailUpsertOne) ClearDealText ¶
func (u *Rent591HomeDetailUpsertOne) ClearDealText() *Rent591HomeDetailUpsertOne
ClearDealText clears the value of the "deal_text" field.
func (*Rent591HomeDetailUpsertOne) DoNothing ¶
func (u *Rent591HomeDetailUpsertOne) DoNothing() *Rent591HomeDetailUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeDetailUpsertOne) Exec ¶
func (u *Rent591HomeDetailUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeDetailUpsertOne) ExecX ¶
func (u *Rent591HomeDetailUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeDetailUpsertOne) ID ¶
func (u *Rent591HomeDetailUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeDetailUpsertOne) IDX ¶
func (u *Rent591HomeDetailUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeDetailUpsertOne) Ignore ¶
func (u *Rent591HomeDetailUpsertOne) Ignore() *Rent591HomeDetailUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeDetail.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeDetailUpsertOne) SetCreatedAt ¶
func (u *Rent591HomeDetailUpsertOne) SetCreatedAt(v time.Time) *Rent591HomeDetailUpsertOne
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeDetailUpsertOne) SetDealText ¶
func (u *Rent591HomeDetailUpsertOne) SetDealText(v string) *Rent591HomeDetailUpsertOne
SetDealText sets the "deal_text" field.
func (*Rent591HomeDetailUpsertOne) SetDealTime ¶
func (u *Rent591HomeDetailUpsertOne) SetDealTime(v int) *Rent591HomeDetailUpsertOne
SetDealTime sets the "deal_time" field.
func (*Rent591HomeDetailUpsertOne) SetDeposit ¶
func (u *Rent591HomeDetailUpsertOne) SetDeposit(v string) *Rent591HomeDetailUpsertOne
SetDeposit sets the "deposit" field.
func (*Rent591HomeDetailUpsertOne) SetKind ¶
func (u *Rent591HomeDetailUpsertOne) SetKind(v int) *Rent591HomeDetailUpsertOne
SetKind sets the "kind" field.
func (*Rent591HomeDetailUpsertOne) SetPrice ¶
func (u *Rent591HomeDetailUpsertOne) SetPrice(v int) *Rent591HomeDetailUpsertOne
SetPrice sets the "price" field.
func (*Rent591HomeDetailUpsertOne) SetPriceUnit ¶
func (u *Rent591HomeDetailUpsertOne) SetPriceUnit(v string) *Rent591HomeDetailUpsertOne
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeDetailUpsertOne) SetRegionID ¶
func (u *Rent591HomeDetailUpsertOne) SetRegionID(v int) *Rent591HomeDetailUpsertOne
SetRegionID sets the "region_id" field.
func (*Rent591HomeDetailUpsertOne) SetRelieved ¶
func (u *Rent591HomeDetailUpsertOne) SetRelieved(v int) *Rent591HomeDetailUpsertOne
SetRelieved sets the "relieved" field.
func (*Rent591HomeDetailUpsertOne) SetSectionID ¶
func (u *Rent591HomeDetailUpsertOne) SetSectionID(v int) *Rent591HomeDetailUpsertOne
SetSectionID sets the "section_id" field.
func (*Rent591HomeDetailUpsertOne) SetTitle ¶
func (u *Rent591HomeDetailUpsertOne) SetTitle(v string) *Rent591HomeDetailUpsertOne
SetTitle sets the "title" field.
func (*Rent591HomeDetailUpsertOne) SetUpdatedAt ¶
func (u *Rent591HomeDetailUpsertOne) SetUpdatedAt(v time.Time) *Rent591HomeDetailUpsertOne
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeDetailUpsertOne) Update ¶
func (u *Rent591HomeDetailUpsertOne) Update(set func(*Rent591HomeDetailUpsert)) *Rent591HomeDetailUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeDetailCreate.OnConflict documentation for more info.
func (*Rent591HomeDetailUpsertOne) UpdateCreatedAt ¶
func (u *Rent591HomeDetailUpsertOne) UpdateCreatedAt() *Rent591HomeDetailUpsertOne
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateDealText ¶
func (u *Rent591HomeDetailUpsertOne) UpdateDealText() *Rent591HomeDetailUpsertOne
UpdateDealText sets the "deal_text" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateDealTime ¶
func (u *Rent591HomeDetailUpsertOne) UpdateDealTime() *Rent591HomeDetailUpsertOne
UpdateDealTime sets the "deal_time" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateDeposit ¶
func (u *Rent591HomeDetailUpsertOne) UpdateDeposit() *Rent591HomeDetailUpsertOne
UpdateDeposit sets the "deposit" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateKind ¶
func (u *Rent591HomeDetailUpsertOne) UpdateKind() *Rent591HomeDetailUpsertOne
UpdateKind sets the "kind" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeDetailUpsertOne) UpdateNewValues() *Rent591HomeDetailUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeDetail.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeDetailUpsertOne) UpdatePrice ¶
func (u *Rent591HomeDetailUpsertOne) UpdatePrice() *Rent591HomeDetailUpsertOne
UpdatePrice sets the "price" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdatePriceUnit ¶
func (u *Rent591HomeDetailUpsertOne) UpdatePriceUnit() *Rent591HomeDetailUpsertOne
UpdatePriceUnit sets the "price_unit" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateRegionID ¶
func (u *Rent591HomeDetailUpsertOne) UpdateRegionID() *Rent591HomeDetailUpsertOne
UpdateRegionID sets the "region_id" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateRelieved ¶
func (u *Rent591HomeDetailUpsertOne) UpdateRelieved() *Rent591HomeDetailUpsertOne
UpdateRelieved sets the "relieved" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateSectionID ¶
func (u *Rent591HomeDetailUpsertOne) UpdateSectionID() *Rent591HomeDetailUpsertOne
UpdateSectionID sets the "section_id" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateTitle ¶
func (u *Rent591HomeDetailUpsertOne) UpdateTitle() *Rent591HomeDetailUpsertOne
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeDetailUpsertOne) UpdateUpdatedAt ¶
func (u *Rent591HomeDetailUpsertOne) UpdateUpdatedAt() *Rent591HomeDetailUpsertOne
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
type Rent591HomeDetails ¶
type Rent591HomeDetails []*Rent591HomeDetail
Rent591HomeDetails is a parsable slice of Rent591HomeDetail.
type Rent591HomeEdges ¶
type Rent591HomeEdges struct { // Rent591homeTags holds the value of the rent591home_tags edge. Rent591homeTags []*Rent591HomeTag `json:"rent591home_tags,omitempty"` // Rent591homeSurroundings holds the value of the rent591home_surroundings edge. Rent591homeSurroundings *Rent591HomeSurrounding `json:"rent591home_surroundings,omitempty"` // Rent591homeDetails holds the value of the rent591home_details edge. Rent591homeDetails *Rent591HomeDetail `json:"rent591home_details,omitempty"` // contains filtered or unexported fields }
Rent591HomeEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeEdges) Rent591homeDetailsOrErr ¶
func (e Rent591HomeEdges) Rent591homeDetailsOrErr() (*Rent591HomeDetail, error)
Rent591homeDetailsOrErr returns the Rent591homeDetails value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
func (Rent591HomeEdges) Rent591homeSurroundingsOrErr ¶
func (e Rent591HomeEdges) Rent591homeSurroundingsOrErr() (*Rent591HomeSurrounding, error)
Rent591homeSurroundingsOrErr returns the Rent591homeSurroundings value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
func (Rent591HomeEdges) Rent591homeTagsOrErr ¶
func (e Rent591HomeEdges) Rent591homeTagsOrErr() ([]*Rent591HomeTag, error)
Rent591homeTagsOrErr returns the Rent591homeTags value or an error if the edge was not loaded in eager-loading.
type Rent591HomeGroupBy ¶
type Rent591HomeGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeGroupBy is the group-by builder for Rent591Home entities.
func (*Rent591HomeGroupBy) Aggregate ¶
func (rgb *Rent591HomeGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeGroupBy) Scan ¶
func (rgb *Rent591HomeGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type Rent591HomeMutation ¶
type Rent591HomeMutation struct {
// contains filtered or unexported fields
}
Rent591HomeMutation represents an operation that mutates the Rent591Home nodes in the graph.
func (*Rent591HomeMutation) AddCasesID ¶
func (m *Rent591HomeMutation) AddCasesID(i int)
AddCasesID adds i to the "cases_id" field.
func (*Rent591HomeMutation) AddCid ¶
func (m *Rent591HomeMutation) AddCid(i int)
AddCid adds i to the "cid" field.
func (*Rent591HomeMutation) AddField ¶
func (m *Rent591HomeMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeMutation) AddHurry ¶
func (m *Rent591HomeMutation) AddHurry(i int)
AddHurry adds i to the "hurry" field.
func (*Rent591HomeMutation) AddIsCombine ¶
func (m *Rent591HomeMutation) AddIsCombine(i int)
AddIsCombine adds i to the "is_combine" field.
func (*Rent591HomeMutation) AddIsSocial ¶
func (m *Rent591HomeMutation) AddIsSocial(i int)
AddIsSocial adds i to the "is_social" field.
func (*Rent591HomeMutation) AddIsVideo ¶
func (m *Rent591HomeMutation) AddIsVideo(i int)
AddIsVideo adds i to the "is_video" field.
func (*Rent591HomeMutation) AddIsVip ¶
func (m *Rent591HomeMutation) AddIsVip(i int)
AddIsVip adds i to the "is_vip" field.
func (*Rent591HomeMutation) AddPostID ¶
func (m *Rent591HomeMutation) AddPostID(i int)
AddPostID adds i to the "post_id" field.
func (*Rent591HomeMutation) AddPreferred ¶
func (m *Rent591HomeMutation) AddPreferred(i int)
AddPreferred adds i to the "preferred" field.
func (*Rent591HomeMutation) AddPrice ¶
func (m *Rent591HomeMutation) AddPrice(i int)
AddPrice adds i to the "price" field.
func (*Rent591HomeMutation) AddRent591homeTagIDs ¶
func (m *Rent591HomeMutation) AddRent591homeTagIDs(ids ...int)
AddRent591homeTagIDs adds the "rent591home_tags" edge to the Rent591HomeTag entity by ids.
func (*Rent591HomeMutation) AddType ¶
func (m *Rent591HomeMutation) AddType(i int)
AddType adds i to the "type" field.
func (*Rent591HomeMutation) AddYesterdayHit ¶
func (m *Rent591HomeMutation) AddYesterdayHit(i int)
AddYesterdayHit adds i to the "yesterday_hit" field.
func (*Rent591HomeMutation) AddedCasesID ¶
func (m *Rent591HomeMutation) AddedCasesID() (r int, exists bool)
AddedCasesID returns the value that was added to the "cases_id" field in this mutation.
func (*Rent591HomeMutation) AddedCid ¶
func (m *Rent591HomeMutation) AddedCid() (r int, exists bool)
AddedCid returns the value that was added to the "cid" field in this mutation.
func (*Rent591HomeMutation) AddedEdges ¶
func (m *Rent591HomeMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeMutation) AddedField ¶
func (m *Rent591HomeMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeMutation) AddedFields ¶
func (m *Rent591HomeMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeMutation) AddedHurry ¶
func (m *Rent591HomeMutation) AddedHurry() (r int, exists bool)
AddedHurry returns the value that was added to the "hurry" field in this mutation.
func (*Rent591HomeMutation) AddedIDs ¶
func (m *Rent591HomeMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeMutation) AddedIsCombine ¶
func (m *Rent591HomeMutation) AddedIsCombine() (r int, exists bool)
AddedIsCombine returns the value that was added to the "is_combine" field in this mutation.
func (*Rent591HomeMutation) AddedIsSocial ¶
func (m *Rent591HomeMutation) AddedIsSocial() (r int, exists bool)
AddedIsSocial returns the value that was added to the "is_social" field in this mutation.
func (*Rent591HomeMutation) AddedIsVideo ¶
func (m *Rent591HomeMutation) AddedIsVideo() (r int, exists bool)
AddedIsVideo returns the value that was added to the "is_video" field in this mutation.
func (*Rent591HomeMutation) AddedIsVip ¶
func (m *Rent591HomeMutation) AddedIsVip() (r int, exists bool)
AddedIsVip returns the value that was added to the "is_vip" field in this mutation.
func (*Rent591HomeMutation) AddedPostID ¶
func (m *Rent591HomeMutation) AddedPostID() (r int, exists bool)
AddedPostID returns the value that was added to the "post_id" field in this mutation.
func (*Rent591HomeMutation) AddedPreferred ¶
func (m *Rent591HomeMutation) AddedPreferred() (r int, exists bool)
AddedPreferred returns the value that was added to the "preferred" field in this mutation.
func (*Rent591HomeMutation) AddedPrice ¶
func (m *Rent591HomeMutation) AddedPrice() (r int, exists bool)
AddedPrice returns the value that was added to the "price" field in this mutation.
func (*Rent591HomeMutation) AddedType ¶
func (m *Rent591HomeMutation) AddedType() (r int, exists bool)
AddedType returns the value that was added to the "type" field in this mutation.
func (*Rent591HomeMutation) AddedYesterdayHit ¶
func (m *Rent591HomeMutation) AddedYesterdayHit() (r int, exists bool)
AddedYesterdayHit returns the value that was added to the "yesterday_hit" field in this mutation.
func (*Rent591HomeMutation) AppendPhotoList ¶
func (m *Rent591HomeMutation) AppendPhotoList(s []string)
AppendPhotoList adds s to the "photo_list" field.
func (*Rent591HomeMutation) AppendedPhotoList ¶
func (m *Rent591HomeMutation) AppendedPhotoList() ([]string, bool)
AppendedPhotoList returns the list of values that were appended to the "photo_list" field in this mutation.
func (*Rent591HomeMutation) Area ¶
func (m *Rent591HomeMutation) Area() (r string, exists bool)
Area returns the value of the "area" field in the mutation.
func (*Rent591HomeMutation) CasesID ¶
func (m *Rent591HomeMutation) CasesID() (r int, exists bool)
CasesID returns the value of the "cases_id" field in the mutation.
func (*Rent591HomeMutation) Cid ¶
func (m *Rent591HomeMutation) Cid() (r int, exists bool)
Cid returns the value of the "cid" field in the mutation.
func (*Rent591HomeMutation) ClearEdge ¶
func (m *Rent591HomeMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeMutation) ClearField ¶
func (m *Rent591HomeMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeMutation) ClearPhotoList ¶
func (m *Rent591HomeMutation) ClearPhotoList()
ClearPhotoList clears the value of the "photo_list" field.
func (*Rent591HomeMutation) ClearRegionName ¶
func (m *Rent591HomeMutation) ClearRegionName()
ClearRegionName clears the value of the "region_name" field.
func (*Rent591HomeMutation) ClearRent591homeDetails ¶
func (m *Rent591HomeMutation) ClearRent591homeDetails()
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeMutation) ClearRent591homeSurroundings ¶
func (m *Rent591HomeMutation) ClearRent591homeSurroundings()
ClearRent591homeSurroundings clears the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity.
func (*Rent591HomeMutation) ClearRent591homeTags ¶
func (m *Rent591HomeMutation) ClearRent591homeTags()
ClearRent591homeTags clears the "rent591home_tags" edge to the Rent591HomeTag entity.
func (*Rent591HomeMutation) ClearedEdges ¶
func (m *Rent591HomeMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeMutation) ClearedFields ¶
func (m *Rent591HomeMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeMutation) Client ¶
func (m Rent591HomeMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeMutation) Community ¶
func (m *Rent591HomeMutation) Community() (r string, exists bool)
Community returns the value of the "community" field in the mutation.
func (*Rent591HomeMutation) Contact ¶
func (m *Rent591HomeMutation) Contact() (r string, exists bool)
Contact returns the value of the "contact" field in the mutation.
func (*Rent591HomeMutation) CreatedAt ¶
func (m *Rent591HomeMutation) CreatedAt() (r time.Time, exists bool)
CreatedAt returns the value of the "created_at" field in the mutation.
func (*Rent591HomeMutation) DiscountPriceStr ¶
func (m *Rent591HomeMutation) DiscountPriceStr() (r string, exists bool)
DiscountPriceStr returns the value of the "discount_price_str" field in the mutation.
func (*Rent591HomeMutation) EdgeCleared ¶
func (m *Rent591HomeMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeMutation) Field ¶
func (m *Rent591HomeMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeMutation) FieldCleared ¶
func (m *Rent591HomeMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeMutation) Fields ¶
func (m *Rent591HomeMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeMutation) FloorStr ¶
func (m *Rent591HomeMutation) FloorStr() (r string, exists bool)
FloorStr returns the value of the "floor_str" field in the mutation.
func (*Rent591HomeMutation) GetType ¶
func (m *Rent591HomeMutation) GetType() (r int, exists bool)
GetType returns the value of the "type" field in the mutation.
func (*Rent591HomeMutation) Hurry ¶
func (m *Rent591HomeMutation) Hurry() (r int, exists bool)
Hurry returns the value of the "hurry" field in the mutation.
func (*Rent591HomeMutation) ID ¶
func (m *Rent591HomeMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeMutation) IDs ¶
func (m *Rent591HomeMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeMutation) IsCombine ¶
func (m *Rent591HomeMutation) IsCombine() (r int, exists bool)
IsCombine returns the value of the "is_combine" field in the mutation.
func (*Rent591HomeMutation) IsSocial ¶
func (m *Rent591HomeMutation) IsSocial() (r int, exists bool)
IsSocial returns the value of the "is_social" field in the mutation.
func (*Rent591HomeMutation) IsVideo ¶
func (m *Rent591HomeMutation) IsVideo() (r int, exists bool)
IsVideo returns the value of the "is_video" field in the mutation.
func (*Rent591HomeMutation) IsVip ¶
func (m *Rent591HomeMutation) IsVip() (r int, exists bool)
IsVip returns the value of the "is_vip" field in the mutation.
func (*Rent591HomeMutation) KindName ¶
func (m *Rent591HomeMutation) KindName() (r string, exists bool)
KindName returns the value of the "kind_name" field in the mutation.
func (*Rent591HomeMutation) Location ¶
func (m *Rent591HomeMutation) Location() (r string, exists bool)
Location returns the value of the "location" field in the mutation.
func (*Rent591HomeMutation) OldArea ¶
func (m *Rent591HomeMutation) OldArea(ctx context.Context) (v string, err error)
OldArea returns the old "area" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldCasesID ¶
func (m *Rent591HomeMutation) OldCasesID(ctx context.Context) (v int, err error)
OldCasesID returns the old "cases_id" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldCid ¶
func (m *Rent591HomeMutation) OldCid(ctx context.Context) (v int, err error)
OldCid returns the old "cid" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldCommunity ¶
func (m *Rent591HomeMutation) OldCommunity(ctx context.Context) (v string, err error)
OldCommunity returns the old "community" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldContact ¶
func (m *Rent591HomeMutation) OldContact(ctx context.Context) (v string, err error)
OldContact returns the old "contact" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldCreatedAt ¶
OldCreatedAt returns the old "created_at" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldDiscountPriceStr ¶
func (m *Rent591HomeMutation) OldDiscountPriceStr(ctx context.Context) (v string, err error)
OldDiscountPriceStr returns the old "discount_price_str" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldField ¶
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeMutation) OldFloorStr ¶
func (m *Rent591HomeMutation) OldFloorStr(ctx context.Context) (v string, err error)
OldFloorStr returns the old "floor_str" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldHurry ¶
func (m *Rent591HomeMutation) OldHurry(ctx context.Context) (v int, err error)
OldHurry returns the old "hurry" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldIsCombine ¶
func (m *Rent591HomeMutation) OldIsCombine(ctx context.Context) (v int, err error)
OldIsCombine returns the old "is_combine" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldIsSocial ¶
func (m *Rent591HomeMutation) OldIsSocial(ctx context.Context) (v int, err error)
OldIsSocial returns the old "is_social" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldIsVideo ¶
func (m *Rent591HomeMutation) OldIsVideo(ctx context.Context) (v int, err error)
OldIsVideo returns the old "is_video" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldIsVip ¶
func (m *Rent591HomeMutation) OldIsVip(ctx context.Context) (v int, err error)
OldIsVip returns the old "is_vip" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldKindName ¶
func (m *Rent591HomeMutation) OldKindName(ctx context.Context) (v string, err error)
OldKindName returns the old "kind_name" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldLocation ¶
func (m *Rent591HomeMutation) OldLocation(ctx context.Context) (v string, err error)
OldLocation returns the old "location" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldPhotoList ¶
func (m *Rent591HomeMutation) OldPhotoList(ctx context.Context) (v []string, err error)
OldPhotoList returns the old "photo_list" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldPostID ¶
func (m *Rent591HomeMutation) OldPostID(ctx context.Context) (v int, err error)
OldPostID returns the old "post_id" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldPreferred ¶
func (m *Rent591HomeMutation) OldPreferred(ctx context.Context) (v int, err error)
OldPreferred returns the old "preferred" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldPrice ¶
func (m *Rent591HomeMutation) OldPrice(ctx context.Context) (v int, err error)
OldPrice returns the old "price" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldPriceUnit ¶
func (m *Rent591HomeMutation) OldPriceUnit(ctx context.Context) (v string, err error)
OldPriceUnit returns the old "price_unit" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldRefreshTime ¶
func (m *Rent591HomeMutation) OldRefreshTime(ctx context.Context) (v string, err error)
OldRefreshTime returns the old "refresh_time" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldRegionName ¶
func (m *Rent591HomeMutation) OldRegionName(ctx context.Context) (v string, err error)
OldRegionName returns the old "region_name" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldRoleName ¶
func (m *Rent591HomeMutation) OldRoleName(ctx context.Context) (v string, err error)
OldRoleName returns the old "role_name" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldRoomStr ¶
func (m *Rent591HomeMutation) OldRoomStr(ctx context.Context) (v string, err error)
OldRoomStr returns the old "room_str" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldSectionName ¶
func (m *Rent591HomeMutation) OldSectionName(ctx context.Context) (v string, err error)
OldSectionName returns the old "section_name" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldStreetName ¶
func (m *Rent591HomeMutation) OldStreetName(ctx context.Context) (v string, err error)
OldStreetName returns the old "street_name" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldTitle ¶
func (m *Rent591HomeMutation) OldTitle(ctx context.Context) (v string, err error)
OldTitle returns the old "title" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldType ¶
func (m *Rent591HomeMutation) OldType(ctx context.Context) (v int, err error)
OldType returns the old "type" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldUpdatedAt ¶
OldUpdatedAt returns the old "updated_at" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) OldYesterdayHit ¶
func (m *Rent591HomeMutation) OldYesterdayHit(ctx context.Context) (v int, err error)
OldYesterdayHit returns the old "yesterday_hit" field's value of the Rent591Home entity. If the Rent591Home object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeMutation) Op ¶
func (m *Rent591HomeMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeMutation) PhotoList ¶
func (m *Rent591HomeMutation) PhotoList() (r []string, exists bool)
PhotoList returns the value of the "photo_list" field in the mutation.
func (*Rent591HomeMutation) PhotoListCleared ¶
func (m *Rent591HomeMutation) PhotoListCleared() bool
PhotoListCleared returns if the "photo_list" field was cleared in this mutation.
func (*Rent591HomeMutation) PostID ¶
func (m *Rent591HomeMutation) PostID() (r int, exists bool)
PostID returns the value of the "post_id" field in the mutation.
func (*Rent591HomeMutation) Preferred ¶
func (m *Rent591HomeMutation) Preferred() (r int, exists bool)
Preferred returns the value of the "preferred" field in the mutation.
func (*Rent591HomeMutation) Price ¶
func (m *Rent591HomeMutation) Price() (r int, exists bool)
Price returns the value of the "price" field in the mutation.
func (*Rent591HomeMutation) PriceUnit ¶
func (m *Rent591HomeMutation) PriceUnit() (r string, exists bool)
PriceUnit returns the value of the "price_unit" field in the mutation.
func (*Rent591HomeMutation) RefreshTime ¶
func (m *Rent591HomeMutation) RefreshTime() (r string, exists bool)
RefreshTime returns the value of the "refresh_time" field in the mutation.
func (*Rent591HomeMutation) RegionName ¶
func (m *Rent591HomeMutation) RegionName() (r string, exists bool)
RegionName returns the value of the "region_name" field in the mutation.
func (*Rent591HomeMutation) RegionNameCleared ¶
func (m *Rent591HomeMutation) RegionNameCleared() bool
RegionNameCleared returns if the "region_name" field was cleared in this mutation.
func (*Rent591HomeMutation) RemoveRent591homeTagIDs ¶
func (m *Rent591HomeMutation) RemoveRent591homeTagIDs(ids ...int)
RemoveRent591homeTagIDs removes the "rent591home_tags" edge to the Rent591HomeTag entity by IDs.
func (*Rent591HomeMutation) RemovedEdges ¶
func (m *Rent591HomeMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeMutation) RemovedIDs ¶
func (m *Rent591HomeMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeMutation) RemovedRent591homeTagsIDs ¶
func (m *Rent591HomeMutation) RemovedRent591homeTagsIDs() (ids []int)
RemovedRent591homeTags returns the removed IDs of the "rent591home_tags" edge to the Rent591HomeTag entity.
func (*Rent591HomeMutation) Rent591homeDetailsCleared ¶
func (m *Rent591HomeMutation) Rent591homeDetailsCleared() bool
Rent591homeDetailsCleared reports if the "rent591home_details" edge to the Rent591HomeDetail entity was cleared.
func (*Rent591HomeMutation) Rent591homeDetailsID ¶
func (m *Rent591HomeMutation) Rent591homeDetailsID() (id int, exists bool)
Rent591homeDetailsID returns the "rent591home_details" edge ID in the mutation.
func (*Rent591HomeMutation) Rent591homeDetailsIDs ¶
func (m *Rent591HomeMutation) Rent591homeDetailsIDs() (ids []int)
Rent591homeDetailsIDs returns the "rent591home_details" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use Rent591homeDetailsID instead. It exists only for internal usage by the builders.
func (*Rent591HomeMutation) Rent591homeSurroundingsCleared ¶
func (m *Rent591HomeMutation) Rent591homeSurroundingsCleared() bool
Rent591homeSurroundingsCleared reports if the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity was cleared.
func (*Rent591HomeMutation) Rent591homeSurroundingsID ¶
func (m *Rent591HomeMutation) Rent591homeSurroundingsID() (id int, exists bool)
Rent591homeSurroundingsID returns the "rent591home_surroundings" edge ID in the mutation.
func (*Rent591HomeMutation) Rent591homeSurroundingsIDs ¶
func (m *Rent591HomeMutation) Rent591homeSurroundingsIDs() (ids []int)
Rent591homeSurroundingsIDs returns the "rent591home_surroundings" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use Rent591homeSurroundingsID instead. It exists only for internal usage by the builders.
func (*Rent591HomeMutation) Rent591homeTagsCleared ¶
func (m *Rent591HomeMutation) Rent591homeTagsCleared() bool
Rent591homeTagsCleared reports if the "rent591home_tags" edge to the Rent591HomeTag entity was cleared.
func (*Rent591HomeMutation) Rent591homeTagsIDs ¶
func (m *Rent591HomeMutation) Rent591homeTagsIDs() (ids []int)
Rent591homeTagsIDs returns the "rent591home_tags" edge IDs in the mutation.
func (*Rent591HomeMutation) ResetArea ¶
func (m *Rent591HomeMutation) ResetArea()
ResetArea resets all changes to the "area" field.
func (*Rent591HomeMutation) ResetCasesID ¶
func (m *Rent591HomeMutation) ResetCasesID()
ResetCasesID resets all changes to the "cases_id" field.
func (*Rent591HomeMutation) ResetCid ¶
func (m *Rent591HomeMutation) ResetCid()
ResetCid resets all changes to the "cid" field.
func (*Rent591HomeMutation) ResetCommunity ¶
func (m *Rent591HomeMutation) ResetCommunity()
ResetCommunity resets all changes to the "community" field.
func (*Rent591HomeMutation) ResetContact ¶
func (m *Rent591HomeMutation) ResetContact()
ResetContact resets all changes to the "contact" field.
func (*Rent591HomeMutation) ResetCreatedAt ¶
func (m *Rent591HomeMutation) ResetCreatedAt()
ResetCreatedAt resets all changes to the "created_at" field.
func (*Rent591HomeMutation) ResetDiscountPriceStr ¶
func (m *Rent591HomeMutation) ResetDiscountPriceStr()
ResetDiscountPriceStr resets all changes to the "discount_price_str" field.
func (*Rent591HomeMutation) ResetEdge ¶
func (m *Rent591HomeMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeMutation) ResetField ¶
func (m *Rent591HomeMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeMutation) ResetFloorStr ¶
func (m *Rent591HomeMutation) ResetFloorStr()
ResetFloorStr resets all changes to the "floor_str" field.
func (*Rent591HomeMutation) ResetHurry ¶
func (m *Rent591HomeMutation) ResetHurry()
ResetHurry resets all changes to the "hurry" field.
func (*Rent591HomeMutation) ResetIsCombine ¶
func (m *Rent591HomeMutation) ResetIsCombine()
ResetIsCombine resets all changes to the "is_combine" field.
func (*Rent591HomeMutation) ResetIsSocial ¶
func (m *Rent591HomeMutation) ResetIsSocial()
ResetIsSocial resets all changes to the "is_social" field.
func (*Rent591HomeMutation) ResetIsVideo ¶
func (m *Rent591HomeMutation) ResetIsVideo()
ResetIsVideo resets all changes to the "is_video" field.
func (*Rent591HomeMutation) ResetIsVip ¶
func (m *Rent591HomeMutation) ResetIsVip()
ResetIsVip resets all changes to the "is_vip" field.
func (*Rent591HomeMutation) ResetKindName ¶
func (m *Rent591HomeMutation) ResetKindName()
ResetKindName resets all changes to the "kind_name" field.
func (*Rent591HomeMutation) ResetLocation ¶
func (m *Rent591HomeMutation) ResetLocation()
ResetLocation resets all changes to the "location" field.
func (*Rent591HomeMutation) ResetPhotoList ¶
func (m *Rent591HomeMutation) ResetPhotoList()
ResetPhotoList resets all changes to the "photo_list" field.
func (*Rent591HomeMutation) ResetPostID ¶
func (m *Rent591HomeMutation) ResetPostID()
ResetPostID resets all changes to the "post_id" field.
func (*Rent591HomeMutation) ResetPreferred ¶
func (m *Rent591HomeMutation) ResetPreferred()
ResetPreferred resets all changes to the "preferred" field.
func (*Rent591HomeMutation) ResetPrice ¶
func (m *Rent591HomeMutation) ResetPrice()
ResetPrice resets all changes to the "price" field.
func (*Rent591HomeMutation) ResetPriceUnit ¶
func (m *Rent591HomeMutation) ResetPriceUnit()
ResetPriceUnit resets all changes to the "price_unit" field.
func (*Rent591HomeMutation) ResetRefreshTime ¶
func (m *Rent591HomeMutation) ResetRefreshTime()
ResetRefreshTime resets all changes to the "refresh_time" field.
func (*Rent591HomeMutation) ResetRegionName ¶
func (m *Rent591HomeMutation) ResetRegionName()
ResetRegionName resets all changes to the "region_name" field.
func (*Rent591HomeMutation) ResetRent591homeDetails ¶
func (m *Rent591HomeMutation) ResetRent591homeDetails()
ResetRent591homeDetails resets all changes to the "rent591home_details" edge.
func (*Rent591HomeMutation) ResetRent591homeSurroundings ¶
func (m *Rent591HomeMutation) ResetRent591homeSurroundings()
ResetRent591homeSurroundings resets all changes to the "rent591home_surroundings" edge.
func (*Rent591HomeMutation) ResetRent591homeTags ¶
func (m *Rent591HomeMutation) ResetRent591homeTags()
ResetRent591homeTags resets all changes to the "rent591home_tags" edge.
func (*Rent591HomeMutation) ResetRoleName ¶
func (m *Rent591HomeMutation) ResetRoleName()
ResetRoleName resets all changes to the "role_name" field.
func (*Rent591HomeMutation) ResetRoomStr ¶
func (m *Rent591HomeMutation) ResetRoomStr()
ResetRoomStr resets all changes to the "room_str" field.
func (*Rent591HomeMutation) ResetSectionName ¶
func (m *Rent591HomeMutation) ResetSectionName()
ResetSectionName resets all changes to the "section_name" field.
func (*Rent591HomeMutation) ResetStreetName ¶
func (m *Rent591HomeMutation) ResetStreetName()
ResetStreetName resets all changes to the "street_name" field.
func (*Rent591HomeMutation) ResetTitle ¶
func (m *Rent591HomeMutation) ResetTitle()
ResetTitle resets all changes to the "title" field.
func (*Rent591HomeMutation) ResetType ¶
func (m *Rent591HomeMutation) ResetType()
ResetType resets all changes to the "type" field.
func (*Rent591HomeMutation) ResetUpdatedAt ¶
func (m *Rent591HomeMutation) ResetUpdatedAt()
ResetUpdatedAt resets all changes to the "updated_at" field.
func (*Rent591HomeMutation) ResetYesterdayHit ¶
func (m *Rent591HomeMutation) ResetYesterdayHit()
ResetYesterdayHit resets all changes to the "yesterday_hit" field.
func (*Rent591HomeMutation) RoleName ¶
func (m *Rent591HomeMutation) RoleName() (r string, exists bool)
RoleName returns the value of the "role_name" field in the mutation.
func (*Rent591HomeMutation) RoomStr ¶
func (m *Rent591HomeMutation) RoomStr() (r string, exists bool)
RoomStr returns the value of the "room_str" field in the mutation.
func (*Rent591HomeMutation) SectionName ¶
func (m *Rent591HomeMutation) SectionName() (r string, exists bool)
SectionName returns the value of the "section_name" field in the mutation.
func (*Rent591HomeMutation) SetArea ¶
func (m *Rent591HomeMutation) SetArea(s string)
SetArea sets the "area" field.
func (*Rent591HomeMutation) SetCasesID ¶
func (m *Rent591HomeMutation) SetCasesID(i int)
SetCasesID sets the "cases_id" field.
func (*Rent591HomeMutation) SetCid ¶
func (m *Rent591HomeMutation) SetCid(i int)
SetCid sets the "cid" field.
func (*Rent591HomeMutation) SetCommunity ¶
func (m *Rent591HomeMutation) SetCommunity(s string)
SetCommunity sets the "community" field.
func (*Rent591HomeMutation) SetContact ¶
func (m *Rent591HomeMutation) SetContact(s string)
SetContact sets the "contact" field.
func (*Rent591HomeMutation) SetCreatedAt ¶
func (m *Rent591HomeMutation) SetCreatedAt(t time.Time)
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeMutation) SetDiscountPriceStr ¶
func (m *Rent591HomeMutation) SetDiscountPriceStr(s string)
SetDiscountPriceStr sets the "discount_price_str" field.
func (*Rent591HomeMutation) SetField ¶
func (m *Rent591HomeMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeMutation) SetFloorStr ¶
func (m *Rent591HomeMutation) SetFloorStr(s string)
SetFloorStr sets the "floor_str" field.
func (*Rent591HomeMutation) SetHurry ¶
func (m *Rent591HomeMutation) SetHurry(i int)
SetHurry sets the "hurry" field.
func (*Rent591HomeMutation) SetIsCombine ¶
func (m *Rent591HomeMutation) SetIsCombine(i int)
SetIsCombine sets the "is_combine" field.
func (*Rent591HomeMutation) SetIsSocial ¶
func (m *Rent591HomeMutation) SetIsSocial(i int)
SetIsSocial sets the "is_social" field.
func (*Rent591HomeMutation) SetIsVideo ¶
func (m *Rent591HomeMutation) SetIsVideo(i int)
SetIsVideo sets the "is_video" field.
func (*Rent591HomeMutation) SetIsVip ¶
func (m *Rent591HomeMutation) SetIsVip(i int)
SetIsVip sets the "is_vip" field.
func (*Rent591HomeMutation) SetKindName ¶
func (m *Rent591HomeMutation) SetKindName(s string)
SetKindName sets the "kind_name" field.
func (*Rent591HomeMutation) SetLocation ¶
func (m *Rent591HomeMutation) SetLocation(s string)
SetLocation sets the "location" field.
func (*Rent591HomeMutation) SetOp ¶
func (m *Rent591HomeMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeMutation) SetPhotoList ¶
func (m *Rent591HomeMutation) SetPhotoList(s []string)
SetPhotoList sets the "photo_list" field.
func (*Rent591HomeMutation) SetPostID ¶
func (m *Rent591HomeMutation) SetPostID(i int)
SetPostID sets the "post_id" field.
func (*Rent591HomeMutation) SetPreferred ¶
func (m *Rent591HomeMutation) SetPreferred(i int)
SetPreferred sets the "preferred" field.
func (*Rent591HomeMutation) SetPrice ¶
func (m *Rent591HomeMutation) SetPrice(i int)
SetPrice sets the "price" field.
func (*Rent591HomeMutation) SetPriceUnit ¶
func (m *Rent591HomeMutation) SetPriceUnit(s string)
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeMutation) SetRefreshTime ¶
func (m *Rent591HomeMutation) SetRefreshTime(s string)
SetRefreshTime sets the "refresh_time" field.
func (*Rent591HomeMutation) SetRegionName ¶
func (m *Rent591HomeMutation) SetRegionName(s string)
SetRegionName sets the "region_name" field.
func (*Rent591HomeMutation) SetRent591homeDetailsID ¶
func (m *Rent591HomeMutation) SetRent591homeDetailsID(id int)
SetRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by id.
func (*Rent591HomeMutation) SetRent591homeSurroundingsID ¶
func (m *Rent591HomeMutation) SetRent591homeSurroundingsID(id int)
SetRent591homeSurroundingsID sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity by id.
func (*Rent591HomeMutation) SetRoleName ¶
func (m *Rent591HomeMutation) SetRoleName(s string)
SetRoleName sets the "role_name" field.
func (*Rent591HomeMutation) SetRoomStr ¶
func (m *Rent591HomeMutation) SetRoomStr(s string)
SetRoomStr sets the "room_str" field.
func (*Rent591HomeMutation) SetSectionName ¶
func (m *Rent591HomeMutation) SetSectionName(s string)
SetSectionName sets the "section_name" field.
func (*Rent591HomeMutation) SetStreetName ¶
func (m *Rent591HomeMutation) SetStreetName(s string)
SetStreetName sets the "street_name" field.
func (*Rent591HomeMutation) SetTitle ¶
func (m *Rent591HomeMutation) SetTitle(s string)
SetTitle sets the "title" field.
func (*Rent591HomeMutation) SetType ¶
func (m *Rent591HomeMutation) SetType(i int)
SetType sets the "type" field.
func (*Rent591HomeMutation) SetUpdatedAt ¶
func (m *Rent591HomeMutation) SetUpdatedAt(t time.Time)
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeMutation) SetYesterdayHit ¶
func (m *Rent591HomeMutation) SetYesterdayHit(i int)
SetYesterdayHit sets the "yesterday_hit" field.
func (*Rent591HomeMutation) StreetName ¶
func (m *Rent591HomeMutation) StreetName() (r string, exists bool)
StreetName returns the value of the "street_name" field in the mutation.
func (*Rent591HomeMutation) Title ¶
func (m *Rent591HomeMutation) Title() (r string, exists bool)
Title returns the value of the "title" field in the mutation.
func (Rent591HomeMutation) Tx ¶
func (m Rent591HomeMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeMutation) Type ¶
func (m *Rent591HomeMutation) Type() string
Type returns the node type of this mutation (Rent591Home).
func (*Rent591HomeMutation) UpdatedAt ¶
func (m *Rent591HomeMutation) UpdatedAt() (r time.Time, exists bool)
UpdatedAt returns the value of the "updated_at" field in the mutation.
func (*Rent591HomeMutation) Where ¶
func (m *Rent591HomeMutation) Where(ps ...predicate.Rent591Home)
Where appends a list predicates to the Rent591HomeMutation builder.
func (*Rent591HomeMutation) WhereP ¶
func (m *Rent591HomeMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
func (*Rent591HomeMutation) YesterdayHit ¶
func (m *Rent591HomeMutation) YesterdayHit() (r int, exists bool)
YesterdayHit returns the value of the "yesterday_hit" field in the mutation.
type Rent591HomeQuery ¶
type Rent591HomeQuery struct {
// contains filtered or unexported fields
}
Rent591HomeQuery is the builder for querying Rent591Home entities.
func (*Rent591HomeQuery) Aggregate ¶
func (rq *Rent591HomeQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeSelect
Aggregate returns a Rent591HomeSelect configured with the given aggregations.
func (*Rent591HomeQuery) All ¶
func (rq *Rent591HomeQuery) All(ctx context.Context) ([]*Rent591Home, error)
All executes the query and returns a list of Rent591Homes.
func (*Rent591HomeQuery) AllX ¶
func (rq *Rent591HomeQuery) AllX(ctx context.Context) []*Rent591Home
AllX is like All, but panics if an error occurs.
func (*Rent591HomeQuery) Clone ¶
func (rq *Rent591HomeQuery) Clone() *Rent591HomeQuery
Clone returns a duplicate of the Rent591HomeQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeQuery) Count ¶
func (rq *Rent591HomeQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeQuery) CountX ¶
func (rq *Rent591HomeQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeQuery) Exist ¶
func (rq *Rent591HomeQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeQuery) ExistX ¶
func (rq *Rent591HomeQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeQuery) First ¶
func (rq *Rent591HomeQuery) First(ctx context.Context) (*Rent591Home, error)
First returns the first Rent591Home entity from the query. Returns a *NotFoundError when no Rent591Home was found.
func (*Rent591HomeQuery) FirstID ¶
func (rq *Rent591HomeQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591Home ID from the query. Returns a *NotFoundError when no Rent591Home ID was found.
func (*Rent591HomeQuery) FirstIDX ¶
func (rq *Rent591HomeQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeQuery) FirstX ¶
func (rq *Rent591HomeQuery) FirstX(ctx context.Context) *Rent591Home
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeQuery) GroupBy ¶
func (rq *Rent591HomeQuery) GroupBy(field string, fields ...string) *Rent591HomeGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Title string `json:"title,omitempty"` Count int `json:"count,omitempty"` } client.Rent591Home.Query(). GroupBy(rent591home.FieldTitle). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeQuery) IDs ¶
func (rq *Rent591HomeQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591Home IDs.
func (*Rent591HomeQuery) IDsX ¶
func (rq *Rent591HomeQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeQuery) Limit ¶
func (rq *Rent591HomeQuery) Limit(limit int) *Rent591HomeQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeQuery) Offset ¶
func (rq *Rent591HomeQuery) Offset(offset int) *Rent591HomeQuery
Offset to start from.
func (*Rent591HomeQuery) Only ¶
func (rq *Rent591HomeQuery) Only(ctx context.Context) (*Rent591Home, error)
Only returns a single Rent591Home entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591Home entity is found. Returns a *NotFoundError when no Rent591Home entities are found.
func (*Rent591HomeQuery) OnlyID ¶
func (rq *Rent591HomeQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591Home ID in the query. Returns a *NotSingularError when more than one Rent591Home ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeQuery) OnlyIDX ¶
func (rq *Rent591HomeQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeQuery) OnlyX ¶
func (rq *Rent591HomeQuery) OnlyX(ctx context.Context) *Rent591Home
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeQuery) Order ¶
func (rq *Rent591HomeQuery) Order(o ...rent591home.OrderOption) *Rent591HomeQuery
Order specifies how the records should be ordered.
func (*Rent591HomeQuery) QueryRent591homeDetails ¶
func (rq *Rent591HomeQuery) QueryRent591homeDetails() *Rent591HomeDetailQuery
QueryRent591homeDetails chains the current query on the "rent591home_details" edge.
func (*Rent591HomeQuery) QueryRent591homeSurroundings ¶
func (rq *Rent591HomeQuery) QueryRent591homeSurroundings() *Rent591HomeSurroundingQuery
QueryRent591homeSurroundings chains the current query on the "rent591home_surroundings" edge.
func (*Rent591HomeQuery) QueryRent591homeTags ¶
func (rq *Rent591HomeQuery) QueryRent591homeTags() *Rent591HomeTagQuery
QueryRent591homeTags chains the current query on the "rent591home_tags" edge.
func (*Rent591HomeQuery) Select ¶
func (rq *Rent591HomeQuery) Select(fields ...string) *Rent591HomeSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Title string `json:"title,omitempty"` } client.Rent591Home.Query(). Select(rent591home.FieldTitle). Scan(ctx, &v)
func (*Rent591HomeQuery) Unique ¶
func (rq *Rent591HomeQuery) Unique(unique bool) *Rent591HomeQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeQuery) Where ¶
func (rq *Rent591HomeQuery) Where(ps ...predicate.Rent591Home) *Rent591HomeQuery
Where adds a new predicate for the Rent591HomeQuery builder.
func (*Rent591HomeQuery) WithRent591homeDetails ¶
func (rq *Rent591HomeQuery) WithRent591homeDetails(opts ...func(*Rent591HomeDetailQuery)) *Rent591HomeQuery
WithRent591homeDetails tells the query-builder to eager-load the nodes that are connected to the "rent591home_details" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeQuery) WithRent591homeSurroundings ¶
func (rq *Rent591HomeQuery) WithRent591homeSurroundings(opts ...func(*Rent591HomeSurroundingQuery)) *Rent591HomeQuery
WithRent591homeSurroundings tells the query-builder to eager-load the nodes that are connected to the "rent591home_surroundings" edge. The optional arguments are used to configure the query builder of the edge.
func (*Rent591HomeQuery) WithRent591homeTags ¶
func (rq *Rent591HomeQuery) WithRent591homeTags(opts ...func(*Rent591HomeTagQuery)) *Rent591HomeQuery
WithRent591homeTags tells the query-builder to eager-load the nodes that are connected to the "rent591home_tags" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeSelect ¶
type Rent591HomeSelect struct { *Rent591HomeQuery // contains filtered or unexported fields }
Rent591HomeSelect is the builder for selecting fields of Rent591Home entities.
func (*Rent591HomeSelect) Aggregate ¶
func (rs *Rent591HomeSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSelect) Scan ¶
func (rs *Rent591HomeSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type Rent591HomeSurrounding ¶
type Rent591HomeSurrounding struct { // ID of the ent. ID int `json:"id,omitempty"` // Type holds the value of the "type" field. Type string `json:"type,omitempty"` // Desc holds the value of the "desc" field. Desc string `json:"desc,omitempty"` // Distance holds the value of the "distance" field. Distance string `json:"distance,omitempty"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeSurroundingQuery when eager-loading is set. Edges Rent591HomeSurroundingEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeSurrounding is the model entity for the Rent591HomeSurrounding schema.
func (*Rent591HomeSurrounding) QueryRent591homes ¶
func (rs *Rent591HomeSurrounding) QueryRent591homes() *Rent591HomeQuery
QueryRent591homes queries the "rent591homes" edge of the Rent591HomeSurrounding entity.
func (*Rent591HomeSurrounding) String ¶
func (rs *Rent591HomeSurrounding) String() string
String implements the fmt.Stringer.
func (*Rent591HomeSurrounding) Unwrap ¶
func (rs *Rent591HomeSurrounding) Unwrap() *Rent591HomeSurrounding
Unwrap unwraps the Rent591HomeSurrounding entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeSurrounding) Update ¶
func (rs *Rent591HomeSurrounding) Update() *Rent591HomeSurroundingUpdateOne
Update returns a builder for updating this Rent591HomeSurrounding. Note that you need to call Rent591HomeSurrounding.Unwrap() before calling this method if this Rent591HomeSurrounding was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeSurroundingClient ¶
type Rent591HomeSurroundingClient struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingClient is a client for the Rent591HomeSurrounding schema.
func NewRent591HomeSurroundingClient ¶
func NewRent591HomeSurroundingClient(c config) *Rent591HomeSurroundingClient
NewRent591HomeSurroundingClient returns a client for the Rent591HomeSurrounding from the given config.
func (*Rent591HomeSurroundingClient) Create ¶
func (c *Rent591HomeSurroundingClient) Create() *Rent591HomeSurroundingCreate
Create returns a builder for creating a Rent591HomeSurrounding entity.
func (*Rent591HomeSurroundingClient) CreateBulk ¶
func (c *Rent591HomeSurroundingClient) CreateBulk(builders ...*Rent591HomeSurroundingCreate) *Rent591HomeSurroundingCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeSurrounding entities.
func (*Rent591HomeSurroundingClient) Delete ¶
func (c *Rent591HomeSurroundingClient) Delete() *Rent591HomeSurroundingDelete
Delete returns a delete builder for Rent591HomeSurrounding.
func (*Rent591HomeSurroundingClient) DeleteOne ¶
func (c *Rent591HomeSurroundingClient) DeleteOne(rs *Rent591HomeSurrounding) *Rent591HomeSurroundingDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeSurroundingClient) DeleteOneID ¶
func (c *Rent591HomeSurroundingClient) DeleteOneID(id int) *Rent591HomeSurroundingDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeSurroundingClient) Get ¶
func (c *Rent591HomeSurroundingClient) Get(ctx context.Context, id int) (*Rent591HomeSurrounding, error)
Get returns a Rent591HomeSurrounding entity by its id.
func (*Rent591HomeSurroundingClient) GetX ¶
func (c *Rent591HomeSurroundingClient) GetX(ctx context.Context, id int) *Rent591HomeSurrounding
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeSurroundingClient) Hooks ¶
func (c *Rent591HomeSurroundingClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeSurroundingClient) Intercept ¶
func (c *Rent591HomeSurroundingClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591homesurrounding.Intercept(f(g(h())))`.
func (*Rent591HomeSurroundingClient) Interceptors ¶
func (c *Rent591HomeSurroundingClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeSurroundingClient) Query ¶
func (c *Rent591HomeSurroundingClient) Query() *Rent591HomeSurroundingQuery
Query returns a query builder for Rent591HomeSurrounding.
func (*Rent591HomeSurroundingClient) QueryRent591homes ¶
func (c *Rent591HomeSurroundingClient) QueryRent591homes(rs *Rent591HomeSurrounding) *Rent591HomeQuery
QueryRent591homes queries the rent591homes edge of a Rent591HomeSurrounding.
func (*Rent591HomeSurroundingClient) Update ¶
func (c *Rent591HomeSurroundingClient) Update() *Rent591HomeSurroundingUpdate
Update returns an update builder for Rent591HomeSurrounding.
func (*Rent591HomeSurroundingClient) UpdateOne ¶
func (c *Rent591HomeSurroundingClient) UpdateOne(rs *Rent591HomeSurrounding) *Rent591HomeSurroundingUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeSurroundingClient) UpdateOneID ¶
func (c *Rent591HomeSurroundingClient) UpdateOneID(id int) *Rent591HomeSurroundingUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeSurroundingClient) Use ¶
func (c *Rent591HomeSurroundingClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591homesurrounding.Hooks(f(g(h())))`.
type Rent591HomeSurroundingCreate ¶
type Rent591HomeSurroundingCreate struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingCreate is the builder for creating a Rent591HomeSurrounding entity.
func (*Rent591HomeSurroundingCreate) Exec ¶
func (rsc *Rent591HomeSurroundingCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeSurroundingCreate) ExecX ¶
func (rsc *Rent591HomeSurroundingCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeSurroundingCreate) Mutation ¶
func (rsc *Rent591HomeSurroundingCreate) Mutation() *Rent591HomeSurroundingMutation
Mutation returns the Rent591HomeSurroundingMutation object of the builder.
func (*Rent591HomeSurroundingCreate) OnConflict ¶
func (rsc *Rent591HomeSurroundingCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeSurroundingUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeSurrounding.Create(). SetType(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeSurroundingUpsert) { SetType(v+v). }). Exec(ctx)
func (*Rent591HomeSurroundingCreate) OnConflictColumns ¶
func (rsc *Rent591HomeSurroundingCreate) OnConflictColumns(columns ...string) *Rent591HomeSurroundingUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeSurrounding.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeSurroundingCreate) Save ¶
func (rsc *Rent591HomeSurroundingCreate) Save(ctx context.Context) (*Rent591HomeSurrounding, error)
Save creates the Rent591HomeSurrounding in the database.
func (*Rent591HomeSurroundingCreate) SaveX ¶
func (rsc *Rent591HomeSurroundingCreate) SaveX(ctx context.Context) *Rent591HomeSurrounding
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeSurroundingCreate) SetCreatedAt ¶
func (rsc *Rent591HomeSurroundingCreate) SetCreatedAt(t time.Time) *Rent591HomeSurroundingCreate
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeSurroundingCreate) SetDesc ¶
func (rsc *Rent591HomeSurroundingCreate) SetDesc(s string) *Rent591HomeSurroundingCreate
SetDesc sets the "desc" field.
func (*Rent591HomeSurroundingCreate) SetDistance ¶
func (rsc *Rent591HomeSurroundingCreate) SetDistance(s string) *Rent591HomeSurroundingCreate
SetDistance sets the "distance" field.
func (*Rent591HomeSurroundingCreate) SetNillableCreatedAt ¶
func (rsc *Rent591HomeSurroundingCreate) SetNillableCreatedAt(t *time.Time) *Rent591HomeSurroundingCreate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeSurroundingCreate) SetNillableRent591homesID ¶
func (rsc *Rent591HomeSurroundingCreate) SetNillableRent591homesID(id *int) *Rent591HomeSurroundingCreate
SetNillableRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID if the given value is not nil.
func (*Rent591HomeSurroundingCreate) SetRent591homes ¶
func (rsc *Rent591HomeSurroundingCreate) SetRent591homes(r *Rent591Home) *Rent591HomeSurroundingCreate
SetRent591homes sets the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeSurroundingCreate) SetRent591homesID ¶
func (rsc *Rent591HomeSurroundingCreate) SetRent591homesID(id int) *Rent591HomeSurroundingCreate
SetRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID.
func (*Rent591HomeSurroundingCreate) SetType ¶
func (rsc *Rent591HomeSurroundingCreate) SetType(s string) *Rent591HomeSurroundingCreate
SetType sets the "type" field.
type Rent591HomeSurroundingCreateBulk ¶
type Rent591HomeSurroundingCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingCreateBulk is the builder for creating many Rent591HomeSurrounding entities in bulk.
func (*Rent591HomeSurroundingCreateBulk) Exec ¶
func (rscb *Rent591HomeSurroundingCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeSurroundingCreateBulk) ExecX ¶
func (rscb *Rent591HomeSurroundingCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeSurroundingCreateBulk) OnConflict ¶
func (rscb *Rent591HomeSurroundingCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeSurroundingUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeSurrounding.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeSurroundingUpsert) { SetType(v+v). }). Exec(ctx)
func (*Rent591HomeSurroundingCreateBulk) OnConflictColumns ¶
func (rscb *Rent591HomeSurroundingCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeSurroundingUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeSurrounding.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeSurroundingCreateBulk) Save ¶
func (rscb *Rent591HomeSurroundingCreateBulk) Save(ctx context.Context) ([]*Rent591HomeSurrounding, error)
Save creates the Rent591HomeSurrounding entities in the database.
func (*Rent591HomeSurroundingCreateBulk) SaveX ¶
func (rscb *Rent591HomeSurroundingCreateBulk) SaveX(ctx context.Context) []*Rent591HomeSurrounding
SaveX is like Save, but panics if an error occurs.
type Rent591HomeSurroundingDelete ¶
type Rent591HomeSurroundingDelete struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingDelete is the builder for deleting a Rent591HomeSurrounding entity.
func (*Rent591HomeSurroundingDelete) Exec ¶
func (rsd *Rent591HomeSurroundingDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeSurroundingDelete) ExecX ¶
func (rsd *Rent591HomeSurroundingDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeSurroundingDelete) Where ¶
func (rsd *Rent591HomeSurroundingDelete) Where(ps ...predicate.Rent591HomeSurrounding) *Rent591HomeSurroundingDelete
Where appends a list predicates to the Rent591HomeSurroundingDelete builder.
type Rent591HomeSurroundingDeleteOne ¶
type Rent591HomeSurroundingDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingDeleteOne is the builder for deleting a single Rent591HomeSurrounding entity.
func (*Rent591HomeSurroundingDeleteOne) Exec ¶
func (rsdo *Rent591HomeSurroundingDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeSurroundingDeleteOne) ExecX ¶
func (rsdo *Rent591HomeSurroundingDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeSurroundingDeleteOne) Where ¶
func (rsdo *Rent591HomeSurroundingDeleteOne) Where(ps ...predicate.Rent591HomeSurrounding) *Rent591HomeSurroundingDeleteOne
Where appends a list predicates to the Rent591HomeSurroundingDelete builder.
type Rent591HomeSurroundingEdges ¶
type Rent591HomeSurroundingEdges struct { // Rent591homes holds the value of the rent591homes edge. Rent591homes *Rent591Home `json:"rent591homes,omitempty"` // contains filtered or unexported fields }
Rent591HomeSurroundingEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeSurroundingEdges) Rent591homesOrErr ¶
func (e Rent591HomeSurroundingEdges) Rent591homesOrErr() (*Rent591Home, error)
Rent591homesOrErr returns the Rent591homes value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
type Rent591HomeSurroundingGroupBy ¶
type Rent591HomeSurroundingGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingGroupBy is the group-by builder for Rent591HomeSurrounding entities.
func (*Rent591HomeSurroundingGroupBy) Aggregate ¶
func (rsgb *Rent591HomeSurroundingGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeSurroundingGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeSurroundingGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingGroupBy) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeSurroundingGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeSurroundingGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingGroupBy) Scan ¶
func (rsgb *Rent591HomeSurroundingGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeSurroundingGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingGroupBy) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeSurroundingMutation ¶
type Rent591HomeSurroundingMutation struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingMutation represents an operation that mutates the Rent591HomeSurrounding nodes in the graph.
func (*Rent591HomeSurroundingMutation) AddField ¶
func (m *Rent591HomeSurroundingMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeSurroundingMutation) AddedEdges ¶
func (m *Rent591HomeSurroundingMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeSurroundingMutation) AddedField ¶
func (m *Rent591HomeSurroundingMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeSurroundingMutation) AddedFields ¶
func (m *Rent591HomeSurroundingMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeSurroundingMutation) AddedIDs ¶
func (m *Rent591HomeSurroundingMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeSurroundingMutation) ClearEdge ¶
func (m *Rent591HomeSurroundingMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeSurroundingMutation) ClearField ¶
func (m *Rent591HomeSurroundingMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeSurroundingMutation) ClearRent591homes ¶
func (m *Rent591HomeSurroundingMutation) ClearRent591homes()
ClearRent591homes clears the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeSurroundingMutation) ClearedEdges ¶
func (m *Rent591HomeSurroundingMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeSurroundingMutation) ClearedFields ¶
func (m *Rent591HomeSurroundingMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeSurroundingMutation) Client ¶
func (m Rent591HomeSurroundingMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeSurroundingMutation) CreatedAt ¶
func (m *Rent591HomeSurroundingMutation) CreatedAt() (r time.Time, exists bool)
CreatedAt returns the value of the "created_at" field in the mutation.
func (*Rent591HomeSurroundingMutation) Desc ¶
func (m *Rent591HomeSurroundingMutation) Desc() (r string, exists bool)
Desc returns the value of the "desc" field in the mutation.
func (*Rent591HomeSurroundingMutation) Distance ¶
func (m *Rent591HomeSurroundingMutation) Distance() (r string, exists bool)
Distance returns the value of the "distance" field in the mutation.
func (*Rent591HomeSurroundingMutation) EdgeCleared ¶
func (m *Rent591HomeSurroundingMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeSurroundingMutation) Field ¶
func (m *Rent591HomeSurroundingMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeSurroundingMutation) FieldCleared ¶
func (m *Rent591HomeSurroundingMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeSurroundingMutation) Fields ¶
func (m *Rent591HomeSurroundingMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeSurroundingMutation) GetType ¶
func (m *Rent591HomeSurroundingMutation) GetType() (r string, exists bool)
GetType returns the value of the "type" field in the mutation.
func (*Rent591HomeSurroundingMutation) ID ¶
func (m *Rent591HomeSurroundingMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeSurroundingMutation) IDs ¶
func (m *Rent591HomeSurroundingMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeSurroundingMutation) OldCreatedAt ¶
OldCreatedAt returns the old "created_at" field's value of the Rent591HomeSurrounding entity. If the Rent591HomeSurrounding object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeSurroundingMutation) OldDesc ¶
func (m *Rent591HomeSurroundingMutation) OldDesc(ctx context.Context) (v string, err error)
OldDesc returns the old "desc" field's value of the Rent591HomeSurrounding entity. If the Rent591HomeSurrounding object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeSurroundingMutation) OldDistance ¶
func (m *Rent591HomeSurroundingMutation) OldDistance(ctx context.Context) (v string, err error)
OldDistance returns the old "distance" field's value of the Rent591HomeSurrounding entity. If the Rent591HomeSurrounding object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeSurroundingMutation) OldField ¶
func (m *Rent591HomeSurroundingMutation) OldField(ctx context.Context, name string) (ent.Value, error)
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeSurroundingMutation) OldType ¶
func (m *Rent591HomeSurroundingMutation) OldType(ctx context.Context) (v string, err error)
OldType returns the old "type" field's value of the Rent591HomeSurrounding entity. If the Rent591HomeSurrounding object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeSurroundingMutation) Op ¶
func (m *Rent591HomeSurroundingMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeSurroundingMutation) RemovedEdges ¶
func (m *Rent591HomeSurroundingMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeSurroundingMutation) RemovedIDs ¶
func (m *Rent591HomeSurroundingMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeSurroundingMutation) Rent591homesCleared ¶
func (m *Rent591HomeSurroundingMutation) Rent591homesCleared() bool
Rent591homesCleared reports if the "rent591homes" edge to the Rent591Home entity was cleared.
func (*Rent591HomeSurroundingMutation) Rent591homesID ¶
func (m *Rent591HomeSurroundingMutation) Rent591homesID() (id int, exists bool)
Rent591homesID returns the "rent591homes" edge ID in the mutation.
func (*Rent591HomeSurroundingMutation) Rent591homesIDs ¶
func (m *Rent591HomeSurroundingMutation) Rent591homesIDs() (ids []int)
Rent591homesIDs returns the "rent591homes" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use Rent591homesID instead. It exists only for internal usage by the builders.
func (*Rent591HomeSurroundingMutation) ResetCreatedAt ¶
func (m *Rent591HomeSurroundingMutation) ResetCreatedAt()
ResetCreatedAt resets all changes to the "created_at" field.
func (*Rent591HomeSurroundingMutation) ResetDesc ¶
func (m *Rent591HomeSurroundingMutation) ResetDesc()
ResetDesc resets all changes to the "desc" field.
func (*Rent591HomeSurroundingMutation) ResetDistance ¶
func (m *Rent591HomeSurroundingMutation) ResetDistance()
ResetDistance resets all changes to the "distance" field.
func (*Rent591HomeSurroundingMutation) ResetEdge ¶
func (m *Rent591HomeSurroundingMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeSurroundingMutation) ResetField ¶
func (m *Rent591HomeSurroundingMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeSurroundingMutation) ResetRent591homes ¶
func (m *Rent591HomeSurroundingMutation) ResetRent591homes()
ResetRent591homes resets all changes to the "rent591homes" edge.
func (*Rent591HomeSurroundingMutation) ResetType ¶
func (m *Rent591HomeSurroundingMutation) ResetType()
ResetType resets all changes to the "type" field.
func (*Rent591HomeSurroundingMutation) SetCreatedAt ¶
func (m *Rent591HomeSurroundingMutation) SetCreatedAt(t time.Time)
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeSurroundingMutation) SetDesc ¶
func (m *Rent591HomeSurroundingMutation) SetDesc(s string)
SetDesc sets the "desc" field.
func (*Rent591HomeSurroundingMutation) SetDistance ¶
func (m *Rent591HomeSurroundingMutation) SetDistance(s string)
SetDistance sets the "distance" field.
func (*Rent591HomeSurroundingMutation) SetField ¶
func (m *Rent591HomeSurroundingMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeSurroundingMutation) SetOp ¶
func (m *Rent591HomeSurroundingMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (*Rent591HomeSurroundingMutation) SetRent591homesID ¶
func (m *Rent591HomeSurroundingMutation) SetRent591homesID(id int)
SetRent591homesID sets the "rent591homes" edge to the Rent591Home entity by id.
func (*Rent591HomeSurroundingMutation) SetType ¶
func (m *Rent591HomeSurroundingMutation) SetType(s string)
SetType sets the "type" field.
func (Rent591HomeSurroundingMutation) Tx ¶
func (m Rent591HomeSurroundingMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeSurroundingMutation) Type ¶
func (m *Rent591HomeSurroundingMutation) Type() string
Type returns the node type of this mutation (Rent591HomeSurrounding).
func (*Rent591HomeSurroundingMutation) Where ¶
func (m *Rent591HomeSurroundingMutation) Where(ps ...predicate.Rent591HomeSurrounding)
Where appends a list predicates to the Rent591HomeSurroundingMutation builder.
func (*Rent591HomeSurroundingMutation) WhereP ¶
func (m *Rent591HomeSurroundingMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeSurroundingMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeSurroundingQuery ¶
type Rent591HomeSurroundingQuery struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingQuery is the builder for querying Rent591HomeSurrounding entities.
func (*Rent591HomeSurroundingQuery) Aggregate ¶
func (rsq *Rent591HomeSurroundingQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeSurroundingSelect
Aggregate returns a Rent591HomeSurroundingSelect configured with the given aggregations.
func (*Rent591HomeSurroundingQuery) All ¶
func (rsq *Rent591HomeSurroundingQuery) All(ctx context.Context) ([]*Rent591HomeSurrounding, error)
All executes the query and returns a list of Rent591HomeSurroundings.
func (*Rent591HomeSurroundingQuery) AllX ¶
func (rsq *Rent591HomeSurroundingQuery) AllX(ctx context.Context) []*Rent591HomeSurrounding
AllX is like All, but panics if an error occurs.
func (*Rent591HomeSurroundingQuery) Clone ¶
func (rsq *Rent591HomeSurroundingQuery) Clone() *Rent591HomeSurroundingQuery
Clone returns a duplicate of the Rent591HomeSurroundingQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeSurroundingQuery) Count ¶
func (rsq *Rent591HomeSurroundingQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeSurroundingQuery) CountX ¶
func (rsq *Rent591HomeSurroundingQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeSurroundingQuery) Exist ¶
func (rsq *Rent591HomeSurroundingQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeSurroundingQuery) ExistX ¶
func (rsq *Rent591HomeSurroundingQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeSurroundingQuery) First ¶
func (rsq *Rent591HomeSurroundingQuery) First(ctx context.Context) (*Rent591HomeSurrounding, error)
First returns the first Rent591HomeSurrounding entity from the query. Returns a *NotFoundError when no Rent591HomeSurrounding was found.
func (*Rent591HomeSurroundingQuery) FirstID ¶
func (rsq *Rent591HomeSurroundingQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeSurrounding ID from the query. Returns a *NotFoundError when no Rent591HomeSurrounding ID was found.
func (*Rent591HomeSurroundingQuery) FirstIDX ¶
func (rsq *Rent591HomeSurroundingQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeSurroundingQuery) FirstX ¶
func (rsq *Rent591HomeSurroundingQuery) FirstX(ctx context.Context) *Rent591HomeSurrounding
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeSurroundingQuery) GroupBy ¶
func (rsq *Rent591HomeSurroundingQuery) GroupBy(field string, fields ...string) *Rent591HomeSurroundingGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Type string `json:"type,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeSurrounding.Query(). GroupBy(rent591homesurrounding.FieldType). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeSurroundingQuery) IDs ¶
func (rsq *Rent591HomeSurroundingQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeSurrounding IDs.
func (*Rent591HomeSurroundingQuery) IDsX ¶
func (rsq *Rent591HomeSurroundingQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeSurroundingQuery) Limit ¶
func (rsq *Rent591HomeSurroundingQuery) Limit(limit int) *Rent591HomeSurroundingQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeSurroundingQuery) Offset ¶
func (rsq *Rent591HomeSurroundingQuery) Offset(offset int) *Rent591HomeSurroundingQuery
Offset to start from.
func (*Rent591HomeSurroundingQuery) Only ¶
func (rsq *Rent591HomeSurroundingQuery) Only(ctx context.Context) (*Rent591HomeSurrounding, error)
Only returns a single Rent591HomeSurrounding entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeSurrounding entity is found. Returns a *NotFoundError when no Rent591HomeSurrounding entities are found.
func (*Rent591HomeSurroundingQuery) OnlyID ¶
func (rsq *Rent591HomeSurroundingQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeSurrounding ID in the query. Returns a *NotSingularError when more than one Rent591HomeSurrounding ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeSurroundingQuery) OnlyIDX ¶
func (rsq *Rent591HomeSurroundingQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeSurroundingQuery) OnlyX ¶
func (rsq *Rent591HomeSurroundingQuery) OnlyX(ctx context.Context) *Rent591HomeSurrounding
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeSurroundingQuery) Order ¶
func (rsq *Rent591HomeSurroundingQuery) Order(o ...rent591homesurrounding.OrderOption) *Rent591HomeSurroundingQuery
Order specifies how the records should be ordered.
func (*Rent591HomeSurroundingQuery) QueryRent591homes ¶
func (rsq *Rent591HomeSurroundingQuery) QueryRent591homes() *Rent591HomeQuery
QueryRent591homes chains the current query on the "rent591homes" edge.
func (*Rent591HomeSurroundingQuery) Select ¶
func (rsq *Rent591HomeSurroundingQuery) Select(fields ...string) *Rent591HomeSurroundingSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Type string `json:"type,omitempty"` } client.Rent591HomeSurrounding.Query(). Select(rent591homesurrounding.FieldType). Scan(ctx, &v)
func (*Rent591HomeSurroundingQuery) Unique ¶
func (rsq *Rent591HomeSurroundingQuery) Unique(unique bool) *Rent591HomeSurroundingQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeSurroundingQuery) Where ¶
func (rsq *Rent591HomeSurroundingQuery) Where(ps ...predicate.Rent591HomeSurrounding) *Rent591HomeSurroundingQuery
Where adds a new predicate for the Rent591HomeSurroundingQuery builder.
func (*Rent591HomeSurroundingQuery) WithRent591homes ¶
func (rsq *Rent591HomeSurroundingQuery) WithRent591homes(opts ...func(*Rent591HomeQuery)) *Rent591HomeSurroundingQuery
WithRent591homes tells the query-builder to eager-load the nodes that are connected to the "rent591homes" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeSurroundingSelect ¶
type Rent591HomeSurroundingSelect struct { *Rent591HomeSurroundingQuery // contains filtered or unexported fields }
Rent591HomeSurroundingSelect is the builder for selecting fields of Rent591HomeSurrounding entities.
func (*Rent591HomeSurroundingSelect) Aggregate ¶
func (rss *Rent591HomeSurroundingSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeSurroundingSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeSurroundingSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingSelect) Float64X ¶
Float64X is like Float64, but panics if an error occurs.
func (*Rent591HomeSurroundingSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingSelect) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeSurroundingSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingSelect) Scan ¶
func (rss *Rent591HomeSurroundingSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeSurroundingSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
func (*Rent591HomeSurroundingSelect) StringX ¶
StringX is like String, but panics if an error occurs.
type Rent591HomeSurroundingUpdate ¶
type Rent591HomeSurroundingUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingUpdate is the builder for updating Rent591HomeSurrounding entities.
func (*Rent591HomeSurroundingUpdate) ClearRent591homes ¶
func (rsu *Rent591HomeSurroundingUpdate) ClearRent591homes() *Rent591HomeSurroundingUpdate
ClearRent591homes clears the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeSurroundingUpdate) Exec ¶
func (rsu *Rent591HomeSurroundingUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeSurroundingUpdate) ExecX ¶
func (rsu *Rent591HomeSurroundingUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeSurroundingUpdate) Mutation ¶
func (rsu *Rent591HomeSurroundingUpdate) Mutation() *Rent591HomeSurroundingMutation
Mutation returns the Rent591HomeSurroundingMutation object of the builder.
func (*Rent591HomeSurroundingUpdate) Save ¶
func (rsu *Rent591HomeSurroundingUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeSurroundingUpdate) SaveX ¶
func (rsu *Rent591HomeSurroundingUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeSurroundingUpdate) SetCreatedAt ¶
func (rsu *Rent591HomeSurroundingUpdate) SetCreatedAt(t time.Time) *Rent591HomeSurroundingUpdate
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeSurroundingUpdate) SetDesc ¶
func (rsu *Rent591HomeSurroundingUpdate) SetDesc(s string) *Rent591HomeSurroundingUpdate
SetDesc sets the "desc" field.
func (*Rent591HomeSurroundingUpdate) SetDistance ¶
func (rsu *Rent591HomeSurroundingUpdate) SetDistance(s string) *Rent591HomeSurroundingUpdate
SetDistance sets the "distance" field.
func (*Rent591HomeSurroundingUpdate) SetNillableCreatedAt ¶
func (rsu *Rent591HomeSurroundingUpdate) SetNillableCreatedAt(t *time.Time) *Rent591HomeSurroundingUpdate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeSurroundingUpdate) SetNillableRent591homesID ¶
func (rsu *Rent591HomeSurroundingUpdate) SetNillableRent591homesID(id *int) *Rent591HomeSurroundingUpdate
SetNillableRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID if the given value is not nil.
func (*Rent591HomeSurroundingUpdate) SetRent591homes ¶
func (rsu *Rent591HomeSurroundingUpdate) SetRent591homes(r *Rent591Home) *Rent591HomeSurroundingUpdate
SetRent591homes sets the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeSurroundingUpdate) SetRent591homesID ¶
func (rsu *Rent591HomeSurroundingUpdate) SetRent591homesID(id int) *Rent591HomeSurroundingUpdate
SetRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID.
func (*Rent591HomeSurroundingUpdate) SetType ¶
func (rsu *Rent591HomeSurroundingUpdate) SetType(s string) *Rent591HomeSurroundingUpdate
SetType sets the "type" field.
func (*Rent591HomeSurroundingUpdate) Where ¶
func (rsu *Rent591HomeSurroundingUpdate) Where(ps ...predicate.Rent591HomeSurrounding) *Rent591HomeSurroundingUpdate
Where appends a list predicates to the Rent591HomeSurroundingUpdate builder.
type Rent591HomeSurroundingUpdateOne ¶
type Rent591HomeSurroundingUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingUpdateOne is the builder for updating a single Rent591HomeSurrounding entity.
func (*Rent591HomeSurroundingUpdateOne) ClearRent591homes ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) ClearRent591homes() *Rent591HomeSurroundingUpdateOne
ClearRent591homes clears the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeSurroundingUpdateOne) Exec ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeSurroundingUpdateOne) ExecX ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeSurroundingUpdateOne) Mutation ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) Mutation() *Rent591HomeSurroundingMutation
Mutation returns the Rent591HomeSurroundingMutation object of the builder.
func (*Rent591HomeSurroundingUpdateOne) Save ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) Save(ctx context.Context) (*Rent591HomeSurrounding, error)
Save executes the query and returns the updated Rent591HomeSurrounding entity.
func (*Rent591HomeSurroundingUpdateOne) SaveX ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SaveX(ctx context.Context) *Rent591HomeSurrounding
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeSurroundingUpdateOne) Select ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) Select(field string, fields ...string) *Rent591HomeSurroundingUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeSurroundingUpdateOne) SetCreatedAt ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SetCreatedAt(t time.Time) *Rent591HomeSurroundingUpdateOne
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeSurroundingUpdateOne) SetDesc ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SetDesc(s string) *Rent591HomeSurroundingUpdateOne
SetDesc sets the "desc" field.
func (*Rent591HomeSurroundingUpdateOne) SetDistance ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SetDistance(s string) *Rent591HomeSurroundingUpdateOne
SetDistance sets the "distance" field.
func (*Rent591HomeSurroundingUpdateOne) SetNillableCreatedAt ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SetNillableCreatedAt(t *time.Time) *Rent591HomeSurroundingUpdateOne
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeSurroundingUpdateOne) SetNillableRent591homesID ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SetNillableRent591homesID(id *int) *Rent591HomeSurroundingUpdateOne
SetNillableRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID if the given value is not nil.
func (*Rent591HomeSurroundingUpdateOne) SetRent591homes ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SetRent591homes(r *Rent591Home) *Rent591HomeSurroundingUpdateOne
SetRent591homes sets the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeSurroundingUpdateOne) SetRent591homesID ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SetRent591homesID(id int) *Rent591HomeSurroundingUpdateOne
SetRent591homesID sets the "rent591homes" edge to the Rent591Home entity by ID.
func (*Rent591HomeSurroundingUpdateOne) SetType ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) SetType(s string) *Rent591HomeSurroundingUpdateOne
SetType sets the "type" field.
func (*Rent591HomeSurroundingUpdateOne) Where ¶
func (rsuo *Rent591HomeSurroundingUpdateOne) Where(ps ...predicate.Rent591HomeSurrounding) *Rent591HomeSurroundingUpdateOne
Where appends a list predicates to the Rent591HomeSurroundingUpdate builder.
type Rent591HomeSurroundingUpsert ¶
Rent591HomeSurroundingUpsert is the "OnConflict" setter.
func (*Rent591HomeSurroundingUpsert) SetCreatedAt ¶
func (u *Rent591HomeSurroundingUpsert) SetCreatedAt(v time.Time) *Rent591HomeSurroundingUpsert
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeSurroundingUpsert) SetDesc ¶
func (u *Rent591HomeSurroundingUpsert) SetDesc(v string) *Rent591HomeSurroundingUpsert
SetDesc sets the "desc" field.
func (*Rent591HomeSurroundingUpsert) SetDistance ¶
func (u *Rent591HomeSurroundingUpsert) SetDistance(v string) *Rent591HomeSurroundingUpsert
SetDistance sets the "distance" field.
func (*Rent591HomeSurroundingUpsert) SetType ¶
func (u *Rent591HomeSurroundingUpsert) SetType(v string) *Rent591HomeSurroundingUpsert
SetType sets the "type" field.
func (*Rent591HomeSurroundingUpsert) UpdateCreatedAt ¶
func (u *Rent591HomeSurroundingUpsert) UpdateCreatedAt() *Rent591HomeSurroundingUpsert
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsert) UpdateDesc ¶
func (u *Rent591HomeSurroundingUpsert) UpdateDesc() *Rent591HomeSurroundingUpsert
UpdateDesc sets the "desc" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsert) UpdateDistance ¶
func (u *Rent591HomeSurroundingUpsert) UpdateDistance() *Rent591HomeSurroundingUpsert
UpdateDistance sets the "distance" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsert) UpdateType ¶
func (u *Rent591HomeSurroundingUpsert) UpdateType() *Rent591HomeSurroundingUpsert
UpdateType sets the "type" field to the value that was provided on create.
type Rent591HomeSurroundingUpsertBulk ¶
type Rent591HomeSurroundingUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeSurrounding nodes.
func (*Rent591HomeSurroundingUpsertBulk) DoNothing ¶
func (u *Rent591HomeSurroundingUpsertBulk) DoNothing() *Rent591HomeSurroundingUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeSurroundingUpsertBulk) Exec ¶
func (u *Rent591HomeSurroundingUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeSurroundingUpsertBulk) ExecX ¶
func (u *Rent591HomeSurroundingUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeSurroundingUpsertBulk) Ignore ¶
func (u *Rent591HomeSurroundingUpsertBulk) Ignore() *Rent591HomeSurroundingUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeSurrounding.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeSurroundingUpsertBulk) SetCreatedAt ¶
func (u *Rent591HomeSurroundingUpsertBulk) SetCreatedAt(v time.Time) *Rent591HomeSurroundingUpsertBulk
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeSurroundingUpsertBulk) SetDesc ¶
func (u *Rent591HomeSurroundingUpsertBulk) SetDesc(v string) *Rent591HomeSurroundingUpsertBulk
SetDesc sets the "desc" field.
func (*Rent591HomeSurroundingUpsertBulk) SetDistance ¶
func (u *Rent591HomeSurroundingUpsertBulk) SetDistance(v string) *Rent591HomeSurroundingUpsertBulk
SetDistance sets the "distance" field.
func (*Rent591HomeSurroundingUpsertBulk) SetType ¶
func (u *Rent591HomeSurroundingUpsertBulk) SetType(v string) *Rent591HomeSurroundingUpsertBulk
SetType sets the "type" field.
func (*Rent591HomeSurroundingUpsertBulk) Update ¶
func (u *Rent591HomeSurroundingUpsertBulk) Update(set func(*Rent591HomeSurroundingUpsert)) *Rent591HomeSurroundingUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeSurroundingCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeSurroundingUpsertBulk) UpdateCreatedAt ¶
func (u *Rent591HomeSurroundingUpsertBulk) UpdateCreatedAt() *Rent591HomeSurroundingUpsertBulk
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsertBulk) UpdateDesc ¶
func (u *Rent591HomeSurroundingUpsertBulk) UpdateDesc() *Rent591HomeSurroundingUpsertBulk
UpdateDesc sets the "desc" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsertBulk) UpdateDistance ¶
func (u *Rent591HomeSurroundingUpsertBulk) UpdateDistance() *Rent591HomeSurroundingUpsertBulk
UpdateDistance sets the "distance" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeSurroundingUpsertBulk) UpdateNewValues() *Rent591HomeSurroundingUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeSurrounding.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeSurroundingUpsertBulk) UpdateType ¶
func (u *Rent591HomeSurroundingUpsertBulk) UpdateType() *Rent591HomeSurroundingUpsertBulk
UpdateType sets the "type" field to the value that was provided on create.
type Rent591HomeSurroundingUpsertOne ¶
type Rent591HomeSurroundingUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeSurroundingUpsertOne is the builder for "upsert"-ing
one Rent591HomeSurrounding node.
func (*Rent591HomeSurroundingUpsertOne) DoNothing ¶
func (u *Rent591HomeSurroundingUpsertOne) DoNothing() *Rent591HomeSurroundingUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeSurroundingUpsertOne) Exec ¶
func (u *Rent591HomeSurroundingUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeSurroundingUpsertOne) ExecX ¶
func (u *Rent591HomeSurroundingUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeSurroundingUpsertOne) ID ¶
func (u *Rent591HomeSurroundingUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeSurroundingUpsertOne) IDX ¶
func (u *Rent591HomeSurroundingUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeSurroundingUpsertOne) Ignore ¶
func (u *Rent591HomeSurroundingUpsertOne) Ignore() *Rent591HomeSurroundingUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeSurrounding.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeSurroundingUpsertOne) SetCreatedAt ¶
func (u *Rent591HomeSurroundingUpsertOne) SetCreatedAt(v time.Time) *Rent591HomeSurroundingUpsertOne
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeSurroundingUpsertOne) SetDesc ¶
func (u *Rent591HomeSurroundingUpsertOne) SetDesc(v string) *Rent591HomeSurroundingUpsertOne
SetDesc sets the "desc" field.
func (*Rent591HomeSurroundingUpsertOne) SetDistance ¶
func (u *Rent591HomeSurroundingUpsertOne) SetDistance(v string) *Rent591HomeSurroundingUpsertOne
SetDistance sets the "distance" field.
func (*Rent591HomeSurroundingUpsertOne) SetType ¶
func (u *Rent591HomeSurroundingUpsertOne) SetType(v string) *Rent591HomeSurroundingUpsertOne
SetType sets the "type" field.
func (*Rent591HomeSurroundingUpsertOne) Update ¶
func (u *Rent591HomeSurroundingUpsertOne) Update(set func(*Rent591HomeSurroundingUpsert)) *Rent591HomeSurroundingUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeSurroundingCreate.OnConflict documentation for more info.
func (*Rent591HomeSurroundingUpsertOne) UpdateCreatedAt ¶
func (u *Rent591HomeSurroundingUpsertOne) UpdateCreatedAt() *Rent591HomeSurroundingUpsertOne
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsertOne) UpdateDesc ¶
func (u *Rent591HomeSurroundingUpsertOne) UpdateDesc() *Rent591HomeSurroundingUpsertOne
UpdateDesc sets the "desc" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsertOne) UpdateDistance ¶
func (u *Rent591HomeSurroundingUpsertOne) UpdateDistance() *Rent591HomeSurroundingUpsertOne
UpdateDistance sets the "distance" field to the value that was provided on create.
func (*Rent591HomeSurroundingUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeSurroundingUpsertOne) UpdateNewValues() *Rent591HomeSurroundingUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeSurrounding.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeSurroundingUpsertOne) UpdateType ¶
func (u *Rent591HomeSurroundingUpsertOne) UpdateType() *Rent591HomeSurroundingUpsertOne
UpdateType sets the "type" field to the value that was provided on create.
type Rent591HomeSurroundings ¶
type Rent591HomeSurroundings []*Rent591HomeSurrounding
Rent591HomeSurroundings is a parsable slice of Rent591HomeSurrounding.
type Rent591HomeTag ¶
type Rent591HomeTag struct { // ID of the ent. ID int `json:"id,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the Rent591HomeTagQuery when eager-loading is set. Edges Rent591HomeTagEdges `json:"edges"` // contains filtered or unexported fields }
Rent591HomeTag is the model entity for the Rent591HomeTag schema.
func (*Rent591HomeTag) QueryRent591homes ¶
func (rt *Rent591HomeTag) QueryRent591homes() *Rent591HomeQuery
QueryRent591homes queries the "rent591homes" edge of the Rent591HomeTag entity.
func (*Rent591HomeTag) String ¶
func (rt *Rent591HomeTag) String() string
String implements the fmt.Stringer.
func (*Rent591HomeTag) Unwrap ¶
func (rt *Rent591HomeTag) Unwrap() *Rent591HomeTag
Unwrap unwraps the Rent591HomeTag entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
func (*Rent591HomeTag) Update ¶
func (rt *Rent591HomeTag) Update() *Rent591HomeTagUpdateOne
Update returns a builder for updating this Rent591HomeTag. Note that you need to call Rent591HomeTag.Unwrap() before calling this method if this Rent591HomeTag was returned from a transaction, and the transaction was committed or rolled back.
type Rent591HomeTagClient ¶
type Rent591HomeTagClient struct {
// contains filtered or unexported fields
}
Rent591HomeTagClient is a client for the Rent591HomeTag schema.
func NewRent591HomeTagClient ¶
func NewRent591HomeTagClient(c config) *Rent591HomeTagClient
NewRent591HomeTagClient returns a client for the Rent591HomeTag from the given config.
func (*Rent591HomeTagClient) Create ¶
func (c *Rent591HomeTagClient) Create() *Rent591HomeTagCreate
Create returns a builder for creating a Rent591HomeTag entity.
func (*Rent591HomeTagClient) CreateBulk ¶
func (c *Rent591HomeTagClient) CreateBulk(builders ...*Rent591HomeTagCreate) *Rent591HomeTagCreateBulk
CreateBulk returns a builder for creating a bulk of Rent591HomeTag entities.
func (*Rent591HomeTagClient) Delete ¶
func (c *Rent591HomeTagClient) Delete() *Rent591HomeTagDelete
Delete returns a delete builder for Rent591HomeTag.
func (*Rent591HomeTagClient) DeleteOne ¶
func (c *Rent591HomeTagClient) DeleteOne(rt *Rent591HomeTag) *Rent591HomeTagDeleteOne
DeleteOne returns a builder for deleting the given entity.
func (*Rent591HomeTagClient) DeleteOneID ¶
func (c *Rent591HomeTagClient) DeleteOneID(id int) *Rent591HomeTagDeleteOne
DeleteOneID returns a builder for deleting the given entity by its id.
func (*Rent591HomeTagClient) Get ¶
func (c *Rent591HomeTagClient) Get(ctx context.Context, id int) (*Rent591HomeTag, error)
Get returns a Rent591HomeTag entity by its id.
func (*Rent591HomeTagClient) GetX ¶
func (c *Rent591HomeTagClient) GetX(ctx context.Context, id int) *Rent591HomeTag
GetX is like Get, but panics if an error occurs.
func (*Rent591HomeTagClient) Hooks ¶
func (c *Rent591HomeTagClient) Hooks() []Hook
Hooks returns the client hooks.
func (*Rent591HomeTagClient) Intercept ¶
func (c *Rent591HomeTagClient) Intercept(interceptors ...Interceptor)
Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `rent591hometag.Intercept(f(g(h())))`.
func (*Rent591HomeTagClient) Interceptors ¶
func (c *Rent591HomeTagClient) Interceptors() []Interceptor
Interceptors returns the client interceptors.
func (*Rent591HomeTagClient) Query ¶
func (c *Rent591HomeTagClient) Query() *Rent591HomeTagQuery
Query returns a query builder for Rent591HomeTag.
func (*Rent591HomeTagClient) QueryRent591homes ¶
func (c *Rent591HomeTagClient) QueryRent591homes(rt *Rent591HomeTag) *Rent591HomeQuery
QueryRent591homes queries the rent591homes edge of a Rent591HomeTag.
func (*Rent591HomeTagClient) Update ¶
func (c *Rent591HomeTagClient) Update() *Rent591HomeTagUpdate
Update returns an update builder for Rent591HomeTag.
func (*Rent591HomeTagClient) UpdateOne ¶
func (c *Rent591HomeTagClient) UpdateOne(rt *Rent591HomeTag) *Rent591HomeTagUpdateOne
UpdateOne returns an update builder for the given entity.
func (*Rent591HomeTagClient) UpdateOneID ¶
func (c *Rent591HomeTagClient) UpdateOneID(id int) *Rent591HomeTagUpdateOne
UpdateOneID returns an update builder for the given id.
func (*Rent591HomeTagClient) Use ¶
func (c *Rent591HomeTagClient) Use(hooks ...Hook)
Use adds a list of mutation hooks to the hooks stack. A call to `Use(f, g, h)` equals to `rent591hometag.Hooks(f(g(h())))`.
type Rent591HomeTagCreate ¶
type Rent591HomeTagCreate struct {
// contains filtered or unexported fields
}
Rent591HomeTagCreate is the builder for creating a Rent591HomeTag entity.
func (*Rent591HomeTagCreate) AddRent591homeIDs ¶
func (rtc *Rent591HomeTagCreate) AddRent591homeIDs(ids ...int) *Rent591HomeTagCreate
AddRent591homeIDs adds the "rent591homes" edge to the Rent591Home entity by IDs.
func (*Rent591HomeTagCreate) AddRent591homes ¶
func (rtc *Rent591HomeTagCreate) AddRent591homes(r ...*Rent591Home) *Rent591HomeTagCreate
AddRent591homes adds the "rent591homes" edges to the Rent591Home entity.
func (*Rent591HomeTagCreate) Exec ¶
func (rtc *Rent591HomeTagCreate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeTagCreate) ExecX ¶
func (rtc *Rent591HomeTagCreate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeTagCreate) Mutation ¶
func (rtc *Rent591HomeTagCreate) Mutation() *Rent591HomeTagMutation
Mutation returns the Rent591HomeTagMutation object of the builder.
func (*Rent591HomeTagCreate) OnConflict ¶
func (rtc *Rent591HomeTagCreate) OnConflict(opts ...sql.ConflictOption) *Rent591HomeTagUpsertOne
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeTag.Create(). SetName(v). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeTagUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeTagCreate) OnConflictColumns ¶
func (rtc *Rent591HomeTagCreate) OnConflictColumns(columns ...string) *Rent591HomeTagUpsertOne
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeTag.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeTagCreate) Save ¶
func (rtc *Rent591HomeTagCreate) Save(ctx context.Context) (*Rent591HomeTag, error)
Save creates the Rent591HomeTag in the database.
func (*Rent591HomeTagCreate) SaveX ¶
func (rtc *Rent591HomeTagCreate) SaveX(ctx context.Context) *Rent591HomeTag
SaveX calls Save and panics if Save returns an error.
func (*Rent591HomeTagCreate) SetCreatedAt ¶
func (rtc *Rent591HomeTagCreate) SetCreatedAt(t time.Time) *Rent591HomeTagCreate
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeTagCreate) SetName ¶
func (rtc *Rent591HomeTagCreate) SetName(s string) *Rent591HomeTagCreate
SetName sets the "name" field.
func (*Rent591HomeTagCreate) SetNillableCreatedAt ¶
func (rtc *Rent591HomeTagCreate) SetNillableCreatedAt(t *time.Time) *Rent591HomeTagCreate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
type Rent591HomeTagCreateBulk ¶
type Rent591HomeTagCreateBulk struct {
// contains filtered or unexported fields
}
Rent591HomeTagCreateBulk is the builder for creating many Rent591HomeTag entities in bulk.
func (*Rent591HomeTagCreateBulk) Exec ¶
func (rtcb *Rent591HomeTagCreateBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeTagCreateBulk) ExecX ¶
func (rtcb *Rent591HomeTagCreateBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeTagCreateBulk) OnConflict ¶
func (rtcb *Rent591HomeTagCreateBulk) OnConflict(opts ...sql.ConflictOption) *Rent591HomeTagUpsertBulk
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example:
client.Rent591HomeTag.CreateBulk(builders...). OnConflict( // Update the row with the new values // the was proposed for insertion. sql.ResolveWithNewValues(), ). // Override some of the fields with custom // update values. Update(func(u *ent.Rent591HomeTagUpsert) { SetName(v+v). }). Exec(ctx)
func (*Rent591HomeTagCreateBulk) OnConflictColumns ¶
func (rtcb *Rent591HomeTagCreateBulk) OnConflictColumns(columns ...string) *Rent591HomeTagUpsertBulk
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using:
client.Rent591HomeTag.Create(). OnConflict(sql.ConflictColumns(columns...)). Exec(ctx)
func (*Rent591HomeTagCreateBulk) Save ¶
func (rtcb *Rent591HomeTagCreateBulk) Save(ctx context.Context) ([]*Rent591HomeTag, error)
Save creates the Rent591HomeTag entities in the database.
func (*Rent591HomeTagCreateBulk) SaveX ¶
func (rtcb *Rent591HomeTagCreateBulk) SaveX(ctx context.Context) []*Rent591HomeTag
SaveX is like Save, but panics if an error occurs.
type Rent591HomeTagDelete ¶
type Rent591HomeTagDelete struct {
// contains filtered or unexported fields
}
Rent591HomeTagDelete is the builder for deleting a Rent591HomeTag entity.
func (*Rent591HomeTagDelete) Exec ¶
func (rtd *Rent591HomeTagDelete) Exec(ctx context.Context) (int, error)
Exec executes the deletion query and returns how many vertices were deleted.
func (*Rent591HomeTagDelete) ExecX ¶
func (rtd *Rent591HomeTagDelete) ExecX(ctx context.Context) int
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeTagDelete) Where ¶
func (rtd *Rent591HomeTagDelete) Where(ps ...predicate.Rent591HomeTag) *Rent591HomeTagDelete
Where appends a list predicates to the Rent591HomeTagDelete builder.
type Rent591HomeTagDeleteOne ¶
type Rent591HomeTagDeleteOne struct {
// contains filtered or unexported fields
}
Rent591HomeTagDeleteOne is the builder for deleting a single Rent591HomeTag entity.
func (*Rent591HomeTagDeleteOne) Exec ¶
func (rtdo *Rent591HomeTagDeleteOne) Exec(ctx context.Context) error
Exec executes the deletion query.
func (*Rent591HomeTagDeleteOne) ExecX ¶
func (rtdo *Rent591HomeTagDeleteOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeTagDeleteOne) Where ¶
func (rtdo *Rent591HomeTagDeleteOne) Where(ps ...predicate.Rent591HomeTag) *Rent591HomeTagDeleteOne
Where appends a list predicates to the Rent591HomeTagDelete builder.
type Rent591HomeTagEdges ¶
type Rent591HomeTagEdges struct { // Rent591homes holds the value of the rent591homes edge. Rent591homes []*Rent591Home `json:"rent591homes,omitempty"` // contains filtered or unexported fields }
Rent591HomeTagEdges holds the relations/edges for other nodes in the graph.
func (Rent591HomeTagEdges) Rent591homesOrErr ¶
func (e Rent591HomeTagEdges) Rent591homesOrErr() ([]*Rent591Home, error)
Rent591homesOrErr returns the Rent591homes value or an error if the edge was not loaded in eager-loading.
type Rent591HomeTagGroupBy ¶
type Rent591HomeTagGroupBy struct {
// contains filtered or unexported fields
}
Rent591HomeTagGroupBy is the group-by builder for Rent591HomeTag entities.
func (*Rent591HomeTagGroupBy) Aggregate ¶
func (rtgb *Rent591HomeTagGroupBy) Aggregate(fns ...AggregateFunc) *Rent591HomeTagGroupBy
Aggregate adds the given aggregation functions to the group-by query.
func (*Rent591HomeTagGroupBy) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagGroupBy) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagGroupBy) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagGroupBy) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagGroupBy) Float64sX ¶
Float64sX is like Float64s, but panics if an error occurs.
func (*Rent591HomeTagGroupBy) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagGroupBy) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagGroupBy) Scan ¶
func (rtgb *Rent591HomeTagGroupBy) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeTagGroupBy) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type Rent591HomeTagMutation ¶
type Rent591HomeTagMutation struct {
// contains filtered or unexported fields
}
Rent591HomeTagMutation represents an operation that mutates the Rent591HomeTag nodes in the graph.
func (*Rent591HomeTagMutation) AddField ¶
func (m *Rent591HomeTagMutation) AddField(name string, value ent.Value) error
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeTagMutation) AddRent591homeIDs ¶
func (m *Rent591HomeTagMutation) AddRent591homeIDs(ids ...int)
AddRent591homeIDs adds the "rent591homes" edge to the Rent591Home entity by ids.
func (*Rent591HomeTagMutation) AddedEdges ¶
func (m *Rent591HomeTagMutation) AddedEdges() []string
AddedEdges returns all edge names that were set/added in this mutation.
func (*Rent591HomeTagMutation) AddedField ¶
func (m *Rent591HomeTagMutation) AddedField(name string) (ent.Value, bool)
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeTagMutation) AddedFields ¶
func (m *Rent591HomeTagMutation) AddedFields() []string
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
func (*Rent591HomeTagMutation) AddedIDs ¶
func (m *Rent591HomeTagMutation) AddedIDs(name string) []ent.Value
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
func (*Rent591HomeTagMutation) ClearEdge ¶
func (m *Rent591HomeTagMutation) ClearEdge(name string) error
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
func (*Rent591HomeTagMutation) ClearField ¶
func (m *Rent591HomeTagMutation) ClearField(name string) error
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeTagMutation) ClearRent591homes ¶
func (m *Rent591HomeTagMutation) ClearRent591homes()
ClearRent591homes clears the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeTagMutation) ClearedEdges ¶
func (m *Rent591HomeTagMutation) ClearedEdges() []string
ClearedEdges returns all edge names that were cleared in this mutation.
func (*Rent591HomeTagMutation) ClearedFields ¶
func (m *Rent591HomeTagMutation) ClearedFields() []string
ClearedFields returns all nullable fields that were cleared during this mutation.
func (Rent591HomeTagMutation) Client ¶
func (m Rent591HomeTagMutation) Client() *Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
func (*Rent591HomeTagMutation) CreatedAt ¶
func (m *Rent591HomeTagMutation) CreatedAt() (r time.Time, exists bool)
CreatedAt returns the value of the "created_at" field in the mutation.
func (*Rent591HomeTagMutation) EdgeCleared ¶
func (m *Rent591HomeTagMutation) EdgeCleared(name string) bool
EdgeCleared returns a boolean which indicates if the edge with the given name was cleared in this mutation.
func (*Rent591HomeTagMutation) Field ¶
func (m *Rent591HomeTagMutation) Field(name string) (ent.Value, bool)
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in the schema.
func (*Rent591HomeTagMutation) FieldCleared ¶
func (m *Rent591HomeTagMutation) FieldCleared(name string) bool
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
func (*Rent591HomeTagMutation) Fields ¶
func (m *Rent591HomeTagMutation) Fields() []string
Fields returns all fields that were changed during this mutation. Note that in order to get all numeric fields that were incremented/decremented, call AddedFields().
func (*Rent591HomeTagMutation) ID ¶
func (m *Rent591HomeTagMutation) ID() (id int, exists bool)
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
func (*Rent591HomeTagMutation) IDs ¶
func (m *Rent591HomeTagMutation) IDs(ctx context.Context) ([]int, error)
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction with an isolation level such as sql.LevelSerializable, the returned ids match the ids of the rows that will be updated or updated by the mutation.
func (*Rent591HomeTagMutation) Name ¶
func (m *Rent591HomeTagMutation) Name() (r string, exists bool)
Name returns the value of the "name" field in the mutation.
func (*Rent591HomeTagMutation) OldCreatedAt ¶
OldCreatedAt returns the old "created_at" field's value of the Rent591HomeTag entity. If the Rent591HomeTag object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeTagMutation) OldField ¶
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the database failed.
func (*Rent591HomeTagMutation) OldName ¶
func (m *Rent591HomeTagMutation) OldName(ctx context.Context) (v string, err error)
OldName returns the old "name" field's value of the Rent591HomeTag entity. If the Rent591HomeTag object wasn't provided to the builder, the object is fetched from the database. An error is returned if the mutation operation is not UpdateOne, or the database query fails.
func (*Rent591HomeTagMutation) Op ¶
func (m *Rent591HomeTagMutation) Op() Op
Op returns the operation name.
func (*Rent591HomeTagMutation) RemoveRent591homeIDs ¶
func (m *Rent591HomeTagMutation) RemoveRent591homeIDs(ids ...int)
RemoveRent591homeIDs removes the "rent591homes" edge to the Rent591Home entity by IDs.
func (*Rent591HomeTagMutation) RemovedEdges ¶
func (m *Rent591HomeTagMutation) RemovedEdges() []string
RemovedEdges returns all edge names that were removed in this mutation.
func (*Rent591HomeTagMutation) RemovedIDs ¶
func (m *Rent591HomeTagMutation) RemovedIDs(name string) []ent.Value
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
func (*Rent591HomeTagMutation) RemovedRent591homesIDs ¶
func (m *Rent591HomeTagMutation) RemovedRent591homesIDs() (ids []int)
RemovedRent591homes returns the removed IDs of the "rent591homes" edge to the Rent591Home entity.
func (*Rent591HomeTagMutation) Rent591homesCleared ¶
func (m *Rent591HomeTagMutation) Rent591homesCleared() bool
Rent591homesCleared reports if the "rent591homes" edge to the Rent591Home entity was cleared.
func (*Rent591HomeTagMutation) Rent591homesIDs ¶
func (m *Rent591HomeTagMutation) Rent591homesIDs() (ids []int)
Rent591homesIDs returns the "rent591homes" edge IDs in the mutation.
func (*Rent591HomeTagMutation) ResetCreatedAt ¶
func (m *Rent591HomeTagMutation) ResetCreatedAt()
ResetCreatedAt resets all changes to the "created_at" field.
func (*Rent591HomeTagMutation) ResetEdge ¶
func (m *Rent591HomeTagMutation) ResetEdge(name string) error
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
func (*Rent591HomeTagMutation) ResetField ¶
func (m *Rent591HomeTagMutation) ResetField(name string) error
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
func (*Rent591HomeTagMutation) ResetName ¶
func (m *Rent591HomeTagMutation) ResetName()
ResetName resets all changes to the "name" field.
func (*Rent591HomeTagMutation) ResetRent591homes ¶
func (m *Rent591HomeTagMutation) ResetRent591homes()
ResetRent591homes resets all changes to the "rent591homes" edge.
func (*Rent591HomeTagMutation) SetCreatedAt ¶
func (m *Rent591HomeTagMutation) SetCreatedAt(t time.Time)
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeTagMutation) SetField ¶
func (m *Rent591HomeTagMutation) SetField(name string, value ent.Value) error
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the field type.
func (*Rent591HomeTagMutation) SetName ¶
func (m *Rent591HomeTagMutation) SetName(s string)
SetName sets the "name" field.
func (*Rent591HomeTagMutation) SetOp ¶
func (m *Rent591HomeTagMutation) SetOp(op Op)
SetOp allows setting the mutation operation.
func (Rent591HomeTagMutation) Tx ¶
func (m Rent591HomeTagMutation) Tx() (*Tx, error)
Tx returns an `ent.Tx` for mutations that were executed in transactions; it returns an error otherwise.
func (*Rent591HomeTagMutation) Type ¶
func (m *Rent591HomeTagMutation) Type() string
Type returns the node type of this mutation (Rent591HomeTag).
func (*Rent591HomeTagMutation) Where ¶
func (m *Rent591HomeTagMutation) Where(ps ...predicate.Rent591HomeTag)
Where appends a list predicates to the Rent591HomeTagMutation builder.
func (*Rent591HomeTagMutation) WhereP ¶
func (m *Rent591HomeTagMutation) WhereP(ps ...func(*sql.Selector))
WhereP appends storage-level predicates to the Rent591HomeTagMutation builder. Using this method, users can use type-assertion to append predicates that do not depend on any generated package.
type Rent591HomeTagQuery ¶
type Rent591HomeTagQuery struct {
// contains filtered or unexported fields
}
Rent591HomeTagQuery is the builder for querying Rent591HomeTag entities.
func (*Rent591HomeTagQuery) Aggregate ¶
func (rtq *Rent591HomeTagQuery) Aggregate(fns ...AggregateFunc) *Rent591HomeTagSelect
Aggregate returns a Rent591HomeTagSelect configured with the given aggregations.
func (*Rent591HomeTagQuery) All ¶
func (rtq *Rent591HomeTagQuery) All(ctx context.Context) ([]*Rent591HomeTag, error)
All executes the query and returns a list of Rent591HomeTags.
func (*Rent591HomeTagQuery) AllX ¶
func (rtq *Rent591HomeTagQuery) AllX(ctx context.Context) []*Rent591HomeTag
AllX is like All, but panics if an error occurs.
func (*Rent591HomeTagQuery) Clone ¶
func (rtq *Rent591HomeTagQuery) Clone() *Rent591HomeTagQuery
Clone returns a duplicate of the Rent591HomeTagQuery builder, including all associated steps. It can be used to prepare common query builders and use them differently after the clone is made.
func (*Rent591HomeTagQuery) Count ¶
func (rtq *Rent591HomeTagQuery) Count(ctx context.Context) (int, error)
Count returns the count of the given query.
func (*Rent591HomeTagQuery) CountX ¶
func (rtq *Rent591HomeTagQuery) CountX(ctx context.Context) int
CountX is like Count, but panics if an error occurs.
func (*Rent591HomeTagQuery) Exist ¶
func (rtq *Rent591HomeTagQuery) Exist(ctx context.Context) (bool, error)
Exist returns true if the query has elements in the graph.
func (*Rent591HomeTagQuery) ExistX ¶
func (rtq *Rent591HomeTagQuery) ExistX(ctx context.Context) bool
ExistX is like Exist, but panics if an error occurs.
func (*Rent591HomeTagQuery) First ¶
func (rtq *Rent591HomeTagQuery) First(ctx context.Context) (*Rent591HomeTag, error)
First returns the first Rent591HomeTag entity from the query. Returns a *NotFoundError when no Rent591HomeTag was found.
func (*Rent591HomeTagQuery) FirstID ¶
func (rtq *Rent591HomeTagQuery) FirstID(ctx context.Context) (id int, err error)
FirstID returns the first Rent591HomeTag ID from the query. Returns a *NotFoundError when no Rent591HomeTag ID was found.
func (*Rent591HomeTagQuery) FirstIDX ¶
func (rtq *Rent591HomeTagQuery) FirstIDX(ctx context.Context) int
FirstIDX is like FirstID, but panics if an error occurs.
func (*Rent591HomeTagQuery) FirstX ¶
func (rtq *Rent591HomeTagQuery) FirstX(ctx context.Context) *Rent591HomeTag
FirstX is like First, but panics if an error occurs.
func (*Rent591HomeTagQuery) GroupBy ¶
func (rtq *Rent591HomeTagQuery) GroupBy(field string, fields ...string) *Rent591HomeTagGroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum.
Example:
var v []struct { Name string `json:"name,omitempty"` Count int `json:"count,omitempty"` } client.Rent591HomeTag.Query(). GroupBy(rent591hometag.FieldName). Aggregate(ent.Count()). Scan(ctx, &v)
func (*Rent591HomeTagQuery) IDs ¶
func (rtq *Rent591HomeTagQuery) IDs(ctx context.Context) (ids []int, err error)
IDs executes the query and returns a list of Rent591HomeTag IDs.
func (*Rent591HomeTagQuery) IDsX ¶
func (rtq *Rent591HomeTagQuery) IDsX(ctx context.Context) []int
IDsX is like IDs, but panics if an error occurs.
func (*Rent591HomeTagQuery) Limit ¶
func (rtq *Rent591HomeTagQuery) Limit(limit int) *Rent591HomeTagQuery
Limit the number of records to be returned by this query.
func (*Rent591HomeTagQuery) Offset ¶
func (rtq *Rent591HomeTagQuery) Offset(offset int) *Rent591HomeTagQuery
Offset to start from.
func (*Rent591HomeTagQuery) Only ¶
func (rtq *Rent591HomeTagQuery) Only(ctx context.Context) (*Rent591HomeTag, error)
Only returns a single Rent591HomeTag entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Rent591HomeTag entity is found. Returns a *NotFoundError when no Rent591HomeTag entities are found.
func (*Rent591HomeTagQuery) OnlyID ¶
func (rtq *Rent591HomeTagQuery) OnlyID(ctx context.Context) (id int, err error)
OnlyID is like Only, but returns the only Rent591HomeTag ID in the query. Returns a *NotSingularError when more than one Rent591HomeTag ID is found. Returns a *NotFoundError when no entities are found.
func (*Rent591HomeTagQuery) OnlyIDX ¶
func (rtq *Rent591HomeTagQuery) OnlyIDX(ctx context.Context) int
OnlyIDX is like OnlyID, but panics if an error occurs.
func (*Rent591HomeTagQuery) OnlyX ¶
func (rtq *Rent591HomeTagQuery) OnlyX(ctx context.Context) *Rent591HomeTag
OnlyX is like Only, but panics if an error occurs.
func (*Rent591HomeTagQuery) Order ¶
func (rtq *Rent591HomeTagQuery) Order(o ...rent591hometag.OrderOption) *Rent591HomeTagQuery
Order specifies how the records should be ordered.
func (*Rent591HomeTagQuery) QueryRent591homes ¶
func (rtq *Rent591HomeTagQuery) QueryRent591homes() *Rent591HomeQuery
QueryRent591homes chains the current query on the "rent591homes" edge.
func (*Rent591HomeTagQuery) Select ¶
func (rtq *Rent591HomeTagQuery) Select(fields ...string) *Rent591HomeTagSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity.
Example:
var v []struct { Name string `json:"name,omitempty"` } client.Rent591HomeTag.Query(). Select(rent591hometag.FieldName). Scan(ctx, &v)
func (*Rent591HomeTagQuery) Unique ¶
func (rtq *Rent591HomeTagQuery) Unique(unique bool) *Rent591HomeTagQuery
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
func (*Rent591HomeTagQuery) Where ¶
func (rtq *Rent591HomeTagQuery) Where(ps ...predicate.Rent591HomeTag) *Rent591HomeTagQuery
Where adds a new predicate for the Rent591HomeTagQuery builder.
func (*Rent591HomeTagQuery) WithRent591homes ¶
func (rtq *Rent591HomeTagQuery) WithRent591homes(opts ...func(*Rent591HomeQuery)) *Rent591HomeTagQuery
WithRent591homes tells the query-builder to eager-load the nodes that are connected to the "rent591homes" edge. The optional arguments are used to configure the query builder of the edge.
type Rent591HomeTagSelect ¶
type Rent591HomeTagSelect struct { *Rent591HomeTagQuery // contains filtered or unexported fields }
Rent591HomeTagSelect is the builder for selecting fields of Rent591HomeTag entities.
func (*Rent591HomeTagSelect) Aggregate ¶
func (rts *Rent591HomeTagSelect) Aggregate(fns ...AggregateFunc) *Rent591HomeTagSelect
Aggregate adds the given aggregation functions to the selector query.
func (*Rent591HomeTagSelect) Bool ¶
Bool returns a single bool from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagSelect) Bools ¶
Bools returns list of bools from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagSelect) Float64 ¶
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagSelect) Float64s ¶
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagSelect) Int ¶
Int returns a single int from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagSelect) Ints ¶
Ints returns list of ints from a selector. It is only allowed when selecting one field.
func (*Rent591HomeTagSelect) Scan ¶
func (rts *Rent591HomeTagSelect) Scan(ctx context.Context, v any) error
Scan applies the selector query and scans the result into the given value.
func (*Rent591HomeTagSelect) String ¶
String returns a single string from a selector. It is only allowed when selecting one field.
type Rent591HomeTagUpdate ¶
type Rent591HomeTagUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeTagUpdate is the builder for updating Rent591HomeTag entities.
func (*Rent591HomeTagUpdate) AddRent591homeIDs ¶
func (rtu *Rent591HomeTagUpdate) AddRent591homeIDs(ids ...int) *Rent591HomeTagUpdate
AddRent591homeIDs adds the "rent591homes" edge to the Rent591Home entity by IDs.
func (*Rent591HomeTagUpdate) AddRent591homes ¶
func (rtu *Rent591HomeTagUpdate) AddRent591homes(r ...*Rent591Home) *Rent591HomeTagUpdate
AddRent591homes adds the "rent591homes" edges to the Rent591Home entity.
func (*Rent591HomeTagUpdate) ClearRent591homes ¶
func (rtu *Rent591HomeTagUpdate) ClearRent591homes() *Rent591HomeTagUpdate
ClearRent591homes clears all "rent591homes" edges to the Rent591Home entity.
func (*Rent591HomeTagUpdate) Exec ¶
func (rtu *Rent591HomeTagUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeTagUpdate) ExecX ¶
func (rtu *Rent591HomeTagUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeTagUpdate) Mutation ¶
func (rtu *Rent591HomeTagUpdate) Mutation() *Rent591HomeTagMutation
Mutation returns the Rent591HomeTagMutation object of the builder.
func (*Rent591HomeTagUpdate) RemoveRent591homeIDs ¶
func (rtu *Rent591HomeTagUpdate) RemoveRent591homeIDs(ids ...int) *Rent591HomeTagUpdate
RemoveRent591homeIDs removes the "rent591homes" edge to Rent591Home entities by IDs.
func (*Rent591HomeTagUpdate) RemoveRent591homes ¶
func (rtu *Rent591HomeTagUpdate) RemoveRent591homes(r ...*Rent591Home) *Rent591HomeTagUpdate
RemoveRent591homes removes "rent591homes" edges to Rent591Home entities.
func (*Rent591HomeTagUpdate) Save ¶
func (rtu *Rent591HomeTagUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeTagUpdate) SaveX ¶
func (rtu *Rent591HomeTagUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeTagUpdate) SetCreatedAt ¶
func (rtu *Rent591HomeTagUpdate) SetCreatedAt(t time.Time) *Rent591HomeTagUpdate
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeTagUpdate) SetName ¶
func (rtu *Rent591HomeTagUpdate) SetName(s string) *Rent591HomeTagUpdate
SetName sets the "name" field.
func (*Rent591HomeTagUpdate) SetNillableCreatedAt ¶
func (rtu *Rent591HomeTagUpdate) SetNillableCreatedAt(t *time.Time) *Rent591HomeTagUpdate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeTagUpdate) Where ¶
func (rtu *Rent591HomeTagUpdate) Where(ps ...predicate.Rent591HomeTag) *Rent591HomeTagUpdate
Where appends a list predicates to the Rent591HomeTagUpdate builder.
type Rent591HomeTagUpdateOne ¶
type Rent591HomeTagUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeTagUpdateOne is the builder for updating a single Rent591HomeTag entity.
func (*Rent591HomeTagUpdateOne) AddRent591homeIDs ¶
func (rtuo *Rent591HomeTagUpdateOne) AddRent591homeIDs(ids ...int) *Rent591HomeTagUpdateOne
AddRent591homeIDs adds the "rent591homes" edge to the Rent591Home entity by IDs.
func (*Rent591HomeTagUpdateOne) AddRent591homes ¶
func (rtuo *Rent591HomeTagUpdateOne) AddRent591homes(r ...*Rent591Home) *Rent591HomeTagUpdateOne
AddRent591homes adds the "rent591homes" edges to the Rent591Home entity.
func (*Rent591HomeTagUpdateOne) ClearRent591homes ¶
func (rtuo *Rent591HomeTagUpdateOne) ClearRent591homes() *Rent591HomeTagUpdateOne
ClearRent591homes clears all "rent591homes" edges to the Rent591Home entity.
func (*Rent591HomeTagUpdateOne) Exec ¶
func (rtuo *Rent591HomeTagUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeTagUpdateOne) ExecX ¶
func (rtuo *Rent591HomeTagUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeTagUpdateOne) Mutation ¶
func (rtuo *Rent591HomeTagUpdateOne) Mutation() *Rent591HomeTagMutation
Mutation returns the Rent591HomeTagMutation object of the builder.
func (*Rent591HomeTagUpdateOne) RemoveRent591homeIDs ¶
func (rtuo *Rent591HomeTagUpdateOne) RemoveRent591homeIDs(ids ...int) *Rent591HomeTagUpdateOne
RemoveRent591homeIDs removes the "rent591homes" edge to Rent591Home entities by IDs.
func (*Rent591HomeTagUpdateOne) RemoveRent591homes ¶
func (rtuo *Rent591HomeTagUpdateOne) RemoveRent591homes(r ...*Rent591Home) *Rent591HomeTagUpdateOne
RemoveRent591homes removes "rent591homes" edges to Rent591Home entities.
func (*Rent591HomeTagUpdateOne) Save ¶
func (rtuo *Rent591HomeTagUpdateOne) Save(ctx context.Context) (*Rent591HomeTag, error)
Save executes the query and returns the updated Rent591HomeTag entity.
func (*Rent591HomeTagUpdateOne) SaveX ¶
func (rtuo *Rent591HomeTagUpdateOne) SaveX(ctx context.Context) *Rent591HomeTag
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeTagUpdateOne) Select ¶
func (rtuo *Rent591HomeTagUpdateOne) Select(field string, fields ...string) *Rent591HomeTagUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeTagUpdateOne) SetCreatedAt ¶
func (rtuo *Rent591HomeTagUpdateOne) SetCreatedAt(t time.Time) *Rent591HomeTagUpdateOne
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeTagUpdateOne) SetName ¶
func (rtuo *Rent591HomeTagUpdateOne) SetName(s string) *Rent591HomeTagUpdateOne
SetName sets the "name" field.
func (*Rent591HomeTagUpdateOne) SetNillableCreatedAt ¶
func (rtuo *Rent591HomeTagUpdateOne) SetNillableCreatedAt(t *time.Time) *Rent591HomeTagUpdateOne
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeTagUpdateOne) Where ¶
func (rtuo *Rent591HomeTagUpdateOne) Where(ps ...predicate.Rent591HomeTag) *Rent591HomeTagUpdateOne
Where appends a list predicates to the Rent591HomeTagUpdate builder.
type Rent591HomeTagUpsert ¶
Rent591HomeTagUpsert is the "OnConflict" setter.
func (*Rent591HomeTagUpsert) SetCreatedAt ¶
func (u *Rent591HomeTagUpsert) SetCreatedAt(v time.Time) *Rent591HomeTagUpsert
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeTagUpsert) SetName ¶
func (u *Rent591HomeTagUpsert) SetName(v string) *Rent591HomeTagUpsert
SetName sets the "name" field.
func (*Rent591HomeTagUpsert) UpdateCreatedAt ¶
func (u *Rent591HomeTagUpsert) UpdateCreatedAt() *Rent591HomeTagUpsert
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeTagUpsert) UpdateName ¶
func (u *Rent591HomeTagUpsert) UpdateName() *Rent591HomeTagUpsert
UpdateName sets the "name" field to the value that was provided on create.
type Rent591HomeTagUpsertBulk ¶
type Rent591HomeTagUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeTagUpsertBulk is the builder for "upsert"-ing a bulk of Rent591HomeTag nodes.
func (*Rent591HomeTagUpsertBulk) DoNothing ¶
func (u *Rent591HomeTagUpsertBulk) DoNothing() *Rent591HomeTagUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeTagUpsertBulk) Exec ¶
func (u *Rent591HomeTagUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeTagUpsertBulk) ExecX ¶
func (u *Rent591HomeTagUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeTagUpsertBulk) Ignore ¶
func (u *Rent591HomeTagUpsertBulk) Ignore() *Rent591HomeTagUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeTag.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeTagUpsertBulk) SetCreatedAt ¶
func (u *Rent591HomeTagUpsertBulk) SetCreatedAt(v time.Time) *Rent591HomeTagUpsertBulk
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeTagUpsertBulk) SetName ¶
func (u *Rent591HomeTagUpsertBulk) SetName(v string) *Rent591HomeTagUpsertBulk
SetName sets the "name" field.
func (*Rent591HomeTagUpsertBulk) Update ¶
func (u *Rent591HomeTagUpsertBulk) Update(set func(*Rent591HomeTagUpsert)) *Rent591HomeTagUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeTagCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeTagUpsertBulk) UpdateCreatedAt ¶
func (u *Rent591HomeTagUpsertBulk) UpdateCreatedAt() *Rent591HomeTagUpsertBulk
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeTagUpsertBulk) UpdateName ¶
func (u *Rent591HomeTagUpsertBulk) UpdateName() *Rent591HomeTagUpsertBulk
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeTagUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeTagUpsertBulk) UpdateNewValues() *Rent591HomeTagUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeTag.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
type Rent591HomeTagUpsertOne ¶
type Rent591HomeTagUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeTagUpsertOne is the builder for "upsert"-ing
one Rent591HomeTag node.
func (*Rent591HomeTagUpsertOne) DoNothing ¶
func (u *Rent591HomeTagUpsertOne) DoNothing() *Rent591HomeTagUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeTagUpsertOne) Exec ¶
func (u *Rent591HomeTagUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeTagUpsertOne) ExecX ¶
func (u *Rent591HomeTagUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeTagUpsertOne) ID ¶
func (u *Rent591HomeTagUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeTagUpsertOne) IDX ¶
func (u *Rent591HomeTagUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeTagUpsertOne) Ignore ¶
func (u *Rent591HomeTagUpsertOne) Ignore() *Rent591HomeTagUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591HomeTag.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeTagUpsertOne) SetCreatedAt ¶
func (u *Rent591HomeTagUpsertOne) SetCreatedAt(v time.Time) *Rent591HomeTagUpsertOne
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeTagUpsertOne) SetName ¶
func (u *Rent591HomeTagUpsertOne) SetName(v string) *Rent591HomeTagUpsertOne
SetName sets the "name" field.
func (*Rent591HomeTagUpsertOne) Update ¶
func (u *Rent591HomeTagUpsertOne) Update(set func(*Rent591HomeTagUpsert)) *Rent591HomeTagUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeTagCreate.OnConflict documentation for more info.
func (*Rent591HomeTagUpsertOne) UpdateCreatedAt ¶
func (u *Rent591HomeTagUpsertOne) UpdateCreatedAt() *Rent591HomeTagUpsertOne
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeTagUpsertOne) UpdateName ¶
func (u *Rent591HomeTagUpsertOne) UpdateName() *Rent591HomeTagUpsertOne
UpdateName sets the "name" field to the value that was provided on create.
func (*Rent591HomeTagUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeTagUpsertOne) UpdateNewValues() *Rent591HomeTagUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591HomeTag.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
type Rent591HomeTags ¶
type Rent591HomeTags []*Rent591HomeTag
Rent591HomeTags is a parsable slice of Rent591HomeTag.
type Rent591HomeUpdate ¶
type Rent591HomeUpdate struct {
// contains filtered or unexported fields
}
Rent591HomeUpdate is the builder for updating Rent591Home entities.
func (*Rent591HomeUpdate) AddCasesID ¶
func (ru *Rent591HomeUpdate) AddCasesID(i int) *Rent591HomeUpdate
AddCasesID adds i to the "cases_id" field.
func (*Rent591HomeUpdate) AddCid ¶
func (ru *Rent591HomeUpdate) AddCid(i int) *Rent591HomeUpdate
AddCid adds i to the "cid" field.
func (*Rent591HomeUpdate) AddHurry ¶
func (ru *Rent591HomeUpdate) AddHurry(i int) *Rent591HomeUpdate
AddHurry adds i to the "hurry" field.
func (*Rent591HomeUpdate) AddIsCombine ¶
func (ru *Rent591HomeUpdate) AddIsCombine(i int) *Rent591HomeUpdate
AddIsCombine adds i to the "is_combine" field.
func (*Rent591HomeUpdate) AddIsSocial ¶
func (ru *Rent591HomeUpdate) AddIsSocial(i int) *Rent591HomeUpdate
AddIsSocial adds i to the "is_social" field.
func (*Rent591HomeUpdate) AddIsVideo ¶
func (ru *Rent591HomeUpdate) AddIsVideo(i int) *Rent591HomeUpdate
AddIsVideo adds i to the "is_video" field.
func (*Rent591HomeUpdate) AddIsVip ¶
func (ru *Rent591HomeUpdate) AddIsVip(i int) *Rent591HomeUpdate
AddIsVip adds i to the "is_vip" field.
func (*Rent591HomeUpdate) AddPostID ¶
func (ru *Rent591HomeUpdate) AddPostID(i int) *Rent591HomeUpdate
AddPostID adds i to the "post_id" field.
func (*Rent591HomeUpdate) AddPreferred ¶
func (ru *Rent591HomeUpdate) AddPreferred(i int) *Rent591HomeUpdate
AddPreferred adds i to the "preferred" field.
func (*Rent591HomeUpdate) AddPrice ¶
func (ru *Rent591HomeUpdate) AddPrice(i int) *Rent591HomeUpdate
AddPrice adds i to the "price" field.
func (*Rent591HomeUpdate) AddRent591homeTagIDs ¶
func (ru *Rent591HomeUpdate) AddRent591homeTagIDs(ids ...int) *Rent591HomeUpdate
AddRent591homeTagIDs adds the "rent591home_tags" edge to the Rent591HomeTag entity by IDs.
func (*Rent591HomeUpdate) AddRent591homeTags ¶
func (ru *Rent591HomeUpdate) AddRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeUpdate
AddRent591homeTags adds the "rent591home_tags" edges to the Rent591HomeTag entity.
func (*Rent591HomeUpdate) AddType ¶
func (ru *Rent591HomeUpdate) AddType(i int) *Rent591HomeUpdate
AddType adds i to the "type" field.
func (*Rent591HomeUpdate) AddYesterdayHit ¶
func (ru *Rent591HomeUpdate) AddYesterdayHit(i int) *Rent591HomeUpdate
AddYesterdayHit adds i to the "yesterday_hit" field.
func (*Rent591HomeUpdate) AppendPhotoList ¶
func (ru *Rent591HomeUpdate) AppendPhotoList(s []string) *Rent591HomeUpdate
AppendPhotoList appends s to the "photo_list" field.
func (*Rent591HomeUpdate) ClearPhotoList ¶
func (ru *Rent591HomeUpdate) ClearPhotoList() *Rent591HomeUpdate
ClearPhotoList clears the value of the "photo_list" field.
func (*Rent591HomeUpdate) ClearRegionName ¶
func (ru *Rent591HomeUpdate) ClearRegionName() *Rent591HomeUpdate
ClearRegionName clears the value of the "region_name" field.
func (*Rent591HomeUpdate) ClearRent591homeDetails ¶
func (ru *Rent591HomeUpdate) ClearRent591homeDetails() *Rent591HomeUpdate
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeUpdate) ClearRent591homeSurroundings ¶
func (ru *Rent591HomeUpdate) ClearRent591homeSurroundings() *Rent591HomeUpdate
ClearRent591homeSurroundings clears the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity.
func (*Rent591HomeUpdate) ClearRent591homeTags ¶
func (ru *Rent591HomeUpdate) ClearRent591homeTags() *Rent591HomeUpdate
ClearRent591homeTags clears all "rent591home_tags" edges to the Rent591HomeTag entity.
func (*Rent591HomeUpdate) Exec ¶
func (ru *Rent591HomeUpdate) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeUpdate) ExecX ¶
func (ru *Rent591HomeUpdate) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeUpdate) Mutation ¶
func (ru *Rent591HomeUpdate) Mutation() *Rent591HomeMutation
Mutation returns the Rent591HomeMutation object of the builder.
func (*Rent591HomeUpdate) RemoveRent591homeTagIDs ¶
func (ru *Rent591HomeUpdate) RemoveRent591homeTagIDs(ids ...int) *Rent591HomeUpdate
RemoveRent591homeTagIDs removes the "rent591home_tags" edge to Rent591HomeTag entities by IDs.
func (*Rent591HomeUpdate) RemoveRent591homeTags ¶
func (ru *Rent591HomeUpdate) RemoveRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeUpdate
RemoveRent591homeTags removes "rent591home_tags" edges to Rent591HomeTag entities.
func (*Rent591HomeUpdate) Save ¶
func (ru *Rent591HomeUpdate) Save(ctx context.Context) (int, error)
Save executes the query and returns the number of nodes affected by the update operation.
func (*Rent591HomeUpdate) SaveX ¶
func (ru *Rent591HomeUpdate) SaveX(ctx context.Context) int
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeUpdate) SetArea ¶
func (ru *Rent591HomeUpdate) SetArea(s string) *Rent591HomeUpdate
SetArea sets the "area" field.
func (*Rent591HomeUpdate) SetCasesID ¶
func (ru *Rent591HomeUpdate) SetCasesID(i int) *Rent591HomeUpdate
SetCasesID sets the "cases_id" field.
func (*Rent591HomeUpdate) SetCid ¶
func (ru *Rent591HomeUpdate) SetCid(i int) *Rent591HomeUpdate
SetCid sets the "cid" field.
func (*Rent591HomeUpdate) SetCommunity ¶
func (ru *Rent591HomeUpdate) SetCommunity(s string) *Rent591HomeUpdate
SetCommunity sets the "community" field.
func (*Rent591HomeUpdate) SetContact ¶
func (ru *Rent591HomeUpdate) SetContact(s string) *Rent591HomeUpdate
SetContact sets the "contact" field.
func (*Rent591HomeUpdate) SetCreatedAt ¶
func (ru *Rent591HomeUpdate) SetCreatedAt(t time.Time) *Rent591HomeUpdate
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeUpdate) SetDiscountPriceStr ¶
func (ru *Rent591HomeUpdate) SetDiscountPriceStr(s string) *Rent591HomeUpdate
SetDiscountPriceStr sets the "discount_price_str" field.
func (*Rent591HomeUpdate) SetFloorStr ¶
func (ru *Rent591HomeUpdate) SetFloorStr(s string) *Rent591HomeUpdate
SetFloorStr sets the "floor_str" field.
func (*Rent591HomeUpdate) SetHurry ¶
func (ru *Rent591HomeUpdate) SetHurry(i int) *Rent591HomeUpdate
SetHurry sets the "hurry" field.
func (*Rent591HomeUpdate) SetIsCombine ¶
func (ru *Rent591HomeUpdate) SetIsCombine(i int) *Rent591HomeUpdate
SetIsCombine sets the "is_combine" field.
func (*Rent591HomeUpdate) SetIsSocial ¶
func (ru *Rent591HomeUpdate) SetIsSocial(i int) *Rent591HomeUpdate
SetIsSocial sets the "is_social" field.
func (*Rent591HomeUpdate) SetIsVideo ¶
func (ru *Rent591HomeUpdate) SetIsVideo(i int) *Rent591HomeUpdate
SetIsVideo sets the "is_video" field.
func (*Rent591HomeUpdate) SetIsVip ¶
func (ru *Rent591HomeUpdate) SetIsVip(i int) *Rent591HomeUpdate
SetIsVip sets the "is_vip" field.
func (*Rent591HomeUpdate) SetKindName ¶
func (ru *Rent591HomeUpdate) SetKindName(s string) *Rent591HomeUpdate
SetKindName sets the "kind_name" field.
func (*Rent591HomeUpdate) SetLocation ¶
func (ru *Rent591HomeUpdate) SetLocation(s string) *Rent591HomeUpdate
SetLocation sets the "location" field.
func (*Rent591HomeUpdate) SetNillableCreatedAt ¶
func (ru *Rent591HomeUpdate) SetNillableCreatedAt(t *time.Time) *Rent591HomeUpdate
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeUpdate) SetNillableRegionName ¶
func (ru *Rent591HomeUpdate) SetNillableRegionName(s *string) *Rent591HomeUpdate
SetNillableRegionName sets the "region_name" field if the given value is not nil.
func (*Rent591HomeUpdate) SetNillableRent591homeDetailsID ¶
func (ru *Rent591HomeUpdate) SetNillableRent591homeDetailsID(id *int) *Rent591HomeUpdate
SetNillableRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID if the given value is not nil.
func (*Rent591HomeUpdate) SetNillableRent591homeSurroundingsID ¶
func (ru *Rent591HomeUpdate) SetNillableRent591homeSurroundingsID(id *int) *Rent591HomeUpdate
SetNillableRent591homeSurroundingsID sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity by ID if the given value is not nil.
func (*Rent591HomeUpdate) SetPhotoList ¶
func (ru *Rent591HomeUpdate) SetPhotoList(s []string) *Rent591HomeUpdate
SetPhotoList sets the "photo_list" field.
func (*Rent591HomeUpdate) SetPostID ¶
func (ru *Rent591HomeUpdate) SetPostID(i int) *Rent591HomeUpdate
SetPostID sets the "post_id" field.
func (*Rent591HomeUpdate) SetPreferred ¶
func (ru *Rent591HomeUpdate) SetPreferred(i int) *Rent591HomeUpdate
SetPreferred sets the "preferred" field.
func (*Rent591HomeUpdate) SetPrice ¶
func (ru *Rent591HomeUpdate) SetPrice(i int) *Rent591HomeUpdate
SetPrice sets the "price" field.
func (*Rent591HomeUpdate) SetPriceUnit ¶
func (ru *Rent591HomeUpdate) SetPriceUnit(s string) *Rent591HomeUpdate
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeUpdate) SetRefreshTime ¶
func (ru *Rent591HomeUpdate) SetRefreshTime(s string) *Rent591HomeUpdate
SetRefreshTime sets the "refresh_time" field.
func (*Rent591HomeUpdate) SetRegionName ¶
func (ru *Rent591HomeUpdate) SetRegionName(s string) *Rent591HomeUpdate
SetRegionName sets the "region_name" field.
func (*Rent591HomeUpdate) SetRent591homeDetails ¶
func (ru *Rent591HomeUpdate) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeUpdate
SetRent591homeDetails sets the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeUpdate) SetRent591homeDetailsID ¶
func (ru *Rent591HomeUpdate) SetRent591homeDetailsID(id int) *Rent591HomeUpdate
SetRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID.
func (*Rent591HomeUpdate) SetRent591homeSurroundings ¶
func (ru *Rent591HomeUpdate) SetRent591homeSurroundings(r *Rent591HomeSurrounding) *Rent591HomeUpdate
SetRent591homeSurroundings sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity.
func (*Rent591HomeUpdate) SetRent591homeSurroundingsID ¶
func (ru *Rent591HomeUpdate) SetRent591homeSurroundingsID(id int) *Rent591HomeUpdate
SetRent591homeSurroundingsID sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity by ID.
func (*Rent591HomeUpdate) SetRoleName ¶
func (ru *Rent591HomeUpdate) SetRoleName(s string) *Rent591HomeUpdate
SetRoleName sets the "role_name" field.
func (*Rent591HomeUpdate) SetRoomStr ¶
func (ru *Rent591HomeUpdate) SetRoomStr(s string) *Rent591HomeUpdate
SetRoomStr sets the "room_str" field.
func (*Rent591HomeUpdate) SetSectionName ¶
func (ru *Rent591HomeUpdate) SetSectionName(s string) *Rent591HomeUpdate
SetSectionName sets the "section_name" field.
func (*Rent591HomeUpdate) SetStreetName ¶
func (ru *Rent591HomeUpdate) SetStreetName(s string) *Rent591HomeUpdate
SetStreetName sets the "street_name" field.
func (*Rent591HomeUpdate) SetTitle ¶
func (ru *Rent591HomeUpdate) SetTitle(s string) *Rent591HomeUpdate
SetTitle sets the "title" field.
func (*Rent591HomeUpdate) SetType ¶
func (ru *Rent591HomeUpdate) SetType(i int) *Rent591HomeUpdate
SetType sets the "type" field.
func (*Rent591HomeUpdate) SetUpdatedAt ¶
func (ru *Rent591HomeUpdate) SetUpdatedAt(t time.Time) *Rent591HomeUpdate
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeUpdate) SetYesterdayHit ¶
func (ru *Rent591HomeUpdate) SetYesterdayHit(i int) *Rent591HomeUpdate
SetYesterdayHit sets the "yesterday_hit" field.
func (*Rent591HomeUpdate) Where ¶
func (ru *Rent591HomeUpdate) Where(ps ...predicate.Rent591Home) *Rent591HomeUpdate
Where appends a list predicates to the Rent591HomeUpdate builder.
type Rent591HomeUpdateOne ¶
type Rent591HomeUpdateOne struct {
// contains filtered or unexported fields
}
Rent591HomeUpdateOne is the builder for updating a single Rent591Home entity.
func (*Rent591HomeUpdateOne) AddCasesID ¶
func (ruo *Rent591HomeUpdateOne) AddCasesID(i int) *Rent591HomeUpdateOne
AddCasesID adds i to the "cases_id" field.
func (*Rent591HomeUpdateOne) AddCid ¶
func (ruo *Rent591HomeUpdateOne) AddCid(i int) *Rent591HomeUpdateOne
AddCid adds i to the "cid" field.
func (*Rent591HomeUpdateOne) AddHurry ¶
func (ruo *Rent591HomeUpdateOne) AddHurry(i int) *Rent591HomeUpdateOne
AddHurry adds i to the "hurry" field.
func (*Rent591HomeUpdateOne) AddIsCombine ¶
func (ruo *Rent591HomeUpdateOne) AddIsCombine(i int) *Rent591HomeUpdateOne
AddIsCombine adds i to the "is_combine" field.
func (*Rent591HomeUpdateOne) AddIsSocial ¶
func (ruo *Rent591HomeUpdateOne) AddIsSocial(i int) *Rent591HomeUpdateOne
AddIsSocial adds i to the "is_social" field.
func (*Rent591HomeUpdateOne) AddIsVideo ¶
func (ruo *Rent591HomeUpdateOne) AddIsVideo(i int) *Rent591HomeUpdateOne
AddIsVideo adds i to the "is_video" field.
func (*Rent591HomeUpdateOne) AddIsVip ¶
func (ruo *Rent591HomeUpdateOne) AddIsVip(i int) *Rent591HomeUpdateOne
AddIsVip adds i to the "is_vip" field.
func (*Rent591HomeUpdateOne) AddPostID ¶
func (ruo *Rent591HomeUpdateOne) AddPostID(i int) *Rent591HomeUpdateOne
AddPostID adds i to the "post_id" field.
func (*Rent591HomeUpdateOne) AddPreferred ¶
func (ruo *Rent591HomeUpdateOne) AddPreferred(i int) *Rent591HomeUpdateOne
AddPreferred adds i to the "preferred" field.
func (*Rent591HomeUpdateOne) AddPrice ¶
func (ruo *Rent591HomeUpdateOne) AddPrice(i int) *Rent591HomeUpdateOne
AddPrice adds i to the "price" field.
func (*Rent591HomeUpdateOne) AddRent591homeTagIDs ¶
func (ruo *Rent591HomeUpdateOne) AddRent591homeTagIDs(ids ...int) *Rent591HomeUpdateOne
AddRent591homeTagIDs adds the "rent591home_tags" edge to the Rent591HomeTag entity by IDs.
func (*Rent591HomeUpdateOne) AddRent591homeTags ¶
func (ruo *Rent591HomeUpdateOne) AddRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeUpdateOne
AddRent591homeTags adds the "rent591home_tags" edges to the Rent591HomeTag entity.
func (*Rent591HomeUpdateOne) AddType ¶
func (ruo *Rent591HomeUpdateOne) AddType(i int) *Rent591HomeUpdateOne
AddType adds i to the "type" field.
func (*Rent591HomeUpdateOne) AddYesterdayHit ¶
func (ruo *Rent591HomeUpdateOne) AddYesterdayHit(i int) *Rent591HomeUpdateOne
AddYesterdayHit adds i to the "yesterday_hit" field.
func (*Rent591HomeUpdateOne) AppendPhotoList ¶
func (ruo *Rent591HomeUpdateOne) AppendPhotoList(s []string) *Rent591HomeUpdateOne
AppendPhotoList appends s to the "photo_list" field.
func (*Rent591HomeUpdateOne) ClearPhotoList ¶
func (ruo *Rent591HomeUpdateOne) ClearPhotoList() *Rent591HomeUpdateOne
ClearPhotoList clears the value of the "photo_list" field.
func (*Rent591HomeUpdateOne) ClearRegionName ¶
func (ruo *Rent591HomeUpdateOne) ClearRegionName() *Rent591HomeUpdateOne
ClearRegionName clears the value of the "region_name" field.
func (*Rent591HomeUpdateOne) ClearRent591homeDetails ¶
func (ruo *Rent591HomeUpdateOne) ClearRent591homeDetails() *Rent591HomeUpdateOne
ClearRent591homeDetails clears the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeUpdateOne) ClearRent591homeSurroundings ¶
func (ruo *Rent591HomeUpdateOne) ClearRent591homeSurroundings() *Rent591HomeUpdateOne
ClearRent591homeSurroundings clears the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity.
func (*Rent591HomeUpdateOne) ClearRent591homeTags ¶
func (ruo *Rent591HomeUpdateOne) ClearRent591homeTags() *Rent591HomeUpdateOne
ClearRent591homeTags clears all "rent591home_tags" edges to the Rent591HomeTag entity.
func (*Rent591HomeUpdateOne) Exec ¶
func (ruo *Rent591HomeUpdateOne) Exec(ctx context.Context) error
Exec executes the query on the entity.
func (*Rent591HomeUpdateOne) ExecX ¶
func (ruo *Rent591HomeUpdateOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeUpdateOne) Mutation ¶
func (ruo *Rent591HomeUpdateOne) Mutation() *Rent591HomeMutation
Mutation returns the Rent591HomeMutation object of the builder.
func (*Rent591HomeUpdateOne) RemoveRent591homeTagIDs ¶
func (ruo *Rent591HomeUpdateOne) RemoveRent591homeTagIDs(ids ...int) *Rent591HomeUpdateOne
RemoveRent591homeTagIDs removes the "rent591home_tags" edge to Rent591HomeTag entities by IDs.
func (*Rent591HomeUpdateOne) RemoveRent591homeTags ¶
func (ruo *Rent591HomeUpdateOne) RemoveRent591homeTags(r ...*Rent591HomeTag) *Rent591HomeUpdateOne
RemoveRent591homeTags removes "rent591home_tags" edges to Rent591HomeTag entities.
func (*Rent591HomeUpdateOne) Save ¶
func (ruo *Rent591HomeUpdateOne) Save(ctx context.Context) (*Rent591Home, error)
Save executes the query and returns the updated Rent591Home entity.
func (*Rent591HomeUpdateOne) SaveX ¶
func (ruo *Rent591HomeUpdateOne) SaveX(ctx context.Context) *Rent591Home
SaveX is like Save, but panics if an error occurs.
func (*Rent591HomeUpdateOne) Select ¶
func (ruo *Rent591HomeUpdateOne) Select(field string, fields ...string) *Rent591HomeUpdateOne
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
func (*Rent591HomeUpdateOne) SetArea ¶
func (ruo *Rent591HomeUpdateOne) SetArea(s string) *Rent591HomeUpdateOne
SetArea sets the "area" field.
func (*Rent591HomeUpdateOne) SetCasesID ¶
func (ruo *Rent591HomeUpdateOne) SetCasesID(i int) *Rent591HomeUpdateOne
SetCasesID sets the "cases_id" field.
func (*Rent591HomeUpdateOne) SetCid ¶
func (ruo *Rent591HomeUpdateOne) SetCid(i int) *Rent591HomeUpdateOne
SetCid sets the "cid" field.
func (*Rent591HomeUpdateOne) SetCommunity ¶
func (ruo *Rent591HomeUpdateOne) SetCommunity(s string) *Rent591HomeUpdateOne
SetCommunity sets the "community" field.
func (*Rent591HomeUpdateOne) SetContact ¶
func (ruo *Rent591HomeUpdateOne) SetContact(s string) *Rent591HomeUpdateOne
SetContact sets the "contact" field.
func (*Rent591HomeUpdateOne) SetCreatedAt ¶
func (ruo *Rent591HomeUpdateOne) SetCreatedAt(t time.Time) *Rent591HomeUpdateOne
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeUpdateOne) SetDiscountPriceStr ¶
func (ruo *Rent591HomeUpdateOne) SetDiscountPriceStr(s string) *Rent591HomeUpdateOne
SetDiscountPriceStr sets the "discount_price_str" field.
func (*Rent591HomeUpdateOne) SetFloorStr ¶
func (ruo *Rent591HomeUpdateOne) SetFloorStr(s string) *Rent591HomeUpdateOne
SetFloorStr sets the "floor_str" field.
func (*Rent591HomeUpdateOne) SetHurry ¶
func (ruo *Rent591HomeUpdateOne) SetHurry(i int) *Rent591HomeUpdateOne
SetHurry sets the "hurry" field.
func (*Rent591HomeUpdateOne) SetIsCombine ¶
func (ruo *Rent591HomeUpdateOne) SetIsCombine(i int) *Rent591HomeUpdateOne
SetIsCombine sets the "is_combine" field.
func (*Rent591HomeUpdateOne) SetIsSocial ¶
func (ruo *Rent591HomeUpdateOne) SetIsSocial(i int) *Rent591HomeUpdateOne
SetIsSocial sets the "is_social" field.
func (*Rent591HomeUpdateOne) SetIsVideo ¶
func (ruo *Rent591HomeUpdateOne) SetIsVideo(i int) *Rent591HomeUpdateOne
SetIsVideo sets the "is_video" field.
func (*Rent591HomeUpdateOne) SetIsVip ¶
func (ruo *Rent591HomeUpdateOne) SetIsVip(i int) *Rent591HomeUpdateOne
SetIsVip sets the "is_vip" field.
func (*Rent591HomeUpdateOne) SetKindName ¶
func (ruo *Rent591HomeUpdateOne) SetKindName(s string) *Rent591HomeUpdateOne
SetKindName sets the "kind_name" field.
func (*Rent591HomeUpdateOne) SetLocation ¶
func (ruo *Rent591HomeUpdateOne) SetLocation(s string) *Rent591HomeUpdateOne
SetLocation sets the "location" field.
func (*Rent591HomeUpdateOne) SetNillableCreatedAt ¶
func (ruo *Rent591HomeUpdateOne) SetNillableCreatedAt(t *time.Time) *Rent591HomeUpdateOne
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
func (*Rent591HomeUpdateOne) SetNillableRegionName ¶
func (ruo *Rent591HomeUpdateOne) SetNillableRegionName(s *string) *Rent591HomeUpdateOne
SetNillableRegionName sets the "region_name" field if the given value is not nil.
func (*Rent591HomeUpdateOne) SetNillableRent591homeDetailsID ¶
func (ruo *Rent591HomeUpdateOne) SetNillableRent591homeDetailsID(id *int) *Rent591HomeUpdateOne
SetNillableRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID if the given value is not nil.
func (*Rent591HomeUpdateOne) SetNillableRent591homeSurroundingsID ¶
func (ruo *Rent591HomeUpdateOne) SetNillableRent591homeSurroundingsID(id *int) *Rent591HomeUpdateOne
SetNillableRent591homeSurroundingsID sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity by ID if the given value is not nil.
func (*Rent591HomeUpdateOne) SetPhotoList ¶
func (ruo *Rent591HomeUpdateOne) SetPhotoList(s []string) *Rent591HomeUpdateOne
SetPhotoList sets the "photo_list" field.
func (*Rent591HomeUpdateOne) SetPostID ¶
func (ruo *Rent591HomeUpdateOne) SetPostID(i int) *Rent591HomeUpdateOne
SetPostID sets the "post_id" field.
func (*Rent591HomeUpdateOne) SetPreferred ¶
func (ruo *Rent591HomeUpdateOne) SetPreferred(i int) *Rent591HomeUpdateOne
SetPreferred sets the "preferred" field.
func (*Rent591HomeUpdateOne) SetPrice ¶
func (ruo *Rent591HomeUpdateOne) SetPrice(i int) *Rent591HomeUpdateOne
SetPrice sets the "price" field.
func (*Rent591HomeUpdateOne) SetPriceUnit ¶
func (ruo *Rent591HomeUpdateOne) SetPriceUnit(s string) *Rent591HomeUpdateOne
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeUpdateOne) SetRefreshTime ¶
func (ruo *Rent591HomeUpdateOne) SetRefreshTime(s string) *Rent591HomeUpdateOne
SetRefreshTime sets the "refresh_time" field.
func (*Rent591HomeUpdateOne) SetRegionName ¶
func (ruo *Rent591HomeUpdateOne) SetRegionName(s string) *Rent591HomeUpdateOne
SetRegionName sets the "region_name" field.
func (*Rent591HomeUpdateOne) SetRent591homeDetails ¶
func (ruo *Rent591HomeUpdateOne) SetRent591homeDetails(r *Rent591HomeDetail) *Rent591HomeUpdateOne
SetRent591homeDetails sets the "rent591home_details" edge to the Rent591HomeDetail entity.
func (*Rent591HomeUpdateOne) SetRent591homeDetailsID ¶
func (ruo *Rent591HomeUpdateOne) SetRent591homeDetailsID(id int) *Rent591HomeUpdateOne
SetRent591homeDetailsID sets the "rent591home_details" edge to the Rent591HomeDetail entity by ID.
func (*Rent591HomeUpdateOne) SetRent591homeSurroundings ¶
func (ruo *Rent591HomeUpdateOne) SetRent591homeSurroundings(r *Rent591HomeSurrounding) *Rent591HomeUpdateOne
SetRent591homeSurroundings sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity.
func (*Rent591HomeUpdateOne) SetRent591homeSurroundingsID ¶
func (ruo *Rent591HomeUpdateOne) SetRent591homeSurroundingsID(id int) *Rent591HomeUpdateOne
SetRent591homeSurroundingsID sets the "rent591home_surroundings" edge to the Rent591HomeSurrounding entity by ID.
func (*Rent591HomeUpdateOne) SetRoleName ¶
func (ruo *Rent591HomeUpdateOne) SetRoleName(s string) *Rent591HomeUpdateOne
SetRoleName sets the "role_name" field.
func (*Rent591HomeUpdateOne) SetRoomStr ¶
func (ruo *Rent591HomeUpdateOne) SetRoomStr(s string) *Rent591HomeUpdateOne
SetRoomStr sets the "room_str" field.
func (*Rent591HomeUpdateOne) SetSectionName ¶
func (ruo *Rent591HomeUpdateOne) SetSectionName(s string) *Rent591HomeUpdateOne
SetSectionName sets the "section_name" field.
func (*Rent591HomeUpdateOne) SetStreetName ¶
func (ruo *Rent591HomeUpdateOne) SetStreetName(s string) *Rent591HomeUpdateOne
SetStreetName sets the "street_name" field.
func (*Rent591HomeUpdateOne) SetTitle ¶
func (ruo *Rent591HomeUpdateOne) SetTitle(s string) *Rent591HomeUpdateOne
SetTitle sets the "title" field.
func (*Rent591HomeUpdateOne) SetType ¶
func (ruo *Rent591HomeUpdateOne) SetType(i int) *Rent591HomeUpdateOne
SetType sets the "type" field.
func (*Rent591HomeUpdateOne) SetUpdatedAt ¶
func (ruo *Rent591HomeUpdateOne) SetUpdatedAt(t time.Time) *Rent591HomeUpdateOne
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeUpdateOne) SetYesterdayHit ¶
func (ruo *Rent591HomeUpdateOne) SetYesterdayHit(i int) *Rent591HomeUpdateOne
SetYesterdayHit sets the "yesterday_hit" field.
func (*Rent591HomeUpdateOne) Where ¶
func (ruo *Rent591HomeUpdateOne) Where(ps ...predicate.Rent591Home) *Rent591HomeUpdateOne
Where appends a list predicates to the Rent591HomeUpdate builder.
type Rent591HomeUpsert ¶
Rent591HomeUpsert is the "OnConflict" setter.
func (*Rent591HomeUpsert) AddCasesID ¶
func (u *Rent591HomeUpsert) AddCasesID(v int) *Rent591HomeUpsert
AddCasesID adds v to the "cases_id" field.
func (*Rent591HomeUpsert) AddCid ¶
func (u *Rent591HomeUpsert) AddCid(v int) *Rent591HomeUpsert
AddCid adds v to the "cid" field.
func (*Rent591HomeUpsert) AddHurry ¶
func (u *Rent591HomeUpsert) AddHurry(v int) *Rent591HomeUpsert
AddHurry adds v to the "hurry" field.
func (*Rent591HomeUpsert) AddIsCombine ¶
func (u *Rent591HomeUpsert) AddIsCombine(v int) *Rent591HomeUpsert
AddIsCombine adds v to the "is_combine" field.
func (*Rent591HomeUpsert) AddIsSocial ¶
func (u *Rent591HomeUpsert) AddIsSocial(v int) *Rent591HomeUpsert
AddIsSocial adds v to the "is_social" field.
func (*Rent591HomeUpsert) AddIsVideo ¶
func (u *Rent591HomeUpsert) AddIsVideo(v int) *Rent591HomeUpsert
AddIsVideo adds v to the "is_video" field.
func (*Rent591HomeUpsert) AddIsVip ¶
func (u *Rent591HomeUpsert) AddIsVip(v int) *Rent591HomeUpsert
AddIsVip adds v to the "is_vip" field.
func (*Rent591HomeUpsert) AddPostID ¶
func (u *Rent591HomeUpsert) AddPostID(v int) *Rent591HomeUpsert
AddPostID adds v to the "post_id" field.
func (*Rent591HomeUpsert) AddPreferred ¶
func (u *Rent591HomeUpsert) AddPreferred(v int) *Rent591HomeUpsert
AddPreferred adds v to the "preferred" field.
func (*Rent591HomeUpsert) AddPrice ¶
func (u *Rent591HomeUpsert) AddPrice(v int) *Rent591HomeUpsert
AddPrice adds v to the "price" field.
func (*Rent591HomeUpsert) AddType ¶
func (u *Rent591HomeUpsert) AddType(v int) *Rent591HomeUpsert
AddType adds v to the "type" field.
func (*Rent591HomeUpsert) AddYesterdayHit ¶
func (u *Rent591HomeUpsert) AddYesterdayHit(v int) *Rent591HomeUpsert
AddYesterdayHit adds v to the "yesterday_hit" field.
func (*Rent591HomeUpsert) ClearPhotoList ¶
func (u *Rent591HomeUpsert) ClearPhotoList() *Rent591HomeUpsert
ClearPhotoList clears the value of the "photo_list" field.
func (*Rent591HomeUpsert) ClearRegionName ¶
func (u *Rent591HomeUpsert) ClearRegionName() *Rent591HomeUpsert
ClearRegionName clears the value of the "region_name" field.
func (*Rent591HomeUpsert) SetArea ¶
func (u *Rent591HomeUpsert) SetArea(v string) *Rent591HomeUpsert
SetArea sets the "area" field.
func (*Rent591HomeUpsert) SetCasesID ¶
func (u *Rent591HomeUpsert) SetCasesID(v int) *Rent591HomeUpsert
SetCasesID sets the "cases_id" field.
func (*Rent591HomeUpsert) SetCid ¶
func (u *Rent591HomeUpsert) SetCid(v int) *Rent591HomeUpsert
SetCid sets the "cid" field.
func (*Rent591HomeUpsert) SetCommunity ¶
func (u *Rent591HomeUpsert) SetCommunity(v string) *Rent591HomeUpsert
SetCommunity sets the "community" field.
func (*Rent591HomeUpsert) SetContact ¶
func (u *Rent591HomeUpsert) SetContact(v string) *Rent591HomeUpsert
SetContact sets the "contact" field.
func (*Rent591HomeUpsert) SetCreatedAt ¶
func (u *Rent591HomeUpsert) SetCreatedAt(v time.Time) *Rent591HomeUpsert
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeUpsert) SetDiscountPriceStr ¶
func (u *Rent591HomeUpsert) SetDiscountPriceStr(v string) *Rent591HomeUpsert
SetDiscountPriceStr sets the "discount_price_str" field.
func (*Rent591HomeUpsert) SetFloorStr ¶
func (u *Rent591HomeUpsert) SetFloorStr(v string) *Rent591HomeUpsert
SetFloorStr sets the "floor_str" field.
func (*Rent591HomeUpsert) SetHurry ¶
func (u *Rent591HomeUpsert) SetHurry(v int) *Rent591HomeUpsert
SetHurry sets the "hurry" field.
func (*Rent591HomeUpsert) SetIsCombine ¶
func (u *Rent591HomeUpsert) SetIsCombine(v int) *Rent591HomeUpsert
SetIsCombine sets the "is_combine" field.
func (*Rent591HomeUpsert) SetIsSocial ¶
func (u *Rent591HomeUpsert) SetIsSocial(v int) *Rent591HomeUpsert
SetIsSocial sets the "is_social" field.
func (*Rent591HomeUpsert) SetIsVideo ¶
func (u *Rent591HomeUpsert) SetIsVideo(v int) *Rent591HomeUpsert
SetIsVideo sets the "is_video" field.
func (*Rent591HomeUpsert) SetIsVip ¶
func (u *Rent591HomeUpsert) SetIsVip(v int) *Rent591HomeUpsert
SetIsVip sets the "is_vip" field.
func (*Rent591HomeUpsert) SetKindName ¶
func (u *Rent591HomeUpsert) SetKindName(v string) *Rent591HomeUpsert
SetKindName sets the "kind_name" field.
func (*Rent591HomeUpsert) SetLocation ¶
func (u *Rent591HomeUpsert) SetLocation(v string) *Rent591HomeUpsert
SetLocation sets the "location" field.
func (*Rent591HomeUpsert) SetPhotoList ¶
func (u *Rent591HomeUpsert) SetPhotoList(v []string) *Rent591HomeUpsert
SetPhotoList sets the "photo_list" field.
func (*Rent591HomeUpsert) SetPostID ¶
func (u *Rent591HomeUpsert) SetPostID(v int) *Rent591HomeUpsert
SetPostID sets the "post_id" field.
func (*Rent591HomeUpsert) SetPreferred ¶
func (u *Rent591HomeUpsert) SetPreferred(v int) *Rent591HomeUpsert
SetPreferred sets the "preferred" field.
func (*Rent591HomeUpsert) SetPrice ¶
func (u *Rent591HomeUpsert) SetPrice(v int) *Rent591HomeUpsert
SetPrice sets the "price" field.
func (*Rent591HomeUpsert) SetPriceUnit ¶
func (u *Rent591HomeUpsert) SetPriceUnit(v string) *Rent591HomeUpsert
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeUpsert) SetRefreshTime ¶
func (u *Rent591HomeUpsert) SetRefreshTime(v string) *Rent591HomeUpsert
SetRefreshTime sets the "refresh_time" field.
func (*Rent591HomeUpsert) SetRegionName ¶
func (u *Rent591HomeUpsert) SetRegionName(v string) *Rent591HomeUpsert
SetRegionName sets the "region_name" field.
func (*Rent591HomeUpsert) SetRoleName ¶
func (u *Rent591HomeUpsert) SetRoleName(v string) *Rent591HomeUpsert
SetRoleName sets the "role_name" field.
func (*Rent591HomeUpsert) SetRoomStr ¶
func (u *Rent591HomeUpsert) SetRoomStr(v string) *Rent591HomeUpsert
SetRoomStr sets the "room_str" field.
func (*Rent591HomeUpsert) SetSectionName ¶
func (u *Rent591HomeUpsert) SetSectionName(v string) *Rent591HomeUpsert
SetSectionName sets the "section_name" field.
func (*Rent591HomeUpsert) SetStreetName ¶
func (u *Rent591HomeUpsert) SetStreetName(v string) *Rent591HomeUpsert
SetStreetName sets the "street_name" field.
func (*Rent591HomeUpsert) SetTitle ¶
func (u *Rent591HomeUpsert) SetTitle(v string) *Rent591HomeUpsert
SetTitle sets the "title" field.
func (*Rent591HomeUpsert) SetType ¶
func (u *Rent591HomeUpsert) SetType(v int) *Rent591HomeUpsert
SetType sets the "type" field.
func (*Rent591HomeUpsert) SetUpdatedAt ¶
func (u *Rent591HomeUpsert) SetUpdatedAt(v time.Time) *Rent591HomeUpsert
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeUpsert) SetYesterdayHit ¶
func (u *Rent591HomeUpsert) SetYesterdayHit(v int) *Rent591HomeUpsert
SetYesterdayHit sets the "yesterday_hit" field.
func (*Rent591HomeUpsert) UpdateArea ¶
func (u *Rent591HomeUpsert) UpdateArea() *Rent591HomeUpsert
UpdateArea sets the "area" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateCasesID ¶
func (u *Rent591HomeUpsert) UpdateCasesID() *Rent591HomeUpsert
UpdateCasesID sets the "cases_id" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateCid ¶
func (u *Rent591HomeUpsert) UpdateCid() *Rent591HomeUpsert
UpdateCid sets the "cid" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateCommunity ¶
func (u *Rent591HomeUpsert) UpdateCommunity() *Rent591HomeUpsert
UpdateCommunity sets the "community" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateContact ¶
func (u *Rent591HomeUpsert) UpdateContact() *Rent591HomeUpsert
UpdateContact sets the "contact" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateCreatedAt ¶
func (u *Rent591HomeUpsert) UpdateCreatedAt() *Rent591HomeUpsert
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateDiscountPriceStr ¶
func (u *Rent591HomeUpsert) UpdateDiscountPriceStr() *Rent591HomeUpsert
UpdateDiscountPriceStr sets the "discount_price_str" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateFloorStr ¶
func (u *Rent591HomeUpsert) UpdateFloorStr() *Rent591HomeUpsert
UpdateFloorStr sets the "floor_str" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateHurry ¶
func (u *Rent591HomeUpsert) UpdateHurry() *Rent591HomeUpsert
UpdateHurry sets the "hurry" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateIsCombine ¶
func (u *Rent591HomeUpsert) UpdateIsCombine() *Rent591HomeUpsert
UpdateIsCombine sets the "is_combine" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateIsSocial ¶
func (u *Rent591HomeUpsert) UpdateIsSocial() *Rent591HomeUpsert
UpdateIsSocial sets the "is_social" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateIsVideo ¶
func (u *Rent591HomeUpsert) UpdateIsVideo() *Rent591HomeUpsert
UpdateIsVideo sets the "is_video" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateIsVip ¶
func (u *Rent591HomeUpsert) UpdateIsVip() *Rent591HomeUpsert
UpdateIsVip sets the "is_vip" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateKindName ¶
func (u *Rent591HomeUpsert) UpdateKindName() *Rent591HomeUpsert
UpdateKindName sets the "kind_name" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateLocation ¶
func (u *Rent591HomeUpsert) UpdateLocation() *Rent591HomeUpsert
UpdateLocation sets the "location" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdatePhotoList ¶
func (u *Rent591HomeUpsert) UpdatePhotoList() *Rent591HomeUpsert
UpdatePhotoList sets the "photo_list" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdatePostID ¶
func (u *Rent591HomeUpsert) UpdatePostID() *Rent591HomeUpsert
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdatePreferred ¶
func (u *Rent591HomeUpsert) UpdatePreferred() *Rent591HomeUpsert
UpdatePreferred sets the "preferred" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdatePrice ¶
func (u *Rent591HomeUpsert) UpdatePrice() *Rent591HomeUpsert
UpdatePrice sets the "price" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdatePriceUnit ¶
func (u *Rent591HomeUpsert) UpdatePriceUnit() *Rent591HomeUpsert
UpdatePriceUnit sets the "price_unit" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateRefreshTime ¶
func (u *Rent591HomeUpsert) UpdateRefreshTime() *Rent591HomeUpsert
UpdateRefreshTime sets the "refresh_time" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateRegionName ¶
func (u *Rent591HomeUpsert) UpdateRegionName() *Rent591HomeUpsert
UpdateRegionName sets the "region_name" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateRoleName ¶
func (u *Rent591HomeUpsert) UpdateRoleName() *Rent591HomeUpsert
UpdateRoleName sets the "role_name" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateRoomStr ¶
func (u *Rent591HomeUpsert) UpdateRoomStr() *Rent591HomeUpsert
UpdateRoomStr sets the "room_str" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateSectionName ¶
func (u *Rent591HomeUpsert) UpdateSectionName() *Rent591HomeUpsert
UpdateSectionName sets the "section_name" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateStreetName ¶
func (u *Rent591HomeUpsert) UpdateStreetName() *Rent591HomeUpsert
UpdateStreetName sets the "street_name" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateTitle ¶
func (u *Rent591HomeUpsert) UpdateTitle() *Rent591HomeUpsert
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateType ¶
func (u *Rent591HomeUpsert) UpdateType() *Rent591HomeUpsert
UpdateType sets the "type" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateUpdatedAt ¶
func (u *Rent591HomeUpsert) UpdateUpdatedAt() *Rent591HomeUpsert
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
func (*Rent591HomeUpsert) UpdateYesterdayHit ¶
func (u *Rent591HomeUpsert) UpdateYesterdayHit() *Rent591HomeUpsert
UpdateYesterdayHit sets the "yesterday_hit" field to the value that was provided on create.
type Rent591HomeUpsertBulk ¶
type Rent591HomeUpsertBulk struct {
// contains filtered or unexported fields
}
Rent591HomeUpsertBulk is the builder for "upsert"-ing a bulk of Rent591Home nodes.
func (*Rent591HomeUpsertBulk) AddCasesID ¶
func (u *Rent591HomeUpsertBulk) AddCasesID(v int) *Rent591HomeUpsertBulk
AddCasesID adds v to the "cases_id" field.
func (*Rent591HomeUpsertBulk) AddCid ¶
func (u *Rent591HomeUpsertBulk) AddCid(v int) *Rent591HomeUpsertBulk
AddCid adds v to the "cid" field.
func (*Rent591HomeUpsertBulk) AddHurry ¶
func (u *Rent591HomeUpsertBulk) AddHurry(v int) *Rent591HomeUpsertBulk
AddHurry adds v to the "hurry" field.
func (*Rent591HomeUpsertBulk) AddIsCombine ¶
func (u *Rent591HomeUpsertBulk) AddIsCombine(v int) *Rent591HomeUpsertBulk
AddIsCombine adds v to the "is_combine" field.
func (*Rent591HomeUpsertBulk) AddIsSocial ¶
func (u *Rent591HomeUpsertBulk) AddIsSocial(v int) *Rent591HomeUpsertBulk
AddIsSocial adds v to the "is_social" field.
func (*Rent591HomeUpsertBulk) AddIsVideo ¶
func (u *Rent591HomeUpsertBulk) AddIsVideo(v int) *Rent591HomeUpsertBulk
AddIsVideo adds v to the "is_video" field.
func (*Rent591HomeUpsertBulk) AddIsVip ¶
func (u *Rent591HomeUpsertBulk) AddIsVip(v int) *Rent591HomeUpsertBulk
AddIsVip adds v to the "is_vip" field.
func (*Rent591HomeUpsertBulk) AddPostID ¶
func (u *Rent591HomeUpsertBulk) AddPostID(v int) *Rent591HomeUpsertBulk
AddPostID adds v to the "post_id" field.
func (*Rent591HomeUpsertBulk) AddPreferred ¶
func (u *Rent591HomeUpsertBulk) AddPreferred(v int) *Rent591HomeUpsertBulk
AddPreferred adds v to the "preferred" field.
func (*Rent591HomeUpsertBulk) AddPrice ¶
func (u *Rent591HomeUpsertBulk) AddPrice(v int) *Rent591HomeUpsertBulk
AddPrice adds v to the "price" field.
func (*Rent591HomeUpsertBulk) AddType ¶
func (u *Rent591HomeUpsertBulk) AddType(v int) *Rent591HomeUpsertBulk
AddType adds v to the "type" field.
func (*Rent591HomeUpsertBulk) AddYesterdayHit ¶
func (u *Rent591HomeUpsertBulk) AddYesterdayHit(v int) *Rent591HomeUpsertBulk
AddYesterdayHit adds v to the "yesterday_hit" field.
func (*Rent591HomeUpsertBulk) ClearPhotoList ¶
func (u *Rent591HomeUpsertBulk) ClearPhotoList() *Rent591HomeUpsertBulk
ClearPhotoList clears the value of the "photo_list" field.
func (*Rent591HomeUpsertBulk) ClearRegionName ¶
func (u *Rent591HomeUpsertBulk) ClearRegionName() *Rent591HomeUpsertBulk
ClearRegionName clears the value of the "region_name" field.
func (*Rent591HomeUpsertBulk) DoNothing ¶
func (u *Rent591HomeUpsertBulk) DoNothing() *Rent591HomeUpsertBulk
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeUpsertBulk) Exec ¶
func (u *Rent591HomeUpsertBulk) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeUpsertBulk) ExecX ¶
func (u *Rent591HomeUpsertBulk) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeUpsertBulk) Ignore ¶
func (u *Rent591HomeUpsertBulk) Ignore() *Rent591HomeUpsertBulk
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591Home.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeUpsertBulk) SetArea ¶
func (u *Rent591HomeUpsertBulk) SetArea(v string) *Rent591HomeUpsertBulk
SetArea sets the "area" field.
func (*Rent591HomeUpsertBulk) SetCasesID ¶
func (u *Rent591HomeUpsertBulk) SetCasesID(v int) *Rent591HomeUpsertBulk
SetCasesID sets the "cases_id" field.
func (*Rent591HomeUpsertBulk) SetCid ¶
func (u *Rent591HomeUpsertBulk) SetCid(v int) *Rent591HomeUpsertBulk
SetCid sets the "cid" field.
func (*Rent591HomeUpsertBulk) SetCommunity ¶
func (u *Rent591HomeUpsertBulk) SetCommunity(v string) *Rent591HomeUpsertBulk
SetCommunity sets the "community" field.
func (*Rent591HomeUpsertBulk) SetContact ¶
func (u *Rent591HomeUpsertBulk) SetContact(v string) *Rent591HomeUpsertBulk
SetContact sets the "contact" field.
func (*Rent591HomeUpsertBulk) SetCreatedAt ¶
func (u *Rent591HomeUpsertBulk) SetCreatedAt(v time.Time) *Rent591HomeUpsertBulk
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeUpsertBulk) SetDiscountPriceStr ¶
func (u *Rent591HomeUpsertBulk) SetDiscountPriceStr(v string) *Rent591HomeUpsertBulk
SetDiscountPriceStr sets the "discount_price_str" field.
func (*Rent591HomeUpsertBulk) SetFloorStr ¶
func (u *Rent591HomeUpsertBulk) SetFloorStr(v string) *Rent591HomeUpsertBulk
SetFloorStr sets the "floor_str" field.
func (*Rent591HomeUpsertBulk) SetHurry ¶
func (u *Rent591HomeUpsertBulk) SetHurry(v int) *Rent591HomeUpsertBulk
SetHurry sets the "hurry" field.
func (*Rent591HomeUpsertBulk) SetIsCombine ¶
func (u *Rent591HomeUpsertBulk) SetIsCombine(v int) *Rent591HomeUpsertBulk
SetIsCombine sets the "is_combine" field.
func (*Rent591HomeUpsertBulk) SetIsSocial ¶
func (u *Rent591HomeUpsertBulk) SetIsSocial(v int) *Rent591HomeUpsertBulk
SetIsSocial sets the "is_social" field.
func (*Rent591HomeUpsertBulk) SetIsVideo ¶
func (u *Rent591HomeUpsertBulk) SetIsVideo(v int) *Rent591HomeUpsertBulk
SetIsVideo sets the "is_video" field.
func (*Rent591HomeUpsertBulk) SetIsVip ¶
func (u *Rent591HomeUpsertBulk) SetIsVip(v int) *Rent591HomeUpsertBulk
SetIsVip sets the "is_vip" field.
func (*Rent591HomeUpsertBulk) SetKindName ¶
func (u *Rent591HomeUpsertBulk) SetKindName(v string) *Rent591HomeUpsertBulk
SetKindName sets the "kind_name" field.
func (*Rent591HomeUpsertBulk) SetLocation ¶
func (u *Rent591HomeUpsertBulk) SetLocation(v string) *Rent591HomeUpsertBulk
SetLocation sets the "location" field.
func (*Rent591HomeUpsertBulk) SetPhotoList ¶
func (u *Rent591HomeUpsertBulk) SetPhotoList(v []string) *Rent591HomeUpsertBulk
SetPhotoList sets the "photo_list" field.
func (*Rent591HomeUpsertBulk) SetPostID ¶
func (u *Rent591HomeUpsertBulk) SetPostID(v int) *Rent591HomeUpsertBulk
SetPostID sets the "post_id" field.
func (*Rent591HomeUpsertBulk) SetPreferred ¶
func (u *Rent591HomeUpsertBulk) SetPreferred(v int) *Rent591HomeUpsertBulk
SetPreferred sets the "preferred" field.
func (*Rent591HomeUpsertBulk) SetPrice ¶
func (u *Rent591HomeUpsertBulk) SetPrice(v int) *Rent591HomeUpsertBulk
SetPrice sets the "price" field.
func (*Rent591HomeUpsertBulk) SetPriceUnit ¶
func (u *Rent591HomeUpsertBulk) SetPriceUnit(v string) *Rent591HomeUpsertBulk
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeUpsertBulk) SetRefreshTime ¶
func (u *Rent591HomeUpsertBulk) SetRefreshTime(v string) *Rent591HomeUpsertBulk
SetRefreshTime sets the "refresh_time" field.
func (*Rent591HomeUpsertBulk) SetRegionName ¶
func (u *Rent591HomeUpsertBulk) SetRegionName(v string) *Rent591HomeUpsertBulk
SetRegionName sets the "region_name" field.
func (*Rent591HomeUpsertBulk) SetRoleName ¶
func (u *Rent591HomeUpsertBulk) SetRoleName(v string) *Rent591HomeUpsertBulk
SetRoleName sets the "role_name" field.
func (*Rent591HomeUpsertBulk) SetRoomStr ¶
func (u *Rent591HomeUpsertBulk) SetRoomStr(v string) *Rent591HomeUpsertBulk
SetRoomStr sets the "room_str" field.
func (*Rent591HomeUpsertBulk) SetSectionName ¶
func (u *Rent591HomeUpsertBulk) SetSectionName(v string) *Rent591HomeUpsertBulk
SetSectionName sets the "section_name" field.
func (*Rent591HomeUpsertBulk) SetStreetName ¶
func (u *Rent591HomeUpsertBulk) SetStreetName(v string) *Rent591HomeUpsertBulk
SetStreetName sets the "street_name" field.
func (*Rent591HomeUpsertBulk) SetTitle ¶
func (u *Rent591HomeUpsertBulk) SetTitle(v string) *Rent591HomeUpsertBulk
SetTitle sets the "title" field.
func (*Rent591HomeUpsertBulk) SetType ¶
func (u *Rent591HomeUpsertBulk) SetType(v int) *Rent591HomeUpsertBulk
SetType sets the "type" field.
func (*Rent591HomeUpsertBulk) SetUpdatedAt ¶
func (u *Rent591HomeUpsertBulk) SetUpdatedAt(v time.Time) *Rent591HomeUpsertBulk
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeUpsertBulk) SetYesterdayHit ¶
func (u *Rent591HomeUpsertBulk) SetYesterdayHit(v int) *Rent591HomeUpsertBulk
SetYesterdayHit sets the "yesterday_hit" field.
func (*Rent591HomeUpsertBulk) Update ¶
func (u *Rent591HomeUpsertBulk) Update(set func(*Rent591HomeUpsert)) *Rent591HomeUpsertBulk
Update allows overriding fields `UPDATE` values. See the Rent591HomeCreateBulk.OnConflict documentation for more info.
func (*Rent591HomeUpsertBulk) UpdateArea ¶
func (u *Rent591HomeUpsertBulk) UpdateArea() *Rent591HomeUpsertBulk
UpdateArea sets the "area" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateCasesID ¶
func (u *Rent591HomeUpsertBulk) UpdateCasesID() *Rent591HomeUpsertBulk
UpdateCasesID sets the "cases_id" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateCid ¶
func (u *Rent591HomeUpsertBulk) UpdateCid() *Rent591HomeUpsertBulk
UpdateCid sets the "cid" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateCommunity ¶
func (u *Rent591HomeUpsertBulk) UpdateCommunity() *Rent591HomeUpsertBulk
UpdateCommunity sets the "community" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateContact ¶
func (u *Rent591HomeUpsertBulk) UpdateContact() *Rent591HomeUpsertBulk
UpdateContact sets the "contact" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateCreatedAt ¶
func (u *Rent591HomeUpsertBulk) UpdateCreatedAt() *Rent591HomeUpsertBulk
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateDiscountPriceStr ¶
func (u *Rent591HomeUpsertBulk) UpdateDiscountPriceStr() *Rent591HomeUpsertBulk
UpdateDiscountPriceStr sets the "discount_price_str" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateFloorStr ¶
func (u *Rent591HomeUpsertBulk) UpdateFloorStr() *Rent591HomeUpsertBulk
UpdateFloorStr sets the "floor_str" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateHurry ¶
func (u *Rent591HomeUpsertBulk) UpdateHurry() *Rent591HomeUpsertBulk
UpdateHurry sets the "hurry" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateIsCombine ¶
func (u *Rent591HomeUpsertBulk) UpdateIsCombine() *Rent591HomeUpsertBulk
UpdateIsCombine sets the "is_combine" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateIsSocial ¶
func (u *Rent591HomeUpsertBulk) UpdateIsSocial() *Rent591HomeUpsertBulk
UpdateIsSocial sets the "is_social" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateIsVideo ¶
func (u *Rent591HomeUpsertBulk) UpdateIsVideo() *Rent591HomeUpsertBulk
UpdateIsVideo sets the "is_video" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateIsVip ¶
func (u *Rent591HomeUpsertBulk) UpdateIsVip() *Rent591HomeUpsertBulk
UpdateIsVip sets the "is_vip" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateKindName ¶
func (u *Rent591HomeUpsertBulk) UpdateKindName() *Rent591HomeUpsertBulk
UpdateKindName sets the "kind_name" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateLocation ¶
func (u *Rent591HomeUpsertBulk) UpdateLocation() *Rent591HomeUpsertBulk
UpdateLocation sets the "location" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateNewValues ¶
func (u *Rent591HomeUpsertBulk) UpdateNewValues() *Rent591HomeUpsertBulk
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591Home.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeUpsertBulk) UpdatePhotoList ¶
func (u *Rent591HomeUpsertBulk) UpdatePhotoList() *Rent591HomeUpsertBulk
UpdatePhotoList sets the "photo_list" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdatePostID ¶
func (u *Rent591HomeUpsertBulk) UpdatePostID() *Rent591HomeUpsertBulk
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdatePreferred ¶
func (u *Rent591HomeUpsertBulk) UpdatePreferred() *Rent591HomeUpsertBulk
UpdatePreferred sets the "preferred" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdatePrice ¶
func (u *Rent591HomeUpsertBulk) UpdatePrice() *Rent591HomeUpsertBulk
UpdatePrice sets the "price" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdatePriceUnit ¶
func (u *Rent591HomeUpsertBulk) UpdatePriceUnit() *Rent591HomeUpsertBulk
UpdatePriceUnit sets the "price_unit" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateRefreshTime ¶
func (u *Rent591HomeUpsertBulk) UpdateRefreshTime() *Rent591HomeUpsertBulk
UpdateRefreshTime sets the "refresh_time" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateRegionName ¶
func (u *Rent591HomeUpsertBulk) UpdateRegionName() *Rent591HomeUpsertBulk
UpdateRegionName sets the "region_name" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateRoleName ¶
func (u *Rent591HomeUpsertBulk) UpdateRoleName() *Rent591HomeUpsertBulk
UpdateRoleName sets the "role_name" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateRoomStr ¶
func (u *Rent591HomeUpsertBulk) UpdateRoomStr() *Rent591HomeUpsertBulk
UpdateRoomStr sets the "room_str" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateSectionName ¶
func (u *Rent591HomeUpsertBulk) UpdateSectionName() *Rent591HomeUpsertBulk
UpdateSectionName sets the "section_name" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateStreetName ¶
func (u *Rent591HomeUpsertBulk) UpdateStreetName() *Rent591HomeUpsertBulk
UpdateStreetName sets the "street_name" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateTitle ¶
func (u *Rent591HomeUpsertBulk) UpdateTitle() *Rent591HomeUpsertBulk
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateType ¶
func (u *Rent591HomeUpsertBulk) UpdateType() *Rent591HomeUpsertBulk
UpdateType sets the "type" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateUpdatedAt ¶
func (u *Rent591HomeUpsertBulk) UpdateUpdatedAt() *Rent591HomeUpsertBulk
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
func (*Rent591HomeUpsertBulk) UpdateYesterdayHit ¶
func (u *Rent591HomeUpsertBulk) UpdateYesterdayHit() *Rent591HomeUpsertBulk
UpdateYesterdayHit sets the "yesterday_hit" field to the value that was provided on create.
type Rent591HomeUpsertOne ¶
type Rent591HomeUpsertOne struct {
// contains filtered or unexported fields
}
Rent591HomeUpsertOne is the builder for "upsert"-ing
one Rent591Home node.
func (*Rent591HomeUpsertOne) AddCasesID ¶
func (u *Rent591HomeUpsertOne) AddCasesID(v int) *Rent591HomeUpsertOne
AddCasesID adds v to the "cases_id" field.
func (*Rent591HomeUpsertOne) AddCid ¶
func (u *Rent591HomeUpsertOne) AddCid(v int) *Rent591HomeUpsertOne
AddCid adds v to the "cid" field.
func (*Rent591HomeUpsertOne) AddHurry ¶
func (u *Rent591HomeUpsertOne) AddHurry(v int) *Rent591HomeUpsertOne
AddHurry adds v to the "hurry" field.
func (*Rent591HomeUpsertOne) AddIsCombine ¶
func (u *Rent591HomeUpsertOne) AddIsCombine(v int) *Rent591HomeUpsertOne
AddIsCombine adds v to the "is_combine" field.
func (*Rent591HomeUpsertOne) AddIsSocial ¶
func (u *Rent591HomeUpsertOne) AddIsSocial(v int) *Rent591HomeUpsertOne
AddIsSocial adds v to the "is_social" field.
func (*Rent591HomeUpsertOne) AddIsVideo ¶
func (u *Rent591HomeUpsertOne) AddIsVideo(v int) *Rent591HomeUpsertOne
AddIsVideo adds v to the "is_video" field.
func (*Rent591HomeUpsertOne) AddIsVip ¶
func (u *Rent591HomeUpsertOne) AddIsVip(v int) *Rent591HomeUpsertOne
AddIsVip adds v to the "is_vip" field.
func (*Rent591HomeUpsertOne) AddPostID ¶
func (u *Rent591HomeUpsertOne) AddPostID(v int) *Rent591HomeUpsertOne
AddPostID adds v to the "post_id" field.
func (*Rent591HomeUpsertOne) AddPreferred ¶
func (u *Rent591HomeUpsertOne) AddPreferred(v int) *Rent591HomeUpsertOne
AddPreferred adds v to the "preferred" field.
func (*Rent591HomeUpsertOne) AddPrice ¶
func (u *Rent591HomeUpsertOne) AddPrice(v int) *Rent591HomeUpsertOne
AddPrice adds v to the "price" field.
func (*Rent591HomeUpsertOne) AddType ¶
func (u *Rent591HomeUpsertOne) AddType(v int) *Rent591HomeUpsertOne
AddType adds v to the "type" field.
func (*Rent591HomeUpsertOne) AddYesterdayHit ¶
func (u *Rent591HomeUpsertOne) AddYesterdayHit(v int) *Rent591HomeUpsertOne
AddYesterdayHit adds v to the "yesterday_hit" field.
func (*Rent591HomeUpsertOne) ClearPhotoList ¶
func (u *Rent591HomeUpsertOne) ClearPhotoList() *Rent591HomeUpsertOne
ClearPhotoList clears the value of the "photo_list" field.
func (*Rent591HomeUpsertOne) ClearRegionName ¶
func (u *Rent591HomeUpsertOne) ClearRegionName() *Rent591HomeUpsertOne
ClearRegionName clears the value of the "region_name" field.
func (*Rent591HomeUpsertOne) DoNothing ¶
func (u *Rent591HomeUpsertOne) DoNothing() *Rent591HomeUpsertOne
DoNothing configures the conflict_action to `DO NOTHING`. Supported only by SQLite and PostgreSQL.
func (*Rent591HomeUpsertOne) Exec ¶
func (u *Rent591HomeUpsertOne) Exec(ctx context.Context) error
Exec executes the query.
func (*Rent591HomeUpsertOne) ExecX ¶
func (u *Rent591HomeUpsertOne) ExecX(ctx context.Context)
ExecX is like Exec, but panics if an error occurs.
func (*Rent591HomeUpsertOne) ID ¶
func (u *Rent591HomeUpsertOne) ID(ctx context.Context) (id int, err error)
Exec executes the UPSERT query and returns the inserted/updated ID.
func (*Rent591HomeUpsertOne) IDX ¶
func (u *Rent591HomeUpsertOne) IDX(ctx context.Context) int
IDX is like ID, but panics if an error occurs.
func (*Rent591HomeUpsertOne) Ignore ¶
func (u *Rent591HomeUpsertOne) Ignore() *Rent591HomeUpsertOne
Ignore sets each column to itself in case of conflict. Using this option is equivalent to using:
client.Rent591Home.Create(). OnConflict(sql.ResolveWithIgnore()). Exec(ctx)
func (*Rent591HomeUpsertOne) SetArea ¶
func (u *Rent591HomeUpsertOne) SetArea(v string) *Rent591HomeUpsertOne
SetArea sets the "area" field.
func (*Rent591HomeUpsertOne) SetCasesID ¶
func (u *Rent591HomeUpsertOne) SetCasesID(v int) *Rent591HomeUpsertOne
SetCasesID sets the "cases_id" field.
func (*Rent591HomeUpsertOne) SetCid ¶
func (u *Rent591HomeUpsertOne) SetCid(v int) *Rent591HomeUpsertOne
SetCid sets the "cid" field.
func (*Rent591HomeUpsertOne) SetCommunity ¶
func (u *Rent591HomeUpsertOne) SetCommunity(v string) *Rent591HomeUpsertOne
SetCommunity sets the "community" field.
func (*Rent591HomeUpsertOne) SetContact ¶
func (u *Rent591HomeUpsertOne) SetContact(v string) *Rent591HomeUpsertOne
SetContact sets the "contact" field.
func (*Rent591HomeUpsertOne) SetCreatedAt ¶
func (u *Rent591HomeUpsertOne) SetCreatedAt(v time.Time) *Rent591HomeUpsertOne
SetCreatedAt sets the "created_at" field.
func (*Rent591HomeUpsertOne) SetDiscountPriceStr ¶
func (u *Rent591HomeUpsertOne) SetDiscountPriceStr(v string) *Rent591HomeUpsertOne
SetDiscountPriceStr sets the "discount_price_str" field.
func (*Rent591HomeUpsertOne) SetFloorStr ¶
func (u *Rent591HomeUpsertOne) SetFloorStr(v string) *Rent591HomeUpsertOne
SetFloorStr sets the "floor_str" field.
func (*Rent591HomeUpsertOne) SetHurry ¶
func (u *Rent591HomeUpsertOne) SetHurry(v int) *Rent591HomeUpsertOne
SetHurry sets the "hurry" field.
func (*Rent591HomeUpsertOne) SetIsCombine ¶
func (u *Rent591HomeUpsertOne) SetIsCombine(v int) *Rent591HomeUpsertOne
SetIsCombine sets the "is_combine" field.
func (*Rent591HomeUpsertOne) SetIsSocial ¶
func (u *Rent591HomeUpsertOne) SetIsSocial(v int) *Rent591HomeUpsertOne
SetIsSocial sets the "is_social" field.
func (*Rent591HomeUpsertOne) SetIsVideo ¶
func (u *Rent591HomeUpsertOne) SetIsVideo(v int) *Rent591HomeUpsertOne
SetIsVideo sets the "is_video" field.
func (*Rent591HomeUpsertOne) SetIsVip ¶
func (u *Rent591HomeUpsertOne) SetIsVip(v int) *Rent591HomeUpsertOne
SetIsVip sets the "is_vip" field.
func (*Rent591HomeUpsertOne) SetKindName ¶
func (u *Rent591HomeUpsertOne) SetKindName(v string) *Rent591HomeUpsertOne
SetKindName sets the "kind_name" field.
func (*Rent591HomeUpsertOne) SetLocation ¶
func (u *Rent591HomeUpsertOne) SetLocation(v string) *Rent591HomeUpsertOne
SetLocation sets the "location" field.
func (*Rent591HomeUpsertOne) SetPhotoList ¶
func (u *Rent591HomeUpsertOne) SetPhotoList(v []string) *Rent591HomeUpsertOne
SetPhotoList sets the "photo_list" field.
func (*Rent591HomeUpsertOne) SetPostID ¶
func (u *Rent591HomeUpsertOne) SetPostID(v int) *Rent591HomeUpsertOne
SetPostID sets the "post_id" field.
func (*Rent591HomeUpsertOne) SetPreferred ¶
func (u *Rent591HomeUpsertOne) SetPreferred(v int) *Rent591HomeUpsertOne
SetPreferred sets the "preferred" field.
func (*Rent591HomeUpsertOne) SetPrice ¶
func (u *Rent591HomeUpsertOne) SetPrice(v int) *Rent591HomeUpsertOne
SetPrice sets the "price" field.
func (*Rent591HomeUpsertOne) SetPriceUnit ¶
func (u *Rent591HomeUpsertOne) SetPriceUnit(v string) *Rent591HomeUpsertOne
SetPriceUnit sets the "price_unit" field.
func (*Rent591HomeUpsertOne) SetRefreshTime ¶
func (u *Rent591HomeUpsertOne) SetRefreshTime(v string) *Rent591HomeUpsertOne
SetRefreshTime sets the "refresh_time" field.
func (*Rent591HomeUpsertOne) SetRegionName ¶
func (u *Rent591HomeUpsertOne) SetRegionName(v string) *Rent591HomeUpsertOne
SetRegionName sets the "region_name" field.
func (*Rent591HomeUpsertOne) SetRoleName ¶
func (u *Rent591HomeUpsertOne) SetRoleName(v string) *Rent591HomeUpsertOne
SetRoleName sets the "role_name" field.
func (*Rent591HomeUpsertOne) SetRoomStr ¶
func (u *Rent591HomeUpsertOne) SetRoomStr(v string) *Rent591HomeUpsertOne
SetRoomStr sets the "room_str" field.
func (*Rent591HomeUpsertOne) SetSectionName ¶
func (u *Rent591HomeUpsertOne) SetSectionName(v string) *Rent591HomeUpsertOne
SetSectionName sets the "section_name" field.
func (*Rent591HomeUpsertOne) SetStreetName ¶
func (u *Rent591HomeUpsertOne) SetStreetName(v string) *Rent591HomeUpsertOne
SetStreetName sets the "street_name" field.
func (*Rent591HomeUpsertOne) SetTitle ¶
func (u *Rent591HomeUpsertOne) SetTitle(v string) *Rent591HomeUpsertOne
SetTitle sets the "title" field.
func (*Rent591HomeUpsertOne) SetType ¶
func (u *Rent591HomeUpsertOne) SetType(v int) *Rent591HomeUpsertOne
SetType sets the "type" field.
func (*Rent591HomeUpsertOne) SetUpdatedAt ¶
func (u *Rent591HomeUpsertOne) SetUpdatedAt(v time.Time) *Rent591HomeUpsertOne
SetUpdatedAt sets the "updated_at" field.
func (*Rent591HomeUpsertOne) SetYesterdayHit ¶
func (u *Rent591HomeUpsertOne) SetYesterdayHit(v int) *Rent591HomeUpsertOne
SetYesterdayHit sets the "yesterday_hit" field.
func (*Rent591HomeUpsertOne) Update ¶
func (u *Rent591HomeUpsertOne) Update(set func(*Rent591HomeUpsert)) *Rent591HomeUpsertOne
Update allows overriding fields `UPDATE` values. See the Rent591HomeCreate.OnConflict documentation for more info.
func (*Rent591HomeUpsertOne) UpdateArea ¶
func (u *Rent591HomeUpsertOne) UpdateArea() *Rent591HomeUpsertOne
UpdateArea sets the "area" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateCasesID ¶
func (u *Rent591HomeUpsertOne) UpdateCasesID() *Rent591HomeUpsertOne
UpdateCasesID sets the "cases_id" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateCid ¶
func (u *Rent591HomeUpsertOne) UpdateCid() *Rent591HomeUpsertOne
UpdateCid sets the "cid" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateCommunity ¶
func (u *Rent591HomeUpsertOne) UpdateCommunity() *Rent591HomeUpsertOne
UpdateCommunity sets the "community" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateContact ¶
func (u *Rent591HomeUpsertOne) UpdateContact() *Rent591HomeUpsertOne
UpdateContact sets the "contact" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateCreatedAt ¶
func (u *Rent591HomeUpsertOne) UpdateCreatedAt() *Rent591HomeUpsertOne
UpdateCreatedAt sets the "created_at" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateDiscountPriceStr ¶
func (u *Rent591HomeUpsertOne) UpdateDiscountPriceStr() *Rent591HomeUpsertOne
UpdateDiscountPriceStr sets the "discount_price_str" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateFloorStr ¶
func (u *Rent591HomeUpsertOne) UpdateFloorStr() *Rent591HomeUpsertOne
UpdateFloorStr sets the "floor_str" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateHurry ¶
func (u *Rent591HomeUpsertOne) UpdateHurry() *Rent591HomeUpsertOne
UpdateHurry sets the "hurry" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateIsCombine ¶
func (u *Rent591HomeUpsertOne) UpdateIsCombine() *Rent591HomeUpsertOne
UpdateIsCombine sets the "is_combine" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateIsSocial ¶
func (u *Rent591HomeUpsertOne) UpdateIsSocial() *Rent591HomeUpsertOne
UpdateIsSocial sets the "is_social" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateIsVideo ¶
func (u *Rent591HomeUpsertOne) UpdateIsVideo() *Rent591HomeUpsertOne
UpdateIsVideo sets the "is_video" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateIsVip ¶
func (u *Rent591HomeUpsertOne) UpdateIsVip() *Rent591HomeUpsertOne
UpdateIsVip sets the "is_vip" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateKindName ¶
func (u *Rent591HomeUpsertOne) UpdateKindName() *Rent591HomeUpsertOne
UpdateKindName sets the "kind_name" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateLocation ¶
func (u *Rent591HomeUpsertOne) UpdateLocation() *Rent591HomeUpsertOne
UpdateLocation sets the "location" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateNewValues ¶
func (u *Rent591HomeUpsertOne) UpdateNewValues() *Rent591HomeUpsertOne
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using:
client.Rent591Home.Create(). OnConflict( sql.ResolveWithNewValues(), ). Exec(ctx)
func (*Rent591HomeUpsertOne) UpdatePhotoList ¶
func (u *Rent591HomeUpsertOne) UpdatePhotoList() *Rent591HomeUpsertOne
UpdatePhotoList sets the "photo_list" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdatePostID ¶
func (u *Rent591HomeUpsertOne) UpdatePostID() *Rent591HomeUpsertOne
UpdatePostID sets the "post_id" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdatePreferred ¶
func (u *Rent591HomeUpsertOne) UpdatePreferred() *Rent591HomeUpsertOne
UpdatePreferred sets the "preferred" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdatePrice ¶
func (u *Rent591HomeUpsertOne) UpdatePrice() *Rent591HomeUpsertOne
UpdatePrice sets the "price" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdatePriceUnit ¶
func (u *Rent591HomeUpsertOne) UpdatePriceUnit() *Rent591HomeUpsertOne
UpdatePriceUnit sets the "price_unit" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateRefreshTime ¶
func (u *Rent591HomeUpsertOne) UpdateRefreshTime() *Rent591HomeUpsertOne
UpdateRefreshTime sets the "refresh_time" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateRegionName ¶
func (u *Rent591HomeUpsertOne) UpdateRegionName() *Rent591HomeUpsertOne
UpdateRegionName sets the "region_name" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateRoleName ¶
func (u *Rent591HomeUpsertOne) UpdateRoleName() *Rent591HomeUpsertOne
UpdateRoleName sets the "role_name" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateRoomStr ¶
func (u *Rent591HomeUpsertOne) UpdateRoomStr() *Rent591HomeUpsertOne
UpdateRoomStr sets the "room_str" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateSectionName ¶
func (u *Rent591HomeUpsertOne) UpdateSectionName() *Rent591HomeUpsertOne
UpdateSectionName sets the "section_name" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateStreetName ¶
func (u *Rent591HomeUpsertOne) UpdateStreetName() *Rent591HomeUpsertOne
UpdateStreetName sets the "street_name" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateTitle ¶
func (u *Rent591HomeUpsertOne) UpdateTitle() *Rent591HomeUpsertOne
UpdateTitle sets the "title" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateType ¶
func (u *Rent591HomeUpsertOne) UpdateType() *Rent591HomeUpsertOne
UpdateType sets the "type" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateUpdatedAt ¶
func (u *Rent591HomeUpsertOne) UpdateUpdatedAt() *Rent591HomeUpsertOne
UpdateUpdatedAt sets the "updated_at" field to the value that was provided on create.
func (*Rent591HomeUpsertOne) UpdateYesterdayHit ¶
func (u *Rent591HomeUpsertOne) UpdateYesterdayHit() *Rent591HomeUpsertOne
UpdateYesterdayHit sets the "yesterday_hit" field to the value that was provided on create.
type Rent591Homes ¶
type Rent591Homes []*Rent591Home
Rent591Homes is a parsable slice of Rent591Home.
type RollbackFunc ¶
The RollbackFunc type is an adapter to allow the use of ordinary function as a Rollbacker. If f is a function with the appropriate signature, RollbackFunc(f) is a Rollbacker that calls f.
type RollbackHook ¶
type RollbackHook func(Rollbacker) Rollbacker
RollbackHook defines the "rollback middleware". A function that gets a Rollbacker and returns a Rollbacker. For example:
hook := func(next ent.Rollbacker) ent.Rollbacker { return ent.RollbackFunc(func(ctx context.Context, tx *ent.Tx) error { // Do some stuff before. if err := next.Rollback(ctx, tx); err != nil { return err } // Do some stuff after. return nil }) }
type Rollbacker ¶
Rollbacker is the interface that wraps the Rollback method.
type TraverseFunc ¶
type TraverseFunc = ent.TraverseFunc
ent aliases to avoid import conflicts in user's code.
type Tx ¶
type Tx struct { // Rent591Home is the client for interacting with the Rent591Home builders. Rent591Home *Rent591HomeClient // Rent591HomeDetail is the client for interacting with the Rent591HomeDetail builders. Rent591HomeDetail *Rent591HomeDetailClient // Rent591HomeDetailBreadcrumb is the client for interacting with the Rent591HomeDetailBreadcrumb builders. Rent591HomeDetailBreadcrumb *Rent591HomeDetailBreadcrumbClient // Rent591HomeDetailBrowse is the client for interacting with the Rent591HomeDetailBrowse builders. Rent591HomeDetailBrowse *Rent591HomeDetailBrowseClient // Rent591HomeDetailInfo is the client for interacting with the Rent591HomeDetailInfo builders. Rent591HomeDetailInfo *Rent591HomeDetailInfoClient Rent591HomeDetailNavData *Rent591HomeDetailNavDataClient // Rent591HomeDetailPositionRound is the client for interacting with the Rent591HomeDetailPositionRound builders. Rent591HomeDetailPositionRound *Rent591HomeDetailPositionRoundClient // Rent591HomeDetailPositionRoundData is the client for interacting with the Rent591HomeDetailPositionRoundData builders. Rent591HomeDetailPositionRoundData *Rent591HomeDetailPositionRoundDataClient // Rent591HomeDetailPositionRoundDataChildren is the client for interacting with the Rent591HomeDetailPositionRoundDataChildren builders. Rent591HomeDetailPositionRoundDataChildren *Rent591HomeDetailPositionRoundDataChildrenClient // Rent591HomeDetailPublish is the client for interacting with the Rent591HomeDetailPublish builders. Rent591HomeDetailPublish *Rent591HomeDetailPublishClient Rent591HomeDetailShareInfo *Rent591HomeDetailShareInfoClient // Rent591HomeDetailTag is the client for interacting with the Rent591HomeDetailTag builders. Rent591HomeDetailTag *Rent591HomeDetailTagClient // Rent591HomeSurrounding is the client for interacting with the Rent591HomeSurrounding builders. Rent591HomeSurrounding *Rent591HomeSurroundingClient // Rent591HomeTag is the client for interacting with the Rent591HomeTag builders. Rent591HomeTag *Rent591HomeTagClient // contains filtered or unexported fields }
Tx is a transactional client that is created by calling Client.Tx().
func TxFromContext ¶
TxFromContext returns a Tx stored inside a context, or nil if there isn't one.
func (*Tx) OnRollback ¶
func (tx *Tx) OnRollback(f RollbackHook)
OnRollback adds a hook to call on rollback.
type ValidationError ¶
type ValidationError struct { Name string // Field or edge name. // contains filtered or unexported fields }
ValidationError returns when validating a field or edge fails.
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
Error implements the error interface.
func (*ValidationError) Unwrap ¶
func (e *ValidationError) Unwrap() error
Unwrap implements the errors.Wrapper interface.
Source Files
¶
- client.go
- ent.go
- generate.go
- mutation.go
- rent591home.go
- rent591home_create.go
- rent591home_delete.go
- rent591home_query.go
- rent591home_update.go
- rent591homedetail.go
- rent591homedetail_create.go
- rent591homedetail_delete.go
- rent591homedetail_query.go
- rent591homedetail_update.go
- rent591homedetailbreadcrumb.go
- rent591homedetailbreadcrumb_create.go
- rent591homedetailbreadcrumb_delete.go
- rent591homedetailbreadcrumb_query.go
- rent591homedetailbreadcrumb_update.go
- rent591homedetailbrowse.go
- rent591homedetailbrowse_create.go
- rent591homedetailbrowse_delete.go
- rent591homedetailbrowse_query.go
- rent591homedetailbrowse_update.go
- rent591homedetailinfo.go
- rent591homedetailinfo_create.go
- rent591homedetailinfo_delete.go
- rent591homedetailinfo_query.go
- rent591homedetailinfo_update.go
- rent591homedetailnavdata.go
- rent591homedetailnavdata_create.go
- rent591homedetailnavdata_delete.go
- rent591homedetailnavdata_query.go
- rent591homedetailnavdata_update.go
- rent591homedetailpositionround.go
- rent591homedetailpositionround_create.go
- rent591homedetailpositionround_delete.go
- rent591homedetailpositionround_query.go
- rent591homedetailpositionround_update.go
- rent591homedetailpositionrounddata.go
- rent591homedetailpositionrounddata_create.go
- rent591homedetailpositionrounddata_delete.go
- rent591homedetailpositionrounddata_query.go
- rent591homedetailpositionrounddata_update.go
- rent591homedetailpositionrounddatachildren.go
- rent591homedetailpositionrounddatachildren_create.go
- rent591homedetailpositionrounddatachildren_delete.go
- rent591homedetailpositionrounddatachildren_query.go
- rent591homedetailpositionrounddatachildren_update.go
- rent591homedetailpublish.go
- rent591homedetailpublish_create.go
- rent591homedetailpublish_delete.go
- rent591homedetailpublish_query.go
- rent591homedetailpublish_update.go
- rent591homedetailshareinfo.go
- rent591homedetailshareinfo_create.go
- rent591homedetailshareinfo_delete.go
- rent591homedetailshareinfo_query.go
- rent591homedetailshareinfo_update.go
- rent591homedetailtag.go
- rent591homedetailtag_create.go
- rent591homedetailtag_delete.go
- rent591homedetailtag_query.go
- rent591homedetailtag_update.go
- rent591homesurrounding.go
- rent591homesurrounding_create.go
- rent591homesurrounding_delete.go
- rent591homesurrounding_query.go
- rent591homesurrounding_update.go
- rent591hometag.go
- rent591hometag_create.go
- rent591hometag_delete.go
- rent591hometag_query.go
- rent591hometag_update.go
- runtime.go
- tx.go