repository

package
v0.0.0-...-53f0542 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObservationCountRepoImpl

type ObservationCountRepoImpl struct {
	// contains filtered or unexported fields
}

func NewObservationCountRepoImpl

func NewObservationCountRepoImpl(db *sql.DB, logger *zerolog.Logger) *ObservationCountRepoImpl

func (*ObservationCountRepoImpl) CheckIfExistsByPrimaryKey

func (dr *ObservationCountRepoImpl) CheckIfExistsByPrimaryKey(ctx context.Context, entityID uint64, frequency int8, start time.Time, finish time.Time) (bool, error)

func (*ObservationCountRepoImpl) CountByFilter

func (*ObservationCountRepoImpl) GetByPrimaryKey

func (dr *ObservationCountRepoImpl) GetByPrimaryKey(ctx context.Context, entityID uint64, frequency int8, start time.Time, finish time.Time) (*domain.ObservationCount, error)

func (*ObservationCountRepoImpl) Insert

func (*ObservationCountRepoImpl) InsertOrGetByPrimaryKey

func (*ObservationCountRepoImpl) ListByFilter

func (*ObservationCountRepoImpl) UpdateByPrimaryKey

func (r *ObservationCountRepoImpl) UpdateByPrimaryKey(ctx context.Context, oc *domain.ObservationCount) error

Jump to

Keyboard shortcuts

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