Documentation ¶
Index ¶
- Variables
- func Eq(db *gorm.DB, model models.Model, col string, value interface{}) *gorm.DB
- func FindMatchIDs(db *gorm.DB, filters FindMatchIDsFilters) (nscol.MatchIDs, error)
- func Group(db *gorm.DB, model models.Model, col string) *gorm.DB
- func Gt(db *gorm.DB, model models.Model, col string, value interface{}) *gorm.DB
- func GtEq(db *gorm.DB, model models.Model, col string, value interface{}) *gorm.DB
- func In(db *gorm.DB, model models.Model, col string, value interface{}) *gorm.DB
- func LoadMatchesData(db *gorm.DB, matchIDs ...nspb.MatchID) (nsviews.MatchesData, error)
- func Lt(db *gorm.DB, model models.Model, col string, value interface{}) *gorm.DB
- func LtEq(db *gorm.DB, model models.Model, col string, value interface{}) *gorm.DB
- func Neq(db *gorm.DB, model models.Model, col string, value interface{}) *gorm.DB
- func WhereBinaryOp(db *gorm.DB, model models.Model, col string, op string, value interface{}) *gorm.DB
- type FindMatchIDsFilters
- type PlayerFilters
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmptyMatchIDs = errors.New("empty match IDs")
)
View Source
var (
ErrEmptyPlayerFilters = errors.New("empty filters")
)
Functions ¶
func FindMatchIDs ¶
func LoadMatchesData ¶
Types ¶
type FindMatchIDsFilters ¶
type PlayerFilters ¶
type PlayerFilters struct { MatchIDs nscol.MatchIDs AccountIDs nscol.AccountIDs HeroIDs nscol.HeroIDs }
func (*PlayerFilters) Empty ¶
func (f *PlayerFilters) Empty() bool
func (*PlayerFilters) Validate ¶
func (f *PlayerFilters) Validate() error
Click to show internal directories.
Click to hide internal directories.