Documentation
¶
Index ¶
- type Repository
- func (rp *Repository) DeleteRent591HomeByID(ctx context.Context, id int) error
- func (rp *Repository) DeleteRent591HomeByPostID(ctx context.Context, postID int) (int, error)
- func (rp *Repository) GetNewRent591HomesByRegionID(ctx context.Context, regionID int) ([]*ent.Rent591Home, error)
- func (rp *Repository) GetRent591HomePostIDs(ctx context.Context) ([]*ent.Rent591Home, error)
- func (rp *Repository) GetRent591HomesFilterCreatedAtByStartTimestampAndEndTimestamp(ctx context.Context, startTimestamp *time.Time, endTimestamp *time.Time) ([]*ent.Rent591Home, error)
- func (rp *Repository) SetRent591HomeRegionByID(ctx context.Context, id int, regionName string) error
- func (rp *Repository) StartTransaction(ctx context.Context) error
- func (rp *Repository) UpdateOrCreateRent591TagsByRent591Home(ctx context.Context, r5h *ent.Rent591Home, r5tsi ent.Rent591HomeTags) ([]*ent.Rent591HomeTag, error)
- func (rp *Repository) UpsertRent591Home(ctx context.Context, r5hi ent.Rent591Home) (*ent.Rent591Home, error)
- func (rp *Repository) UpsertRent591HomeDetailBreadcrumbsByRent591HomeDetailID(ctx context.Context, r5hdID int, r5hdbs *ent.Rent591HomeDetailBreadcrumbs) error
- func (rp *Repository) UpsertRent591HomeDetailByRent591Home(ctx context.Context, r5h *ent.Rent591Home, r5hd *ent.Rent591HomeDetail) (int, error)
- func (rp *Repository) UpsertRent591HomeDetailPositionRoundByRent591HomeDetailID(ctx context.Context, r5hdID int, r5hdpr *ent.Rent591HomeDetailPositionRound) (int, error)
- func (rp *Repository) UpsertRent591HomeDetailPublishByRent591HomeDetailID(ctx context.Context, r5hdID int, r5hdp *ent.Rent591HomeDetailPublish) (int, error)
- func (rp *Repository) UpsertRent591HomesDetailByRent591Home(ctx context.Context, r5h *ent.Rent591Home, r5hds *ent.Rent591HomeDetails) error
- func (rp *Repository) UpsertRent591SurroundingByRent591Home(ctx context.Context, r5h *ent.Rent591Home, r5si ent.Rent591HomeSurrounding) (*ent.Rent591HomeSurrounding, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository() (*Repository, error)
func (*Repository) DeleteRent591HomeByID ¶
func (rp *Repository) DeleteRent591HomeByID(ctx context.Context, id int) error
func (*Repository) DeleteRent591HomeByPostID ¶
func (*Repository) GetNewRent591HomesByRegionID ¶
func (rp *Repository) GetNewRent591HomesByRegionID(ctx context.Context, regionID int) ([]*ent.Rent591Home, error)
func (*Repository) GetRent591HomePostIDs ¶
func (rp *Repository) GetRent591HomePostIDs(ctx context.Context) ([]*ent.Rent591Home, error)
func (*Repository) GetRent591HomesFilterCreatedAtByStartTimestampAndEndTimestamp ¶
func (rp *Repository) GetRent591HomesFilterCreatedAtByStartTimestampAndEndTimestamp(ctx context.Context, startTimestamp *time.Time, endTimestamp *time.Time) ([]*ent.Rent591Home, error)
func (*Repository) SetRent591HomeRegionByID ¶
func (*Repository) StartTransaction ¶
func (rp *Repository) StartTransaction(ctx context.Context) error
func (*Repository) UpdateOrCreateRent591TagsByRent591Home ¶
func (rp *Repository) UpdateOrCreateRent591TagsByRent591Home(ctx context.Context, r5h *ent.Rent591Home, r5tsi ent.Rent591HomeTags) ([]*ent.Rent591HomeTag, error)
func (*Repository) UpsertRent591Home ¶
func (rp *Repository) UpsertRent591Home(ctx context.Context, r5hi ent.Rent591Home) (*ent.Rent591Home, error)
func (*Repository) UpsertRent591HomeDetailBreadcrumbsByRent591HomeDetailID ¶
func (rp *Repository) UpsertRent591HomeDetailBreadcrumbsByRent591HomeDetailID(ctx context.Context, r5hdID int, r5hdbs *ent.Rent591HomeDetailBreadcrumbs) error
func (*Repository) UpsertRent591HomeDetailByRent591Home ¶
func (rp *Repository) UpsertRent591HomeDetailByRent591Home(ctx context.Context, r5h *ent.Rent591Home, r5hd *ent.Rent591HomeDetail) (int, error)
func (*Repository) UpsertRent591HomeDetailPositionRoundByRent591HomeDetailID ¶
func (rp *Repository) UpsertRent591HomeDetailPositionRoundByRent591HomeDetailID(ctx context.Context, r5hdID int, r5hdpr *ent.Rent591HomeDetailPositionRound) (int, error)
func (*Repository) UpsertRent591HomeDetailPublishByRent591HomeDetailID ¶
func (rp *Repository) UpsertRent591HomeDetailPublishByRent591HomeDetailID(ctx context.Context, r5hdID int, r5hdp *ent.Rent591HomeDetailPublish) (int, error)
func (*Repository) UpsertRent591HomesDetailByRent591Home ¶
func (rp *Repository) UpsertRent591HomesDetailByRent591Home(ctx context.Context, r5h *ent.Rent591Home, r5hds *ent.Rent591HomeDetails) error
func (*Repository) UpsertRent591SurroundingByRent591Home ¶
func (rp *Repository) UpsertRent591SurroundingByRent591Home(ctx context.Context, r5h *ent.Rent591Home, r5si ent.Rent591HomeSurrounding) (*ent.Rent591HomeSurrounding, error)
Click to show internal directories.
Click to hide internal directories.