Documentation
¶
Index ¶
- Variables
- func AddCompetitionHook(hookPoint boil.HookPoint, competitionHook CompetitionHook)
- func AddCompetitionsStageHook(hookPoint boil.HookPoint, competitionsStageHook CompetitionsStageHook)
- func AddExternalEntityHook(hookPoint boil.HookPoint, externalEntityHook ExternalEntityHook)
- func AddFixtureHook(hookPoint boil.HookPoint, fixtureHook FixtureHook)
- func AddFixturePredictionHook(hookPoint boil.HookPoint, fixturePredictionHook FixturePredictionHook)
- func AddGroupCompetitionHook(hookPoint boil.HookPoint, groupCompetitionHook GroupCompetitionHook)
- func AddGroupHook(hookPoint boil.HookPoint, groupHook GroupHook)
- func AddRoleTypeHook(hookPoint boil.HookPoint, roleTypeHook RoleTypeHook)
- func AddStageHook(hookPoint boil.HookPoint, stageHook StageHook)
- func AddStagePredictionHook(hookPoint boil.HookPoint, stagePredictionHook StagePredictionHook)
- func AddTeamHook(hookPoint boil.HookPoint, teamHook TeamHook)
- func AddTeamsCompetitionHook(hookPoint boil.HookPoint, teamsCompetitionHook TeamsCompetitionHook)
- func AddTeamsCompetitionsStageHook(hookPoint boil.HookPoint, ...)
- func AddUserHook(hookPoint boil.HookPoint, userHook UserHook)
- func AddUsersInGroupHook(hookPoint boil.HookPoint, usersInGroupHook UsersInGroupHook)
- func AddVendorHook(hookPoint boil.HookPoint, vendorHook VendorHook)
- func CompetitionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Competitions(mods ...qm.QueryMod) competitionQuery
- func CompetitionsStageExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func CompetitionsStages(mods ...qm.QueryMod) competitionsStageQuery
- func ExternalEntities(mods ...qm.QueryMod) externalEntityQuery
- func ExternalEntityExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func FixtureExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func FixturePredictionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func FixturePredictions(mods ...qm.QueryMod) fixturePredictionQuery
- func Fixtures(mods ...qm.QueryMod) fixtureQuery
- func GroupCompetitionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func GroupCompetitions(mods ...qm.QueryMod) groupCompetitionQuery
- func GroupExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Groups(mods ...qm.QueryMod) groupQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func RoleTypeExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func RoleTypes(mods ...qm.QueryMod) roleTypeQuery
- func StageExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func StagePredictionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func StagePredictions(mods ...qm.QueryMod) stagePredictionQuery
- func Stages(mods ...qm.QueryMod) stageQuery
- func TeamExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Teams(mods ...qm.QueryMod) teamQuery
- func TeamsCompetitionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func TeamsCompetitions(mods ...qm.QueryMod) teamsCompetitionQuery
- func TeamsCompetitionsStageExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func TeamsCompetitionsStages(mods ...qm.QueryMod) teamsCompetitionsStageQuery
- func UserExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Users(mods ...qm.QueryMod) userQuery
- func UsersInGroupExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func UsersInGroups(mods ...qm.QueryMod) usersInGroupQuery
- func VendorExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Vendors(mods ...qm.QueryMod) vendorQuery
- type Competition
- func (o *Competition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Competition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Competition) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Competition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Competition) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type CompetitionHook
- type CompetitionSlice
- type CompetitionsStage
- func (o *CompetitionsStage) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *CompetitionsStage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *CompetitionsStage) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CompetitionsStage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *CompetitionsStage) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type CompetitionsStageHook
- type CompetitionsStageSlice
- func (o CompetitionsStageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *CompetitionsStageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o CompetitionsStageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ExternalEntity
- func (o *ExternalEntity) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ExternalEntity) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ExternalEntity) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ExternalEntity) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *ExternalEntity) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type ExternalEntityHook
- type ExternalEntitySlice
- func (o ExternalEntitySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ExternalEntitySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ExternalEntitySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Fixture
- func (o *Fixture) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Fixture) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Fixture) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Fixture) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Fixture) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type FixtureHook
- type FixturePrediction
- func (o *FixturePrediction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *FixturePrediction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *FixturePrediction) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *FixturePrediction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *FixturePrediction) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type FixturePredictionHook
- type FixturePredictionSlice
- func (o FixturePredictionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *FixturePredictionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o FixturePredictionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type FixtureSlice
- type Group
- func (o *Group) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Group) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Group) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Group) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Group) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type GroupCompetition
- func (o *GroupCompetition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupCompetition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GroupCompetition) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GroupCompetition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GroupCompetition) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type GroupCompetitionHook
- type GroupCompetitionSlice
- func (o GroupCompetitionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GroupCompetitionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GroupCompetitionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GroupHook
- type GroupSlice
- type M
- type RoleType
- func (o *RoleType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *RoleType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *RoleType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *RoleType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *RoleType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type RoleTypeHook
- type RoleTypeSlice
- type Stage
- func (o *Stage) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Stage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Stage) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Stage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Stage) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type StageHook
- type StagePrediction
- func (o *StagePrediction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *StagePrediction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *StagePrediction) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *StagePrediction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *StagePrediction) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type StagePredictionHook
- type StagePredictionSlice
- func (o StagePredictionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *StagePredictionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o StagePredictionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type StageSlice
- type Team
- func (o *Team) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Team) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Team) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Team) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Team) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type TeamHook
- type TeamSlice
- type TeamsCompetition
- func (o *TeamsCompetition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TeamsCompetition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *TeamsCompetition) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *TeamsCompetition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *TeamsCompetition) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type TeamsCompetitionHook
- type TeamsCompetitionSlice
- func (o TeamsCompetitionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TeamsCompetitionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o TeamsCompetitionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type TeamsCompetitionsStage
- func (o *TeamsCompetitionsStage) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TeamsCompetitionsStage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *TeamsCompetitionsStage) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *TeamsCompetitionsStage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *TeamsCompetitionsStage) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type TeamsCompetitionsStageHook
- type TeamsCompetitionsStageSlice
- func (o TeamsCompetitionsStageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TeamsCompetitionsStageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o TeamsCompetitionsStageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type User
- func (o *User) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *User) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *User) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type UserHook
- type UserSlice
- type UsersInGroup
- func (o *UsersInGroup) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *UsersInGroup) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *UsersInGroup) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *UsersInGroup) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *UsersInGroup) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type UsersInGroupHook
- type UsersInGroupSlice
- type Vendor
- func (o *Vendor) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Vendor) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Vendor) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Vendor) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Vendor) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type VendorHook
- type VendorSlice
Constants ¶
This section is empty.
Variables ¶
var CompetitionColumns = struct { ID string Name string Type string ExternalEntityID string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", Type: "type", ExternalEntityID: "external_entity_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var CompetitionRels = struct {
}{}
CompetitionRels is where relationship names are stored.
var CompetitionWhere = struct { ID whereHelperint Name whereHelperstring Type whereHelperstring ExternalEntityID whereHelpernull_String CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Type: whereHelperstring{/* contains filtered or unexported fields */}, ExternalEntityID: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var CompetitionsStageColumns = struct { ID string CompetitionID string StageID string CreatedAt string UpdatedAt string }{ ID: "id", CompetitionID: "competition_id", StageID: "stage_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var CompetitionsStageRels = struct {
}{}
CompetitionsStageRels is where relationship names are stored.
var CompetitionsStageWhere = struct { ID whereHelperint CompetitionID whereHelperint StageID whereHelperint CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, CompetitionID: whereHelperint{/* contains filtered or unexported fields */}, StageID: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var ExternalEntityColumns = struct { ID string EntityType string VendorID string VendorExternalID string CreatedAt string UpdatedAt string }{ ID: "id", EntityType: "entity_type", VendorID: "vendor_id", VendorExternalID: "vendor_external_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var ExternalEntityRels = struct {
}{}
ExternalEntityRels is where relationship names are stored.
var ExternalEntityWhere = struct { ID whereHelperint EntityType whereHelperstring VendorID whereHelperint VendorExternalID whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, EntityType: whereHelperstring{/* contains filtered or unexported fields */}, VendorID: whereHelperint{/* contains filtered or unexported fields */}, VendorExternalID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var FixtureColumns = struct { ID string CompetitionID string CompetitionStageID string TeamAID string TeamBID string TeamAScore string TeamBScore string StartingAt string EndingAt string Ended string ExternalEntityID string CreatedAt string UpdatedAt string }{ ID: "id", CompetitionID: "competition_id", CompetitionStageID: "competition_stage_id", TeamAID: "team_a_id", TeamBID: "team_b_id", TeamAScore: "team_a_score", TeamBScore: "team_b_score", StartingAt: "starting_at", EndingAt: "ending_at", Ended: "ended", ExternalEntityID: "external_entity_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var FixturePredictionColumns = struct { ID string GroupCompetitionID string FixtureID string UserID string Direction string HomeScore string AwayScore string CreatedAt string UpdatedAt string }{ ID: "id", GroupCompetitionID: "group_competition_id", FixtureID: "fixture_id", UserID: "user_id", Direction: "direction", HomeScore: "home_score", AwayScore: "away_score", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var FixturePredictionRels = struct {
}{}
FixturePredictionRels is where relationship names are stored.
var FixturePredictionWhere = struct { ID whereHelperint GroupCompetitionID whereHelperint FixtureID whereHelperint UserID whereHelperint Direction whereHelpernull_Int HomeScore whereHelpernull_Int AwayScore whereHelpernull_Int CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, GroupCompetitionID: whereHelperint{/* contains filtered or unexported fields */}, FixtureID: whereHelperint{/* contains filtered or unexported fields */}, UserID: whereHelperint{/* contains filtered or unexported fields */}, Direction: whereHelpernull_Int{/* contains filtered or unexported fields */}, HomeScore: whereHelpernull_Int{/* contains filtered or unexported fields */}, AwayScore: whereHelpernull_Int{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var FixtureRels = struct {
}{}
FixtureRels is where relationship names are stored.
var FixtureWhere = struct { ID whereHelperint CompetitionID whereHelperint CompetitionStageID whereHelperint TeamAID whereHelperint TeamBID whereHelperint TeamAScore whereHelperint TeamBScore whereHelperint StartingAt whereHelpernull_Time EndingAt whereHelpernull_Time Ended whereHelpernull_Bool ExternalEntityID whereHelpernull_Int CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, CompetitionID: whereHelperint{/* contains filtered or unexported fields */}, CompetitionStageID: whereHelperint{/* contains filtered or unexported fields */}, TeamAID: whereHelperint{/* contains filtered or unexported fields */}, TeamBID: whereHelperint{/* contains filtered or unexported fields */}, TeamAScore: whereHelperint{/* contains filtered or unexported fields */}, TeamBScore: whereHelperint{/* contains filtered or unexported fields */}, StartingAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, EndingAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, Ended: whereHelpernull_Bool{/* contains filtered or unexported fields */}, ExternalEntityID: whereHelpernull_Int{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var GroupColumns = struct { ID string Name string Password string IsPublic string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", Password: "password", IsPublic: "is_public", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var GroupCompetitionColumns = struct { ID string GroupID string CompetitionID string CreatedAt string UpdatedAt string }{ ID: "id", GroupID: "group_id", CompetitionID: "competition_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var GroupCompetitionRels = struct {
}{}
GroupCompetitionRels is where relationship names are stored.
var GroupCompetitionWhere = struct { ID whereHelperint GroupID whereHelperint CompetitionID whereHelperint CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, GroupID: whereHelperint{/* contains filtered or unexported fields */}, CompetitionID: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var GroupRels = struct {
}{}
GroupRels is where relationship names are stored.
var GroupWhere = struct { ID whereHelperint Name whereHelperstring Password whereHelpernull_String IsPublic whereHelpernull_Bool CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Password: whereHelpernull_String{/* contains filtered or unexported fields */}, IsPublic: whereHelpernull_Bool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var RoleTypeColumns = struct { ID string Name string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var RoleTypeRels = struct {
}{}
RoleTypeRels is where relationship names are stored.
var RoleTypeWhere = struct { ID whereHelperint Name whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var StageColumns = struct { ID string Name string CompetitionType string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", CompetitionType: "competition_type", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var StagePredictionColumns = struct { ID string GroupCompetitionID string CompetitionStageID string UserID string TeamID string Position string CreatedAt string UpdatedAt string }{ ID: "id", GroupCompetitionID: "group_competition_id", CompetitionStageID: "competition_stage_id", UserID: "user_id", TeamID: "team_id", Position: "position", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var StagePredictionRels = struct {
}{}
StagePredictionRels is where relationship names are stored.
var StagePredictionWhere = struct { ID whereHelperint GroupCompetitionID whereHelperint CompetitionStageID whereHelperint UserID whereHelperint TeamID whereHelperint Position whereHelpernull_Int CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, GroupCompetitionID: whereHelperint{/* contains filtered or unexported fields */}, CompetitionStageID: whereHelperint{/* contains filtered or unexported fields */}, UserID: whereHelperint{/* contains filtered or unexported fields */}, TeamID: whereHelperint{/* contains filtered or unexported fields */}, Position: whereHelpernull_Int{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var StageRels = struct {
}{}
StageRels is where relationship names are stored.
var StageWhere = struct { ID whereHelperint Name whereHelperstring CompetitionType whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, CompetitionType: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var TableNames = struct { Competitions string CompetitionsStages string ExternalEntities string FixturePredictions string Fixtures string GroupCompetitions string Groups string RoleTypes string StagePredictions string Stages string Teams string TeamsCompetitions string TeamsCompetitionsStages string Users string UsersInGroups string Vendors string }{ Competitions: "competitions", CompetitionsStages: "competitions_stages", ExternalEntities: "external_entities", FixturePredictions: "fixture_predictions", Fixtures: "fixtures", GroupCompetitions: "group_competitions", Groups: "groups", RoleTypes: "role_types", StagePredictions: "stage_predictions", Stages: "stages", Teams: "teams", TeamsCompetitions: "teams_competitions", TeamsCompetitionsStages: "teams_competitions_stages", Users: "users", UsersInGroups: "users_in_groups", Vendors: "vendors", }
var TeamColumns = struct { ID string Name string ExternalEntityID string ImageURL string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", ExternalEntityID: "external_entity_id", ImageURL: "image_url", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var TeamRels = struct {
}{}
TeamRels is where relationship names are stored.
var TeamWhere = struct { ID whereHelperint Name whereHelperstring ExternalEntityID whereHelpernull_String ImageURL whereHelpernull_String CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, ExternalEntityID: whereHelpernull_String{/* contains filtered or unexported fields */}, ImageURL: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var TeamsCompetitionColumns = struct { ID string TeamID string CompetitionID string ExternalEntityID string CreatedAt string UpdatedAt string }{ ID: "id", TeamID: "team_id", CompetitionID: "competition_id", ExternalEntityID: "external_entity_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var TeamsCompetitionRels = struct {
}{}
TeamsCompetitionRels is where relationship names are stored.
var TeamsCompetitionWhere = struct { ID whereHelperint TeamID whereHelperint CompetitionID whereHelperint ExternalEntityID whereHelpernull_Int CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, TeamID: whereHelperint{/* contains filtered or unexported fields */}, CompetitionID: whereHelperint{/* contains filtered or unexported fields */}, ExternalEntityID: whereHelpernull_Int{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var TeamsCompetitionsStageColumns = struct { ID string TeamCompetitionID string CompetitionStageID string Position string Points string GoalsFor string GoalsAgainst string GamesPlayed string CreatedAt string UpdatedAt string }{ ID: "id", TeamCompetitionID: "team_competition_id", CompetitionStageID: "competition_stage_id", Position: "position", Points: "points", GoalsFor: "goals_for", GoalsAgainst: "goals_against", GamesPlayed: "games_played", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var TeamsCompetitionsStageRels = struct {
}{}
TeamsCompetitionsStageRels is where relationship names are stored.
var TeamsCompetitionsStageWhere = struct { ID whereHelperint TeamCompetitionID whereHelperint CompetitionStageID whereHelperint Position whereHelperint Points whereHelperint GoalsFor whereHelperint GoalsAgainst whereHelperint GamesPlayed whereHelperint CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, TeamCompetitionID: whereHelperint{/* contains filtered or unexported fields */}, CompetitionStageID: whereHelperint{/* contains filtered or unexported fields */}, Position: whereHelperint{/* contains filtered or unexported fields */}, Points: whereHelperint{/* contains filtered or unexported fields */}, GoalsFor: whereHelperint{/* contains filtered or unexported fields */}, GoalsAgainst: whereHelperint{/* contains filtered or unexported fields */}, GamesPlayed: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var UserColumns = struct { ID string Name string DisplayName string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", DisplayName: "display_name", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserRels = struct {
}{}
UserRels is where relationship names are stored.
var UserWhere = struct { ID whereHelperint Name whereHelperstring DisplayName whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, DisplayName: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var UsersInGroupColumns = struct { ID string UserID string GroupID string RoleID string CreatedAt string UpdatedAt string }{ ID: "id", UserID: "user_id", GroupID: "group_id", RoleID: "role_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UsersInGroupRels = struct {
}{}
UsersInGroupRels is where relationship names are stored.
var UsersInGroupWhere = struct { ID whereHelperint UserID whereHelperint GroupID whereHelperint RoleID whereHelpernull_Int CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, UserID: whereHelperint{/* contains filtered or unexported fields */}, GroupID: whereHelperint{/* contains filtered or unexported fields */}, RoleID: whereHelpernull_Int{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var VendorColumns = struct { ID string Type string Name string Token string CreatedAt string UpdatedAt string }{ ID: "id", Type: "type", Name: "name", Token: "token", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var VendorRels = struct {
}{}
VendorRels is where relationship names are stored.
var VendorWhere = struct { ID whereHelperint Type whereHelperstring Name whereHelperstring Token whereHelpernull_String CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Type: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Token: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
Functions ¶
func AddCompetitionHook ¶
func AddCompetitionHook(hookPoint boil.HookPoint, competitionHook CompetitionHook)
AddCompetitionHook registers your hook function for all future operations.
func AddCompetitionsStageHook ¶
func AddCompetitionsStageHook(hookPoint boil.HookPoint, competitionsStageHook CompetitionsStageHook)
AddCompetitionsStageHook registers your hook function for all future operations.
func AddExternalEntityHook ¶
func AddExternalEntityHook(hookPoint boil.HookPoint, externalEntityHook ExternalEntityHook)
AddExternalEntityHook registers your hook function for all future operations.
func AddFixtureHook ¶
func AddFixtureHook(hookPoint boil.HookPoint, fixtureHook FixtureHook)
AddFixtureHook registers your hook function for all future operations.
func AddFixturePredictionHook ¶
func AddFixturePredictionHook(hookPoint boil.HookPoint, fixturePredictionHook FixturePredictionHook)
AddFixturePredictionHook registers your hook function for all future operations.
func AddGroupCompetitionHook ¶
func AddGroupCompetitionHook(hookPoint boil.HookPoint, groupCompetitionHook GroupCompetitionHook)
AddGroupCompetitionHook registers your hook function for all future operations.
func AddGroupHook ¶
AddGroupHook registers your hook function for all future operations.
func AddRoleTypeHook ¶
func AddRoleTypeHook(hookPoint boil.HookPoint, roleTypeHook RoleTypeHook)
AddRoleTypeHook registers your hook function for all future operations.
func AddStageHook ¶
AddStageHook registers your hook function for all future operations.
func AddStagePredictionHook ¶
func AddStagePredictionHook(hookPoint boil.HookPoint, stagePredictionHook StagePredictionHook)
AddStagePredictionHook registers your hook function for all future operations.
func AddTeamHook ¶
AddTeamHook registers your hook function for all future operations.
func AddTeamsCompetitionHook ¶
func AddTeamsCompetitionHook(hookPoint boil.HookPoint, teamsCompetitionHook TeamsCompetitionHook)
AddTeamsCompetitionHook registers your hook function for all future operations.
func AddTeamsCompetitionsStageHook ¶
func AddTeamsCompetitionsStageHook(hookPoint boil.HookPoint, teamsCompetitionsStageHook TeamsCompetitionsStageHook)
AddTeamsCompetitionsStageHook registers your hook function for all future operations.
func AddUserHook ¶
AddUserHook registers your hook function for all future operations.
func AddUsersInGroupHook ¶
func AddUsersInGroupHook(hookPoint boil.HookPoint, usersInGroupHook UsersInGroupHook)
AddUsersInGroupHook registers your hook function for all future operations.
func AddVendorHook ¶
func AddVendorHook(hookPoint boil.HookPoint, vendorHook VendorHook)
AddVendorHook registers your hook function for all future operations.
func CompetitionExists ¶
CompetitionExists checks if the Competition row exists.
func Competitions ¶
Competitions retrieves all the records using an executor.
func CompetitionsStageExists ¶
CompetitionsStageExists checks if the CompetitionsStage row exists.
func CompetitionsStages ¶
CompetitionsStages retrieves all the records using an executor.
func ExternalEntities ¶
ExternalEntities retrieves all the records using an executor.
func ExternalEntityExists ¶
ExternalEntityExists checks if the ExternalEntity row exists.
func FixtureExists ¶
FixtureExists checks if the Fixture row exists.
func FixturePredictionExists ¶
FixturePredictionExists checks if the FixturePrediction row exists.
func FixturePredictions ¶
FixturePredictions retrieves all the records using an executor.
func GroupCompetitionExists ¶
GroupCompetitionExists checks if the GroupCompetition row exists.
func GroupCompetitions ¶
GroupCompetitions retrieves all the records using an executor.
func GroupExists ¶
GroupExists checks if the Group row exists.
func RoleTypeExists ¶
RoleTypeExists checks if the RoleType row exists.
func StageExists ¶
StageExists checks if the Stage row exists.
func StagePredictionExists ¶
StagePredictionExists checks if the StagePrediction row exists.
func StagePredictions ¶
StagePredictions retrieves all the records using an executor.
func TeamExists ¶
TeamExists checks if the Team row exists.
func TeamsCompetitionExists ¶
TeamsCompetitionExists checks if the TeamsCompetition row exists.
func TeamsCompetitions ¶
TeamsCompetitions retrieves all the records using an executor.
func TeamsCompetitionsStageExists ¶
func TeamsCompetitionsStageExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
TeamsCompetitionsStageExists checks if the TeamsCompetitionsStage row exists.
func TeamsCompetitionsStages ¶
TeamsCompetitionsStages retrieves all the records using an executor.
func UserExists ¶
UserExists checks if the User row exists.
func UsersInGroupExists ¶
UsersInGroupExists checks if the UsersInGroup row exists.
func UsersInGroups ¶
UsersInGroups retrieves all the records using an executor.
func VendorExists ¶
VendorExists checks if the Vendor row exists.
Types ¶
type Competition ¶
type Competition struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Type string `boil:"type" json:"type" toml:"type" yaml:"type"` ExternalEntityID null.String `boil:"external_entity_id" json:"external_entity_id,omitempty" toml:"external_entity_id" yaml:"external_entity_id,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *competitionR `boil:"-" json:"-" toml:"-" yaml:"-"` L competitionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Competition is an object representing the database table.
func FindCompetition ¶
func FindCompetition(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Competition, error)
FindCompetition retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Competition) Delete ¶
func (o *Competition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single Competition record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Competition) Insert ¶
func (o *Competition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Competition) Reload ¶
func (o *Competition) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Competition) Update ¶
func (o *Competition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Competition. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Competition) Upsert ¶
func (o *Competition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CompetitionHook ¶
type CompetitionHook func(context.Context, boil.ContextExecutor, *Competition) error
CompetitionHook is the signature for custom Competition hook methods
type CompetitionSlice ¶
type CompetitionSlice []*Competition
CompetitionSlice is an alias for a slice of pointers to Competition. This should generally be used opposed to []Competition.
func (CompetitionSlice) DeleteAll ¶
func (o CompetitionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*CompetitionSlice) ReloadAll ¶
func (o *CompetitionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (CompetitionSlice) UpdateAll ¶
func (o CompetitionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type CompetitionsStage ¶
type CompetitionsStage struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` CompetitionID int `boil:"competition_id" json:"competition_id" toml:"competition_id" yaml:"competition_id"` StageID int `boil:"stage_id" json:"stage_id" toml:"stage_id" yaml:"stage_id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *competitionsStageR `boil:"-" json:"-" toml:"-" yaml:"-"` L competitionsStageL `boil:"-" json:"-" toml:"-" yaml:"-"` }
CompetitionsStage is an object representing the database table.
func FindCompetitionsStage ¶
func FindCompetitionsStage(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*CompetitionsStage, error)
FindCompetitionsStage retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*CompetitionsStage) Delete ¶
func (o *CompetitionsStage) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single CompetitionsStage record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CompetitionsStage) Insert ¶
func (o *CompetitionsStage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*CompetitionsStage) Reload ¶
func (o *CompetitionsStage) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*CompetitionsStage) Update ¶
func (o *CompetitionsStage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the CompetitionsStage. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*CompetitionsStage) Upsert ¶
func (o *CompetitionsStage) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CompetitionsStageHook ¶
type CompetitionsStageHook func(context.Context, boil.ContextExecutor, *CompetitionsStage) error
CompetitionsStageHook is the signature for custom CompetitionsStage hook methods
type CompetitionsStageSlice ¶
type CompetitionsStageSlice []*CompetitionsStage
CompetitionsStageSlice is an alias for a slice of pointers to CompetitionsStage. This should generally be used opposed to []CompetitionsStage.
func (CompetitionsStageSlice) DeleteAll ¶
func (o CompetitionsStageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*CompetitionsStageSlice) ReloadAll ¶
func (o *CompetitionsStageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (CompetitionsStageSlice) UpdateAll ¶
func (o CompetitionsStageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type ExternalEntity ¶
type ExternalEntity struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` EntityType string `boil:"entity_type" json:"entity_type" toml:"entity_type" yaml:"entity_type"` VendorID int `boil:"vendor_id" json:"vendor_id" toml:"vendor_id" yaml:"vendor_id"` VendorExternalID string `boil:"vendor_external_id" json:"vendor_external_id" toml:"vendor_external_id" yaml:"vendor_external_id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *externalEntityR `boil:"-" json:"-" toml:"-" yaml:"-"` L externalEntityL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ExternalEntity is an object representing the database table.
func FindExternalEntity ¶
func FindExternalEntity(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*ExternalEntity, error)
FindExternalEntity retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*ExternalEntity) Delete ¶
func (o *ExternalEntity) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single ExternalEntity record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ExternalEntity) Insert ¶
func (o *ExternalEntity) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*ExternalEntity) Reload ¶
func (o *ExternalEntity) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ExternalEntity) Update ¶
func (o *ExternalEntity) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the ExternalEntity. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ExternalEntity) Upsert ¶
func (o *ExternalEntity) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type ExternalEntityHook ¶
type ExternalEntityHook func(context.Context, boil.ContextExecutor, *ExternalEntity) error
ExternalEntityHook is the signature for custom ExternalEntity hook methods
type ExternalEntitySlice ¶
type ExternalEntitySlice []*ExternalEntity
ExternalEntitySlice is an alias for a slice of pointers to ExternalEntity. This should generally be used opposed to []ExternalEntity.
func (ExternalEntitySlice) DeleteAll ¶
func (o ExternalEntitySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ExternalEntitySlice) ReloadAll ¶
func (o *ExternalEntitySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ExternalEntitySlice) UpdateAll ¶
func (o ExternalEntitySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Fixture ¶
type Fixture struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` CompetitionID int `boil:"competition_id" json:"competition_id" toml:"competition_id" yaml:"competition_id"` CompetitionStageID int `boil:"competition_stage_id" json:"competition_stage_id" toml:"competition_stage_id" yaml:"competition_stage_id"` TeamAID int `boil:"team_a_id" json:"team_a_id" toml:"team_a_id" yaml:"team_a_id"` TeamBID int `boil:"team_b_id" json:"team_b_id" toml:"team_b_id" yaml:"team_b_id"` TeamAScore int `boil:"team_a_score" json:"team_a_score" toml:"team_a_score" yaml:"team_a_score"` TeamBScore int `boil:"team_b_score" json:"team_b_score" toml:"team_b_score" yaml:"team_b_score"` StartingAt null.Time `boil:"starting_at" json:"starting_at,omitempty" toml:"starting_at" yaml:"starting_at,omitempty"` EndingAt null.Time `boil:"ending_at" json:"ending_at,omitempty" toml:"ending_at" yaml:"ending_at,omitempty"` Ended null.Bool `boil:"ended" json:"ended,omitempty" toml:"ended" yaml:"ended,omitempty"` ExternalEntityID null.Int `boil:"external_entity_id" json:"external_entity_id,omitempty" toml:"external_entity_id" yaml:"external_entity_id,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *fixtureR `boil:"-" json:"-" toml:"-" yaml:"-"` L fixtureL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Fixture is an object representing the database table.
func FindFixture ¶
func FindFixture(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Fixture, error)
FindFixture retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Fixture) Delete ¶
Delete deletes a single Fixture record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Fixture) Insert ¶
func (o *Fixture) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Fixture) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Fixture) Update ¶
func (o *Fixture) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Fixture. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Fixture) Upsert ¶
func (o *Fixture) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type FixtureHook ¶
FixtureHook is the signature for custom Fixture hook methods
type FixturePrediction ¶
type FixturePrediction struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` GroupCompetitionID int `boil:"group_competition_id" json:"group_competition_id" toml:"group_competition_id" yaml:"group_competition_id"` FixtureID int `boil:"fixture_id" json:"fixture_id" toml:"fixture_id" yaml:"fixture_id"` UserID int `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` Direction null.Int `boil:"direction" json:"direction,omitempty" toml:"direction" yaml:"direction,omitempty"` HomeScore null.Int `boil:"home_score" json:"home_score,omitempty" toml:"home_score" yaml:"home_score,omitempty"` AwayScore null.Int `boil:"away_score" json:"away_score,omitempty" toml:"away_score" yaml:"away_score,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *fixturePredictionR `boil:"-" json:"-" toml:"-" yaml:"-"` L fixturePredictionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
FixturePrediction is an object representing the database table.
func FindFixturePrediction ¶
func FindFixturePrediction(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*FixturePrediction, error)
FindFixturePrediction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*FixturePrediction) Delete ¶
func (o *FixturePrediction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single FixturePrediction record with an executor. Delete will match against the primary key column to find the record to delete.
func (*FixturePrediction) Insert ¶
func (o *FixturePrediction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*FixturePrediction) Reload ¶
func (o *FixturePrediction) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*FixturePrediction) Update ¶
func (o *FixturePrediction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the FixturePrediction. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*FixturePrediction) Upsert ¶
func (o *FixturePrediction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type FixturePredictionHook ¶
type FixturePredictionHook func(context.Context, boil.ContextExecutor, *FixturePrediction) error
FixturePredictionHook is the signature for custom FixturePrediction hook methods
type FixturePredictionSlice ¶
type FixturePredictionSlice []*FixturePrediction
FixturePredictionSlice is an alias for a slice of pointers to FixturePrediction. This should generally be used opposed to []FixturePrediction.
func (FixturePredictionSlice) DeleteAll ¶
func (o FixturePredictionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*FixturePredictionSlice) ReloadAll ¶
func (o *FixturePredictionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (FixturePredictionSlice) UpdateAll ¶
func (o FixturePredictionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type FixtureSlice ¶
type FixtureSlice []*Fixture
FixtureSlice is an alias for a slice of pointers to Fixture. This should generally be used opposed to []Fixture.
func (FixtureSlice) DeleteAll ¶
func (o FixtureSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*FixtureSlice) ReloadAll ¶
func (o *FixtureSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (FixtureSlice) UpdateAll ¶
func (o FixtureSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Group ¶
type Group struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Password null.String `boil:"password" json:"password,omitempty" toml:"password" yaml:"password,omitempty"` IsPublic null.Bool `boil:"is_public" json:"is_public,omitempty" toml:"is_public" yaml:"is_public,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *groupR `boil:"-" json:"-" toml:"-" yaml:"-"` L groupL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Group is an object representing the database table.
func FindGroup ¶
func FindGroup(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Group, error)
FindGroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Group) Delete ¶
Delete deletes a single Group record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Group) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Group) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Group) Update ¶
func (o *Group) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Group. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Group) Upsert ¶
func (o *Group) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GroupCompetition ¶
type GroupCompetition struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` GroupID int `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"` CompetitionID int `boil:"competition_id" json:"competition_id" toml:"competition_id" yaml:"competition_id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *groupCompetitionR `boil:"-" json:"-" toml:"-" yaml:"-"` L groupCompetitionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
GroupCompetition is an object representing the database table.
func FindGroupCompetition ¶
func FindGroupCompetition(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*GroupCompetition, error)
FindGroupCompetition retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GroupCompetition) Delete ¶
func (o *GroupCompetition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GroupCompetition record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GroupCompetition) Insert ¶
func (o *GroupCompetition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GroupCompetition) Reload ¶
func (o *GroupCompetition) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GroupCompetition) Update ¶
func (o *GroupCompetition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GroupCompetition. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GroupCompetition) Upsert ¶
func (o *GroupCompetition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GroupCompetitionHook ¶
type GroupCompetitionHook func(context.Context, boil.ContextExecutor, *GroupCompetition) error
GroupCompetitionHook is the signature for custom GroupCompetition hook methods
type GroupCompetitionSlice ¶
type GroupCompetitionSlice []*GroupCompetition
GroupCompetitionSlice is an alias for a slice of pointers to GroupCompetition. This should generally be used opposed to []GroupCompetition.
func (GroupCompetitionSlice) DeleteAll ¶
func (o GroupCompetitionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupCompetitionSlice) ReloadAll ¶
func (o *GroupCompetitionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupCompetitionSlice) UpdateAll ¶
func (o GroupCompetitionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GroupSlice ¶
type GroupSlice []*Group
GroupSlice is an alias for a slice of pointers to Group. This should generally be used opposed to []Group.
func (GroupSlice) DeleteAll ¶
func (o GroupSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupSlice) ReloadAll ¶
func (o *GroupSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GroupSlice) UpdateAll ¶
func (o GroupSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type RoleType ¶
type RoleType struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *roleTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L roleTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
RoleType is an object representing the database table.
func FindRoleType ¶
func FindRoleType(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RoleType, error)
FindRoleType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*RoleType) Delete ¶
Delete deletes a single RoleType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*RoleType) Insert ¶
func (o *RoleType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*RoleType) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*RoleType) Update ¶
func (o *RoleType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the RoleType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*RoleType) Upsert ¶
func (o *RoleType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type RoleTypeHook ¶
RoleTypeHook is the signature for custom RoleType hook methods
type RoleTypeSlice ¶
type RoleTypeSlice []*RoleType
RoleTypeSlice is an alias for a slice of pointers to RoleType. This should generally be used opposed to []RoleType.
func (RoleTypeSlice) DeleteAll ¶
func (o RoleTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*RoleTypeSlice) ReloadAll ¶
func (o *RoleTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (RoleTypeSlice) UpdateAll ¶
func (o RoleTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Stage ¶
type Stage struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` CompetitionType string `boil:"competition_type" json:"competition_type" toml:"competition_type" yaml:"competition_type"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *stageR `boil:"-" json:"-" toml:"-" yaml:"-"` L stageL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Stage is an object representing the database table.
func FindStage ¶
func FindStage(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Stage, error)
FindStage retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Stage) Delete ¶
Delete deletes a single Stage record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Stage) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Stage) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Stage) Update ¶
func (o *Stage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Stage. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Stage) Upsert ¶
func (o *Stage) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type StagePrediction ¶
type StagePrediction struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` GroupCompetitionID int `boil:"group_competition_id" json:"group_competition_id" toml:"group_competition_id" yaml:"group_competition_id"` CompetitionStageID int `boil:"competition_stage_id" json:"competition_stage_id" toml:"competition_stage_id" yaml:"competition_stage_id"` UserID int `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` TeamID int `boil:"team_id" json:"team_id" toml:"team_id" yaml:"team_id"` Position null.Int `boil:"position" json:"position,omitempty" toml:"position" yaml:"position,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *stagePredictionR `boil:"-" json:"-" toml:"-" yaml:"-"` L stagePredictionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
StagePrediction is an object representing the database table.
func FindStagePrediction ¶
func FindStagePrediction(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*StagePrediction, error)
FindStagePrediction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*StagePrediction) Delete ¶
func (o *StagePrediction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single StagePrediction record with an executor. Delete will match against the primary key column to find the record to delete.
func (*StagePrediction) Insert ¶
func (o *StagePrediction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*StagePrediction) Reload ¶
func (o *StagePrediction) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*StagePrediction) Update ¶
func (o *StagePrediction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the StagePrediction. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*StagePrediction) Upsert ¶
func (o *StagePrediction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type StagePredictionHook ¶
type StagePredictionHook func(context.Context, boil.ContextExecutor, *StagePrediction) error
StagePredictionHook is the signature for custom StagePrediction hook methods
type StagePredictionSlice ¶
type StagePredictionSlice []*StagePrediction
StagePredictionSlice is an alias for a slice of pointers to StagePrediction. This should generally be used opposed to []StagePrediction.
func (StagePredictionSlice) DeleteAll ¶
func (o StagePredictionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*StagePredictionSlice) ReloadAll ¶
func (o *StagePredictionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (StagePredictionSlice) UpdateAll ¶
func (o StagePredictionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type StageSlice ¶
type StageSlice []*Stage
StageSlice is an alias for a slice of pointers to Stage. This should generally be used opposed to []Stage.
func (StageSlice) DeleteAll ¶
func (o StageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*StageSlice) ReloadAll ¶
func (o *StageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (StageSlice) UpdateAll ¶
func (o StageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Team ¶
type Team struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` ExternalEntityID null.String `boil:"external_entity_id" json:"external_entity_id,omitempty" toml:"external_entity_id" yaml:"external_entity_id,omitempty"` ImageURL null.String `boil:"image_url" json:"image_url,omitempty" toml:"image_url" yaml:"image_url,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *teamR `boil:"-" json:"-" toml:"-" yaml:"-"` L teamL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Team is an object representing the database table.
func FindTeam ¶
func FindTeam(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Team, error)
FindTeam retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Team) Delete ¶
Delete deletes a single Team record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Team) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Team) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Team) Update ¶
func (o *Team) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Team. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Team) Upsert ¶
func (o *Team) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TeamSlice ¶
type TeamSlice []*Team
TeamSlice is an alias for a slice of pointers to Team. This should generally be used opposed to []Team.
type TeamsCompetition ¶
type TeamsCompetition struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` TeamID int `boil:"team_id" json:"team_id" toml:"team_id" yaml:"team_id"` CompetitionID int `boil:"competition_id" json:"competition_id" toml:"competition_id" yaml:"competition_id"` ExternalEntityID null.Int `boil:"external_entity_id" json:"external_entity_id,omitempty" toml:"external_entity_id" yaml:"external_entity_id,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *teamsCompetitionR `boil:"-" json:"-" toml:"-" yaml:"-"` L teamsCompetitionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TeamsCompetition is an object representing the database table.
func FindTeamsCompetition ¶
func FindTeamsCompetition(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*TeamsCompetition, error)
FindTeamsCompetition retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*TeamsCompetition) Delete ¶
func (o *TeamsCompetition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single TeamsCompetition record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TeamsCompetition) Insert ¶
func (o *TeamsCompetition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*TeamsCompetition) Reload ¶
func (o *TeamsCompetition) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TeamsCompetition) Update ¶
func (o *TeamsCompetition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the TeamsCompetition. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TeamsCompetition) Upsert ¶
func (o *TeamsCompetition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TeamsCompetitionHook ¶
type TeamsCompetitionHook func(context.Context, boil.ContextExecutor, *TeamsCompetition) error
TeamsCompetitionHook is the signature for custom TeamsCompetition hook methods
type TeamsCompetitionSlice ¶
type TeamsCompetitionSlice []*TeamsCompetition
TeamsCompetitionSlice is an alias for a slice of pointers to TeamsCompetition. This should generally be used opposed to []TeamsCompetition.
func (TeamsCompetitionSlice) DeleteAll ¶
func (o TeamsCompetitionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TeamsCompetitionSlice) ReloadAll ¶
func (o *TeamsCompetitionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (TeamsCompetitionSlice) UpdateAll ¶
func (o TeamsCompetitionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type TeamsCompetitionsStage ¶
type TeamsCompetitionsStage struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` TeamCompetitionID int `boil:"team_competition_id" json:"team_competition_id" toml:"team_competition_id" yaml:"team_competition_id"` CompetitionStageID int `boil:"competition_stage_id" json:"competition_stage_id" toml:"competition_stage_id" yaml:"competition_stage_id"` Position int `boil:"position" json:"position" toml:"position" yaml:"position"` Points int `boil:"points" json:"points" toml:"points" yaml:"points"` GoalsFor int `boil:"goals_for" json:"goals_for" toml:"goals_for" yaml:"goals_for"` GoalsAgainst int `boil:"goals_against" json:"goals_against" toml:"goals_against" yaml:"goals_against"` GamesPlayed int `boil:"games_played" json:"games_played" toml:"games_played" yaml:"games_played"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *teamsCompetitionsStageR `boil:"-" json:"-" toml:"-" yaml:"-"` L teamsCompetitionsStageL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TeamsCompetitionsStage is an object representing the database table.
func FindTeamsCompetitionsStage ¶
func FindTeamsCompetitionsStage(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*TeamsCompetitionsStage, error)
FindTeamsCompetitionsStage retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*TeamsCompetitionsStage) Delete ¶
func (o *TeamsCompetitionsStage) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single TeamsCompetitionsStage record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TeamsCompetitionsStage) Insert ¶
func (o *TeamsCompetitionsStage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*TeamsCompetitionsStage) Reload ¶
func (o *TeamsCompetitionsStage) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TeamsCompetitionsStage) Update ¶
func (o *TeamsCompetitionsStage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the TeamsCompetitionsStage. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TeamsCompetitionsStage) Upsert ¶
func (o *TeamsCompetitionsStage) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TeamsCompetitionsStageHook ¶
type TeamsCompetitionsStageHook func(context.Context, boil.ContextExecutor, *TeamsCompetitionsStage) error
TeamsCompetitionsStageHook is the signature for custom TeamsCompetitionsStage hook methods
type TeamsCompetitionsStageSlice ¶
type TeamsCompetitionsStageSlice []*TeamsCompetitionsStage
TeamsCompetitionsStageSlice is an alias for a slice of pointers to TeamsCompetitionsStage. This should generally be used opposed to []TeamsCompetitionsStage.
func (TeamsCompetitionsStageSlice) DeleteAll ¶
func (o TeamsCompetitionsStageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TeamsCompetitionsStageSlice) ReloadAll ¶
func (o *TeamsCompetitionsStageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (TeamsCompetitionsStageSlice) UpdateAll ¶
func (o TeamsCompetitionsStageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type User ¶
type User struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` DisplayName string `boil:"display_name" json:"display_name" toml:"display_name" yaml:"display_name"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *userR `boil:"-" json:"-" toml:"-" yaml:"-"` L userL `boil:"-" json:"-" toml:"-" yaml:"-"` }
User is an object representing the database table.
func FindUser ¶
func FindUser(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*User, error)
FindUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*User) Delete ¶
Delete deletes a single User record with an executor. Delete will match against the primary key column to find the record to delete.
func (*User) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*User) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*User) Update ¶
func (o *User) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the User. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*User) Upsert ¶
func (o *User) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type UserSlice ¶
type UserSlice []*User
UserSlice is an alias for a slice of pointers to User. This should generally be used opposed to []User.
type UsersInGroup ¶
type UsersInGroup struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` UserID int `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` GroupID int `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"` RoleID null.Int `boil:"role_id" json:"role_id,omitempty" toml:"role_id" yaml:"role_id,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *usersInGroupR `boil:"-" json:"-" toml:"-" yaml:"-"` L usersInGroupL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UsersInGroup is an object representing the database table.
func FindUsersInGroup ¶
func FindUsersInGroup(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*UsersInGroup, error)
FindUsersInGroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*UsersInGroup) Delete ¶
func (o *UsersInGroup) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single UsersInGroup record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UsersInGroup) Insert ¶
func (o *UsersInGroup) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*UsersInGroup) Reload ¶
func (o *UsersInGroup) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UsersInGroup) Update ¶
func (o *UsersInGroup) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the UsersInGroup. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*UsersInGroup) Upsert ¶
func (o *UsersInGroup) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type UsersInGroupHook ¶
type UsersInGroupHook func(context.Context, boil.ContextExecutor, *UsersInGroup) error
UsersInGroupHook is the signature for custom UsersInGroup hook methods
type UsersInGroupSlice ¶
type UsersInGroupSlice []*UsersInGroup
UsersInGroupSlice is an alias for a slice of pointers to UsersInGroup. This should generally be used opposed to []UsersInGroup.
func (UsersInGroupSlice) DeleteAll ¶
func (o UsersInGroupSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*UsersInGroupSlice) ReloadAll ¶
func (o *UsersInGroupSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (UsersInGroupSlice) UpdateAll ¶
func (o UsersInGroupSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Vendor ¶
type Vendor struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Type string `boil:"type" json:"type" toml:"type" yaml:"type"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Token null.String `boil:"token" json:"token,omitempty" toml:"token" yaml:"token,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *vendorR `boil:"-" json:"-" toml:"-" yaml:"-"` L vendorL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Vendor is an object representing the database table.
func FindVendor ¶
func FindVendor(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Vendor, error)
FindVendor retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Vendor) Delete ¶
Delete deletes a single Vendor record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Vendor) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Vendor) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Vendor) Update ¶
func (o *Vendor) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Vendor. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Vendor) Upsert ¶
func (o *Vendor) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type VendorHook ¶
VendorHook is the signature for custom Vendor hook methods
type VendorSlice ¶
type VendorSlice []*Vendor
VendorSlice is an alias for a slice of pointers to Vendor. This should generally be used opposed to []Vendor.
func (VendorSlice) DeleteAll ¶
func (o VendorSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*VendorSlice) ReloadAll ¶
func (o *VendorSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (VendorSlice) UpdateAll ¶
func (o VendorSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
Source Files
¶
- boil_queries.go
- boil_table_names.go
- boil_types.go
- competitions.go
- competitions_stages.go
- external_entities.go
- fixture_predictions.go
- fixtures.go
- group_competitions.go
- groups.go
- mysql_upsert.go
- role_types.go
- stage_predictions.go
- stages.go
- teams.go
- teams_competitions.go
- teams_competitions_stages.go
- users.go
- users_in_groups.go
- vendors.go