gormimpl

package
v1.0.33 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArtifactRepo

func NewArtifactRepo(db *gorm.DB, errorTransformer errors.ErrorTransformer, scope promutils.Scope) interfaces.ArtifactRepo

func NewDatasetRepo

func NewDatasetRepo(db *gorm.DB, errorTransformer errors.ErrorTransformer, scope promutils.Scope) interfaces.DatasetRepo

func NewGormJoinCondition added in v0.1.2

func NewGormJoinCondition(sourceEntity common.Entity, joiningEntity common.Entity) models.ModelJoinCondition

func NewGormSortParameter added in v0.1.2

Create SortParameter for GORM

func NewGormValueFilter added in v0.1.2

func NewGormValueFilter(comparisonOperator common.ComparisonOperator, field string, value interface{}) models.ModelValueFilter

Construct the container necessary to issue a db query to filter in GORM

func NewReservationRepo added in v0.3.17

func NewReservationRepo(db *gorm.DB, errorTransformer errors2.ErrorTransformer, scope promutils.Scope) interfaces.ReservationRepo

NewReservationRepo creates a reservationRepo

func NewTagRepo

func NewTagRepo(db *gorm.DB, errorTransformer errors.ErrorTransformer, scope promutils.Scope) interfaces.TagRepo

Types

type JoinOnMap added in v0.1.2

type JoinOnMap map[string]string

JoinOnMap is a map of the properties for joining source table to joining table

Jump to

Keyboard shortcuts

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