Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(d *BracketChallengeStandings) error
Delete deletes a record from the database
func Insert ¶
func Insert(d *BracketChallengeStandings) error
Insert will create a new record in the database
func Save ¶
func Save(s *BracketChallengeStandings) error
func Update ¶
func Update(s *BracketChallengeStandings) error
Update will update a record in the database
Types ¶
type BracketChallengeStandings ¶
type BracketChallengeStandings struct { BracketChallengeStandingsID int64 `db:"bracket_challenge_standings_id"` FantasyTeamID int64 `db:"fantasy_team_id"` WeekID int64 `db:"week_id"` Rank database.NullInt64 `db:"rank"` RoundPoints int64 `db:"round_points"` TotalPoints int64 `db:"total_points"` MaxPossible database.NullInt64 `db:"max_possible"` }
func ReadAll ¶
func ReadAll() ([]BracketChallengeStandings, error)
ReadAll reads all records in the database
func ReadByID ¶
func ReadByID(ID int64) (*BracketChallengeStandings, error)
ReadByID reads by id column
Click to show internal directories.
Click to hide internal directories.