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 ObservationRepoImpl

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

func NewObservationRepoImpl

func NewObservationRepoImpl(db *sql.DB, logger *zerolog.Logger) *ObservationRepoImpl

func (*ObservationRepoImpl) CheckIfExistsByPrimaryKey

func (dr *ObservationRepoImpl) CheckIfExistsByPrimaryKey(ctx context.Context, entityID uint64, timestamp time.Time) (bool, error)

func (*ObservationRepoImpl) CountByFilter

func (*ObservationRepoImpl) DeleteByPrimaryKey

func (r *ObservationRepoImpl) DeleteByPrimaryKey(ctx context.Context, entityID uint64, timestamp time.Time) error

func (*ObservationRepoImpl) GetByPrimaryKey

func (dr *ObservationRepoImpl) GetByPrimaryKey(ctx context.Context, entityID uint64, timestamp time.Time) (*domain.Observation, error)

func (*ObservationRepoImpl) Insert

func (*ObservationRepoImpl) ListByFilter

Jump to

Keyboard shortcuts

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