repository

package
v0.0.0-...-8064f01 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 (rp *Repository) DeleteRent591HomeByPostID(ctx context.Context, postID int) (int, error)

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 (rp *Repository) SetRent591HomeRegionByID(ctx context.Context, id int, regionName string) error

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL